@sebgroup/document-write-intervene
Advanced tools
Comparing version 1.0.0 to 2.0.0
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 @@ ` |
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
36651
16
382
52
15