UNPKG

@winglet/json

Version:

TypeScript library for safe and efficient JSON data manipulation with RFC 6901 (JSON Pointer) and RFC 6902 (JSON Patch) compliance, featuring prototype pollution protection and immutable operations

113 lines 3.72 kB
{ "name": "@winglet/json", "version": "0.13.1", "description": "TypeScript library for safe and efficient JSON data manipulation with RFC 6901 (JSON Pointer) and RFC 6902 (JSON Patch) compliance, featuring prototype pollution protection and immutable operations", "keywords": [ "typescript", "json", "json-pointer", "json-patch", "rfc-6901", "rfc-6902", "json-path", "data-manipulation", "utilities", "standards-compliant" ], "repository": { "type": "git", "url": "https://github.com/vincent-kk/albatrion.git", "directory": "packages/winglet/json" }, "license": "MIT", "author": { "name": "Vincent K. Kelvin", "email": "lunox273@gmail.com" }, "sideEffects": false, "type": "module", "exports": { ".": { "types": "./dist/index.d.ts", "source": "./src/index.ts", "import": "./dist/index.mjs", "require": "./dist/index.cjs" }, "./path": { "types": "./dist/JSONPath/index.d.ts", "source": "./src/JSONPath/index.ts", "import": "./dist/JSONPath/index.mjs", "require": "./dist/JSONPath/index.cjs" }, "./path-common": { "types": "./dist/JSONPath/utils/common.d.ts", "source": "./src/JSONPath/utils/common.ts", "import": "./dist/JSONPath/utils/common.mjs", "require": "./dist/JSONPath/utils/common.cjs" }, "./pointer": { "types": "./dist/JSONPointer/index.d.ts", "source": "./src/JSONPointer/index.ts", "import": "./dist/JSONPointer/index.mjs", "require": "./dist/JSONPointer/index.cjs" }, "./pointer-common": { "types": "./dist/JSONPointer/utils/common.d.ts", "source": "./src/JSONPointer/utils/common.ts", "import": "./dist/JSONPointer/utils/common.mjs", "require": "./dist/JSONPointer/utils/common.cjs" }, "./pointer-escape": { "types": "./dist/JSONPointer/utils/escape/index.d.ts", "source": "./src/JSONPointer/utils/escape/index.ts", "import": "./dist/JSONPointer/utils/escape/index.mjs", "require": "./dist/JSONPointer/utils/escape/index.cjs" }, "./pointer-manipulator": { "types": "./dist/JSONPointer/utils/manipulator/index.d.ts", "source": "./src/JSONPointer/utils/manipulator/index.ts", "import": "./dist/JSONPointer/utils/manipulator/index.mjs", "require": "./dist/JSONPointer/utils/manipulator/index.cjs" }, "./pointer-patch": { "types": "./dist/JSONPointer/utils/patch/index.d.ts", "source": "./src/JSONPointer/utils/patch/index.ts", "import": "./dist/JSONPointer/utils/patch/index.mjs", "require": "./dist/JSONPointer/utils/patch/index.cjs" } }, "main": "dist/index.cjs", "module": "dist/index.mjs", "types": "dist/index.d.ts", "files": [ "dist", "docs", "README.md" ], "scripts": { "build": "rollup -c && yarn build:types && yarn build:hashes", "build:hashes": "claude-build-hashes", "build:publish:npm": "yarn build && yarn publish:npm", "build:types": "node ../../aileron/script/build/buildTypes.mjs", "format": "prettier --write \"src/**/*.{ts,tsx}\"", "lint": "eslint \"src/**/*.{ts,tsx}\"", "prepublishOnly": "yarn build", "publish:npm": "yarn npm publish --access public", "test": "yarn run -T vitest", "version:major": "yarn version major", "version:minor": "yarn version minor", "version:patch": "yarn version patch" }, "dependencies": { "@winglet/common-utils": "^0.13.1" }, "devDependencies": { "@slats/claude-assets-sync": "^0.3.5", "rollup": "^4.59.0", "tsc-alias": "^1.8.16", "typescript": "^5.7.2" }, "claude": { "assetPath": "docs/claude" } }