cookie-muncher
Advanced tools
Comparing version 0.4.3 to 0.4.4
@@ -59,14 +59,14 @@ type Cookie = { | ||
Now = -1, | ||
OneHour = 3600, | ||
SixHours = 21600, | ||
TwlveHours = 43200, | ||
OneDay = 86400, | ||
OneWeek = 604800, | ||
TwoWeeks = 1209600, | ||
OneMonth = 2592000, | ||
ThreeMonths = 7776000, | ||
SixMonths = 15552000, | ||
OneHour = 3600,// 1 hour | ||
SixHours = 21600,// 6 hours | ||
TwlveHours = 43200,// 12 hours | ||
OneDay = 86400,// 1 day | ||
OneWeek = 604800,// 1 week | ||
TwoWeeks = 1209600,// 2 weeks | ||
OneMonth = 2592000,// 1 month | ||
ThreeMonths = 7776000,// 3 months | ||
SixMonths = 15552000,// 6 months | ||
OneYear = 31536000 | ||
} | ||
export { Cookie, CookieMaxAge, DomCookieOptions, HttpCookieOptions, RemoveDomCookieOptions, domCookie, httpCookie }; | ||
export { type Cookie, CookieMaxAge, type DomCookieOptions, type HttpCookieOptions, type RemoveDomCookieOptions, domCookie, httpCookie }; |
{ | ||
"name": "cookie-muncher", | ||
"version": "0.4.3", | ||
"version": "0.4.4", | ||
"description": "Effortless cookie management", | ||
@@ -27,9 +27,9 @@ "author": "Bluzzi", | ||
"@bluzzi/eslint-config": "^1.2.1", | ||
"@types/node": "^20.9.0", | ||
"@vitest/ui": "^0.34.6", | ||
"eslint": "^8.53.0", | ||
"jsdom": "^22.1.0", | ||
"tsup": "^7.2.0", | ||
"typescript": "^5.2.2", | ||
"vitest": "^0.34.6" | ||
"@types/node": "^20.11.5", | ||
"@vitest/ui": "^1.2.1", | ||
"eslint": "^8.56.0", | ||
"jsdom": "^24.0.0", | ||
"tsup": "^8.0.1", | ||
"typescript": "^5.3.3", | ||
"vitest": "^1.2.1" | ||
}, | ||
@@ -36,0 +36,0 @@ "eslintConfig": { |
import { defineConfig } from "vitest/config"; | ||
import { resolve } from "path"; | ||
@@ -13,6 +14,6 @@ export default defineConfig({ | ||
resolve: { | ||
alias: { | ||
"#/": "./src/" | ||
} | ||
alias: [ | ||
{ find: "#", replacement: resolve(__dirname, "src") } | ||
] | ||
} | ||
}); |
Sorry, the diff of this file is not supported yet
34676
441