New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

fetch-inject

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fetch-inject - npm Package Compare versions

Comparing version 1.2.4 to 1.2.5

2

package.json
{
"name": "fetch-inject",
"version": "1.2.4",
"version": "1.2.5",
"description": "Inline assets into the DOM using Fetch Injection.",

@@ -5,0 +5,0 @@ "main": "lib/fetch-inject.js",

@@ -18,3 +18,3 @@ # Fetch Inject

## Quick Start
## Installing

@@ -25,3 +25,3 @@ Fetch Inject is available for testing purposes [via jsDelivr](http://www.jsdelivr.com/projects/fetch-inject), and for production via NPM and Bower.

To try out Fetch Inject add the following to your document `head` and see the [Use Cases](#use-cases) to get a feel for what it can do:
Add the following to your document `head` and see the [Use Cases](#use-cases) to get a feel for what it can do:

@@ -34,6 +34,4 @@ ```html

If you read the [background](#background) you'll understand why it's a bad idea to rely on remote resource requests when rendering your page.
Grab the library from NPM with `npm i fetch-inject` or Bower with `bower install fetch-inject`. Recommended placement shown here:
To install Fetch Inject for production, grab the library from NPM with `npm i fetch-inject` or Bower with `bower install fetch-inject` and inline the script below page `meta` and `async` scripts in your document `head`:
```html

@@ -40,0 +38,0 @@ <head>

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