@absolutejs/absolute 0.20.0-beta.20 → 0.20.0-beta.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/angular/browser.js +15 -1
- package/dist/angular/browser.js.map +3 -3
- package/dist/angular/components/core/streamingSlotRegistrar.js +1 -1
- package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
- package/dist/build.js +15 -1
- package/dist/build.js.map +3 -3
- package/dist/cli/index.js +13 -3
- package/dist/index.js +17 -2
- package/dist/index.js.map +4 -4
- package/dist/mobile/index.js +9 -1
- package/dist/mobile/index.js.map +4 -4
- package/dist/src/mobile/deviceCapabilities.d.ts +1 -1
- package/dist/src/utils/imageProcessing.d.ts +3 -0
- package/package.json +11 -10
|
@@ -11,7 +11,7 @@ export type AbsoluteDeviceCapabilityProvider = {
|
|
|
11
11
|
};
|
|
12
12
|
packages: string[];
|
|
13
13
|
};
|
|
14
|
-
export type AbsoluteIosUsageDescription = 'camera' | 'photo-library' | 'photo-library-add';
|
|
14
|
+
export type AbsoluteIosUsageDescription = 'camera' | 'location-always' | 'location-when-in-use' | 'photo-library' | 'photo-library-add';
|
|
15
15
|
export type AbsoluteDeviceCapabilityPlan = {
|
|
16
16
|
capabilities: string[];
|
|
17
17
|
providers: Record<string, AbsoluteDeviceCapabilityProvider>;
|
|
@@ -24,6 +24,9 @@ export declare const getCacheKey: (url: string, width: number, quality: number,
|
|
|
24
24
|
export declare const isCacheStale: (meta: CacheMeta) => boolean;
|
|
25
25
|
export declare const matchRemotePattern: (urlString: string, patterns: RemotePattern[]) => boolean;
|
|
26
26
|
export declare const negotiateFormat: (acceptHeader: string, configuredFormats: ImageFormat[]) => ImageFormat;
|
|
27
|
+
/** The MIME type an image buffer actually is, from its magic bytes — used
|
|
28
|
+
* when optimization fails and the original must be served as itself. */
|
|
29
|
+
export declare const sniffImageMime: (buffer: Buffer) => "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/webp" | null;
|
|
27
30
|
export declare const optimizeImage: (buffer: Buffer | ArrayBuffer, width: number, quality: number, format: ImageFormat) => Promise<Buffer<ArrayBufferLike>>;
|
|
28
31
|
export declare const readFromCache: (cacheDir: string, cacheKey: string) => {
|
|
29
32
|
buffer: NonSharedBuffer;
|
package/package.json
CHANGED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@absolutejs/auth": "0.72.0",
|
|
11
|
-
"@absolutejs/devices": "0.
|
|
12
|
-
"@absolutejs/devices-capacitor": "0.
|
|
11
|
+
"@absolutejs/devices": "0.3.0",
|
|
12
|
+
"@absolutejs/devices-capacitor": "0.4.0",
|
|
13
13
|
"@absolutejs/pwa": "0.13.0",
|
|
14
14
|
"@capacitor/browser": "8.0.4",
|
|
15
15
|
"@capacitor/network": "8.0.1",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@absolutejs/manifest": "0.9.0",
|
|
28
28
|
"@absolutejs/scoped-state": "0.2.2",
|
|
29
29
|
"@absolutejs/sync": "2.29.0",
|
|
30
|
-
"@absolutejs/sync-capacitor": "0.9.
|
|
30
|
+
"@absolutejs/sync-capacitor": "0.9.1",
|
|
31
31
|
"@angular/animations": "21.2.6",
|
|
32
32
|
"@angular/cdk": "21.2.6",
|
|
33
33
|
"@angular/common": "21.2.6",
|
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
"@capacitor/cli": "8.5.0",
|
|
49
49
|
"@capacitor/clipboard": "8.0.1",
|
|
50
50
|
"@capacitor/core": "8.5.0",
|
|
51
|
+
"@capacitor/geolocation": "8.2.2",
|
|
51
52
|
"@capacitor/haptics": "8.0.2",
|
|
52
53
|
"@capacitor/ios": "8.5.0",
|
|
53
54
|
"@capacitor/share": "8.0.1",
|
|
@@ -279,12 +280,12 @@
|
|
|
279
280
|
"main": "./dist/index.js",
|
|
280
281
|
"name": "@absolutejs/absolute",
|
|
281
282
|
"optionalDependencies": {
|
|
282
|
-
"@absolutejs/native-darwin-arm64": "0.20.0-beta.
|
|
283
|
-
"@absolutejs/native-darwin-x64": "0.20.0-beta.
|
|
284
|
-
"@absolutejs/native-linux-arm64": "0.20.0-beta.
|
|
285
|
-
"@absolutejs/native-linux-x64": "0.20.0-beta.
|
|
286
|
-
"@absolutejs/native-windows-arm64": "0.20.0-beta.
|
|
287
|
-
"@absolutejs/native-windows-x64": "0.20.0-beta.
|
|
283
|
+
"@absolutejs/native-darwin-arm64": "0.20.0-beta.21",
|
|
284
|
+
"@absolutejs/native-darwin-x64": "0.20.0-beta.21",
|
|
285
|
+
"@absolutejs/native-linux-arm64": "0.20.0-beta.21",
|
|
286
|
+
"@absolutejs/native-linux-x64": "0.20.0-beta.21",
|
|
287
|
+
"@absolutejs/native-windows-arm64": "0.20.0-beta.21",
|
|
288
|
+
"@absolutejs/native-windows-x64": "0.20.0-beta.21"
|
|
288
289
|
},
|
|
289
290
|
"overrides": {
|
|
290
291
|
"@sinclair/typebox": "0.34.52",
|
|
@@ -495,7 +496,7 @@
|
|
|
495
496
|
]
|
|
496
497
|
}
|
|
497
498
|
},
|
|
498
|
-
"version": "0.20.0-beta.
|
|
499
|
+
"version": "0.20.0-beta.21",
|
|
499
500
|
"workspaces": [
|
|
500
501
|
"tests/fixtures/*",
|
|
501
502
|
"tests/fixtures/_packages/*"
|