@commercelayer/js-auth
Advanced tools
Comparing version 3.0.0 to 4.0.0
{ | ||
"name": "@commercelayer/js-auth", | ||
"version": "3.0.0", | ||
"version": "4.0.0", | ||
"description": "Commerce Layer Javascript Auth", | ||
@@ -12,4 +12,5 @@ "repository": { | ||
}, | ||
"module": "lib/index.js", | ||
"types": "lib/index.d.ts", | ||
"main": "lib/cjs/index.js", | ||
"module": "lib/esm/index.js", | ||
"types": "lib/esm/index.d.ts", | ||
"files": [ | ||
@@ -31,73 +32,31 @@ "lib", | ||
"homepage": "https://github.com/commercelayer/commercelayer-js-auth#readme", | ||
"scripts": { | ||
"test": "jest", | ||
"test:coverage": "jest --coverage", | ||
"build": "tsc -b tsconfig.json --v", | ||
"lint": "eslint src", | ||
"postbuild": "minimize-js lib -w -s", | ||
"version:patch": "npm version patch", | ||
"version:minor": "npm version minor", | ||
"version:major": "npm version major", | ||
"publish:patch": "npm run build && npm run version:patch && git push --follow-tags && npm publish --access public", | ||
"publish:minor": "npm run build && npm run version:minor && git push --follow-tags && npm publish --access public", | ||
"publish:major": "npm run build && npm run version:major && git push --follow-tags && npm publish --access public", | ||
"semantic-release": "semantic-release" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"release": { | ||
"branches": [ | ||
"+([0-9])?(.{+([0-9]),x}).x", | ||
"master", | ||
"next", | ||
"next-major", | ||
{ | ||
"name": "beta", | ||
"prerelease": true | ||
}, | ||
{ | ||
"name": "alpha", | ||
"prerelease": true | ||
} | ||
], | ||
"plugins": [ | ||
"@semantic-release/commit-analyzer", | ||
"@semantic-release/release-notes-generator", | ||
"@semantic-release/changelog", | ||
"@semantic-release/npm", | ||
"@semantic-release/git", | ||
[ | ||
"@semantic-release/github", | ||
{ | ||
"addReleases": "top" | ||
} | ||
] | ||
] | ||
}, | ||
"license": "MIT", | ||
"dependencies": { | ||
"client-oauth2": "^4.3.3", | ||
"tslib": "^2.3.1" | ||
"devDependencies": { | ||
"@types/node": "^20.1.2", | ||
"@vitejs/plugin-react": "^4.0.0", | ||
"@vitest/coverage-c8": "^0.31.0", | ||
"jsdom": "^22.0.0", | ||
"minimize-js": "^1.3.1", | ||
"tsc-alias": "^1.8.6", | ||
"tslib": "^2.5.0", | ||
"typescript": "^5.0.4", | ||
"vite": "^4.3.5", | ||
"vite-tsconfig-paths": "^4.2.0", | ||
"vitest": "^0.31.0" | ||
}, | ||
"devDependencies": { | ||
"@babel/preset-env": "^7.16.11", | ||
"@babel/preset-typescript": "^7.16.7", | ||
"@semantic-release/changelog": "^6.0.1", | ||
"@semantic-release/commit-analyzer": "^9.0.2", | ||
"@semantic-release/git": "^10.0.1", | ||
"@semantic-release/github": "^8.0.2", | ||
"@semantic-release/npm": "^9.0.0", | ||
"@semantic-release/release-notes-generator": "^10.0.3", | ||
"@types/jest": "^27.4.0", | ||
"@types/mocha": "^9.1.0", | ||
"@typescript-eslint/eslint-plugin": "^5.11.0", | ||
"dotenv": "^16.0.0", | ||
"eslint": "^8.8.0", | ||
"eslint-plugin-react": "^7.28.0", | ||
"jest": "^27.5.1", | ||
"minimize-js": "^1.2.0", | ||
"semantic-release": "^19.0.2", | ||
"typescript": "^4.5.5" | ||
"scripts": { | ||
"lint": "eslint src", | ||
"lint:fix": "eslint src --fix", | ||
"test": "pnpm run lint && vitest run --silent", | ||
"coverage": "vitest run --coverage", | ||
"test:e2e": "NODE_ENV=test playwright test", | ||
"test:e2e:coverage": "nyc pnpm test:e2e && pnpm coverage:report", | ||
"coverage:report": "nyc report --reporter=html", | ||
"build": "tsc -b tsconfig.prod.json tsconfig.prod.esm.json --verbose && pnpm postbuild", | ||
"build:dev": "tsc -b tsconfig.prod.json tsconfig.prod.esm.json --verbose && tsc-alias -p tsconfig.prod.json && tsc-alias -p tsconfig.prod.esm.json", | ||
"postbuild": "tsc-alias -p tsconfig.prod.json && tsc-alias -p tsconfig.prod.esm.json && minimize-js lib -w -s" | ||
} | ||
} | ||
} |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
11
34
226
15210
1
1
0
4
- Removedclient-oauth2@^4.3.3
- Removedtslib@^2.3.1
- Removed@servie/events@1.0.0(transitive)
- Removed@types/tough-cookie@4.0.5(transitive)
- Removedbyte-length@1.0.2(transitive)
- Removedclient-oauth2@4.3.3(transitive)
- Removedmake-error@1.3.6(transitive)
- Removedmake-error-cause@2.3.0(transitive)
- Removedpopsicle@12.1.2(transitive)
- Removedpopsicle-content-encoding@1.0.0(transitive)
- Removedpopsicle-cookie-jar@1.0.1(transitive)
- Removedpopsicle-redirects@1.1.1(transitive)
- Removedpopsicle-transport-http@1.2.1(transitive)
- Removedpopsicle-transport-xhr@2.0.0(transitive)
- Removedpopsicle-user-agent@1.0.0(transitive)
- Removedpsl@1.15.0(transitive)
- Removedpunycode@2.3.1(transitive)
- Removedquerystringify@2.2.0(transitive)
- Removedrequires-port@1.0.0(transitive)
- Removedsafe-buffer@5.2.1(transitive)
- Removedservie@4.3.3(transitive)
- Removedthrowback@4.1.0(transitive)
- Removedtough-cookie@4.1.4(transitive)
- Removedts-expect@1.3.0(transitive)
- Removedtslib@2.8.1(transitive)
- Removeduniversalify@0.2.0(transitive)
- Removedurl-parse@1.5.10(transitive)