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

@sebgroup/document-write-intervene

Package Overview
Dependencies
Maintainers
4
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sebgroup/document-write-intervene - npm Package Compare versions

Comparing version 1.0.0 to 2.0.0

index.d.ts

2

index.js
const intervene = require('./lib/intervene')
module.exports = intervene
module.exports = { intervene }
{
"name": "@sebgroup/document-write-intervene",
"version": "1.0.0",
"version": "2.0.0",
"description": "Prevent document write from writing to your document and instead insert a new script to the dom.",

@@ -33,2 +33,3 @@ "main": "index.js",

"cz-conventional-changelog": "^2.1.0",
"git-cz": "^1.7.1",
"husky": "^1.1.1",

@@ -35,0 +36,0 @@ "mocha": "^5.2.0",

@@ -23,3 +23,3 @@ # document-write-intervene

```
$ npm install document-write-intervene
$ npm install @sebgroup/document-write-intervene
```

@@ -30,3 +30,4 @@

```
require('document-write-intervene')()
const { intervene } = require('@sebgroup/document-write-intervene')
intervene()
```

@@ -33,0 +34,0 @@

@@ -76,3 +76,3 @@ const { expect } = require('chai')

script = `
const intervene = require('./index.js')
const { intervene } = require('./index.js')
intervene()

@@ -79,0 +79,0 @@ `

@@ -77,3 +77,3 @@ const { expect } = require('chai')

script = `
const intervene = require('./index.js')
const { intervene } = require('./index.js')
intervene()

@@ -80,0 +80,0 @@ `

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