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

angular-mocks

Package Overview
Dependencies
Maintainers
1
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-mocks - npm Package Versions

1
910

1.2.22

Diff

Changelog

Source

1.2.22 finicky-pleasure (2014-08-12)

Bug Fixes

  • $compile: make '='-bindings NaN-aware (0b0acb03, #8553, #8554)
  • $parse: correctly assign expressions who's path is undefined and that use brackets notation (60366c8d, #8039)
  • jqLite: allow triggerHandler() to accept custom event (d262378b, #8469, #8505)
  • ngSanitize: ensure html is a string in htmlParser() (9ee07551, #8417, #8416)
  • select:
    • ensure that at least one option has the selected attribute set (79538afd, #8366, #8429)
    • do not update selected property of an option element on digest with no change event (c2860944, #8221, #7715)

Features

<a name="1.3.0-beta.17"></a>

zizzamia
published 1.2.21 •

Changelog

Source

1.2.21 wizard-props (2014-07-25)

Bug Fixes

Performance Improvements

  • $compile: only create jqLite object when necessary (71eb1901)
  • $parse: don't use reflective calls in generated functions (cbdf0c2a)
  • forEach: use native for loop instead of forEach for Arrays (492b0cdf)
  • jqLite: expose the low-level jqLite.data/removeData calls (3c46c943)
  • ngBindHtml: move addClass to the compile phase (8eede099, #8261)

<a name="1.3.0-beta.16"></a>

zizzamia
published 1.2.20 •

Changelog

Source

1.2.20 accidental-beautification (2014-07-11)

Bug Fixes

  • $http:
    • don't remove content-type header if data is set by request transform (7027844d, #7910)
    • add ability to remove default headers (172a4093, #5784)
  • $location: remove query args when passed in object (a26acb64, #6565)
  • input:
  • parseKeyValue: ignore properties in prototype chain (873acf8f, #8070, #8068)

Features

  • ngAnimate: conditionally allow child animations to run in parallel with parent animations (931789ec, #7946)

<a name="1.3.0-beta.14"></a>

zizzamia
published 1.2.19 •

Changelog

Source

1.2.19 precognitive-flashbacks (2014-06-30)

Bug Fixes

  • $compile: bind ng-attr-* even if unbound attribute follows ng-attr-* (ed59370d)
  • $http: should not read statusText on IE<10 when request is aborted (0c80df21)
  • $injector: check if a fn is an array explicitly (67c11b9a, #7904, #2653)
  • $interval: when canceling, use clearInterval from $window instead of global scope. (f780ccfa)
  • $parse:
    • make the window check in ensureSafeObject IE8 friendly (ba62e975)
    • prevent invocation of Function's bind, call and apply (07fa87a8)
    • forbid proto properties in angular expressions (cb713e60)
    • forbid {define,lookup}{Getter,Setter} properties (89ca8597)
    • forbid referencing Object in angular expressions (bc6fb7cc)
  • injector: allow multiple loading of function modules (d71f16e7, #7255)
  • input:
  • jqLite: change expando property to a more unique name (74e1cc68)
  • numberFilter: correctly round fractions despite floating-point arithmetics issues in JS (e5f454c8, #7870, #7878)
  • testabilityPatch: fix invocations of angular.mock.dump (5e944a1c)

Performance Improvements

  • jqLite: don't use reflection to access expandoId (a4faa5cd)

Breaking Changes

You can no longer invoke .bind, .call or .apply on a function in angular expressions. This is to disallow changing the behavior of existing functions in an unforeseen fashion.

The (deprecated) proto property does not work inside angular expressions anymore.

This prevents the use of {define,lookup}{Getter,Setter} inside angular expressions. If you really need them for some reason, please wrap/bind them to make them less dangerous, then make them available through the scope object.

This prevents the use of Object inside angular expressions. If you need Object.keys, make it accessible in the scope.

<a name="1.3.0-beta.13"></a>

zizzamia
published 1.2.18 •

Changelog

Source

1.2.18 ear-extendability (2014-06-13)

Bug Fixes

  • $compile:
    • ensure transclude works at root of templateUrl (fd420c40, #7183, #7772)
    • bound transclusion to correct scope (1382d4e8)
    • don't pass transcludes to non-transclude templateUrl directives (b9ddef2a)
    • don't pass transclude to template of non-transclude directive (eafba9e2)
    • fix nested isolated transclude directives (bb931097, #1809, #7499)
    • pass transcludeFn down to nested transclude directives (8df5f325, #7240, #7387)
  • $injector: report circularity in circular dependency error message (14e797c1, #7500)
  • ngResource: don't convert literal values into Resource objects when isArray is true (f0904cf1, #6314, #7741)

Performance Improvements

  • $compile: move ng-binding class stamping for interpolation into compile phase (81b7e5ab)
  • $http: move xsrf cookie check to after cache check in $http (8b86d363, #7717)
  • isArray: use native Array.isArray (6c14fb1e)
  • jqLite: cache collection length for all methods that work on a single element (6d418ef5)
  • ngBind: set the ng-binding class during compilation instead of linking (1b189027)

<a name="1.3.0-beta.11"></a>

1
910
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