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

angular

Package Overview
Dependencies
Maintainers
2
Versions
144
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular - npm Package Versions

1
15

1.2.12

Diff

Changelog

Source

1.2.12 cauliflower-eradication (2014-02-07)

Bug Fixes

  • $compile: retain CSS classes added in cloneAttachFn on asynchronous directives (5ed721b9, #5439, #5617)
  • $http:
  • $locale: minor grammar amends for the locale locale_lt (95be253f, #6164)
  • $q: make $q.reject support finally and catch (074b0675, #6048, #6076)
  • docs: clarify doc for "args" in $broadcast and $emit (caed2dfe, #6047)
  • filterFilter: don't interpret dots in predicate object fields as paths (339a1658, #6005, #6009)
  • http: make jshint happy (6609e3da)
  • jqLite: trim HTML string in jqLite constructor (36d37c0e, #6053)
  • mocks:
    • rename mock.animate to ngAnimateMock and ensure it contains all test helper code for ngAnimate (4224cd51, #5822, #5917)
    • remove usage of $animate.flushNext in favor of queuing (906fdad0)
    • always call functions injected with inject with this set to the current spec (3bf43903, #6102)
    • refactor currentSpec to work w/ Jasmine 2 (95f0bf9b, #5662)
  • ngMock: return false from mock $interval.cancel() when no argument is supplied (dd24c783, #6103)
  • ngResource:

Breaking Changes

The animation mock module has been renamed from mock.animate to ngAnimateMock. In addition to the rename, animations will not block within test code even when ngAnimateMock is used. However, all function calls to $animate will be recorded into $animate.queue and are available within test code to assert animation calls. In addition, $animate.triggerReflow() is now only available when ngAnimateMock is used.

<a name="1.2.11"></a>

bclinkinbeard
published 1.2.11 •

Changelog

Source

1.2.11 cryptocurrency-hyperdeflation (2014-02-03)

Bug Fixes

  • $compile: retain CSS classes added in cloneAttachFn on asynchronous directives (5ed721b9, #5439, #5617)
  • $http: update httpBackend to use ActiveXObject on IE8 if necessary (ef210e5e, #5677, #5679)
  • $q: make $q.reject support finally and catch (074b0675, #6048, #6076)
  • filterFilter: don't interpret dots in predicate object fields as paths (339a1658, #6005, #6009)
  • mocks: refactor currentSpec to work w/ Jasmine 2 (95f0bf9b, #5662)
  • ngResource: don't append number to '$' in url param value when encoding URI (ce1f1f97, #6003, #6004)

<a name="1.2.10"></a>

bclinkinbeard
published 1.2.10 •

Changelog

Source

1.2.10 augmented-serendipity (2014-01-24)

Bug Fixes

  • $parse: do not use locals to resolve object properties (f09b6aa5, #5838, #5862)
  • a: don't call preventDefault on click when a SVGAElement has an xlink:href attribute (e0209169, #5896, #5897)
  • input: use Chromium's email validation regexp (79e519fe, #5899, #5924)
  • ngRoute: pipe preceding route param no longer masks ? or * operator (fd6bac7d, #5920)

Features

<a name="1.2.9"></a>

bclinkinbeard
published 1.2.9 •

Changelog

Source

1.2.9 enchanted-articulacy (2014-01-15)

Bug Fixes

  • $animate:
    • ensure the final closing timeout respects staggering animations (ed53100a)
    • prevent race conditions for class-based animations when animating on the same CSS class (4aa9df7a, #5588)
    • correctly detect and handle CSS transition changes during class addition and removal (7d5d62da)
    • avoid accidentally matching substrings when resolving the presence of className tokens (524650a4)
  • $http: ensure default headers PUT and POST are different objects (e1cfb195, #5742, #5747, #5764)
  • $rootScope: prevent infinite $digest by checking if asyncQueue is empty when decrementing ttl (2cd09c9f, #2622)

Features

  • $animate:
    • provide support for DOM callbacks (dde1b294)
    • use requestAnimationFrame instead of a timeout to issue a reflow (4ae3184c, #4278, #4225)

Breaking Changes

  • $http: due to e1cfb195, it is now necessary to separately specify default HTTP headers for PUT, POST and PATCH requests, as these no longer share a single object.

    To migrate your code, follow the example below:

    Before:

    // Will apply to POST, PUT and PATCH methods
    $httpProvider.defaults.headers.post = {
      "X-MY-CSRF-HEADER": "..."
    };
    

    After:

    // POST, PUT and PATCH default headers must be specified separately,
    // as they do not share data.
    $httpProvider.defaults.headers.post =
      $httpProvider.defaults.headers.put =
      $httpProviders.defaults.headers.patch = {
        "X-MY-CSRF-HEADER": "..."
      };
    

<a name="1.2.8"></a>

bclinkinbeard
published 1.2.8 •

Changelog

Source

1.2.8 interdimensional-cartography (2014-01-10)

Bug Fixes

  • $http:
  • $location: return '/' for root path in hashbang mode (63cd873f, #5650, #5712)
  • $parse: fix CSP nested property evaluation, and issue that prevented its tests from failing (3b1a4fe0, #5591, #5592)
  • closure: add Closure externs for angular.$q.Promise.finally (caeb7402, #4757)
  • ngMock window.inject: Remove Error 'stack' property changes (7e916455)

Features

<a name="1.2.7"></a>

bclinkinbeard
published 1.2.7 •

Changelog

Source

1.2.7 emoji-clairvoyance (2014-01-03)

Bug Fixes

  • $animate:
    • ensue class-based animations are always skipped before structural post-digest tasks are run (bc492c0f, #5582)
    • remove trailing s from computed transition duration styles (50bf0296)
  • $http: (3d38fff8)
    • use ActiveX XHR when making PATCH requests on IE8 (6c17d02b, #2518, #5043)
    • fix 'type mismatch' error on IE8 after each request (fd9a03e1)
    • Ignore multiple calls to onreadystatechange with readyState=4 (4f572366, #5426)
  • $injector: remove the INSTANTIATING flag properly when done (186a5912, #4361, #5577)
  • $location:
  • $resource: prevent URL template from collapsing into an empty string (131e4014, #5455, #5493)
  • $sanitize: consider the size attribute as a valid/allowed attribute (056c8493, #5522)
  • Scope: don't let watch deregistration mess up the dirty-checking digest loop (884ef0db, #5525)
  • input:
    • use apply on the change event only when one isn't already in progress (a80049fd, #5293)
    • prevent double $digest when using jQuery trigger. (1147f219, #5293)
  • ngRepeat: allow for more flexible coding style in ngRepeat expression (c9705b75, #5537, #5598)
  • ngRoute: instantiate controller when template is empty (498365f2, #5550)
  • ngShow/ngHide, ngIf: functions with zero args should be truthy (01c5be46, #5414)

Performance Improvements

  • Scope: limit propagation of $broadcast to scopes that have listeners for the event (80e7a455, #5341, #5371)

<a name="1.2.6"></a>

bclinkinbeard
published 1.2.6 •

Changelog

Source

1.2.6 taco-salsafication (2013-12-19)

Bug Fixes

Features

  • jqLite: provide support for element.one() (937caab6)
  • ngAnimate: provide configuration support to match specific className values to trigger animations (cef084ad, #5357, #5283)

Performance Improvements

  • compile: add class 'ng-scope' before cloning and other micro-optimizations (f3a796e5, #5471)
  • $parse: use a faster path when the number of path parts is low (f4462319)
  • use faster check for $$ prefix (06c5cfc7)

<a name="1.2.5"></a>

bclinkinbeard
published 1.2.5 •

Changelog

Source

1.2.5 singularity-expansion (2013-12-13)

Bug Fixes

  • $compile: allow literals in isolate scope references (43072e38, #5296)
  • angular-mocks: use copy of mock data in $httpBackend (f69dc162)
  • closure: add missing FormController extern definitions (1d5e18b0, #5303)
  • ngInclude: add template to DOM before linking other directives (30a8b7d0, #5247)
  • ngView: add template to DOM before linking other directives (f8944efe)

Performance Improvements

  • $injector: remove invoke optimization that doesn't work (05e4fd34, #5388)
  • $resource: use shallow copy instead of angular.copy (fcd2a813, #5300)
  • a: do not link when href or name exists in template (f3de5b6e, #5362)
  • jqLite: implement and use the empty method in place of html(‘’) (3410f65e, #4457)

Breaking Changes

  • angular-mocks: due to f69dc162, some tests that rely on identity comparison rather than equality comparison in checking mock http responses will be broken, since now each mock response is a copy of the original response. This is usually fixable by changing a .toBe() comparison to toEqual() inside of tests.

<a name="1.2.4"></a>

bclinkinbeard
published 1.2.4 •

Changelog

Source

1.2.4 wormhole-blaster (2013-12-06)

Bug Fixes

  • $animate:
  • $compile:
    • update cloned elements if the template arrives after the cloning (b0972a2e)
    • ensure the isolated local watch lastValue is always in sync (2d0f6ccb, #5182)
  • $rootScope:
    • ensure that when the $destroy event is broadcast on $rootScope that it does something (d802ed1b, #5169)
    • ensure the phase is cleared within a digest if an exception is raised by a watcher (d3c486dd)
  • $sanitize: don't rely on YARR regex engine executing immediately in order to prevent object mutation (81b81856, #5193, #5192)
  • closure: closure compiler shouldn't rename .defaults.transformRequest (f01087f8)
  • input: ensure ngModelWatch() triggers second digest pass when appropriate (b6d54393, #5258, #5282)
  • isElement: return boolean value rather than truthy value. (2dbb6f9a, #4519, #4534)
  • jqLite: ignore incompatible nodes on find() (1169b544, #4120)
  • ngInit: evaluate ngInit before ngInclude (0e50810c, #5167, #5208)
  • ngSanitize: prefer textContent to innerText to avoid layout trashing (bf1972dc)

Performance Improvements

  • $parse: micro-optimization for ensureSafeObject function (689dfb16, #5246)
  • Scope: short-circuit after dirty-checking last dirty watcher (d070450c, #5272, #5287)

<a name="1.2.3"></a>

bclinkinbeard
published 1.2.3 •

Changelog

Source

1.2.3 unicorn-zapper (2013-11-27)

Bug Fixes

  • $animate:
  • ensure blocked keyframe animations are unblocked before the DOM operation (2efe8230, #5106)
  • ensure animations are disabled during bootstrap to prevent unwanted structural animations (eed23332, #5130)
  • $sanitize: use the same whitelist mechanism as $compile does (33352348, #3748)
  • input: react to form auto completion, through the change event, on modern browsers (a090400f, #1460)
  • $attrs: add $attrs.$attr to externs so that it isn't renamed on js minification (bcca8054)

Features

No new features in this release

Breaking Changes

There are no breaking changes in this release (promise!)

<a name="1.2.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