From fd3089888e02728bd5fb9e98eb1bfa1cf46fc35e Mon Sep 17 00:00:00 2001 From: Rebecca Turner Date: Tue, 9 May 2017 15:00:23 -0700 Subject: pacote@2.7.9 --- node_modules/pacote/CHANGELOG.md | 10 ++++++++++ node_modules/pacote/lib/fetchers/git.js | 4 ++-- node_modules/pacote/package.json | 17 +++++++---------- 3 files changed, 19 insertions(+), 12 deletions(-) (limited to 'node_modules') diff --git a/node_modules/pacote/CHANGELOG.md b/node_modules/pacote/CHANGELOG.md index d717611fa..24c962687 100644 --- a/node_modules/pacote/CHANGELOG.md +++ b/node_modules/pacote/CHANGELOG.md @@ -2,6 +2,16 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. + +## [2.7.9](https://github.com/zkat/pacote/compare/v2.7.8...v2.7.9) (2017-05-09) + + +### Bug Fixes + +* **git:** Resolve to ref git specs w/o committishes (#88) ([cb885f5](https://github.com/zkat/pacote/commit/cb885f5)), closes [#88](https://github.com/zkat/pacote/issues/88) + + + ## [2.7.8](https://github.com/zkat/pacote/compare/v2.7.7...v2.7.8) (2017-05-07) diff --git a/node_modules/pacote/lib/fetchers/git.js b/node_modules/pacote/lib/fetchers/git.js index a2d7000ea..d8af76936 100644 --- a/node_modules/pacote/lib/fetchers/git.js +++ b/node_modules/pacote/lib/fetchers/git.js @@ -107,7 +107,7 @@ function plainManifest (repo, spec, opts) { repo, rawRef, spec.name, opts ).then(ref => { if (ref) { - const resolved = spec.saveSpec.replace(/#.*/, `#${ref.sha}`) + const resolved = spec.saveSpec.replace(/(?:#.*)?$/, `#${ref.sha}`) return { _repo: repo, _resolved: resolved, @@ -121,7 +121,7 @@ function plainManifest (repo, spec, opts) { // // If we're confident enough that `rawRef` is a commit SHA, // then we can at least get `finalize-manifest` to cache its result. - const resolved = spec.saveSpec.replace(/#.*/, `#${rawRef}`) + const resolved = spec.saveSpec.replace(/(?:#.*)?$/, `#${rawRef}`) return { _repo: repo, _rawRef: rawRef, diff --git a/node_modules/pacote/package.json b/node_modules/pacote/package.json index b4cf2a1ff..283fc8f5c 100644 --- a/node_modules/pacote/package.json +++ b/node_modules/pacote/package.json @@ -1,7 +1,8 @@ { "_from": "pacote@latest", - "_id": "pacote@2.7.8", - "_integrity": "sha512-sIclvGmEKaqRZTEtm+isrs+pAMcASH/aceGzphGuDvVUSYLQ+48du2Wg0SJltfPMtabsYPRIgUf6/QaPUXbjcA==", + "_id": "pacote@2.7.9", + "_inBundle": false, + "_integrity": "sha512-kAcvLbHgpr5dJil6r8CuRzXZZT0qC3U4Nia0tPRP1ggX1qEkNZXArHco4pn1ARJw/qXuuoR/tMA+nqz7j1knyQ==", "_location": "/pacote", "_phantomChildren": { "cacache": "9.0.0", @@ -30,16 +31,14 @@ "#USER", "/" ], - "_resolved": "https://registry.npmjs.org/pacote/-/pacote-2.7.8.tgz", - "_shasum": "91cd317ea54b2fd990c9dc00d79c5eeb1f487005", - "_shrinkwrap": null, + "_resolved": "https://registry.npmjs.org/pacote/-/pacote-2.7.9.tgz", + "_shasum": "bdc5414e1c18f4a4b80ef6c99ed2734d1378854a", "_spec": "pacote@latest", - "_where": "/Users/zkat/Documents/code/npm", + "_where": "/Users/rebecca/code/npm", "author": { "name": "Kat Marchán", "email": "kzm@sykosomatic.org" }, - "bin": null, "bugs": { "url": "https://github.com/zkat/pacote/issues" }, @@ -106,8 +105,6 @@ "license": "CC0-1.0", "main": "index.js", "name": "pacote", - "optionalDependencies": {}, - "peerDependencies": {}, "repository": { "type": "git", "url": "git+https://github.com/zkat/pacote.git" @@ -122,5 +119,5 @@ "update-coc": "weallbehave -o . && git add CODE_OF_CONDUCT.md && git commit -m 'docs(coc): updated CODE_OF_CONDUCT.md'", "update-contrib": "weallcontribute -o . && git add CONTRIBUTING.md && git commit -m 'docs(contributing): updated CONTRIBUTING.md'" }, - "version": "2.7.8" + "version": "2.7.9" } -- cgit v1.2.3