@agreed/server
Advanced tools
Comparing version 5.0.4 to 5.1.0
@@ -13,3 +13,4 @@ #!/usr/bin/env node | ||
'proxy', | ||
'proxy-prefix-path' | ||
'proxy-prefix-path', | ||
'typed-cache-path' | ||
], | ||
@@ -47,2 +48,3 @@ boolean: ['help', 'version', 'logging', 'strict', 'hot'], | ||
--hot Hot Replacement agree files. Default true | ||
--typed-cache-path Create Cached JSON to improve agreed typed performance. | ||
@@ -58,2 +60,4 @@ Examples: | ||
--proxy-prefix-path /proxy | ||
agreed-server --path ./agreed.js --port 4000 \\ | ||
--typed-cache-path ./.agreed.json | ||
`.trim(); | ||
@@ -60,0 +64,0 @@ |
@@ -25,2 +25,4 @@ 'use strict'; | ||
const proxyOpts = opts.proxyOpts || {}; | ||
const typedCachePath = opts['typed-cache-path'] || opts.typedCachePath; | ||
opts.typedCachePath = typedCachePath; | ||
@@ -27,0 +29,0 @@ app.use(bodyParser.json()); |
{ | ||
"name": "@agreed/server", | ||
"version": "5.0.4", | ||
"version": "5.1.0", | ||
"description": "agreed server", | ||
@@ -27,3 +27,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"@agreed/core": "^5.0.4", | ||
"@agreed/core": "^5.1.0", | ||
"body-parser": "^1.18.3", | ||
@@ -43,3 +43,3 @@ "express": "^4.16.4", | ||
}, | ||
"gitHead": "0f0c967e20c7e08835508cbca2261e654099c47d" | ||
"gitHead": "8c65fd8f6c8e9910eef392c983ea9b65fc4fcb75" | ||
} |
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
24724
610
Updated@agreed/core@^5.1.0