@github/auto-check-element
Advanced tools
Comparing version 3.0.1 to 3.0.2
@@ -21,27 +21,5 @@ // eslint-disable-next-line flowtype/no-weak-types | ||
function _defineProperty(obj, key, value) { | ||
if (key in obj) { | ||
Object.defineProperty(obj, key, { | ||
value: value, | ||
enumerable: true, | ||
configurable: true, | ||
writable: true | ||
}); | ||
} else { | ||
obj[key] = value; | ||
} | ||
return obj; | ||
} | ||
class XHRError extends Error { | ||
constructor(statusCode, responseText, contentType) { | ||
super(); | ||
_defineProperty(this, "statusCode", void 0); | ||
_defineProperty(this, "responseText", void 0); | ||
_defineProperty(this, "contentType", void 0); | ||
this.statusCode = statusCode; | ||
@@ -48,0 +26,0 @@ this.responseText = responseText; |
@@ -27,27 +27,5 @@ (function (global, factory) { | ||
function _defineProperty(obj, key, value) { | ||
if (key in obj) { | ||
Object.defineProperty(obj, key, { | ||
value: value, | ||
enumerable: true, | ||
configurable: true, | ||
writable: true | ||
}); | ||
} else { | ||
obj[key] = value; | ||
} | ||
return obj; | ||
} | ||
class XHRError extends Error { | ||
constructor(statusCode, responseText, contentType) { | ||
super(); | ||
_defineProperty(this, "statusCode", void 0); | ||
_defineProperty(this, "responseText", void 0); | ||
_defineProperty(this, "contentType", void 0); | ||
this.statusCode = statusCode; | ||
@@ -54,0 +32,0 @@ this.responseText = responseText; |
{ | ||
"name": "@github/auto-check-element", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "An input element that validates its value with a server endpoint.", | ||
@@ -28,18 +28,18 @@ "repository": "github/auto-check-element", | ||
"devDependencies": { | ||
"@babel/core": "^7.3.3", | ||
"babel-preset-github": "^2.1.1", | ||
"@babel/core": "^7.5.5", | ||
"babel-preset-github": "^3.2.0", | ||
"chai": "^4.2.0", | ||
"eslint": "^5.14.1", | ||
"eslint-plugin-github": "^1.9.0", | ||
"flow-bin": "^0.89.0", | ||
"karma": "^4.0.0", | ||
"eslint": "^6.1.0", | ||
"eslint-plugin-github": "^3.0.1", | ||
"flow-bin": "^0.103.0", | ||
"karma": "^4.2.0", | ||
"karma-chai": "^0.1.0", | ||
"karma-chrome-launcher": "^2.2.0", | ||
"karma-chrome-launcher": "^3.0.0", | ||
"karma-mocha": "^1.3.0", | ||
"karma-mocha-reporter": "^2.2.5", | ||
"mocha": "^5.2.0", | ||
"rollup": "^1.2.2", | ||
"rollup-plugin-babel": "^4.3.2" | ||
"mocha": "^6.2.0", | ||
"rollup": "^1.17.0", | ||
"rollup-plugin-babel": "^4.3.3" | ||
}, | ||
"dependencies": {} | ||
} |
17160
382