jsonpath-plus
Advanced tools
Comparing version 8.0.0 to 8.1.0
# CHANGES for jsonpath-plus | ||
## 8.1.0 | ||
- feat: add basic cli (#206) (@vid) | ||
## 8.0.0 | ||
@@ -4,0 +8,0 @@ |
{ | ||
"author": "Stefan Goessner", | ||
"name": "jsonpath-plus", | ||
"version": "8.0.0", | ||
"version": "8.1.0", | ||
"type": "module", | ||
"bin": { | ||
"jsonpath": "./bin/jsonpath-cli.js", | ||
"jsonpath-plus": "./bin/jsonpath-cli.js" | ||
}, | ||
"main": "dist/index-node-cjs.cjs", | ||
@@ -62,4 +66,4 @@ "exports": { | ||
"devDependencies": { | ||
"@babel/core": "^7.23.7", | ||
"@babel/preset-env": "^7.23.8", | ||
"@babel/core": "^7.24.0", | ||
"@babel/preset-env": "^7.24.0", | ||
"@brettz9/eslint-plugin": "^1.0.4", | ||
@@ -69,7 +73,6 @@ "@rollup/plugin-babel": "^6.0.4", | ||
"c8": "^9.1.0", | ||
"chai": "^4.4.1", | ||
"core-js-bundle": "^3.35.0", | ||
"chai": "^5.1.0", | ||
"coveradge": "^0.8.2", | ||
"eslint": "^8.56.0", | ||
"eslint-config-ash-nazg": "^35.3.0", | ||
"eslint": "^8.57.0", | ||
"eslint-config-standard": "^17.1.0", | ||
@@ -83,3 +86,3 @@ "eslint-plugin-array-func": "^4.0.0", | ||
"eslint-plugin-import": "^2.29.1", | ||
"eslint-plugin-jsdoc": "^48.0.2", | ||
"eslint-plugin-jsdoc": "^48.2.0", | ||
"eslint-plugin-markdown": "^3.0.1", | ||
@@ -95,8 +98,8 @@ "eslint-plugin-n": "^16.6.2", | ||
"license-badger": "^0.21.1", | ||
"mocha": "^10.2.0", | ||
"mocha": "^10.3.0", | ||
"mocha-badge-generator": "^0.11.0", | ||
"mocha-multi-reporters": "^1.5.1", | ||
"open-cli": "^8.0.0", | ||
"rollup": "4.9.5", | ||
"typedoc": "^0.25.7", | ||
"rollup": "4.12.0", | ||
"typedoc": "^0.25.10", | ||
"typescript": "^5.3.3" | ||
@@ -133,6 +136,7 @@ }, | ||
"scripts": { | ||
"prepublishOnly": "pnpm i && npm run license-badges", | ||
"license-badge": "license-badger --corrections --uncategorizedLicenseTemplate \"\\${license} (\\${name} (\\${version}))\" --filteredTypes=nonempty --textTemplate \"License types\n(project, deps, and bundled devDeps)\" --packageJson --production badges/licenses-badge.svg", | ||
"license-badge-dev": "license-badger --corrections --filteredTypes=nonempty --textTemplate \"License types\n(all devDeps)\" --allDevelopment badges/licenses-badge-dev.svg", | ||
"license-badges": "npm run license-badge && npm run license-badge-dev", | ||
"build-docs": "typedoc --out docs/ts src --excludeExternals --tsconfig src/tsconfig.json", | ||
"build-docs": "typedoc --out docs/ts src --excludeExternals --entryPointStrategy Expand", | ||
"open-docs": "open-cli http://localhost:8084/docs/ts/ && npm start", | ||
@@ -144,2 +148,3 @@ "coverage": "open-cli http://localhost:8084/coverage/ && npm start", | ||
"start": "http-server -p 8084", | ||
"cli": "./bin/jsonpath-cli.js package.json name", | ||
"typescript": "tsc -p src", | ||
@@ -154,2 +159,2 @@ "mocha": "mocha --require test-helpers/node-env.js --reporter-options configFile=mocha-multi-reporters.json test", | ||
} | ||
} | ||
} |
@@ -86,6 +86,2 @@ [![npm](https://img.shields.io/npm/v/jsonpath-plus.svg)](https://www.npmjs.com/package/jsonpath-plus) | ||
```html | ||
<!-- Polyfill recommended by Babel for items not covered for older | ||
browsers in dist --> | ||
<script src="node_modules/core-js-bundle/minified.js"></script> | ||
<script src="node_modules/jsonpath-plus/dist/index-browser-umd.cjs"></script> | ||
@@ -372,2 +368,6 @@ | ||
## Command line interface | ||
A basic command line interface (CLI) is provided. Access it using `npx jsonpath-plus <json-file> <jsonpath-query>`. | ||
## Ideas | ||
@@ -374,0 +374,0 @@ |
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
312711
36
27
4496
4