pacote 13.0.0 → 13.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/git.js +2 -2
  2. package/package.json +2 -2
package/lib/git.js CHANGED
@@ -154,12 +154,12 @@ class GitFetcher extends Fetcher {
154
154
  return this[_readPackageJson](dir + '/package.json').then(mani => {
155
155
  // no need if we aren't going to do any preparation.
156
156
  const scripts = mani.scripts
157
- if (!scripts || !(
157
+ if (!mani.workspaces && (!scripts || !(
158
158
  scripts.postinstall ||
159
159
  scripts.build ||
160
160
  scripts.preinstall ||
161
161
  scripts.install ||
162
- scripts.prepare)) {
162
+ scripts.prepare))) {
163
163
  return
164
164
  }
165
165
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pacote",
3
- "version": "13.0.0",
3
+ "version": "13.0.1",
4
4
  "description": "JavaScript package downloader",
5
5
  "author": "GitHub Inc.",
6
6
  "bin": {
@@ -53,7 +53,7 @@
53
53
  "npm-package-arg": "^9.0.0",
54
54
  "npm-packlist": "^3.0.0",
55
55
  "npm-pick-manifest": "^7.0.0",
56
- "npm-registry-fetch": "^12.0.2",
56
+ "npm-registry-fetch": "^13.0.0",
57
57
  "proc-log": "^2.0.0",
58
58
  "promise-retry": "^2.0.1",
59
59
  "read-package-json": "^4.1.1",