Socket
Socket
Sign inDemoInstall

cookies-js

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cookies-js - npm Package Versions

1.2.3

Diff

Changelog

Source

1.2.3

  • Fixed null object reference error when both the global this and window objects are undefined (e.g., when using webpack).
scotthamper
published 1.2.2 •

Changelog

Source

1.2.2

  • Fixed errors caused when accessing a properly encoded cookie while another cookie had a malformed key/value.
scotthamper
published 1.2.1 •

Changelog

Source

1.2.1

  • Fixed bower.json and package.json main pointing to "src" instead of "dist" now that an unminified version lives in "dist"
scotthamper
published 1.2.0 •

Changelog

Source

1.2.0

  • Infinity may now be used with the "expires" option to set a persistent cookie.
  • Included unminified version of the library in "dist"
scotthamper
published 1.1.0 •

Changelog

Source

1.1.0

  • Added the ability to require Cookies.js in CommonJS/Node environments that do not natively have a window object, by exporting a factory method that takes an instance of a window.
scotthamper
published 1.0.1 •

Changelog

Source

1.0.1

  • Fixed being unable to retrieve cookie values for keys that were named the same as a built-in Object property.
scotthamper
published 1.0.0 •

Changelog

Source

1.0.0

  • Put Cookies.js into the public domain.
  • Explicitly defaulted the secure option to false.
scotthamper
published 0.4.0 •

Changelog

Source

0.4.0

  • Replaced deprecated toGMTString with toUTCString (Thanks @Zorbash!)
  • Added a proper bower.json file (Thanks @jstayton!)
  • Fixed bug where Cookies.enabled was always returning true in IE7 and IE8 (Thanks @brianlow!)
  • Updated cookies.d.ts for Typescript 1.0 (Thanks @flashandy!)
  • Fixed unnecessarily encoding characters in cookie keys that are allowed by RFC6265, and fixed not encoding a couple characters in cookies keys that are not allowed by RFC6265. (Issue #18)
  • Moved the change log to its own file.
scotthamper
published 0.3.1 •

Changelog

Source

0.3.1

  • Fixed a runtime error that prevented the library from loading when cookies were disabled in the client browser.
  • Fixed a bug in IE that would cause the library to improperly read cookies with a value of "".
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