@github/include-fragment-element
Advanced tools
Comparing version 5.0.1 to 5.0.2
@@ -119,3 +119,3 @@ const privateData = new WeakMap(); | ||
if (response.status !== 200) { | ||
throw new Error(`Failed to load resource: the server responded with a status of ${response.status}`); | ||
throw new Error("Failed to load resource: the server responded with a status of ".concat(response.status)); | ||
} | ||
@@ -126,3 +126,3 @@ | ||
if (!ct || !ct.match(/^text\/html/)) { | ||
throw new Error(`Failed to load resource: expected text/html but was ${ct}`); | ||
throw new Error("Failed to load resource: expected text/html but was ".concat(ct)); | ||
} | ||
@@ -129,0 +129,0 @@ |
@@ -138,3 +138,3 @@ (function (global, factory) { | ||
if (response.status !== 200) { | ||
throw new Error(`Failed to load resource: the server responded with a status of ${response.status}`); | ||
throw new Error("Failed to load resource: the server responded with a status of ".concat(response.status)); | ||
} | ||
@@ -145,3 +145,3 @@ | ||
if (!ct || !ct.match(/^text\/html/)) { | ||
throw new Error(`Failed to load resource: expected text/html but was ${ct}`); | ||
throw new Error("Failed to load resource: expected text/html but was ".concat(ct)); | ||
} | ||
@@ -148,0 +148,0 @@ |
{ | ||
"name": "@github/include-fragment-element", | ||
"version": "5.0.1", | ||
"version": "5.0.2", | ||
"main": "dist/index-umd.js", | ||
@@ -23,10 +23,10 @@ "module": "dist/index-es.js", | ||
"devDependencies": { | ||
"@babel/cli": "^7.2.3", | ||
"@babel/core": "^7.3.3", | ||
"@babel/cli": "^7.5.0", | ||
"@babel/core": "^7.5.0", | ||
"@babel/plugin-transform-modules-umd": "^7.2.0", | ||
"babel-preset-github": "^3.0.0", | ||
"babel-preset-github": "^3.2.0", | ||
"chai": "^4.2.0", | ||
"eslint": "^5.14.1", | ||
"eslint-plugin-github": "^1.10.0", | ||
"karma": "^4.0.0", | ||
"eslint": "^6.0.1", | ||
"eslint-plugin-github": "^3.0.0", | ||
"karma": "^4.1.0", | ||
"karma-chai": "^0.1.0", | ||
@@ -36,3 +36,3 @@ "karma-chrome-launcher": "^2.2.0", | ||
"karma-mocha-reporter": "^2.2.5", | ||
"mocha": "^6.0.1" | ||
"mocha": "^6.1.4" | ||
}, | ||
@@ -39,0 +39,0 @@ "eslintIgnore": [ |
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
14272