@etu-wiki/sharp-iiif-shims 0.1.21 → 0.1.23

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etu-wiki/sharp-iiif-shims",
3
- "version": "0.1.21",
3
+ "version": "0.1.23",
4
4
  "description": "shims for sharp",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -13,7 +13,7 @@
13
13
  },
14
14
  "scripts": {
15
15
  "test": "NODE_OPTIONS='--experimental-vm-modules' jest",
16
- "build:cjs": "esbuild ./src/index.mjs --bundle --minify --format=cjs --external:sharp --outfile=dist/index.temp.js && npx javascript-obfuscator dist/index.temp.js --output dist/index.obfuscated.js --compact true --control-flow-flattening true --dead-code-injection true --string-array true --string-array-rotate true --string-array-shuffle true --string-array-threshold 0.75 && mv dist/index.obfuscated.js dist/index.cjs && rm dist/index.temp.js",
16
+ "build:cjs": "esbuild ./src/index.mjs --bundle --minify --format=cjs --external:sharp --external:sharp --outfile=dist/index.cjs",
17
17
  "build:esm": "esbuild ./src/index.mjs --bundle --minify --format=esm --external:sharp --outfile=dist/index.temp2.js && npx javascript-obfuscator dist/index.temp2.js --output dist/index.obfuscated2.js --compact true --control-flow-flattening true --dead-code-injection true --string-array true --string-array-rotate true --string-array-shuffle true --string-array-threshold 0.75 && mv dist/index.obfuscated2.js dist/index.mjs && rm dist/index.temp2.js",
18
18
  "build": "mkdir -p dist && npm run build:cjs && npm run build:esm",
19
19
  "prepublishOnly": "npm run build"