Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@github/include-fragment-element

Package Overview
Dependencies
Maintainers
14
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@github/include-fragment-element - npm Package Compare versions

Comparing version 5.0.1 to 5.0.2

4

dist/index-es.js

@@ -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": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc