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

@pnpm/pnpmfile

Package Overview
Dependencies
Maintainers
3
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/pnpmfile - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

8

CHANGELOG.md
# @pnpm/pnpmfile
## 1.0.1
### Patch Changes
- Updated dependencies [97c64bae4]
- @pnpm/types@7.1.0
- @pnpm/core-loggers@6.0.1
## 1.0.0

@@ -4,0 +12,0 @@

6

lib/requireHooks.js

@@ -32,6 +32,6 @@ "use strict";

function requireHooks(prefix, opts) {
const globalPnpmfile = opts.globalPnpmfile && (0, requirePnpmfile_1.default)((0, path_absolute_1.default)(opts.globalPnpmfile, prefix), prefix);
const globalPnpmfile = opts.globalPnpmfile && requirePnpmfile_1.default(path_absolute_1.default(opts.globalPnpmfile, prefix), prefix);
let globalHooks = globalPnpmfile === null || globalPnpmfile === void 0 ? void 0 : globalPnpmfile.hooks;
const pnpmFile = opts.pnpmfile && (0, requirePnpmfile_1.default)((0, path_absolute_1.default)(opts.pnpmfile, prefix), prefix) ||
(0, requirePnpmfile_1.default)(path_1.default.join(prefix, '.pnpmfile.cjs'), prefix);
const pnpmFile = opts.pnpmfile && requirePnpmfile_1.default(path_absolute_1.default(opts.pnpmfile, prefix), prefix) ||
requirePnpmfile_1.default(path_1.default.join(prefix, '.pnpmfile.cjs'), prefix);
let hooks = pnpmFile === null || pnpmFile === void 0 ? void 0 : pnpmFile.hooks;

@@ -38,0 +38,0 @@ if (!globalHooks && !hooks)

{
"name": "@pnpm/pnpmfile",
"version": "1.0.0",
"version": "1.0.1",
"description": "Reading a .pnpmfile.cjs",

@@ -14,9 +14,2 @@ "main": "lib/index.js",

},
"scripts": {
"lint": "eslint -c ../../eslint.json src/**/*.ts test/**/*.ts",
"_test": "jest",
"test": "pnpm run compile && pnpm run _test",
"prepublishOnly": "pnpm run compile",
"compile": "rimraf lib tsconfig.tsbuildinfo && tsc --build && pnpm run lint -- --fix"
},
"repository": "https://github.com/pnpm/pnpm/blob/master/packages/pnpmfile",

@@ -33,8 +26,8 @@ "keywords": [

"@pnpm/logger": "^4.0.0",
"@types/ramda": "^0.27.35"
"@types/ramda": "0.27.39"
},
"dependencies": {
"@pnpm/core-loggers": "6.0.0",
"@pnpm/core-loggers": "6.0.1",
"@pnpm/error": "2.0.0",
"@pnpm/types": "7.0.0",
"@pnpm/types": "7.1.0",
"chalk": "^4.1.0",

@@ -47,3 +40,9 @@ "path-absolute": "^1.0.1",

},
"funding": "https://opencollective.com/pnpm"
"funding": "https://opencollective.com/pnpm",
"scripts": {
"lint": "eslint -c ../../eslint.json src/**/*.ts test/**/*.ts",
"_test": "jest",
"test": "pnpm run compile && pnpm run _test",
"compile": "rimraf lib tsconfig.tsbuildinfo && tsc --build && pnpm run lint -- --fix"
}
}
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