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

crumble

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crumble - npm Package Versions

2

3.0.1

Diff

Changelog

Source

3.0.1 - 2024-05-26

The package repository has moved and it's now reflected in the package metadata; this version contains no functionality changes.

lsphillips
published 3.0.0 •

Changelog

Source

3.0.0 - 2021-06-29

Added

  • crumble.setCookie() now accepts a crumbs.sameSite attribute, this defaults to lax when not provided.

Changed

  • crumble.removeCookie() no longer accepts a crumbs.secure flag as it is not required to remove a cookie.

Removed

  • Removed the crumbs.firstPartyOnly flag as it has been superseded by crumbs.sameSite.
lsphillips
published 2.3.1 •

Changelog

Source

2.3.1 - 2021-05-16

Changed

  • Removed unnecessary files from the package making it more lightweight.
lsphillips
published 2.3.0 •

Changelog

Source

2.3.0 - 2021-05-14

Added

  • Introduced an ESM version of this module that will be used when being imported using import.

Changed

  • This module is now transpiled using Babel.
  • The UMD version of this module now exposes itself using the name crumble instead of Crumble.
lsphillips
published 2.2.0 •

Changelog

Source

2.2.0 - 2019-04-28

Added

  • Introduced a browser entry point that is ES5 compatible and minified.
lsphillips
published 2.1.0 •

Changelog

Source

2.1.0 - 2019-04-27

Added

  • Introduced documentation to the Typescript type definitions.
lsphillips
published 2.0.0 •

Changelog

Source

2.0.0 - 2018-02-13

This version changes the focus of Crumble. It is now a cookie string library rather than an abstraction of document.cookie.

Changed

  • Crumble.setCookie() and Crumble.removeCookie() no longer update document.cookie. They now return a string that you can assign to document.cookie yourself.
  • Crumble.getCookie() and Crumble.hasCookie() no longer read from document.cookie. You must provide that yourself as input.

Removed

  • Crumble.isCookiesEnabled() has been removed; use window.navigator.cookieEnabled instead.
  • Crumble.setCookie() and Crumble.removeCookie() will no longer set the domain to the root domain of the document when the domain crumb is set to ..

Fixed

  • Crumble will now correctly encode cookie names and cookie values in accordance to RFC-6265.
lsphillips
published 1.1.0 •

Changelog

Source

1.1.0 - 2018-01-04

A code quality release; no functionality changes.

lsphillips
published 1.0.0 •

Changelog

Source

1.0.0 - 2017-05-16

The initial public release.

lsphillips
published 0.4.1 •

2
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