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

@npmcli/name-from-folder

Package Overview
Dependencies
Maintainers
6
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@npmcli/name-from-folder - npm Package Compare versions

Comparing version 1.0.1 to 2.0.0

lib/index.js

38

package.json
{
"name": "@npmcli/name-from-folder",
"version": "1.0.1",
"version": "2.0.0",
"files": [
"index.js"
"bin/",
"lib/"
],
"main": "lib/index.js",
"description": "Get the package name from a folder path",
"repository": {
"type": "git",
"url": "git+https://github.com/npm/name-from-folder"
"url": "https://github.com/npm/name-from-folder.git"
},
"author": "Isaac Z. Schlueter <i@izs.me> (https://izs.me)",
"author": "GitHub Inc.",
"license": "ISC",

@@ -17,12 +19,26 @@ "scripts": {

"snap": "tap",
"preversion": "npm test",
"postversion": "npm publish",
"prepublishOnly": "git push origin --follow-tags"
"lint": "eslint \"**/*.js\"",
"postlint": "template-oss-check",
"template-oss-apply": "template-oss-apply --force",
"lintfix": "npm run lint -- --fix",
"posttest": "npm run lint"
},
"devDependencies": {
"@npmcli/eslint-config": "^4.0.1",
"@npmcli/template-oss": "4.11.0",
"tap": "^16.3.2"
},
"engines": {
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
},
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "4.11.0"
},
"tap": {
"check-coverage": true
},
"devDependencies": {
"tap": "^14.10.7"
"nyc-arg": [
"--exclude",
"tap-snapshots/**"
]
}
}
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