Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jose

Package Overview
Dependencies
Maintainers
1
Versions
213
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jose - npm Package Compare versions

Comparing version 4.15.5 to 4.15.6

75

package.json
{
"name": "jose",
"version": "4.15.5",
"version": "4.15.6",
"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,2 +61,18 @@ "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": {

@@ -69,2 +85,3 @@ ".": {

"worker": "./dist/browser/index.js",
"workerd": "./dist/browser/index.js",
"import": "./dist/node/esm/index.js",

@@ -90,3 +107,59 @@ "require": "./dist/node/cjs/index.js"

],
"scripts": {
"build": "tsc",
"build-all": "run-s clear build:*",
"build:browser": "run-s runtime-browser 'build -- -p ./tsconfig/browser.json' && echo '{\"type\": \"module\"}'> 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\"}'> 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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc