Comparing version 2.1.0 to 2.1.1
@@ -21,2 +21,10 @@ 'use strict'; | ||
if (Array.isArray(params)) { | ||
throw new Error('params as an array is no longer supported as of version 2.1'); | ||
} | ||
if (typeof params === 'function') { | ||
throw new Error('params as a function is no longer supported as of version 2.1'); | ||
} | ||
params = isObject(params) ? params : {}; | ||
@@ -23,0 +31,0 @@ this._layers = Array.isArray(params.layers) ? params.layers : []; |
{ | ||
"name": "asc", | ||
"description": "A middleware layer between a service and a client. The service could be an in-process library, a file, an external web service, anything. Any time the results from a resource call can be cached, you can use ASC as a proxy to that resource.", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"author": "Anthony Hildoer <anthony@bluerival.com>", | ||
@@ -6,0 +6,0 @@ "repository": { |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
27507
251
0