Socket
Socket
Sign inDemoInstall

angular-evaporate

Package Overview
Dependencies
2
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 2.1.1

5

example/index.js

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

/* global angular, console */
'use strict';
angular
.module('myApp', ['angular-evaporate'])
require('angular')
.module('myApp', [require('../lib/angular-evaporate')])
.controller('myCtrl', ['$window', '$scope', 'AngularEvaporate',

@@ -6,0 +5,0 @@ function ($window, $scope, AngularEvaporate) {

20

lib/angular-evaporate.js

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

/* global angular, Evaporate */
;(function (angular, Evaporate) {
;(function () {
'use strict';
// get dependencies
// from browserify modules or global variables
var angular;
var Evaporate;
if (typeof module !== 'undefined' && module.exports) {
module.exports = 'angular-evaporate';
angular = require('angular');
Evaporate = require('evaporate');
} else if (typeof window !== 'undefined') {
angular = window.angular;
Evaporate = window.Evaporate;
}
// build module
angular.module('angular-evaporate', [])

@@ -381,2 +395,2 @@

})(angular, Evaporate);
})();
{
"version": "2.0.0",
"version": "2.1.1",
"name": "angular-evaporate",

@@ -28,2 +28,3 @@ "description": "AngularJS module for the EvaporateJS library",

"bootstrap": "^3.3.7",
"browserify": "^13.1.0",
"chai": "^3.5.0",

@@ -46,5 +47,7 @@ "diff": "^3.0.0",

"scripts": {
"start": "node ./example/server.js",
"start": "npm run-script example.compile && node ./example/server.js",
"test": "karma start ./test/karma.conf.js",
"uglify": "cd lib && uglifyjs --compress --mangle --screw-ie8 -o angular-evaporate.min.js --source-map angular-evaporate.min.js.map -- angular-evaporate.js"
"example.compile": "cd example && browserify -o bundle.js index.js",
"lib.minify": "cd lib && uglifyjs --compress --mangle --screw-ie8 -o angular-evaporate.min.js --source-map angular-evaporate.min.js.map -- angular-evaporate.js",
"start.env": "foreman run npm start"
},

@@ -51,0 +54,0 @@ "author": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc