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

@featurepeek/snippet.js

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@featurepeek/snippet.js - npm Package Compare versions

Comparing version 0.2.7 to 0.2.8

dist/render.js

2

dist/loader.js

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

!function(){function e(e){return e.every(function(e){return e.test(location.hostname)})}function t(e){var t=document,n=t.createElement("script");n.src="https://unpkg.com/@featurepeek/snippet.js/dist/".concat(e,".js"),t.body.appendChild(n)}e([/--pr[\d]+-/,/\.web\.app$/])?t("firebase"):e([/--/,/\.netlify\.app$/])&&t("netlify")}();
!function(){function e(e){return e.every(function(e){return e.test(location.hostname)})}function n(e){var n=document,t=n.createElement("script");t.src="https://unpkg.com/@featurepeek/snippet.js/dist/".concat(e,".js"),n.body.appendChild(t)}e([/--pr[\d]+-/,/\.web\.app$/])?n("firebase"):e([/--/,/\.netlify\.app$/])?n("netlify"):e([/-pr-[\d]+\.onrender\.com$/])&&n("render")}();
{
"name": "@featurepeek/snippet.js",
"version": "0.2.7",
"version": "0.2.8",
"main": "dist/loader.js",

@@ -22,5 +22,6 @@ "repository": "https://github.com/featurepeek/snippet.js",

"scripts": {
"build": "mkdir -p dist && yarn build:loader && yarn build:firebase && yarn build:netlify && yarn build:vercel",
"build": "mkdir -p dist && yarn build:loader && yarn build:firebase && yarn build:netlify && yarn build:render && yarn build:vercel",
"build:firebase": "babel src/firebase.js | uglifyjs --compress --mangle --output dist/firebase.js",
"build:netlify": "babel src/netlify.js | uglifyjs --compress --mangle --output dist/netlify.js",
"build:render": "babel src/render.js | uglifyjs --compress --mangle --output dist/render.js",
"build:vercel": "babel src/vercel.js | uglifyjs --compress --mangle --output dist/vercel.js",

@@ -27,0 +28,0 @@ "build:loader": "babel src/loader.js | uglifyjs --compress --mangle --output dist/loader.js",

@@ -14,3 +14,5 @@ ;(() => {

appendScript('netlify')
} else if (regexesMatchHostname([/-pr-[\d]+\.onrender\.com$/])) {
appendScript('render')
}
})()
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