@teppeis/multimaps
Advanced tools
Comparing version 2.0.0 to 3.0.0-0
{ | ||
"name": "@teppeis/multimaps", | ||
"description": "Multimap classes for TypeScript and JavaScript", | ||
"version": "2.0.0", | ||
"version": "3.0.0-0", | ||
"author": "Teppei Sato <teppeis@gmail.com>", | ||
@@ -10,29 +10,51 @@ "publishConfig": { | ||
"engines": { | ||
"node": ">=10.17" | ||
"node": ">=14" | ||
}, | ||
"main": "dist/src/index.js", | ||
"types": "dist/src/index.d.ts", | ||
"type": "module", | ||
"main": "./dist/cjs/index.js", | ||
"types": "./dist/cjs/index.d.ts", | ||
"module": "./dist/esm/index.js", | ||
"exports": { | ||
".": { | ||
"import": "./dist/esm/index.js", | ||
"require": "./dist/cjs/index.js", | ||
"default": "./dist/esm/index.js" | ||
}, | ||
"./package.json": "./package.json" | ||
}, | ||
"files": [ | ||
"dist/src" | ||
"dist" | ||
], | ||
"scripts": { | ||
"build": "tsc", | ||
"clean": "rimraf dist", | ||
"lint": "eslint 'src/**/*.ts' 'test/**/*.ts'", | ||
"mocha": "mocha -r espower-typescript/guess --extension ts,tsx 'test/*.{ts,tsx}'", | ||
"build": "run-p build:*", | ||
"build:cjs": "tsc -p tsconfig.cjs.json && ./gen-cjs-packagejson.sh", | ||
"build:esm": "tsc", | ||
"clean": "rimraf dist test/ts40/dist", | ||
"lint:eslint": "eslint .", | ||
"lint:prettier": "prettier --check .", | ||
"fix": "run-s fix:prettier fix:eslint", | ||
"fix:eslint": "npm run lint:eslint -- --fix", | ||
"fix:prettier": "npm run lint:prettier -- --write", | ||
"prepublishOnly": "run-s clean build", | ||
"test": "run-s clean lint build mocha" | ||
"test": "run-p -cl --aggregate-output lint:* type unit test:nest", | ||
"test:install": "cd test/exports && npm i && cd ../ts40 && npm i", | ||
"test:nest": "run-s test-exports test-ts40", | ||
"test-exports": "cd test/exports && npm t", | ||
"test-ts40": "cd test/ts40 && npm t", | ||
"type": "tsc -p tsconfig.test.json", | ||
"unit": "vitest run --coverage" | ||
}, | ||
"devDependencies": { | ||
"@types/mocha": "^8.2.0", | ||
"@types/node": "^10.17.51", | ||
"eslint": "^7.18.0", | ||
"eslint-config-teppeis": "^12.0.0-6", | ||
"espower-typescript": "^9.0.2", | ||
"mocha": "^8.2.1", | ||
"@tsconfig/node14": "^1.0.3", | ||
"@types/node": "^14.18.29", | ||
"@vitest/coverage-c8": "^0.23.4", | ||
"c8": "^7.12.0", | ||
"eslint": "^8.23.1", | ||
"eslint-config-teppeis": "^16.0.0", | ||
"npm-run-all": "^4.1.5", | ||
"power-assert": "^1.6.1", | ||
"prettier": "^2.7.1", | ||
"rimraf": "^3.0.2", | ||
"ts-node": "^9.1.1", | ||
"typescript": "^4.1.3" | ||
"typescript": "^4.8.3", | ||
"vitest": "^0.23.4" | ||
}, | ||
@@ -39,0 +61,0 @@ "homepage": "https://github.com/teppeis/multimaps#readme", |
@@ -9,3 +9,4 @@ # @teppeis/multimaps | ||
[![build status][ci-image]][ci-url] | ||
[![dependency status][deps-image]][deps-url] | ||
![dependency status][deps-count-image] | ||
![monthly downloads][npm-downloads-image] | ||
![License][license] | ||
@@ -53,11 +54,12 @@ | ||
[npm-image]: https://img.shields.io/npm/v/@teppeis/multimaps.svg | ||
[npm-image]: https://badgen.net/npm/v/@teppeis/multimaps?icon=npm&label= | ||
[npm-url]: https://npmjs.org/package/@teppeis/multimaps | ||
[npm-downloads-image]: https://img.shields.io/npm/dm/@teppeis/multimaps.svg | ||
[deps-image]: https://img.shields.io/david/teppeis/multimaps.svg | ||
[npm-downloads-image]: https://badgen.net/npm/dm/@teppeis/multimaps | ||
[deps-image]: https://badgen.net/david/dep/teppeis/multimaps.svg | ||
[deps-url]: https://david-dm.org/teppeis/multimaps | ||
[node-version]: https://img.shields.io/badge/Node.js-v10+-brightgreen.svg | ||
[ts-version]: https://img.shields.io/badge/TypeScrpt-v3.8+-brightgreen.svg | ||
[deps-count-image]: https://badgen.net/bundlephobia/dependency-count/@teppeis/multimaps | ||
[node-version]: https://badgen.net/npm/node/@teppeis/multimaps | ||
[ts-version]: https://badgen.net/badge/typescript/%3E=4.0?icon=typescript | ||
[license]: https://img.shields.io/npm/l/@teppeis/multimaps.svg | ||
[ci-image]: https://github.com/teppeis/multimaps/workflows/CI/badge.svg | ||
[ci-url]: https://github.com/teppeis/multimaps/actions?query=workflow%3ACI |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
19
64
Yes
17688
12
481
1
1