wasm-image-optimization 1.2.5 → 1.2.7

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.
@@ -0,0 +1,4 @@
1
+ export declare const optimizeImage: () => void;
2
+ export declare const optimizeImageExt: () => void;
3
+ export declare const setLimit: () => void;
4
+ export declare const close: () => void;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.close = exports.setLimit = exports.optimizeImageExt = exports.optimizeImage = void 0;
4
+ const optimizeImage = () => { };
5
+ exports.optimizeImage = optimizeImage;
6
+ const optimizeImageExt = () => { };
7
+ exports.optimizeImageExt = optimizeImageExt;
8
+ const setLimit = () => { };
9
+ exports.setLimit = setLimit;
10
+ const close = () => { };
11
+ exports.close = close;
12
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/dummy/index.ts"],"names":[],"mappings":";;;AAAO,MAAM,aAAa,GAAG,GAAG,EAAE,GAAE,CAAC,CAAC;AAAzB,QAAA,aAAa,iBAAY;AAC/B,MAAM,gBAAgB,GAAG,GAAG,EAAE,GAAE,CAAC,CAAC;AAA5B,QAAA,gBAAgB,oBAAY;AAClC,MAAM,QAAQ,GAAG,GAAG,EAAE,GAAE,CAAC,CAAC;AAApB,QAAA,QAAQ,YAAY;AAC1B,MAAM,KAAK,GAAG,GAAG,EAAE,GAAE,CAAC,CAAC;AAAjB,QAAA,KAAK,SAAY","sourcesContent":["export const optimizeImage = () => {};\nexport const optimizeImageExt = () => {};\nexport const setLimit = () => {};\nexport const close = () => {};\n"]}
@@ -0,0 +1,4 @@
1
+ export declare const optimizeImage: () => void;
2
+ export declare const optimizeImageExt: () => void;
3
+ export declare const setLimit: () => void;
4
+ export declare const close: () => void;
@@ -0,0 +1,5 @@
1
+ export const optimizeImage = () => { };
2
+ export const optimizeImageExt = () => { };
3
+ export const setLimit = () => { };
4
+ export const close = () => { };
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dummy/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,EAAE,GAAE,CAAC,CAAC;AACtC,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,EAAE,GAAE,CAAC,CAAC;AACzC,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,EAAE,GAAE,CAAC,CAAC;AACjC,MAAM,CAAC,MAAM,KAAK,GAAG,GAAG,EAAE,GAAE,CAAC,CAAC","sourcesContent":["export const optimizeImage = () => {};\nexport const optimizeImageExt = () => {};\nexport const setLimit = () => {};\nexport const close = () => {};\n"]}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "wasm-image-optimization",
3
3
  "description": "Optimize images with wasm on edge runtime",
4
- "version": "1.2.5",
4
+ "version": "1.2.7",
5
5
  "scripts": {
6
6
  "test": "yarn ts-node test",
7
7
  "lint:fix": "eslint --fix src/ && prettier -w src",
@@ -15,9 +15,10 @@
15
15
  "types": "./dist/esm/index.d.ts"
16
16
  },
17
17
  "./next": {
18
+ "types": "./dist/next-web-worker/index.d.ts",
18
19
  "browser": "./dist/next-web-worker/index.js",
19
20
  "edge-light": "./dist/esm/index.js",
20
- "types": "./dist/next-web-worker/index.d.ts"
21
+ "default": "./dist/dummy/index.js"
21
22
  },
22
23
  "./node": {
23
24
  "types": "./dist/cjs/node/index.d.ts",
@@ -26,8 +27,8 @@
26
27
  "./vite": {
27
28
  "types": "./dist/vite/index.d.ts",
28
29
  "browser": "./dist/vite/index.js",
29
- "node": "./dist/vite/dummy.js",
30
- "default": "./dist/vite/dummy.js"
30
+ "node": "./dist/dummy/index.js",
31
+ "default": "./dist/dummy/index.js"
31
32
  },
32
33
  "./vite-plugin": {
33
34
  "types": "./dist/vite-plugin/index.d.ts",
@@ -36,7 +37,7 @@
36
37
  "./web-worker": {
37
38
  "types": "./dist/vite-web-worker/index.d.ts",
38
39
  "browser": "./dist/vite-web-worker/index.js",
39
- "node": "./dist/vite/dummy.js"
40
+ "node": "./dist/dummy/index.js"
40
41
  },
41
42
  "./node-worker": {
42
43
  "types": "./dist/cjs/node/cjs-worker.d.ts",
@@ -72,7 +73,7 @@
72
73
  "./dist/esm/index.d.ts"
73
74
  ],
74
75
  "next": [
75
- "./dist/next/index.d.ts"
76
+ "./dist/next-web-worker/index.d.ts"
76
77
  ],
77
78
  "web-worker": [
78
79
  "./dist/vite-web-worker/index.d.ts"
@@ -1,2 +0,0 @@
1
- export declare const optimizeImage: null;
2
- export declare const optimizeImageExt: null;
@@ -1,3 +0,0 @@
1
- export const optimizeImage = null;
2
- export const optimizeImageExt = null;
3
- //# sourceMappingURL=dummy.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dummy.js","sourceRoot":"","sources":["../../src/vite/dummy.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,aAAa,GAAG,IAAI,CAAC;AAClC,MAAM,CAAC,MAAM,gBAAgB,GAAG,IAAI,CAAC","sourcesContent":["export const optimizeImage = null;\nexport const optimizeImageExt = null;\n"]}