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

addtopage

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

addtopage - npm Package Compare versions

Comparing version 0.2.0 to 1.1.0

.nyc_output/58c970206495ccffbae7475f961f9de4.json

2

dist/addtopage.bundle.js

@@ -1,1 +0,1 @@

var addtopage=function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t){"use strict";function n(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=t.inline,s=void 0===n?!1:n,l=t.type,u=void 0===l?void 0:l;if(!u){var o=r.find(function(t){return t.test(e)});if(!o)return;u=o.element}if(s||"style"!==u?s&&"link"===u&&(u="style"):u="link",i.includes(u)){var f=document.createElement(u);if(s||"link"===u){if("link"!==u)return;f.href=e,f.rel="stylesheet"}else f.src=e;return f}}Object.defineProperty(t,"__esModule",{value:!0});var r=[{element:"image",test:function(e){return/\.(gif|jp[e]?g|png|svg)$/.test(e)}},{element:"script",test:function(e){return/js[x]?$/.test(e)}},{element:"style",test:function(e){return/css$/.test(e)}}],i=["image","link","script","style"];t["default"]=n,e.exports=t["default"]}]);
var addtopage=function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t){"use strict";function n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.inline,s=void 0!==n&&n,l=t.type,o=void 0===l?void 0:l;if(!o){var u=r.find(function(t){return t.test(e)});if(!u)return;o=u.element}if(s||"style"!==o?s&&"link"===o&&(o="style"):o="link",i.includes(o)){var d=document.createElement(o);if(s||"link"===o){if("link"!==o)return;d.href=e,d.rel="stylesheet"}else d.src=e;return document.body.appendChild(d)}}Object.defineProperty(t,"__esModule",{value:!0});var r=[{element:"image",test:function(e){return/\.(gif|jp[e]?g|png|svg)$/.test(e)}},{element:"script",test:function(e){return/js[x]?$/.test(e)}},{element:"style",test:function(e){return/css$/.test(e)}}],i=["iframe","image","link","script","style"];t.default=n,e.exports=t.default}]);
{
"name": "addtopage",
"version": "0.2.0",
"version": "1.1.0",
"description": "add content to your page - how you want - using JavaScript",

@@ -9,2 +9,3 @@ "main": "dist/addtopage.bundle.js",

"lint": "eslint src/ test/ --ignore-pattern test/helpers/",
"report": "nyc report --reporter=html",
"start": "webpack -p --watch",

@@ -17,14 +18,13 @@ "test": "nyc ava",

"devDependencies": {
"amdefine": "^1.0.0",
"ava": "^0.15.2",
"axios": "^0.12.0",
"ava": "^0.16.0",
"axios": "^0.15.2",
"babel-core": "^6.9.1",
"babel-eslint": "^6.0.4",
"babel-eslint": "^7.1.0",
"babel-loader": "^6.2.4",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-preset-es2015": "^6.9.0",
"eslint": "^2.12.0",
"eslint": "^3.9.1",
"express": "^4.14.0",
"jsdom": "^9.2.1",
"nyc": "^6.6.1",
"nyc": "^8.4.0",
"webpack": "^1.13.1"

@@ -51,6 +51,3 @@ },

]
},
"dependencies": {
"axios": "^0.12.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