wasm-image-optimization 1.2.6 → 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.
- package/dist/cjs/dummy/index.d.ts +4 -0
- package/dist/cjs/dummy/index.js +12 -0
- package/dist/cjs/dummy/index.js.map +1 -0
- package/dist/dummy/index.d.ts +4 -0
- package/dist/dummy/index.js +5 -0
- package/dist/dummy/index.js.map +1 -0
- package/package.json +5 -5
- package/dist/vite/dummy.d.ts +0 -2
- package/dist/vite/dummy.js +0 -3
- package/dist/vite/dummy.js.map +0 -1
|
@@ -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 @@
|
|
|
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.
|
|
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",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"types": "./dist/next-web-worker/index.d.ts",
|
|
19
19
|
"browser": "./dist/next-web-worker/index.js",
|
|
20
20
|
"edge-light": "./dist/esm/index.js",
|
|
21
|
-
"default": "./dist/
|
|
21
|
+
"default": "./dist/dummy/index.js"
|
|
22
22
|
},
|
|
23
23
|
"./node": {
|
|
24
24
|
"types": "./dist/cjs/node/index.d.ts",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"./vite": {
|
|
28
28
|
"types": "./dist/vite/index.d.ts",
|
|
29
29
|
"browser": "./dist/vite/index.js",
|
|
30
|
-
"node": "./dist/
|
|
31
|
-
"default": "./dist/
|
|
30
|
+
"node": "./dist/dummy/index.js",
|
|
31
|
+
"default": "./dist/dummy/index.js"
|
|
32
32
|
},
|
|
33
33
|
"./vite-plugin": {
|
|
34
34
|
"types": "./dist/vite-plugin/index.d.ts",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"./web-worker": {
|
|
38
38
|
"types": "./dist/vite-web-worker/index.d.ts",
|
|
39
39
|
"browser": "./dist/vite-web-worker/index.js",
|
|
40
|
-
"node": "./dist/
|
|
40
|
+
"node": "./dist/dummy/index.js"
|
|
41
41
|
},
|
|
42
42
|
"./node-worker": {
|
|
43
43
|
"types": "./dist/cjs/node/cjs-worker.d.ts",
|
package/dist/vite/dummy.d.ts
DELETED
package/dist/vite/dummy.js
DELETED
package/dist/vite/dummy.js.map
DELETED
|
@@ -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"]}
|