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

inline-source

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

inline-source - npm Package Compare versions

Comparing version 8.0.1 to 8.0.2

2

index.js

@@ -391,3 +391,2 @@ // src/css.js

// src/load.js
import fetch from "node-fetch";
async function load(source, context) {

@@ -404,2 +403,3 @@ if (!source.fileContent && source.filepath) {

if (source.isRemote) {
const fetch = (await import("node-fetch")).default;
const res = await fetch(source.sourcepath);

@@ -406,0 +406,0 @@ if (!res.ok) {

{
"name": "inline-source",
"description": "Inline all flagged js, css, image source files",
"version": "8.0.1",
"version": "8.0.2",
"license": "MIT",

@@ -32,3 +32,3 @@ "author": "Alexander Pope <alex@pope.industries>",

"@types/mocha": "^9.1.1",
"@types/node": "^18.7.18",
"@types/node": "^18.7.21",
"@types/svgo": "^2.6.4",

@@ -38,4 +38,4 @@ "@typescript-eslint/eslint-plugin": "^5.38.0",

"chai": "^4.3.6",
"esbuild": "^0.15.8",
"eslint": "^8.23.1",
"esbuild": "^0.15.9",
"eslint": "^8.24.0",
"eslint-config-prettier": "^8.5.0",

@@ -82,4 +82,4 @@ "eslint-plugin-prettier": "^4.2.1",

"lint:typescript": "tsc --noEmit --skipLibCheck",
"test": "NODE_ENV=test mocha --reporter spec --bail 'test/*-test.js'"
"test": "NODE_ENV=test mocha --reporter spec --bail 'test/*-test.*js'"
}
}

Sorry, the diff of this file is not supported yet

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