Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@amaui/cookie

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@amaui/cookie - npm Package Compare versions

Comparing version 1.0.1 to 1.0.4

AmauiCookie.d.ts

5

esm/index.js

@@ -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';

3

index.d.ts

@@ -1,2 +0,1 @@

import { default as AmauiCookie } from './amaui-cookie';
export default AmauiCookie;
export { default } from './AmauiCookie';

@@ -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&nbsp;&nbsp;&nbsp;&nbsp;</sub>
<sub>3.5kb gzipped&nbsp;&nbsp;&nbsp;&nbsp;</sub>
<sub>UMD 4.6kb gzipped&nbsp;&nbsp;&nbsp;&nbsp;</sub>
<sub>100% test cov&nbsp;&nbsp;&nbsp;&nbsp;</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

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