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

angular-message-format

Package Overview
Dependencies
Maintainers
3
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-message-format - npm Package Versions

1
7

1.5.3

Diff

Changelog

Source

1.5.3 diplohaplontic-meiosis (2016-03-25)

Bug Fixes

  • $compile: workaround a GC bug in Chrome < 50 (513199ee, #14041, #14286)
  • $sniffer: fix history sniffing in Chrome Packaged Apps (457fd21a, #11932, #13945)
  • formatNumber: handle small numbers correctly when gSize !== lgSize (3277b885, #14289, #14290)
  • ngAnimate: run structural animations with cancelled out class changes (c7813e9e, #14249)
  • ngMessages: don't crash when nested messages are removed (ef91b04c, #14183, #14242)

Features

<a name="1.5.2"></a>

angularcore
published 1.5.2 •

Changelog

Source

1.5.2 differential-recovery (2016-03-18)

This release reverts a breaking change that accidentally made it into the 1.5.1 release. See fee7bac3 for more info.

Bug Fixes

  • ngAnimate.$animate: remove animation callbacks when the element is removed (ce7f4000)

<a name="1.5.1"></a>

angularcore
published 1.4.10 •

Changelog

Source

1.4.10 benignant-oscillation (2016-03-16)

Bug Fixes

  • core: only call console.log when window.console exists (beb00e44, #14006, #14007, #14047)
  • $animateCss: cancel fallback timeout when animation ends normally (a60bbc12, #13787)
  • $compile:
    • allow directives to have decorators (77cdc37c)
    • properly denormalize templates when only one of the start/end symbols is different (2d44a681, #13848)
    • handle boolean attributes in @ bindings (2ffbfb0a, #13767, #13769)
  • $parse:
    • prevent assignment on constructor properties (f47e2180, #13417)
    • preserve expensive checks when running $eval inside an expression (96d62cc0)
    • copy inputs for expressions with expensive checks (0b7fff30)
  • $rootScope: set no context when calling helper functions for $watch (ab5c7698)
  • $route: allow preventing a route reload (4bc30314, #9824, #13894)
  • $routeProvider: properly handle optional eager path named groups (6a4403a1, #14011)
  • copy: add support for copying Blob objects (863a4232, #9669, #14064)
  • dateFilter: follow the CLDR on pattern escape sequences (f476060d, #12839)
  • dateFilter, input: fix Date parsing in IE/Edge when timezone offset contains : (571afd65, #13880, #13887)
  • input: re-validate when partially editing date-family inputs (02929f82, #12207, #13886)
  • select: handle corner case of adding options via a custom directive (df6e7315, #13874, #13878)
  • ngOptions: always set the 'selected' attribute for selected options (f87e8288, #14115)
  • ngAnimate: properly cancel previously running class-based animations (3b27dd37, #10156, #13822)
  • ngAnimateChildren: make it compatible with ngIf (dc158e7e, #13865, #13876)
  • ngMockE2E: pass responseType to $delegate when using passThrough (947cb4d1, #5415, #5783)

Features

  • $locale: Include original locale ID in $locale (e69f3550, #13390)
  • ngAnimate: provide ng-[event]-prepare class for structural animations (796f7ab4)

Performance Improvements

  • $compile: avoid needless overhead when wrapping text nodes (946d9ae9)
  • ngRepeat: avoid duplicate jqLite wrappers (d04c38c4)
  • ngAnimate:
    • avoid jqLite/jQuery for upward DOM traversal (ab95ba65)
    • avoid $.fn.data overhead with jQuery (86416bcb)

<a name="1.5.0"></a>

angularcore
published 1.5.1 •

Changelog

Source

1.5.1 equivocal-sophistication (2016-03-16)

Bug Fixes

Features

Performance Improvements

  • ngRepeat: avoid duplicate jqLite wrappers (632e15a3)
  • ngAnimate:
    • avoid jqLite/jQuery for upward DOM traversal (35251bd4)
    • avoid $.fn.data overhead with jQuery (15915e60)

<a name="1.4.10"></a>

angularcore
published 1.5.0 •

Changelog

Source

1.5.0 ennoblement-facilitation (2016-02-05)

Bug Fixes

Features

Breaking Changes

angularcore
published 1.5.0-rc.2 •

Changelog

Source

1.5.0-rc.2 controller-requisition (2016-01-28)

Deprecation Warning

  • The ngTouch module's ngClick directive has been deprecated and disabled by default. See the breaking changes section for more information
  • The angular.lowercase and angular.uppercase functions have been deprecated and will be removed in version 1.7.0. It is recommended to use String.prototype.toLowerCase and String.prototype.toUpperCase functions instead.

Bug Fixes

Features

  • $compile:
    • allow required controllers to be bound to the directive controller (56c3666f, #6040, #5893, #13763)
    • allow directive definition property require to be an object (cd21216f, #8401, #13763)
    • call $onInit on directive controllers after all sibling controllers have been constructed (3ffdf380, #13763)
  • $locale: include original locale ID in $locale (63492a02, #13390)
  • $resource: add support for timeout in cancellable actions (d641901b, #13824)

Performance Improvements

  • $compile: avoid needless overhead when wrapping text nodes (92e4801d)
  • ngAnimate: speed up areAnimationsAllowed check (683bd92f)

Breaking Changes

The $sanitize service will now remove instances of the usemap attribute from any elements passed to it.

This attribute is used to reference another element by name or id. Since the name and id attributes are already blacklisted, a sanitized usemap attribute could only reference unsanitized content, which is a security risk.

The ngClick override directive from the ngTouch module is deprecated and disabled by default. This means that on touch-based devices, users might now experience a 300ms delay before a click event is fired.

If you rely on this directive, you can still enable it with the $touchProvider.ngClickOverrideEnabled()method:

angular.module('myApp').config(function($touchProvider) {
  $touchProvider.ngClickOverrideEnabled(true);
});

Going forward, we recommend using FastClick or perhaps one of the Angular 3rd party touch-related modules that provide similar functionality.

Also note that modern browsers already remove the 300ms delay under some circumstances:

  • Chrome and Firefox for Android remove the 300ms delay when the well-known <meta name="viewport" content="width=device-width"> is set
  • Internet Explorer removes the delay when touch-action css property is set to none or manipulation
  • Since iOs 8, Safari removes the delay on so-called "slow taps"

See this article by Telerik for more info on the topic.

Note that this change does not affect the ngSwipe directive.

<a name="1.4.9"></a>

angularcore
published 1.4.9 •

Changelog

Source

1.4.9 implicit-superannuation (2016-01-21)

Bug Fixes

Minor Features

Performance Improvements

  • ngAnimate: speed up areAnimationsAllowed check (2d3303dd)

Breaking Changes

While we do not deem the following to be a real breaking change we are highlighting it here in the changelog to ensure that it does not surprise anyone.

Possible breaking change for users who updated their code to provide a timeout promise for a $resource request in version v1.4.8.

Up to v1.4.7 (included), using a promise as a timeout in $resource, would silently fail (i.e. have no effect).

In v1.4.8, using a promise as timeout would have the (buggy) behaviour described in https://github.com/angular/angular.js/pull/12657#issuecomment-152108887. (I.e. it will work as expected for the first time you resolve the promise and will cancel all subsequent requests after that - one has to re-create the resource class. This was not documented.)

With this change, using a promise as timeout in v1.4.9 onwards is not allowed. It will log a warning and ignore the timeout value.

If you need support for cancellable $resource actions, you should upgrade to version 1.5 or higher.

<a name="1.5.0-rc.1"></a>

angularcore
published 1.5.0-rc.1 •

Changelog

Source

1.5.0-rc.1 quantum-fermentation (2016-01-15)

Features

Bug Fixes

Breaking Changes

  • $component: These breaking changes affect only applications updating from previous 1.5 beta / rc versions

    • Due to d91cf167, the default controllerAs value for components is now $ctrl (previously the name of the component was used). To migrate, either set controllerAs to the component name, or change the property name in your templates to $ctrl

    • Due to 25bc5318, it is no longer possible to set the restrict option on directives created via the module.component() helper. All components are now element directives (restrict: 'E'). If you need a directive that is not an element then you must use the module.directive() helper instead.

    • Due to f31c5a39, components are now always created with scope: {} (isolate scope). Previously, it was also possible to create components with scope: true or scope: false. If your components rely on this scope configuration, you will have to create a regular directive instead.

    • Due to 6a47c0d7, the transclude property is now false by default (previously true). If you created components that expected transclusion then you must change your code to specify transclude: true.

  • linky: due to 98c2db7f,

Before this change, the filter assumed that the input (if not undefined/null) was of type 'string' and that certain methods (such as .match()) would be available on it. Passing a non-string value would most likely result in a not-very-useful error being thrown (trying to call a method that does not exist) or in unexpected behavior (if the input happened to have the assumed methods).

After this change, a proper (informative) error will be thrown. If you want to pass non-string values through linky, you need to explicitly convert them to strings first. Since input values could be initialized asynchronously, undefined or null will still be returned unchanged (without throwing an error).

<a name="1.5.0-rc.0"></a>

angularcore
published 1.5.0-rc.0 •

Changelog

Source

1.5.0-rc.0 oblong-panoptikum (2015-12-09)

This is the first Release Candidate for AngularJS 1.5.0. Please try upgrading your applications and report any regressions or other issues you find as soon as possible.

Features

Bug Fixes

Breaking Changes

This is only a breaking change to a feature that was added in beta 2. If you have not started using multi-slot transclusion then this will not affect you.

The keys and values for the transclude map of the directive definition have been swapped around to be more consistent with the other maps, such as scope and bindToController.

Now the key is the slot name and the value is a normalized element selector.

Using a promise as timeout is no longer supported and will log a warning. It never worked the way it was supposed to anyway.

Before:

var deferred = $q.defer();
var User = $resource('/api/user/:id', {id: '@id'}, {
  get: {method: 'GET', timeout: deferred.promise}
});

var user = User.get({id: 1});   // sends a request
deferred.resolve();             // aborts the request

// Now, we need to re-define `User` passing a new promise as `timeout`
// or else all subsequent requests from `someAction` will be aborted
User = $resource(...);
user = User.get({id: 2});

After:

var User = $resource('/api/user/:id', {id: '@id'}, {
  get: {method: 'GET', cancellable: true}
});

var user = User.get({id: 1});   // sends a request
user.$cancelRequest();      // aborts the request

user = User.get({id: 2});

The $sanitize service will now remove instances of the <use> tag from the content passed to it.

This element is used to import external SVG resources, which is a security risk as the $sanitize service does not have access to the resource in order to sanitize it.

A new property to access route resolves is now available on the scope of the route. The default name for this property is $resolve. If your scope already contains a property with this name then it will be hidden or overwritten.

In this case, you should choose a custom name for this property, that does not collide with other properties on the scope, by specifying the resolveAs property on the route.

A new property to access all the locals for an expression is now available on the scope. This property is $locals.

  • If scope.$locals already exists, the way to reference this property is now this.$locals.
  • If the locals themselves include a property $locals then the way to reference that is now $locals.$locals.

<a name="1.4.8"></a>

angularcore
published 1.4.8 •

Changelog

Source

1.4.8 ice-manipulation (2015-11-19)

Bug Fixes

Performance Improvements

  • $compile: use static jquery data method to avoid creating new instances (55ad192e)
  • copy:
    • avoid regex in isTypedArray (19fab4a1)
    • only validate/clear if the user specifies a destination (d1293540, #12068)
  • merge: remove unnecessary wrapping of jqLite element (ce6a96b0, #13236)

<a name="1.5.0-beta.2"></a>

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