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

ng-alertify

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng-alertify - npm Package Compare versions

Comparing version 0.3.0 to 0.4.0

2

bower.json
{
"name": "ng-alertify",
"main": "ng-alertify.js",
"version": "0.3.0",
"version": "0.4.0",
"license": "MIT",

@@ -6,0 +6,0 @@ "ignore": [

@@ -41,4 +41,17 @@ // mock AngularJS proxy to window.alertify

// transform .prompt(message) into promise-returning method
alertifyProxy.prompt = function (message, defaultValue) {
var defer = $q.defer();
alertify.prompt(message, function (yes, answer) {
if (yes) {
defer.resolve(answer);
} else {
defer.reject();
}
}, defaultValue);
return defer.promise;
};
return alertifyProxy;
}]);
}(window.angular, window.alertify));
{
"name": "ng-alertify",
"description": "AngularJS wrapper around alertify popup library",
"version": "0.3.0",
"version": "0.4.0",
"author": "Gleb Bahmutov <gleb@kensho.com>",

@@ -6,0 +6,0 @@ "bugs": {

@@ -37,2 +37,6 @@ # ng-alertify

);
Alertify.prompt('Your age', 21).then(
function onOk(answer) {...},
function onCancel() { ... }
);
});

@@ -43,2 +47,4 @@ ```

Works well with [confirm-click](https://github.com/bahmutov/confirm-click).
## License

@@ -45,0 +51,0 @@

Sorry, the diff of this file is not supported yet

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