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 3.9.9 to 3.10.1

2

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

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

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

frame.contentWindow.clientside_require = window.clientside_require; // pass by reference the clientside_require object
frame.contentWindow.root_window = window; // pass the root window (browser window) to the module so it can use it if needed
},

@@ -60,0 +61,0 @@ browser_variables : function(frame){ // 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