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

angular-errorlookup

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-errorlookup - npm Package Compare versions

Comparing version 1.0.0 to 2.0.0

1

angular-errorlookup.d.ts

@@ -0,1 +1,2 @@

import * as angular from 'angular';
export interface IFilterFunction {

@@ -2,0 +3,0 @@ (type?: string): boolean;

25

angular-errorlookup.js

@@ -6,9 +6,8 @@ (function (factory) {

else if (typeof define === 'function' && define.amd) {
define(["require", "exports"], factory);
define(["require", "exports", 'angular', 'lodash'], factory);
}
else {
factory(void 0, {});
}
})(function (require, exports) {
'use strict';
var angular = require('angular');
var _ = require('lodash');
var ErrorLookupError = (function () {

@@ -22,3 +21,3 @@ function ErrorLookupError(message) {

return ErrorLookupError;
})();
}());
exports.ErrorLookupError = ErrorLookupError;

@@ -711,3 +710,3 @@ ErrorLookupError.prototype = Object.create(Error.prototype, {

return ErrorLookup;
})();
}());
Services.ErrorLookup = ErrorLookup;

@@ -765,3 +764,3 @@ })(Services = exports.Services || (exports.Services = {}));

return ErrorLookupProvider;
})();
}());
Providers.ErrorLookupProvider = ErrorLookupProvider;

@@ -860,3 +859,3 @@ })(Providers = exports.Providers || (exports.Providers = {}));

return ErrorLookupForm;
})();
}());
Directives.errorLookupForm = ErrorLookupForm.instance();

@@ -915,3 +914,3 @@ var ErrorLookup = (function () {

return ErrorLookup;
})();
}());
Directives.errorLookup = ErrorLookup.instance();

@@ -1013,3 +1012,3 @@ var ErrorLookupDisplay = (function () {

return ErrorLookupDisplay;
})();
}());
Directives.errorLookupDisplay = ErrorLookupDisplay.instance();

@@ -1020,3 +1019,3 @@ var ErrorLookupTemplate = (function () {

this.require = 'errorLookupDisplay';
this.template = "<ul class=\"error-lookup-display\" ng-show=\"$displaying()\">\n <li class=\"error-lookup-display-item\" ng-repeat=\"error in $errors | errorMessages:$options track by $index\" ng-bind-html=\"error\"></li>\n </ul>";
this.template = "<ul class=\"error-lookup-display\" ng-show=\"$displaying()\">\n\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"error-lookup-display-item\" ng-repeat=\"error in $errors | errorMessages:$options track by $index\" ng-bind-html=\"error\"></li>\n\t\t\t\t\t\t\t\t\t\t</ul>";
this.link = function (scope, el, attrs, ctrl) {

@@ -1031,3 +1030,3 @@ ctrl.setOptions(scope.$eval(attrs['errorLookupTemplate']));

return ErrorLookupTemplate;
})();
}());
Directives.errorLookupTemplate = ErrorLookupTemplate.instance();

@@ -1109,3 +1108,3 @@ })(Directives || (Directives = {}));

return ErrorMessages;
})();
}());
Filters.errorMessages = ErrorMessages.instance();

@@ -1112,0 +1111,0 @@ })(Filters || (Filters = {}));

{
"name": "angular-errorlookup",
"version": "1.0.0",
"description": "Because AngularJS general error messages still suck. ngMessages can kiss my ass.",
"main": "./angular-errorlookup.js",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/pocesar/angular-errorlookup"
},
"dependencies": {},
"keywords": [
"ngMessage",
"ngMessages",
"angular",
"angularjs",
"error",
"handling",
"service",
"provider",
"directive",
"ngModel",
"input",
"form"
],
"browser":"./angular-errorlookup.js",
"typings":"./angular-errorlookup.d.ts",
"devDependencies": {
"coveralls": "^2.11.6",
"karma": "^0.13.21",
"mocha": "^2.4.5",
"karma-coverage": "^0.5.3",
"karma-phantomjs-launcher": "^1.0.0",
"phantomjs-prebuilt": "^2.1.4",
"karma-mocha": "^0.2.2",
"karma-spec-reporter": "^0.0.24"
},
"scripts": {
"travis": "karma start ./test/karma.conf.js --single-run --browsers PhantomJS",
"test": "karma start ./test/karma.conf.js",
"dorelease": "npm publish ."
}
"name": "angular-errorlookup",
"version": "2.0.0",
"description": "Because AngularJS general error messages still suck. ngMessages can kiss my ass.",
"main": "./angular-errorlookup.js",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/pocesar/angular-errorlookup"
},
"dependencies": {},
"keywords": [
"ngMessage",
"ngMessages",
"angular",
"angularjs",
"error",
"handling",
"service",
"provider",
"directive",
"ngModel",
"input",
"form"
],
"browser": "./angular-errorlookup.js",
"typings": "./angular-errorlookup.d.ts",
"devDependencies": {
"@types/angular": "^1.5.7",
"@types/chai": "^3.4.28",
"@types/lodash": "0.0.27",
"coveralls": "^2.11.8",
"karma": "^0.13.21",
"karma-coverage": "^0.5.4",
"karma-mocha": "^0.2.2",
"karma-phantomjs-launcher": "^1.0.0",
"karma-spec-reporter": "^0.0.24",
"mocha": "^2.4.5",
"phantomjs-prebuilt": "^2.1.4",
"sinon": "^1.17.3"
},
"scripts": {
"compile": "tsc -p tsconfig.json",
"travis": "karma start ./test/karma.conf.js --single-run --browsers PhantomJS",
"test": "karma start ./test/karma.conf.js",
"dorelease": "npm publish ."
}
}
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