path-to-prop
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "path-to-prop", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"sideEffects": false, | ||
"type": "module", | ||
"description": "Retrieves a property from an object based on a 'path/to.that.prop'", | ||
"main": "dist/index.cjs.js", | ||
"module": "dist/index.esm.js", | ||
"typings": "types/index.d.ts", | ||
"module": "./dist/index.es.js", | ||
"main": "./dist/index.cjs", | ||
"types": "./dist/types/index.d.ts", | ||
"exports": { | ||
".": { | ||
"import": "./dist/index.es.js", | ||
"require": "./dist/index.cjs", | ||
"types": "./dist/types/index.d.ts" | ||
} | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"engines": { | ||
"node": ">=12.13", | ||
"npm": ">=7" | ||
}, | ||
"scripts": { | ||
"test": "ava --verbose", | ||
"build": "rm -rf ./types && rm -rf ./dist && npm run lint && npm run test && npm run rollup", | ||
"lint": "eslint . --ext .js,.jsx,.ts,.tsx", | ||
"rollup": "rollup -c build/rollup.js" | ||
"test": "vitest run", | ||
"lint": "tsc --noEmit && eslint ./src --ext .ts", | ||
"build": "rollup -c ./scripts/build.js", | ||
"release": "npm run lint && del dist && npm run build && np" | ||
}, | ||
@@ -30,17 +45,18 @@ "keywords": [ | ||
"author": "Luca Ban - Mesqueeb", | ||
"funding": "https://github.com/sponsors/mesqueeb", | ||
"license": "MIT", | ||
"homepage": "https://github.com/mesqueeb/path-to-prop#readme", | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"@typescript-eslint/eslint-plugin": "^3.10.1", | ||
"@typescript-eslint/parser": "^3.10.1", | ||
"ava": "^3.12.1", | ||
"eslint": "^7.7.0", | ||
"eslint-config-prettier": "^6.11.0", | ||
"eslint-plugin-tree-shaking": "^1.8.0", | ||
"rollup": "^2.26.7", | ||
"rollup-plugin-typescript2": "^0.27.2", | ||
"tsconfig-paths": "^3.9.0", | ||
"ts-node": "^9.0.0", | ||
"typescript": "^4.0.2" | ||
"@typescript-eslint/eslint-plugin": "^5.10.1", | ||
"@typescript-eslint/parser": "^5.10.1", | ||
"del-cli": "^4.0.1", | ||
"eslint": "^8.7.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-plugin-tree-shaking": "^1.10.0", | ||
"np": "^7.6.0", | ||
"prettier": "^2.5.1", | ||
"rollup": "^2.66.0", | ||
"rollup-plugin-typescript2": "^0.31.1", | ||
"typescript": "^4.5.5", | ||
"vitest": "^0.2.1" | ||
}, | ||
@@ -54,11 +70,33 @@ "bugs": { | ||
}, | ||
"ava": { | ||
"extensions": [ | ||
"ts" | ||
"np": { | ||
"yarn": false, | ||
"branch": "production" | ||
}, | ||
"eslintConfig": { | ||
"ignorePatterns": [ | ||
"node_modules", | ||
"dist", | ||
"scripts", | ||
"test" | ||
], | ||
"require": [ | ||
"tsconfig-paths/register", | ||
"ts-node/register" | ||
] | ||
"root": true, | ||
"parser": "@typescript-eslint/parser", | ||
"plugins": [ | ||
"@typescript-eslint", | ||
"tree-shaking" | ||
], | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/eslint-recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"prettier" | ||
], | ||
"rules": { | ||
"@typescript-eslint/no-empty-function": "off", | ||
"@typescript-eslint/no-explicit-any": "off", | ||
"@typescript-eslint/ban-ts-ignore": "off", | ||
"tree-shaking/no-side-effects-in-initialization": "error", | ||
"@typescript-eslint/ban-ts-comment": "off" | ||
} | ||
} | ||
} |
# Path to prop 🛤 | ||
<a href="https://www.npmjs.com/package/path-to-prop"><img src="https://img.shields.io/npm/v/path-to-prop.svg" alt="Total Downloads"></a> | ||
<a href="https://www.npmjs.com/package/path-to-prop"><img src="https://img.shields.io/npm/dw/path-to-prop.svg" alt="Latest Stable Version"></a> | ||
``` | ||
@@ -4,0 +7,0 @@ npm i path-to-prop |
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
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
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
38
Yes
7208
12
6
72
1