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

@pnpm/find-workspace-dir

Package Overview
Dependencies
Maintainers
2
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/find-workspace-dir - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

2

lib/index.js

@@ -16,3 +16,3 @@ "use strict";

? path_1.default.join(workspaceManifestDirEnvVar, 'pnpm-workspace.yaml')
: await find_up_1.default([WORKSPACE_MANIFEST_FILENAME, 'pnpm-workspace.yml'], { cwd });
: await (0, find_up_1.default)([WORKSPACE_MANIFEST_FILENAME, 'pnpm-workspace.yml'], { cwd });
if (workspaceManifestLocation === null || workspaceManifestLocation === void 0 ? void 0 : workspaceManifestLocation.endsWith('.yml')) {

@@ -19,0 +19,0 @@ throw new error_1.default('BAD_WORKSPACE_MANIFEST_NAME', `The workspace manifest file should be named "pnpm-workspace.yaml". File found: ${workspaceManifestLocation}`);

{
"name": "@pnpm/find-workspace-dir",
"version": "3.0.1",
"description": "Finds the root of a pnpm workspace",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"files": [
"lib",
"!*.map"
],
"engines": {
"node": ">=12.17"
},
"repository": "https://github.com/pnpm/pnpm/blob/master/packages/find-workspace-dir",
"keywords": [
"pnpm"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/pnpm/pnpm/issues"
},
"homepage": "https://github.com/pnpm/pnpm/blob/master/packages/find-workspace-dir#readme",
"dependencies": {
"@pnpm/error": "2.0.0",
"find-up": "^5.0.0"
},
"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"
}
}
"name": "@pnpm/find-workspace-dir",
"version": "3.0.2",
"description": "Finds the root of a pnpm workspace",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib",
"!*.map"
],
"engines": {
"node": ">=12.17"
},
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/find-workspace-dir",
"keywords": [
"pnpm6",
"pnpm"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/pnpm/pnpm/issues"
},
"homepage": "https://github.com/pnpm/pnpm/blob/main/packages/find-workspace-dir#readme",
"dependencies": {
"@pnpm/error": "2.1.0",
"find-up": "^5.0.0"
},
"funding": "https://opencollective.com/pnpm",
"devDependencies": {
"@pnpm/find-workspace-dir": "3.0.2"
},
"scripts": {
"lint": "eslint src/**/*.ts test/**/*.ts",
"_test": "jest",
"test": "pnpm run compile && pnpm run _test",
"compile": "tsc --build && pnpm run lint --fix"
}
}

@@ -10,3 +10,3 @@ # @pnpm/find-workspace-dir

```sh
<pnpm|npm|yarn> add @pnpm/find-workspace-dir
pnpm add @pnpm/find-workspace-dir
```

@@ -13,0 +13,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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