sort-object-keys2
Advanced tools
Comparing version
{ | ||
"name": "sort-object-keys2", | ||
"version": "2.0.3", | ||
"version": "3.0.1", | ||
"description": "Sort an object's keys, including an optional key list", | ||
@@ -25,15 +25,37 @@ "keywords": [ | ||
"util", | ||
"utils" | ||
"utils", | ||
"create-by-yarn-tool", | ||
"create-by-tsdx" | ||
], | ||
"homepage": "https://github.com/bluelovers/sort-object-keys#readme", | ||
"homepage": "https://github.com/bluelovers/ws-array/tree/master/packages/sort-object-keys#readme", | ||
"bugs": { | ||
"url": "https://github.com/bluelovers/sort-object-keys/issues" | ||
"url": "https://github.com/bluelovers/ws-array/issues" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/bluelovers/sort-object-keys.git" | ||
"url": "git+https://github.com/bluelovers/ws-array.git", | ||
"directory": "packages/sort-object-keys" | ||
}, | ||
"license": "MIT", | ||
"author": "Keith Cirkel <npm@keithcirkel.co.uk> (http://keithcirkel.co.uk/)", | ||
"main": "index.js", | ||
"sideEffects": false, | ||
"exports": { | ||
".": { | ||
"types": "./dist/index.d.ts", | ||
"import": "./dist/index.esm.mjs", | ||
"require": "./dist/index.cjs" | ||
}, | ||
"./core": { | ||
"types": "./dist/index.d.ts", | ||
"import": "./dist/index.esm.mjs", | ||
"require": "./dist/index.cjs" | ||
}, | ||
"./package.json": "./package.json", | ||
"./src/*": "./src/*" | ||
}, | ||
"main": "dist/index.cjs", | ||
"unpkg": "dist/index.umd.production.min.cjs", | ||
"module": "dist/index.esm.mjs", | ||
"types": "dist/index.d.ts", | ||
"typings": "dist/index.d.ts", | ||
"directories": { | ||
@@ -43,17 +65,40 @@ "test": "test" | ||
"scripts": { | ||
"test": "jest --coverage", | ||
"pretest": "echo pretest", | ||
"test": "jest --passWithNoTests", | ||
"test:jest": "jest --passWithNoTests", | ||
"test:jest:snapshot": "yarn run test:jest -- -u", | ||
"test:snapshot": "yarn run test -- -u", | ||
"posttest": "yarn run build", | ||
"build": "yarn run build:tsdx && yarn run build:dts:bundle", | ||
"build:dts:bundle": "ynpx dts-bundle-generator -o ./dist/index.d.ts ./src/index.ts --no-banner --inline-declare-global & echo build:dts:bundle", | ||
"build:dts:copy": "copy .\\src\\index.d.ts .\\dist\\index.d.ts & echo build:dts", | ||
"build:dts:tsc": "yarn run build:dts:tsc:emit && yarn run build:dts:copy", | ||
"build:dts:tsc:emit": "tsc --emitDeclarationOnly --declaration --noEmit false", | ||
"build:tsdx": "ynpx @bluelovers/tsdx build --target node", | ||
"ci:install": "echo ci:install", | ||
"ci:build": "echo ci:build", | ||
"npm:publish": "npm publish", | ||
"preversion": "echo preversion && yarn run test", | ||
"version": "echo version", | ||
"postversion": "echo postversion", | ||
"prepublish": "echo prepublish", | ||
"prepublish:lockfile": "npx sync-lockfile .", | ||
"prepare": "echo prepare", | ||
"prepublishOnly": "yarn run ncu && yarn run sort-package-json && npx yarn-tool install && yarn run test", | ||
"prepublishOnly:update": "yarn run ncu && yarn run sort-package-json", | ||
"prepack": "echo prepack", | ||
"pack": "echo pack", | ||
"postpack": "echo postpack", | ||
"publish": "echo publish", | ||
"postpublish": "git commit -m \"chore(release): publish\" .", | ||
"postpublishOnly": "echo postpublishOnly", | ||
"ncu": "npx yarn-tool ncu -u", | ||
"sort-package-json": "npx yarn-tool sort" | ||
"sort-package-json": "npx yarn-tool sort", | ||
"tsc:showConfig": "ynpx get-current-tsconfig -p" | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"@bluelovers/tsconfig": "^1.0.19", | ||
"@types/jest": "^25.2.1", | ||
"jest": "^26.0.1", | ||
"ts-jest": "^25.5.1" | ||
} | ||
"dependencies": { | ||
"@lazy-array/util-unique": "^1.0.1" | ||
}, | ||
"packageManager": "yarn@1.22.19", | ||
"gitHead": "1847cf5e4d64c410da4934e8c7bc2de2f2df0960" | ||
} |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
40630
247.03%0
-100%17
112.5%311
148.8%1
Infinity%2
Infinity%1
Infinity%1
Infinity%+ Added