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

angular-cookies

Package Overview
Dependencies
Maintainers
1
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-cookies - npm Package Versions

1
12

1.3.5

Diff

Changelog

Source

1.3.5 cybernetic-mercantilism (2014-12-01)

Bug Fixes

  • $templateRequest: propagate rejection reason when ignoreRequestError flag is set (f6458826, #10266)
  • $httpBackend: allow canceling request with falsy timeoutId (719d5c5f, #10177)
  • linky: encode all double quotes when serializing email addresses (2ec8d1ff, #10090)
  • ngMock:
  • select:

<a name="1.3.4"></a>

angularcore
published 1.3.4 •

Changelog

Source

1.3.4 highfalutin-petroglyph (2014-11-24)

Bug Fixes

  • $browser: allow chaining url() calls in setter mode (764fa869, #10157)
  • $http: return empty headers, ignore properties in Object prototype (637c020f, #7779, #10113, #10091)
  • $locale: Allow currency filter to fall back to maxFrac from locale (6dbd606a, #10179)
  • $location: allow empty string URLs to reset path, search, and hash (7812dfce, #10063, #10064)
  • $route: fix redirection with optional/eager params (891acf4c, #9819, #9827)
  • Angular: properly get node name for svg element wrapper (09a98323, #10078, #10172)
  • NgModelController: typo $rawModelValue -> $$rawModelValue (4f4ff5f3)
  • input:
  • input[date]: do not use $isEmpty to check the model validity (40406e2f)
  • linky: encode double quotes when serializing email addresses (8ee8ffeb, #8945, #8964, #5946, #10090, #9256)
  • ngMaxlength: ignore maxlength when not set to a non-negative integer (92f87b11, #9874)
  • ngModel: don't run parsers when executing $validate (e3764e30)
  • ngModelOptions: preserve context of getter/setters (bb4d3b73, #9394, #9865)

Features

Performance Improvements

  • use Object.create instead of creating temporary constructors (bf6a79c3, #10058)

Breaking Changes

  • ngModelOptions: due to bb4d3b73, previously, ngModel invoked getter/setters in the global context.

For example:

<input ng-model="model.value" ng-model-options="{ getterSetter: true }">

would previously invoke model.value() in the global context.

Now, ngModel invokes value with model as the context.

It's unlikely that real apps relied on this behavior. If they did they can use .bind to explicitly bind a getter/getter to the global context, or just reference globals normally without this.

<a name="1.2.27"></a>

angularcore
published 1.2.27 •

Changelog

Source

1.2.27 prime-factorization (2014-11-20)

Bug Fixes

  • $animate: clear the GCS cache even when no animation is detected (f619d032, #8813)
  • $browser:
  • $http: add missing shortcut methods and missing docs (ec4fe1bc, #9180, #9321)
  • $location:
    • revert erroneous logic and backport refactorings from master (1ee9b4ef, #8492)
    • allow 0 in path() and hash() (f807d7ab)
  • $parse: add quick check for Function constructor in fast path (756640f5)
  • $parse, events: prevent accidental misuse of properties on $event (4d0614fd, #9969)
  • ngMock: $httpBackend should match data containing Date objects correctly (1426b029, #5127)
  • orderBy: sort by identity if no predicate is given (45b896a1, #5847, #4579, #9403)
  • select: ensure the label attribute is updated in Internet Explorer (16833d0f, #9621, #10042)

Performance Improvements

  • orderBy: copy array with slice instead of for loop (409bcb38, #9942)

<a name="1.3.3"></a>

angularcore
published 1.3.4-build.3588 •

angularcore
published 1.3.3 •

Changelog

Source

1.3.3 undersea-arithmetic (2014-11-17)

Bug Fixes

  • $http: don't parse single space responses as JSON (6f19a6fd, #9907)
  • minErr: stringify non-JSON compatible objects in error messages (cf43ccdf, #10085)
  • $rootScope: handle cyclic references in scopes when creating error messages (e80053d9, #10085)
  • ngRepeat: support cyclic object references in error messages (fa12c3c8, #9838, #10065, #10085)
  • ngMock: call $interval callbacks even when invokeApply is false (d81ff888, #10032)
  • ngPattern: match behavior of native HTML pattern attribute (85eb9660, #9881, #9888)
  • select: ensure the label attribute is updated in Internet Explorer (6604c236, #9621, #10042)

Features

  • $location: allow to location to be changed during $locationChangeStart (a9352c19, #9607, #9678)
  • $routeProvider: allow setting caseInsensitiveMatch on the provider (0db573b7, #6477, #9873)

Performance Improvements

  • orderBy: copy array with slice instead of for loop (8eabc546, #9942)

Breaking Changes

  • $parse: due to fbad2805, you can't use characters that have special meaning in AngularJS expressions (ex.: . or -) as part of filter's name. Before this commit custom filters could contain special characters (like a dot) in their name but this wasn't intentional.

<a name="1.3.2"></a>

angularcore
published 1.3.2 •

Changelog

Source

1.3.2 cardiovasculatory-magnification (2014-11-07)

Bug Fixes

  • $compile: do not rebind parent bound transclude functions (841c0907, #9413)
  • $parse:
    • stateful interceptors override an undefined expression (ed99821e, #9821, #9825)
    • add quick check for Function constructor in fast path (e676d642)
  • $parse, events: prevent accidental misuse of properties on $event (e057a9aa)
  • ngRoute: allow proto inherited properties in route params object (b4770582, #8181, #9731)
  • select: use strict comparison for isSelected with selectAs (9e305948, #9639, #9949)

Features

  • ngAria: announce ngMessages with aria-live (187e4318, #9834)
  • ngMock: decorator that adds Scope#$countChildScopes and Scope#$countWatchers (74981c9f, #9926, #9871)

Security Note

This release also contains security fixes for expression sandbox bypasses.

These issues affect only applications with known server-side XSS holes that are also using CSP to secure their client-side code. If your application falls into this rare category, we recommend updating your version of Angular.

We'd like to thank security researches Sebastian Lekies, Jann Horn, and Gábor Molnár for reporting these issues to us.

We also added a documentation page focused on security, which contains some of the best practices, DOs and DON'Ts. Please check out https://docs.angularjs.org/guide/security.

<a name="1.3.1"></a>

angularcore
published 1.3.1 •

Changelog

Source

1.3.1 spectral-lobster (2014-10-31)

Bug Fixes

Features

  • $compile: allow $watchCollection to be used in bi-directional bindings (40bbc981, #9725)
  • ngSanitize: accept SVG elements and attributes (a54b25d7, #9578, #9751)

Breaking Changes

  • $observe: Due to 531a8de7, observers no longer register on undefined attributes. For example, if you were using $observe on an absent optional attribute to set a default value, the following would not work anymore:
<my-dir></my-dir>
// link function for directive myDir
link: function(scope, element, attr) {
  attr.$observe('myAttr', function(newVal) {
    scope.myValue = newVal ? newVal : 'myDefaultValue';
  })
}

Instead, check if the attribute is set before registering the observer:

link: function(scope, element, attr) {
  if (attr.myAttr) {
    // register the observer
  } else {
    // set the default
  }
}

<a name="1.3.0"></a>

angularcore
published 1.3.0 •

Changelog

Source

1.3.0 superluminal-nudge (2014-10-13)

Bug Fixes

Features

Breaking Changes

  • $animate: due to e5f4d7b1, staggering animations that use transitions will now always block the transition from starting (via transition: 0s none) up until the stagger step kicks in. The former behavior was that the block was removed as soon as the pending class was added. This fix allows for styles to be applied in the pending class without causing an animation to trigger prematurely.

<a name="1.3.0-rc.5"></a>

angularcore
published 1.3.0-rc.5 •

Changelog

Source

1.3.0-rc.5 impossible-choreography (2014-10-08)

Bug Fixes

Features

Performance Improvements

  • $animate:
    • access DOM less in resolveElementClasses (22358cf9)
    • don't join classes before it's necessary in resolveElementClasses (003c44ec)
  • ngBind: set textContent rather than using element.text() (074a146d, #9369, #9396)

Breaking Changes

If a template contains directives within comment nodes, and there is more than a single node in the template, those comment nodes are removed. The impact of this breaking change is expected to be quite low.

Closes #9212 Closes #9215

The $animate CSS class API will always defer changes until the end of the next digest. This allows ngAnimate to coalesce class changes which occur over a short period of time into 1 or 2 DOM writes, rather than many. This prevents jank in browsers such as IE, and is generally a good thing.

If you find that your classes are not being immediately applied, be sure to invoke $digest().

Closes #8234 Closes #9263

ngOptions will now throw an error when the comprehension expressions contains both a select as and track by expression.

These expressions are fundamentally incompatible because it is not possible to reliably and consistently determine the parent object of a model, since select as can assign any child of a value as the model value.

Prior to refactorings in this release, neither of these expressions worked correctly independently, and did not work at all when combined.

See #6564

Order of events has changed. Previously: $locationChangeStart -> $locationChangeSuccess -> $routeChangeStart -> $routeChangeSuccess

Now: $locationChangeStart -> $routeChangeStart -> $locationChangeSuccess -> -> $routeChangeSuccess

Fixes #5581 Closes #5714 Closes #9502

<a name="1.3.0-rc.4"></a>

petermelias
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>

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