appcd-response
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -0,1 +1,6 @@ | ||
# v2.0.1 (Aug 13, 2019) | ||
* chore: Fixed eslint `hasOwnProperty` warnings. | ||
* chore: Updated dependencies. | ||
# v2.0.0 (Jun 4, 2019) | ||
@@ -2,0 +7,0 @@ |
@@ -138,7 +138,7 @@ "use strict"; | ||
if (opts.hasOwnProperty('defaultStatus') && typeof opts.defaultStatus !== 'number') { | ||
if (Object.prototype.hasOwnProperty.call(opts, 'defaultStatus') && typeof opts.defaultStatus !== 'number') { | ||
throw new TypeError('Expected default status to be a number'); | ||
} | ||
if (opts.hasOwnProperty('defaultStatusCode') && typeof opts.defaultStatusCode !== 'number' && typeof opts.defaultStatusCode !== 'string') { | ||
if (Object.prototype.hasOwnProperty.call(opts, 'defaultStatusCode') && typeof opts.defaultStatusCode !== 'number' && typeof opts.defaultStatusCode !== 'string') { | ||
throw new TypeError('Expected default status code to be a string or number'); | ||
@@ -169,2 +169,2 @@ } | ||
} | ||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImFwcGNkLWVycm9yLmpzIl0sIm5hbWVzIjpbIkFwcGNkRXJyb3IiLCJFcnJvciIsImNvbnN0cnVjdG9yIiwiYXJncyIsIk9iamVjdCIsImRlZmluZVByb3BlcnRpZXMiLCJuYW1lIiwid3JpdGFibGUiLCJ2YWx1ZSIsIm1zZyIsIk1lc3NhZ2UiLCJlcnIiLCJwcm9wIiwiZ2V0T3duUHJvcGVydHlOYW1lcyIsInN0YWNrIiwicmVwbGFjZSIsImNhcHR1cmVTdGFja1RyYWNlIiwibWVzc2FnZSIsInRvU3RyaW5nIiwic3RhdHVzIiwic3RhdHVzQ29kZSIsImxvY2FsZSIsImNvZGUiLCJkZWZpbmVQcm9wZXJ0eSIsImVudW1lcmFibGUiLCJjb2RlcyIsImNyZWF0ZUVycm9yQ2xhc3MiLCJjbGFzc05hbWUiLCJvcHRzIiwiVH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F1bHRTdGF0dXM7XG5cdFx0XHR9XG5cblx0XHRcdGlmICh0aGlzLm1zZy5zdGF0dXNDb2RlID09PSB1bmRlZmluZWQgJiYgb3B0cyAmJiBvcHRzLmRlZmF1bHRTdGF0dXNDb2RlKSB7XG5cdFx0XHRcdHRoaXMubXNnLnN0YXR1c0NvZGUgPSBvcHRzLmRlZmF1bHRTdGF0dXNDb2RlO1xuXHRcdFx0fVxuXHRcdH1cblx0fVxuXG5cdE9iamVjdC5kZWZpbmVQcm9wZXJ0eShDdXN0b21FcnJvciwgJ25hbWUnLCB7XG5cdFx0ZW51bWVyYWJsZTogdHJ1ZSxcblx0XHR2YWx1ZTogY2xhc3NOYW1lXG5cdH0pO1xuXG5cdHJldHVybiBDdXN0b21FcnJvcjtcbn1cbiJdLCJmaWxlIjoiYXBwY2QtZXJyb3IuanMifQ== |
@@ -8,2 +8,4 @@ "use strict"; | ||
/* eslint security/detect-child-process: 0 */ | ||
/** | ||
@@ -51,2 +53,2 @@ * The cached locale value. | ||
} | ||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImxvY2FsZS5qcyJdLCJuYW1lcyI6WyJjYWNoZWRMb2NhbGUiLCJsb2NhbGUiLCJmb3JjZSIsInVuZGVmaW5lZCIsInByb2Nlc3MiLCJwbGF0Zm9ybSIsIndpbnJlZ2xpYiIsInJlcXVpcmUiLCJ2YWx1ZSIsImdldCIsInN1YnN0cmluZyIsImxlbmd0aCIsIm0iLCJtYXRjaCIsInJlcGxhY2UiLCJzcGF3blN5bmMiLCJzdGRvdXQiLCJ0b1N0cmluZyIsImUiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFBQTs7Ozs7QUFLQSxJQUFJQSxZQUFKO0FBRUE7Ozs7Ozs7QUFNTyxlQUFlQyxNQUFmLENBQXNCQyxLQUF0QixFQUE2QjtBQUNuQyxNQUFJLENBQUNBLEtBQUQsSUFBVUYsWUFBWSxLQUFLRyx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m4gY2FjaGVkTG9jYWxlO1xufVxuIl0sImZpbGUiOiJsb2NhbGUuanMifQ== |
@@ -193,3 +193,3 @@ "use strict"; | ||
for (let locale of locales) { | ||
if (codesCache[locale] && codesCache[locale].hasOwnProperty(code)) { | ||
if (codesCache[locale] && Object.prototype.hasOwnProperty.call(codesCache[locale], code)) { | ||
return codesCache[locale][code]; | ||
@@ -363,2 +363,2 @@ } // cache miss | ||
} | ||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm1lc3NhZ2UuanMiXSwibmFtZXMiOlsiY29kZXNDYWNoZSIsInN0cmluZ3NDYWNoZSIsIm1lc3NhZ2VzRGlyIiwicGF0aCIsInJlc29sdmUiLCJfX2Rpcm5hbWUiLCJjb2RlUmVnRXhwIiwiZmlyc3RMaW5lUmVnRXhwIiwibG9jYWxlUmVnRXhwIiwiTWVzc2FnZSIsImNvbnN0cnVjdG9yIiwiY29kZU9yTWVzc2FnZSIsImFyZ3MiLCJwYXJzZWQiLCJFcnJvciIsIm1lc3NhZ2UiLCJwYXJzZVN0YXR1c0NvZGUiLCJzdGF0dXMiLCJzdGF0dXNDb2RlIiwidW5kZWZpbmVkIiwiZm9ybWF0IiwidW5zaGlmdCIsInNoaWZ0Iiwic2VyaWFsaXplQXJncyIsIl9zdGF0dXMiLCJ2YWx1ZSIsInBhcnNlSW50IiwiaXNOYU4iLCJNYXRoIiwibWF4IiwidG9TdHJpbmciLCJsb2NhbGVzIiwiZGVmYXVsdE1zZyIsIm1zZyIsImxvYWRNZXNzYWdlIiwiQXJyYXkiLCJpc0FycmF5IiwibGVuZ3RoIiwidXRpbCIsImkxOG4iLCJwcm9jZXNzTG9jYWxlcyIsIl9fIiwibG9hZFN0cmluZyIsIl9fbiIsImNvdW50Iiwic2luZ3VsYXIiLCJwbHVyYWwiLCJpbmRleE9mIiwibG9hZENvZGVGaWxlIiwiY2xzIiwiY29kZSIsImxvY2FsZSIsImhhc093bl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5KHMpIDogcztcblx0fSk7XG59XG4iXSwiZmlsZSI6Im1lc3NhZ2UuanMifQ== |
{ | ||
"name": "appcd-response", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Library for responses and errors with i18n support and error codes.", | ||
@@ -19,10 +19,10 @@ "main": "./dist/index", | ||
"dependencies": { | ||
"appcd-fs": "^1.1.7", | ||
"appcd-path": "^1.1.6", | ||
"source-map-support": "^0.5.12", | ||
"appcd-fs": "^1.1.8", | ||
"appcd-path": "^1.1.7", | ||
"source-map-support": "^0.5.13", | ||
"sprintf-js": "^1.1.2", | ||
"winreglib": "^1.0.2" | ||
"winreglib": "^1.0.5" | ||
}, | ||
"devDependencies": { | ||
"appcd-gulp": "^2.1.1" | ||
"appcd-gulp": "^2.2.0" | ||
}, | ||
@@ -29,0 +29,0 @@ "homepage": "https://github.com/appcelerator/appc-daemon/tree/master/packages/appcd-response", |
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
73054
823
Updatedappcd-fs@^1.1.8
Updatedappcd-path@^1.1.7
Updatedsource-map-support@^0.5.13
Updatedwinreglib@^1.0.5