@pnpm/server
Advanced tools
Comparing version 8.0.0-alpha.5 to 8.0.0
# @pnpm/server | ||
## 8.0.0 | ||
### Major Changes | ||
- b5f66c0f2: Reduce the number of directories in the virtual store directory. Don't create a subdirectory for the package version. Append the package version to the package name directory. | ||
- da091c711: Remove state from store. The store should not store the information about what projects on the computer use what dependencies. This information was needed for pruning in pnpm v4. Also, without this information, we cannot have the `pnpm store usages` command. So `pnpm store usages` is deprecated. | ||
- b6a82072e: Using a content-addressable filesystem for storing packages. | ||
- 802d145fc: `getPackageLocation()` removed from store. Remove `inStoreLocation` from the result of `fetchPackage()`. | ||
- a5febb913: The importPackage function of the store controller is importing packages directly from the side-effects cache. | ||
- a5febb913: The upload function of the store controller accepts `opts.filesIndexFile` instead of `opts.packageId`. | ||
### Patch Changes | ||
- 919103471: Update uuid to v8. | ||
- Updated dependencies [16d1ac0fd] | ||
- Updated dependencies [f516d266c] | ||
- Updated dependencies [da091c711] | ||
- Updated dependencies [42e6490d1] | ||
- Updated dependencies [a5febb913] | ||
- Updated dependencies [b6a82072e] | ||
- Updated dependencies [802d145fc] | ||
- Updated dependencies [a5febb913] | ||
- Updated dependencies [a5febb913] | ||
- Updated dependencies [a5febb913] | ||
- @pnpm/store-controller-types@8.0.0 | ||
- @pnpm/types@6.0.0 | ||
- @pnpm/fetch@1.0.4 | ||
## 8.0.0-alpha.5 | ||
@@ -4,0 +32,0 @@ |
@@ -14,9 +14,2 @@ "use strict"; | ||
fetchPackage: fetchPackage.bind(null, remotePrefix, limitedFetch), | ||
getPackageLocation: async (packageId, packageName, opts) => { | ||
return await limitedFetch(`${remotePrefix}/getPackageLocation`, { | ||
opts, | ||
packageId, | ||
packageName, | ||
}); | ||
}, | ||
importPackage: async (to, opts) => { | ||
@@ -23,0 +16,0 @@ return limitedFetch(`${remotePrefix}/importPackage`, { |
@@ -74,3 +74,3 @@ "use strict"; | ||
} | ||
res.end(JSON.stringify({ inStoreLocation: pkgResponse.inStoreLocation })); | ||
res.end(JSON.stringify({ filesIndexFile: pkgResponse.filesIndexFile })); | ||
} | ||
@@ -131,8 +131,2 @@ catch (err) { | ||
break; | ||
case '/getPackageLocation': { | ||
const { packageId, packageName, opts } = (await bodyPromise); // tslint:disable-line:no-any | ||
const pkgLocation = await store.getPackageLocation(packageId, packageName, opts); | ||
res.end(JSON.stringify(pkgLocation)); | ||
break; | ||
} | ||
default: | ||
@@ -139,0 +133,0 @@ res.statusCode = 404; |
{ | ||
"name": "@pnpm/server", | ||
"version": "8.0.0-alpha.5", | ||
"version": "8.0.0", | ||
"description": "A pnpm installer server", | ||
@@ -37,7 +37,7 @@ "main": "lib/index.js", | ||
"@pnpm/logger": "3.2.2", | ||
"@pnpm/npm-resolver": "8.0.0-alpha.2", | ||
"@pnpm/package-requester": "12.0.0-alpha.5", | ||
"@pnpm/package-store": "9.0.0-alpha.5", | ||
"@pnpm/npm-resolver": "8.0.0", | ||
"@pnpm/package-requester": "12.0.0", | ||
"@pnpm/package-store": "9.0.0", | ||
"@pnpm/server": "link:", | ||
"@pnpm/tarball-fetcher": "6.0.0-alpha.5", | ||
"@pnpm/tarball-fetcher": "6.0.0", | ||
"@types/mz": "^2.7.1", | ||
@@ -55,9 +55,9 @@ "@types/node-fetch": "^2.5.7", | ||
"@pnpm/fetch": "1.0.3", | ||
"@pnpm/store-controller-types": "8.0.0-alpha.4", | ||
"@pnpm/types": "6.0.0-alpha.0", | ||
"@pnpm/store-controller-types": "8.0.0", | ||
"@pnpm/types": "6.0.0", | ||
"p-limit": "2.3.0", | ||
"promise-share": "1.0.0", | ||
"uuid": "^8.0.0" | ||
"uuid": "^8.1.0" | ||
}, | ||
"funding": "https://opencollective.com/pnpm" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
19206
1
320
+ Added@pnpm/resolver-base@7.0.1(transitive)
+ Added@pnpm/store-controller-types@8.0.0(transitive)
+ Added@pnpm/types@6.0.0(transitive)
- Removed@pnpm/resolver-base@7.0.1-alpha.0(transitive)
- Removed@pnpm/store-controller-types@8.0.0-alpha.4(transitive)
- Removed@pnpm/types@6.0.0-alpha.0(transitive)
Updated@pnpm/types@6.0.0
Updateduuid@^8.1.0