Comparing version 4.15.8 to 4.15.9
{ | ||
"name": "jose", | ||
"version": "4.15.8", | ||
"version": "4.15.9", | ||
"description": "'JSON Web Almost Everything' - JWA, JWS, JWE, JWT, JWK, JWKS for Node.js, Browser, Cloudflare Workers, Deno, Bun, and other Web-interoperable runtimes", | ||
@@ -61,18 +61,2 @@ "keywords": [ | ||
"sideEffects": false, | ||
"imports": { | ||
"#dist": { | ||
"import": "./dist/node/esm/index.js", | ||
"require": "./dist/node/cjs/index.js" | ||
}, | ||
"#dist/*": { | ||
"import": "./dist/node/esm/*.js", | ||
"require": "./dist/node/cjs/*.js" | ||
}, | ||
"#dist/webapi/*": { | ||
"import": "./dist/browser/*.js" | ||
}, | ||
"#dist/webapi": { | ||
"import": "./dist/browser/index.js" | ||
} | ||
}, | ||
"exports": { | ||
@@ -106,59 +90,3 @@ ".": { | ||
], | ||
"scripts": { | ||
"build": "tsc", | ||
"build-all": "run-s clear build:*", | ||
"build:browser": "run-s runtime-browser 'build -- -p ./tsconfig/browser.json' && echo '{\"type\":\"module\",\"sideEffects\":false}'> dist/browser/package.json", | ||
"build:browser-bundle": "esbuild --bundle dist/browser/index.js --format=esm --target=es2018 --outfile=dist/browser/index.bundle.js", | ||
"build:browser-bundle-min": "esbuild --minify --bundle dist/browser/index.js --format=esm --target=es2018 --outfile=dist/browser/index.bundle.min.js", | ||
"build:browser-umd": "rollup dist/browser/index.bundle.js --format umd --name jose -o dist/browser/index.umd.js && rollup dist/browser/index.bundle.min.js --compact --format umd --name jose -o dist/browser/index.umd.min.js", | ||
"build:deno": "npm run-script runtime-deno && find dist/deno -name '*.ts' -type f -print0 | xargs -0 sed -i.bak -e \"s/\\.js'/.ts'/g\" -e \"s/\\.d'/.d.ts'/g\" && npm run-script sedcleanup", | ||
"build:types": "npm run-script build -- -p ./tsconfig/types.json && cd src && find . -name '*.d.ts' -maxdepth 2 -type f -exec rsync -R \"{}\" ../dist/types \\; && cd .. && run-s -s types:find | xargs -0 sed -i.bak -e \"s/\\.js'/'/g\" -e \"s/\\.d'/'/g\" && npm run-script sedcleanup", | ||
"build:node-cjs": "run-s runtime-node 'build -- -p ./tsconfig/node-cjs.json'", | ||
"build:node-esm": "run-s runtime-node 'build -- -p ./tsconfig/node-esm.json' && echo '{\"type\":\"module\",\"sideEffects\":false}'> dist/node/esm/package.json", | ||
"clear": "rm -Rf dist", | ||
"sedcleanup": "find . -name '*.bak' -type f -print0 | xargs -0 rm -f", | ||
"docs:generate": "typedoc", | ||
"runtime-browser": "run-s runtime:clear runtime:browser:* runtime:refs", | ||
"runtime-deno": "npm run-script runtime-browser && mkdir -p dist/deno && cp -R src/. dist/deno && rm -R dist/deno/runtime/browser dist/deno/runtime/node", | ||
"runtime-node": "run-s runtime:clear runtime:node:* runtime:refs", | ||
"runtime:browser:copy": "cp ./src/runtime/browser/*.ts ./src/runtime", | ||
"runtime:clear": "run-s -s runtime:find | xargs -0 rm -f", | ||
"runtime:find": "find src/runtime -not -name '*.d.ts' -maxdepth 1 -type f -print0", | ||
"types:find": "find dist/types -name '*.d.ts' -type f -print0", | ||
"runtime:node:copy": "cp ./src/runtime/node/*.ts ./src/runtime", | ||
"runtime:refs": "run-s -s runtime:find | xargs -0 sed -i.bak -e \"s/'\\.\\.\\//'\\.\\//g\" -e \"s/'\\.\\/\\.\\./'../g\" && npm run-script sedcleanup", | ||
"test": "ava", | ||
"test:types": "tsd -f test/types", | ||
"format": "prettier --log-level silent --write ./test ./tap ./src ./tools ./cookbook", | ||
"tap:browsers": "./tap/.browsers.sh", | ||
"tap:bun": "./tap/.bun.sh", | ||
"tap:deno": "./tap/.deno.sh", | ||
"tap:edge-runtime": "./tap/.edge-runtime.sh", | ||
"tap:electron": "./tap/.electron.sh", | ||
"tap:node": "bash -c './tap/.node.sh'", | ||
"tap:workerd": "./tap/.workerd.sh" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^18.18.5", | ||
"@types/qunit": "^2.19.6", | ||
"ava": "^5.3.1", | ||
"edge-runtime": "^2.5.4", | ||
"esbuild": "^0.19.4", | ||
"glob": "^10.3.10", | ||
"nock": "^13.3.4", | ||
"npm-run-all2": "^6.1.1", | ||
"patch-package": "^8.0.0", | ||
"prettier": "^3.0.3", | ||
"prettier-plugin-jsdoc": "^1.1.1", | ||
"qunit": "^2.20.0", | ||
"rollup": "^4.1.0", | ||
"tar": "^6.2.0", | ||
"timekeeper": "^2.3.1", | ||
"tsd": "^0.29.0", | ||
"typedoc": "^0.25.2", | ||
"typedoc-plugin-markdown": "^3.16.0", | ||
"typedoc-plugin-mdn-links": "^3.1.0", | ||
"typescript": "^5.2.2" | ||
}, | ||
"deno": "./dist/browser/index.js" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
0
548521