Socket
Socket
Sign inDemoInstall

walk-up-path

Package Overview
Dependencies
325
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 2.0.0

dist/cjs/index-cjs.d.ts

62

package.json
{
"name": "walk-up-path",
"version": "1.0.0",
"version": "2.0.0",
"files": [
"index.js"
"dist"
],
"main": "./dist/cjs/index-cjs.js",
"module": "./dist/mjs/index.js",
"types": "./dist/mjs/index.d.ts",
"exports": {
".": {
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index-cjs.js"
},
"import": {
"types": "./dist/mjs/index.d.ts",
"default": "./dist/mjs/index.js"
}
}
},
"description": "Given a path string, return a generator that walks up the path, emitting each dirname.",

@@ -15,15 +30,46 @@ "repository": {

"scripts": {
"test": "tap",
"snap": "tap",
"preversion": "npm test",
"postversion": "npm publish",
"prepublishOnly": "git push origin --follow-tags"
"prepublishOnly": "git push origin --follow-tags",
"prepare": "tsc -p tsconfig.json && tsc -p tsconfig-esm.json && bash ./scripts/fixup.sh",
"pretest": "npm run prepare",
"presnap": "npm run prepare",
"test": "c8 tap",
"snap": "c8 tap",
"format": "prettier --write . --loglevel warn",
"typedoc": "typedoc --tsconfig tsconfig-esm.json ./src/*.ts"
},
"prettier": {
"semi": false,
"printWidth": 75,
"tabWidth": 2,
"useTabs": false,
"singleQuote": true,
"jsxSingleQuote": false,
"bracketSameLine": true,
"arrowParens": "avoid",
"endOfLine": "lf"
},
"tap": {
"check-coverage": true
"coverage": false,
"node-arg": [
"--no-warnings",
"--loader",
"ts-node/esm"
],
"ts": false
},
"devDependencies": {
"tap": "^14.10.7",
"require-inject": "^1.4.4"
"@types/node": "^18.15.5",
"@types/tap": "^15.0.8",
"c8": "^7.13.0",
"eslint-config-prettier": "^8.8.0",
"prettier": "^2.8.6",
"ts-node": "^10.9.1",
"typedoc": "^0.23.28",
"typescript": "^5.0.2"
},
"dependencies": {
"tap": "^16.3.4"
}
}
index.js
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc