@stoplight/path
Advanced tools
Comparing version 1.3.2 to 2.0.0-beta.1
{ | ||
"name": "@stoplight/path", | ||
"version": "1.3.2", | ||
"version": "2.0.0-beta.1", | ||
"description": "", | ||
"keywords": [], | ||
"sideEffects": false, | ||
"files": [ | ||
"**/*" | ||
], | ||
"homepage": "https://github.com/stoplightio/path", | ||
"bugs": "https://github.com/stoplightio/path/issues", | ||
"author": "Stoplight <support@stoplight.io>", | ||
@@ -16,10 +15,91 @@ "repository": { | ||
"license": "Apache-2.0", | ||
"type": "module", | ||
"main": "./dist/cjs/index.js", | ||
"module": "./dist/esm/index.js", | ||
"types": "./dist/types/index.d.ts", | ||
"exports": { | ||
".": { | ||
"types": "./dist/types/index.d.ts", | ||
"import": "./dist/esm/index.js", | ||
"require": "./dist/cjs/index.js" | ||
} | ||
}, | ||
"files": [ | ||
"src", | ||
"dist" | ||
], | ||
"engines": { | ||
"node": ">=8" | ||
"node": "^12.20 || >=14.13" | ||
}, | ||
"scripts": { | ||
"build": "rimraf dist && yarn build.grammar && yarn build.cjs && yarn build.esm", | ||
"build.esm": "tsc -p tsconfig.build.json --outDir dist/esm --declarationDir dist/types", | ||
"build.cjs": "tsc -p tsconfig.build.json --outDir dist/cjs --module commonjs --declarationDir dist/types", | ||
"build.grammar": "peggy --format=es src/grammar.pegjs", | ||
"commit": "git-cz", | ||
"lint": "eslint 'src/**/*.ts' && prettier --check 'src/**/*.ts'", | ||
"lint.fix": "yarn lint --fix", | ||
"release": "semantic-release", | ||
"pretest": "yarn build.grammar", | ||
"test": "jest", | ||
"test.prod": "yarn lint && yarn test --coverage --maxWorkers=2", | ||
"test.update": "yarn test --updateSnapshot", | ||
"test.watch": "yarn test --watch", | ||
"yalc": "yarn build && (cd dist && yalc push)", | ||
"yalc.watch": "nodemon --watch 'src/**/*' --exec 'yarn yalc'" | ||
}, | ||
"peerDependencies": {}, | ||
"dependencies": {}, | ||
"main": "index.cjs.js", | ||
"module": "index.es.js", | ||
"typings": "src/index.d.ts" | ||
"devDependencies": { | ||
"@commitlint/cli": "^17.4.2", | ||
"@commitlint/config-conventional": "^17.4.2", | ||
"@types/jest": "^29.4.0", | ||
"@typescript-eslint/eslint-plugin": "^5.50.0", | ||
"@typescript-eslint/parser": "^5.50.0", | ||
"@semantic-release/commit-analyzer": "^9.0.2", | ||
"@semantic-release/git": "^10.0.1", | ||
"@semantic-release/github": "^8.0.7", | ||
"@semantic-release/npm": "^9.0.2", | ||
"@semantic-release/release-notes-generator": "^10.0.3", | ||
"eslint": "^8.33.0", | ||
"eslint-config-prettier": "^8.6.0", | ||
"eslint-plugin-jest": "^27.2.1", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"husky": "^4.3.8", | ||
"jest": "^29.4.1", | ||
"lint-staged": "^13.1.0", | ||
"nodemon": "1.x.x", | ||
"peggy": "^2.0.1", | ||
"prettier": "^2.8.3", | ||
"rimraf": "^4.1.2", | ||
"semantic-release": "^19.0.5", | ||
"ts-jest": "^29.0.5", | ||
"typescript": "^4.9.5" | ||
}, | ||
"lint-staged": { | ||
"*.{ts,tsx}$": [ | ||
"yarn lint.fix" | ||
] | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS", | ||
"pre-commit": "lint-staged" | ||
} | ||
}, | ||
"config": { | ||
"commitizen": { | ||
"path": "node_modules/cz-conventional-changelog" | ||
} | ||
}, | ||
"commitlint": { | ||
"extends": [ | ||
"@commitlint/config-conventional" | ||
] | ||
}, | ||
"prettier": { | ||
"arrowParens": "avoid", | ||
"printWidth": 120, | ||
"singleQuote": true, | ||
"trailingComma": "all" | ||
} | ||
} |
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
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 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
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
210503
135
3975
Yes
24
2