{
|
|
"_from": "flatted@^3.2.9",
|
|
"_id": "flatted@3.3.2",
|
|
"_inBundle": false,
|
|
"_integrity": "sha512-AiwGJM8YcNOaobumgtng+6NHuOqC3A7MixFeDafM3X9cIUM+xUXoS5Vfgf+OihAYe20fxqNM9yPBXJzRtZ/4eA==",
|
|
"_location": "/flatted",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"type": "range",
|
|
"registry": true,
|
|
"raw": "flatted@^3.2.9",
|
|
"name": "flatted",
|
|
"escapedName": "flatted",
|
|
"rawSpec": "^3.2.9",
|
|
"saveSpec": null,
|
|
"fetchSpec": "^3.2.9"
|
|
},
|
|
"_requiredBy": [
|
|
"/flat-cache"
|
|
],
|
|
"_resolved": "https://registry.npmmirror.com/flatted/-/flatted-3.3.2.tgz",
|
|
"_shasum": "adba1448a9841bec72b42c532ea23dbbedef1a27",
|
|
"_spec": "flatted@^3.2.9",
|
|
"_where": "E:\\webView\\tenancy-wechat-uniapp\\node_modules\\flat-cache",
|
|
"author": {
|
|
"name": "Andrea Giammarchi"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/WebReflection/flatted/issues"
|
|
},
|
|
"bundleDependencies": false,
|
|
"deprecated": false,
|
|
"description": "A super light and fast circular JSON parser.",
|
|
"devDependencies": {
|
|
"@babel/core": "^7.23.9",
|
|
"@babel/preset-env": "^7.23.9",
|
|
"@rollup/plugin-babel": "^6.0.4",
|
|
"@rollup/plugin-terser": "^0.4.4",
|
|
"@ungap/structured-clone": "^1.2.0",
|
|
"ascjs": "^6.0.3",
|
|
"c8": "^9.1.0",
|
|
"circular-json": "^0.5.9",
|
|
"circular-json-es6": "^2.0.2",
|
|
"jsan": "^3.1.14",
|
|
"rollup": "^4.12.0",
|
|
"terser": "^5.27.2",
|
|
"typescript": "^5.3.3"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"types": "./types/index.d.ts",
|
|
"import": "./esm/index.js",
|
|
"default": "./cjs/index.js"
|
|
},
|
|
"./esm": "./esm.js",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"homepage": "https://github.com/WebReflection/flatted#readme",
|
|
"keywords": [
|
|
"circular",
|
|
"JSON",
|
|
"fast",
|
|
"parser",
|
|
"minimal"
|
|
],
|
|
"license": "ISC",
|
|
"main": "./cjs/index.js",
|
|
"module": "./esm/index.js",
|
|
"name": "flatted",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/WebReflection/flatted.git"
|
|
},
|
|
"scripts": {
|
|
"build": "npm run cjs && npm run rollup:esm && npm run rollup:es && npm run rollup:babel && npm run min && npm run test && npm run size",
|
|
"cjs": "ascjs esm cjs",
|
|
"coverage": "mkdir -p ./coverage; c8 report --reporter=text-lcov > ./coverage/lcov.info",
|
|
"min": "terser index.js -c -m -o min.js",
|
|
"rollup:babel": "rollup --config rollup/babel.config.js && sed -i.bck 's/^var /self./' index.js && rm -rf index.js.bck",
|
|
"rollup:es": "rollup --config rollup/es.config.js && sed -i.bck 's/^var /self./' es.js && rm -rf es.js.bck",
|
|
"rollup:esm": "rollup --config rollup/esm.config.js",
|
|
"size": "cat index.js | wc -c;cat min.js | wc -c;gzip -c9 min.js | wc -c;cat min.js | brotli | wc -c; cat es.js | brotli | wc -c; cat esm.js | brotli | wc -c",
|
|
"test": "c8 node test/index.js",
|
|
"test:php": "php php/test.php",
|
|
"test:py": "python python/test.py",
|
|
"ts": "tsc -p ."
|
|
},
|
|
"type": "module",
|
|
"types": "./types/index.d.ts",
|
|
"unpkg": "min.js",
|
|
"version": "3.3.2"
|
|
}
|