Socket
Socket
Sign inDemoInstall

@pnpm/local-resolver

Package Overview
Dependencies
Maintainers
3
Versions
128
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/local-resolver - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

lib/index.js

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

const err = new Error(`Could not install from "${spec.fetchSpec}" as it is not a directory.`);
err['code'] = 'ENOTPKGDIR'; // tslint:disable-line:no-string-literal
err['code'] = 'ERR_PNPM_NOT_PACKAGE_DIRECTORY'; // tslint:disable-line:no-string-literal
throw err;

@@ -51,3 +51,3 @@ }

const err = new Error(`Could not install from "${spec.fetchSpec}" as it does not contain a package.json file.`);
err['code'] = 'ENOLOCAL'; // tslint:disable-line:no-string-literal
err['code'] = 'ERR_PNPM_DIRECTORY_HAS_NO_PACKAGE_JSON'; // tslint:disable-line:no-string-literal
throw err;

@@ -54,0 +54,0 @@ }

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

// tslint:disable:no-string-literal
err['code'] = 'EUNSUPPORTEDPROTOCOL';
err['code'] = 'ERR_PNPM_PATH_IS_UNSUPPORTED_PROTOCOL';
err['pref'] = pref;

@@ -31,0 +31,0 @@ err['protocol'] = 'path:';

{
"name": "@pnpm/local-resolver",
"version": "1.0.0",
"version": "1.0.1",
"description": "Resolver for local packages",

@@ -54,5 +54,5 @@ "main": "lib/index.js",

"tape": "^4.8.0",
"ts-node": "^6.0.0",
"ts-node": "^7.0.0",
"tslint": "^5.8.0",
"typescript": "^2.6.1"
"typescript": "^3.0.0"
},

@@ -59,0 +59,0 @@ "mos": {

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