@hyperjump/json-pointer 0.9.5 → 0.9.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/index.mjs +1 -0
  2. package/package.json +2 -2
package/lib/index.mjs CHANGED
@@ -1,6 +1,7 @@
1
1
  import JsonPointer from "./index.js";
2
2
 
3
3
 
4
+ export const nil = JsonPointer.nil;
4
5
  export const append = JsonPointer.append;
5
6
  export const assign = JsonPointer.assign;
6
7
  export const remove = JsonPointer.remove;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperjump/json-pointer",
3
- "version": "0.9.5",
3
+ "version": "0.9.7",
4
4
  "description": "An RFC-6901 JSON Pointer implementation",
5
5
  "main": "lib/index.js",
6
6
  "exports": {
@@ -13,7 +13,7 @@
13
13
  "test": "mocha --require ts-node/register 'lib/**/*.spec.ts'",
14
14
  "build": "rollup --config rollup.config.js",
15
15
  "prepublishOnly": "npm run build",
16
- "postinstall": "npx rimraf dist"
16
+ "postinstall": "node -e \"require('fs').rmSync('dist', { recursive: true })\""
17
17
  },
18
18
  "repository": "github:hyperjump-io/json-pointer",
19
19
  "keywords": [