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

browserify-ngannotate

Package Overview
Dependencies
Maintainers
2
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browserify-ngannotate - npm Package Compare versions

Comparing version 0.6.0 to 0.7.0

10

index.js

@@ -12,3 +12,4 @@ 'use strict';

x: [],
ext: []
ext: [],
sourcemap: opts._flags.debug
});

@@ -24,2 +25,9 @@

if (opts.sourcemap) {
opts.sourcemap = {
inFile: file,
inline: true
};
}
var data = '';

@@ -26,0 +34,0 @@

7

package.json
{
"name": "browserify-ngannotate",
"version": "0.6.0",
"version": "0.7.0",
"description": "A browserify transform that uses ng-annotate to add dependency injection annotations to your AngularJS source code, preparing it for minification.",
"main": "index.js",
"scripts": {
"test": "./node_modules/.bin/istanbul test -x \"**/spec/**\" ./node_modules/.bin/_mocha -- -R spec spec",
"report-cov": "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls"
"test": "istanbul test -x \"**/spec/**\" _mocha -- -R spec spec",
"report-cov": "cat ./coverage/lcov.info | coveralls"
},

@@ -37,2 +37,3 @@ "repository": {

"chai": "^1.10.0",
"convert-source-map": "^0.4.1",
"coveralls": "^2.11.2",

@@ -39,0 +40,0 @@ "istanbul": "^0.3.5",

@@ -22,2 +22,9 @@ # browserify-ngannotate

### Source maps
Sourcemapping will be enabled automatically when browserify is in `debug` mode:
```bash
browserify --debug -t browserify-ngannotate app.js > bundle.js
```
### File extensions

@@ -24,0 +31,0 @@ Define the filetypes to transform. Prevents other resouces like .json or .css from being processed, if you are including them with require().

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