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

deumdify

Package Overview
Dependencies
Maintainers
5
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deumdify - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

5

index.js

@@ -72,2 +72,7 @@ 'use strict';

function deumdify(browserify) {
//
// Bail out if there is no UMD wrapper.
//
if (!browserify._options.standalone) return;
browserify.pipeline.push(createStream());

@@ -74,0 +79,0 @@ browserify.on('reset', function reset() {

17

package.json
{
"name": "deumdify",
"version": "0.0.1",
"version": "0.0.2",
"description": "Browserify plugin to expose a standalone bundle as a property of the global object",

@@ -10,3 +10,5 @@ "files": [

"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"coverage": "istanbul cover node_modules/.bin/_mocha -- --reporter spec",
"test": "mocha --reporter spec",
"test-travis": "istanbul cover node_modules/.bin/_mocha --report lcovonly -- --reporter spec"
},

@@ -31,3 +33,14 @@ "repository": {

"first-chunk-stream": "1.0.x"
},
"devDependencies": {
"browserify": "6.2.x",
"concat-stream": "1.4.x",
"istanbul": "0.3.x",
"jsdom": "1.1.x",
"mocha": "2.0.x",
"pre-commit": "0.0.x"
},
"peerDependencies": {
"browserify": "5.1.0 - 6"
}
}
# deUMDify
[![Build Status](https://travis-ci.org/primus/deumdify.svg?branch=master)](https://travis-ci.org/primus/deumdify)
[![NPM version](https://badge.fury.io/js/deumdify.svg)](http://badge.fury.io/js/deumdify)
[![Coverage Status](https://img.shields.io/coveralls/primus/deumdify.svg)](https://coveralls.io/r/primus/deumdify?branch=master)
This module is a [Browserify](http://browserify.org/) plugin that will expose a
standalone bundle as a property of the global object omitting AMD and CommonJS
support.
The reason for this plugin is that Browserify does not give the ability to
generate a standalone bundle without an UMD wrapper.
support. The reason for this plugin is that Browserify does not give the ability
to generate a standalone bundle without an UMD wrapper.

@@ -17,2 +20,10 @@ ## Install

### Command Line
```sh
browserify main.js -s Foo -p deumdify > bundle.js
```
### API
Register the [plugin](https://github.com/substack/node-browserify#bpluginplugin-opts).

@@ -19,0 +30,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