es-cookies
Advanced tools
Comparing version 2.1.16 to 2.1.18
@@ -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); |
{ | ||
"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
32252
229
+ Addedes-hasown@0.1.1(transitive)
+ Addedes-is@3.3.10(transitive)
- Removedes-hasown@0.1.0(transitive)
- Removedes-is@3.3.7(transitive)
Updatedes-is@3.3.10