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

clientside-require

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clientside-require - npm Package Compare versions

Comparing version 4.6.1 to 4.7.1

2

package.json
{
"name": "clientside-require",
"version": "4.6.1",
"version": "4.7.1",
"description": "Node.js style require() statements in the browser. Load npm modules, js, html, css, json without any bundling.",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -68,2 +68,3 @@ var basic_loaders = require("./basic.js");

frame.contentWindow.load = load_function; // inject the load function
frame.contentWindow.env = frame.contentWindow; // pass the window property of the iframe as the env property
},

@@ -70,0 +71,0 @@ browser_variables : function(frame, path){ // browser environment variables (those not present in iframes)

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