Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

path-to-prop

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

path-to-prop - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

dist/index.cjs

92

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc