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

@pnpm/git-resolver

Package Overview
Dependencies
Maintainers
2
Versions
133
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/git-resolver - npm Package Compare versions

Comparing version 5.1.16 to 5.1.17

6

lib/parsePref.js
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {

@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k;

17

package.json
{
"name": "@pnpm/git-resolver",
"version": "5.1.16",
"version": "5.1.17",
"description": "Resolver for git-hosted packages",

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

},
"repository": "https://github.com/pnpm/pnpm/blob/master/packages/git-resolver",
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/git-resolver",
"keywords": [

@@ -26,6 +26,6 @@ "pnpm6",

},
"homepage": "https://github.com/pnpm/pnpm/blob/master/packages/git-resolver#readme",
"homepage": "https://github.com/pnpm/pnpm/blob/main/packages/git-resolver#readme",
"dependencies": {
"@pnpm/fetch": "4.2.4",
"@pnpm/resolver-base": "8.1.5",
"@pnpm/fetch": "4.2.5",
"@pnpm/resolver-base": "8.1.6",
"graceful-git": "^3.1.2",

@@ -36,3 +36,3 @@ "hosted-git-info": "npm:@zkochan/hosted-git-info@^4.0.2",

"devDependencies": {
"@pnpm/git-resolver": "5.1.16",
"@pnpm/git-resolver": "5.1.17",
"@types/hosted-git-info": "^3.0.1",

@@ -49,5 +49,4 @@ "@types/is-windows": "^1.0.0",

"fix": "tslint -c tslint.json src/**/*.ts test/**/*.ts --fix",
"compile": "rimraf lib tsconfig.tsbuildinfo && tsc --build && pnpm run lint -- --fix"
},
"readme": "# @pnpm/git-resolver\n\n> Resolver for git-hosted packages\n\n<!--@shields('npm')-->\n[![npm version](https://img.shields.io/npm/v/@pnpm/git-resolver.svg)](https://www.npmjs.com/package/@pnpm/git-resolver)\n<!--/@-->\n\n## Installation\n\n```\npnpm add @pnpm/git-resolver\n```\n\n## Usage\n\n<!--@example('./example.js')-->\n```js\n'use strict'\nconst createResolveFromNpm = require('@pnpm/git-resolver').default\n\nconst resolveFromNpm = createResolveFromNpm({})\n\nresolveFromNpm({\n pref: 'kevva/is-negative#16fd36fe96106175d02d066171c44e2ff83bc055'\n})\n.then(resolveResult => console.log(JSON.stringify(resolveResult, null, 2)))\n//> {\n// \"id\": \"github.com/kevva/is-negative/16fd36fe96106175d02d066171c44e2ff83bc055\",\n// \"normalizedPref\": \"github:kevva/is-negative#16fd36fe96106175d02d066171c44e2ff83bc055\",\n// \"resolution\": {\n// \"tarball\": \"https://codeload.github.com/kevva/is-negative/tar.gz/16fd36fe96106175d02d066171c44e2ff83bc055\"\n// },\n// \"resolvedVia\": \"git-repository\"\n// }\n```\n<!--/@-->\n\n## License\n\nMIT\n"
"compile": "tsc --build && pnpm run lint --fix"
}
}

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