@agreed/server
Advanced tools
Comparing version 5.1.10 to 5.2.0
@@ -16,3 +16,3 @@ #!/usr/bin/env node | ||
], | ||
boolean: ['help', 'version', 'logging', 'strict', 'hot', 'cors'], | ||
boolean: ['help', 'version', 'logging', 'strict', 'hot', 'cors', 'enable-prefer-query'], | ||
alias: { | ||
@@ -50,2 +50,3 @@ l: 'logging' | ||
--typed-cache-path Create Cached JSON to improve agreed typed performance. | ||
--enable-prefer-query Check for matching query character values | ||
@@ -63,2 +64,3 @@ Examples: | ||
--typed-cache-path ./.agreed.json | ||
agreed-server --path ./agreed.js --port 4000 --enable-prefer-query | ||
`.trim(); | ||
@@ -65,0 +67,0 @@ |
@@ -28,2 +28,4 @@ 'use strict'; | ||
opts.typedCachePath = typedCachePath; | ||
const enablePreferQuery = opts["enable-prefer-query"] || opts.enablePreferQuery; | ||
opts.enablePreferQuery = enablePreferQuery; | ||
@@ -30,0 +32,0 @@ app.use(bodyParser.json()); |
{ | ||
"name": "@agreed/server", | ||
"version": "5.1.10", | ||
"version": "5.2.0", | ||
"description": "agreed server", | ||
@@ -27,3 +27,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"@agreed/core": "^5.1.10", | ||
"@agreed/core": "^5.2.0", | ||
"body-parser": "^1.18.3", | ||
@@ -44,3 +44,3 @@ "cors": "^2.8.5", | ||
}, | ||
"gitHead": "693a0c6e9cfacb7a1ec9d425811e932144758a0e" | ||
"gitHead": "2066181ffa935ee87366c1ccb062ae1deab29836" | ||
} |
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
26342
658
Updated@agreed/core@^5.2.0