@pnpm/server
Advanced tools
Comparing version 0.11.0 to 0.12.0
@@ -0,0 +0,0 @@ import { StoreController } from 'package-store'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { StoreController } from 'package-store'; |
@@ -89,4 +89,5 @@ "use strict"; | ||
case '/prune': | ||
yield store.prune(); | ||
res.end(JSON.stringify('OK')); | ||
// Disable store pruning when a server is running | ||
res.statusCode = 403; | ||
res.end(); | ||
break; | ||
@@ -93,0 +94,0 @@ case '/saveState': |
import connectStoreController from './connectStoreController'; | ||
import createServer from './createServer'; | ||
export { createServer, connectStoreController }; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export declare type LockedFunc<T> = (key: string, fn: () => Promise<T>) => Promise<T>; |
@@ -0,0 +0,0 @@ "use strict"; |
{ | ||
"name": "@pnpm/server", | ||
"version": "0.11.0", | ||
"version": "0.12.0", | ||
"description": "A pnpm installer server", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
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
25812
323