New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

es-cookies

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

es-cookies - npm Package Compare versions

Comparing version 2.1.16 to 2.1.18

16

lib/cookies.js

@@ -5,5 +5,17 @@ 'use strict';

var isNumber = _interopDefault(require('es-is/number'));
var objectAssign = _interopDefault(require('es-object-assign'));
// node_modules/es-tostring/index.mjs
var toString = function(obj) {
return Object.prototype.toString.call(obj)
};
// node_modules/es-is/number.js
// Generated by CoffeeScript 1.12.5
var isNumber;
var isNumber$1 = isNumber = function(value) {
return toString(value) === '[object Number]';
};
// src/cookies.coffee

@@ -80,3 +92,3 @@ var Cookies;

}, this.defaults, attrs);
if (isNumber(attrs.expires)) {
if (isNumber$1(attrs.expires)) {
expires = new Date;

@@ -83,0 +95,0 @@ expires.setMilliseconds(expires.getMilliseconds() + attrs.expires * 864e+5);

15

package.json
{
"name": "es-cookies",
"version": "2.1.16",
"version": "2.1.18",
"description": "Module-friendly fork of js-cookie. A simple, lightweight JavaScript API for handling cookies",
"main": "lib/cookies.js",
"module": "lib/cookies.mjs",
"js:next": "lib/cookies.mjs",
"files": [

@@ -34,3 +33,3 @@ "src/",

"dependencies": {
"es-is": "3.3.7",
"es-is": "3.3.10",
"es-object-assign": "4.1.4"

@@ -40,10 +39,10 @@ },

"coffee-script": "1.12.5",
"qunitjs": "2.3.0",
"sake-bundle": "0.4.2",
"qunitjs": "2.3.1",
"sake-bundle": "0.4.12",
"sake-cli": "0.3.2",
"sake-core": "1.3.7",
"sake-outdated": "0.1.18",
"sake-publish": "0.1.10",
"sake-version": "0.1.16"
"sake-outdated": "0.1.20",
"sake-publish": "0.1.12",
"sake-version": "0.1.18"
}
}

Sorry, the diff of this file is not supported yet

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