@alicloud/cookie
Advanced tools
Comparing version 1.0.31 to 1.0.37
/** | ||
* 获取单个 cookie | ||
*/ | ||
export default function getCookie(name: string): string | undefined; | ||
export default function getCookie<T extends string = string>(name: string): T | undefined; |
@@ -5,2 +5,2 @@ import { ICookieSetOptions } from '../types'; | ||
*/ | ||
export default function setCookie(name: string, value: string, { domain, path, days }?: ICookieSetOptions): void; | ||
export default function setCookie(name: string, value: string | number | boolean, { domain, path, days }?: ICookieSetOptions): void; |
{ | ||
"name": "@alicloud/cookie", | ||
"version": "1.0.31", | ||
"version": "1.0.37", | ||
"description": "ConsoleBase Cookie", | ||
@@ -28,3 +28,3 @@ "license": "MIT", | ||
"@alicloud/console-toolkit-preset-component": "^1.2.9", | ||
"@alicloud/demo-rc-elements": "^1.1.11", | ||
"@alicloud/demo-rc-elements": "^1.1.17", | ||
"@types/jest": "^26.0.20", | ||
@@ -48,3 +48,3 @@ "@types/react": "^16.14.4", | ||
}, | ||
"gitHead": "0b2251c4343cd55bd02290de717ab39b2cdd9bd8" | ||
"gitHead": "b0e49bd75d7f6de568238195bbad2a5d72e1371a" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13451