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

ng-annotate

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng-annotate - npm Package Compare versions

Comparing version 0.12.0 to 0.12.1

2

ng-annotate/build/es5/ng-annotate-main.js

@@ -655,3 +655,3 @@ // ng-annotate-main.js

// suspect must be inside of a block or at the top-level (i.e. inside of node.$parent.body[])
if (!onode.$parent || is.noneof(onode.$parent.type, ["Program", "BlockStatement"])) {
if (!node || !onode.$parent || is.noneof(onode.$parent.type, ["Program", "BlockStatement"])) {
return;

@@ -658,0 +658,0 @@ }

@@ -13,3 +13,3 @@ // ng-annotate.js

var ngAnnotate = require("./ng-annotate-main");
var version = "0.12.0";
var version = "0.12.1";
var convertSourceMap = require("convert-source-map");

@@ -16,0 +16,0 @@ var optimist = require("optimist")

@@ -687,1 +687,5 @@ "use strict";

})();
// empty var declarator
var MyCtrl12;
angular.module("MyMod").controller('MyCtrl', MyCtrl12);

@@ -719,1 +719,5 @@ "use strict";

})();
// empty var declarator
var MyCtrl12;
angular.module("MyMod").controller('MyCtrl', MyCtrl12);

@@ -719,1 +719,5 @@ "use strict";

})();
// empty var declarator
var MyCtrl12;
angular.module("MyMod").controller('MyCtrl', MyCtrl12);

@@ -0,1 +1,4 @@

## v0.12.1 2014-11-13
* bugfix crash when reference-following to an empty variable declarator
## v0.12.0 2014-11-10

@@ -2,0 +5,0 @@ * improved TypeScript compatibility due to improved matching through IIFE's

@@ -655,3 +655,3 @@ // ng-annotate-main.js

// suspect must be inside of a block or at the top-level (i.e. inside of node.$parent.body[])
if (!onode.$parent || is.noneof(onode.$parent.type, ["Program", "BlockStatement"])) {
if (!node || !onode.$parent || is.noneof(onode.$parent.type, ["Program", "BlockStatement"])) {
return;

@@ -658,0 +658,0 @@ }

{
"name": "ng-annotate",
"version": "0.12.0",
"version": "0.12.1",
"description": "add, remove and rebuild angularjs dependency injection annotations",

@@ -5,0 +5,0 @@ "main": "build/es5/ng-annotate-main.js",

@@ -687,1 +687,5 @@ "use strict";

})();
// empty var declarator
var MyCtrl12;
angular.module("MyMod").controller('MyCtrl', MyCtrl12);

@@ -719,1 +719,5 @@ "use strict";

})();
// empty var declarator
var MyCtrl12;
angular.module("MyMod").controller('MyCtrl', MyCtrl12);

@@ -719,1 +719,5 @@ "use strict";

})();
// empty var declarator
var MyCtrl12;
angular.module("MyMod").controller('MyCtrl', MyCtrl12);
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