@amaui/cookie
Advanced tools
Comparing version 1.0.1 to 1.0.4
@@ -1,2 +0,2 @@ | ||
/** @license AmauiCookie v1.0.1 | ||
/** @license AmauiCookie v1.0.4 | ||
* | ||
@@ -6,3 +6,2 @@ * This source code is licensed under the MIT license found in the | ||
*/ | ||
import { default as AmauiCookie } from './amaui-cookie'; | ||
export default AmauiCookie; | ||
export { default } from './AmauiCookie'; |
@@ -1,2 +0,1 @@ | ||
import { default as AmauiCookie } from './amaui-cookie'; | ||
export default AmauiCookie; | ||
export { default } from './AmauiCookie'; |
24
index.js
@@ -1,18 +0,8 @@ | ||
/** @license AmauiCookie v1.0.1 | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
"use strict"; | ||
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = void 0; | ||
var _amauiCookie = _interopRequireDefault(require("./amaui-cookie")); | ||
var _default = _amauiCookie.default; | ||
exports.default = _default; | ||
var AmauiCookie_1 = require("./AmauiCookie"); | ||
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(AmauiCookie_1).default; } }); |
{ | ||
"name": "@amaui/cookie", | ||
"version": "1.0.1", | ||
"version": "1.0.4", | ||
"description": "Cookie", | ||
"repository": "https://github.com/amaui-org/amaui-cookie.git", | ||
"author": "Lazar <lazareric.com@gmail.com>", | ||
"author": "Lazar <lazareric2@gmail.com>", | ||
"license": "MIT", | ||
@@ -20,2 +20,4 @@ "private": false, | ||
"javascript", | ||
"js", | ||
"typescript", | ||
"node", | ||
@@ -28,9 +30,9 @@ "nodejs", | ||
"dependencies": { | ||
"@amaui/date": "^1.0.114", | ||
"@amaui/utils": "^1.0.114", | ||
"@babel/runtime": "^7.16.3" | ||
"@amaui/date": "^1.0.11414", | ||
"@amaui/utils": "^1.0.11411", | ||
"@babel/runtime": "^7.18.3" | ||
}, | ||
"publishConfig": { | ||
"access": "public", | ||
"registry": "https://registry.npmjs.org/" | ||
"registry": "https://registry.npmjs.org" | ||
}, | ||
@@ -37,0 +39,0 @@ "sideEffects": false, |
<br /> | ||
</br > | ||
</br > | ||
<h1 align='center'>AMAUI Cookie</h1> | ||
<p align='center'> | ||
<a target='_blank' rel='noopener noreferrer' href='#'> | ||
<img src='utils/images/logo.svg' alt='amaui logo' /> | ||
</a> | ||
</p> | ||
<h1 align='center'>amaui Cookie</h1> | ||
<p align='center'> | ||
@@ -15,3 +22,3 @@ Cookie | ||
<sub>Production ready </sub> | ||
<sub>3.5kb gzipped </sub> | ||
<sub>UMD 4.6kb gzipped </sub> | ||
<sub>100% test cov </sub> | ||
@@ -36,7 +43,3 @@ <sub>Browser</sub> | ||
```sh | ||
// yarn | ||
yarn add @amaui/cookie | ||
// npm | ||
npm install @amaui/cookie | ||
``` | ||
@@ -49,14 +52,21 @@ | ||
// Add a cookie | ||
AmauiCookie.set('a', 4); | ||
const amauiCookie = new AmauiCookie(); | ||
// Get a cookie | ||
AmauiCookie.get('a'); | ||
// Add | ||
amauiCookie.add('a', 4); | ||
// Has | ||
amauiCookie.has('a'); | ||
// true | ||
// Get | ||
amauiCookie.get('a'); | ||
// 4 | ||
// Remove a cookie | ||
AmauiCookie.remove('a'); | ||
// Remove | ||
amauiCookie.remove('a'); | ||
AmauiCookie.get('a'); | ||
amauiCookie.get('a'); | ||
@@ -87,5 +97,1 @@ // undefined | ||
``` | ||
### Docs | ||
Might be soon... |
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
48881
851
94
11
1
Updated@amaui/date@^1.0.11414
Updated@amaui/utils@^1.0.11411
Updated@babel/runtime@^7.18.3