New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

browserify-global-shim

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browserify-global-shim - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

5

browserify-global-shim.js

@@ -8,3 +8,6 @@ 'use strict';

module.exports = transformTools.makeRequireTransform('browserify-global-shim',
{evaluateArguments: true},
{
evaluateArguments: true,
jsFilesOnly: true
},
function(args, opts, cb) {

@@ -11,0 +14,0 @@ var shimmedModules = opts.config || {};

66

package.json
{
"name": "browserify-global-shim",
"version": "1.0.0",
"main": "browserify-global-shim.js",
"description": "Browserify transform for replacing modules with global variables",
"homepage": "https://github.com/rluba/browserify-global-shim",
"bugs": "https://github.com/rluba/browserify-global-shim/issues",
"author": {
"name": "Raphael Luba",
"email": "raphael@leanbyte.com"
},
"repository": {
"type": "git",
"url": "https://github.com/rluba/browserify-global-shim"
},
"licenses": [
{
"type": "MIT"
}
],
"devDependencies": {
"grunt-contrib-jshint": "~0.7.0",
"grunt-contrib-watch": "~0.5.0",
"grunt-mocha-test": "~0.8.1",
"jshint-stylish": "~0.1.3",
"load-grunt-tasks": "~0.2.0",
"mocha": "~1.16.1",
"time-grunt": "~0.2.0",
"assert": "~1.1.0"
},
"dependencies": {
"browserify-transform-tools": "~1.2.1",
"lodash": "~2.4.1"
}
"name": "browserify-global-shim",
"version": "1.0.1",
"main": "browserify-global-shim.js",
"description": "Browserify transform for replacing modules with global variables",
"homepage": "https://github.com/rluba/browserify-global-shim",
"bugs": "https://github.com/rluba/browserify-global-shim/issues",
"author": {
"name": "Raphael Luba",
"email": "raphael@leanbyte.com"
},
"repository": {
"type": "git",
"url": "https://github.com/rluba/browserify-global-shim"
},
"licenses": [
{
"type": "MIT"
}
],
"devDependencies": {
"grunt-contrib-jshint": "~0.7.0",
"grunt-contrib-watch": "~0.5.0",
"grunt-mocha-test": "~0.8.1",
"jshint-stylish": "~0.1.3",
"load-grunt-tasks": "~0.2.0",
"mocha": "~1.16.1",
"time-grunt": "~0.2.0",
"assert": "~1.1.0"
},
"dependencies": {
"browserify-transform-tools": "~1.2.1",
"lodash": "~2.4.1"
}
}

@@ -5,3 +5,3 @@ # browserify-global-shim

Are you usind browserify to convert a module that depends on [lo-dash](http://lodash.com), [jQuery](http://jquery.com), [q](http://documentup.com/kriskowal/q/) or some other omnipresent library? And you don't want to include this dependency in your browserify-build because it's already part of your web app? Use **browserify-global-shim** to replace `require('some module')` with references to a global variable.
Are you using browserify to convert a module that depends on [lo-dash](http://lodash.com), [jQuery](http://jquery.com), [q](http://documentup.com/kriskowal/q/) or some other omnipresent library? And you don't want to include this dependency in your browserify-build because it's already part of your web app? Use **browserify-global-shim** to replace `require('some module')` with references to a global variable.

@@ -8,0 +8,0 @@ ## Getting Started

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