Socket
Socket
Sign inDemoInstall

@solid-primitives/storage

Package Overview
Dependencies
Maintainers
3
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solid-primitives/storage - npm Package Compare versions

Comparing version 1.3.1 to 1.3.2

dist/chunk-4MXMLCDL.js

7

dist/cookies.js

@@ -5,6 +5,5 @@ import {

createCookieStorageSignal
} from "./chunk-7MNKUSWX.js";
import "./chunk-RZJ5ENWX.js";
import "./chunk-UHHZE4FR.js";
import "./chunk-JUWXSDKJ.js";
} from "./chunk-ISHWE5VL.js";
import "./chunk-4MXMLCDL.js";
import "./chunk-B7XMMGYJ.js";
export {

@@ -11,0 +10,0 @@ cookieStorage,

import {
cookieStorage,
createCookieStorage
} from "./chunk-7MNKUSWX.js";
} from "./chunk-ISHWE5VL.js";
import {

@@ -11,7 +11,6 @@ createAsyncStorage,

createStorageSignal
} from "./chunk-RZJ5ENWX.js";
} from "./chunk-4MXMLCDL.js";
import {
addClearMethod
} from "./chunk-UHHZE4FR.js";
import "./chunk-JUWXSDKJ.js";
} from "./chunk-B7XMMGYJ.js";
export {

@@ -18,0 +17,0 @@ addClearMethod,

@@ -7,4 +7,3 @@ import {

createStorageSignal
} from "./chunk-RZJ5ENWX.js";
import "./chunk-JUWXSDKJ.js";
} from "./chunk-4MXMLCDL.js";
export {

@@ -11,0 +10,0 @@ createAsyncStorage,

import {
addClearMethod
} from "./chunk-UHHZE4FR.js";
import "./chunk-JUWXSDKJ.js";
} from "./chunk-B7XMMGYJ.js";
export {
addClearMethod
};
{
"name": "@solid-primitives/storage",
"version": "1.3.1",
"version": "1.3.2",
"description": "Primitive that provides reactive wrappers for storage access",

@@ -34,6 +34,2 @@ "author": "Alex Lohr <alex.lohr@logmein.com>",

"types": "./dist/index.d.ts",
"scripts": {
"build": "tsup",
"test": "uvu -r solid-register"
},
"keywords": [

@@ -47,8 +43,9 @@ "localStorage",

"devDependencies": {
"jsdom": "^19.0.0",
"prettier": "^2.0.5",
"jsdom": "^20.0.0",
"prettier": "^2.7.1",
"solid-js": "^1.5.1",
"solid-register": "^0.2.5",
"tsup": "^5.10.1",
"typescript": "^4.5.2",
"uvu": "^0.5.2"
"tsup": "^6.2.2",
"typescript": "^4.7.4",
"uvu": "^0.5.6"
},

@@ -58,24 +55,6 @@ "peerDependencies": {

},
"jest": {
"preset": "ts-jest",
"globals": {
"ts-jest": {
"tsconfig": "tsconfig.json",
"babelConfig": {
"presets": [
"babel-preset-solid",
"@babel/preset-env"
]
}
}
},
"setupFiles": [
"./test/setup.ts"
],
"testEnvironment": "jsdom",
"moduleNameMapper": {
"solid-js/web": "<rootDir>/node_modules/solid-js/web/dist/web.cjs",
"solid-js": "<rootDir>/node_modules/solid-js/dist/solid.cjs"
}
"scripts": {
"build": "tsup",
"test": "uvu -r solid-register"
}
}
}

@@ -7,3 +7,3 @@ <p>

[![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg?style=for-the-badge)](https://lerna.js.org/)
[![turborepo](https://img.shields.io/badge/built%20with-turborepo-cc00ff.svg?style=for-the-badge&logo=turborepo)](https://turborepo.org/)
[![size](https://img.shields.io/bundlephobia/minzip/@solid-primitives/storage?style=for-the-badge)](https://bundlephobia.com/package/@solid-primitives/storage)

@@ -153,8 +153,8 @@ [![size](https://img.shields.io/npm/v/@solid-primitives/storage?style=for-the-badge)](https://www.npmjs.com/package/@solid-primitives/storage)

* `api`: the (sync or async) [Storage-like API](https://developer.mozilla.org/de/docs/Web/API/Web_Storage_API), default is localStorage
* `deserializer` (optional): a deserializer or parser for the stored data
* `serializer` (optional): a serializer or string converter for the stored data
* `options` (optional): default options for the set-call of Storage-like API, if supported
* `prefix` (optional): a prefix for the Storage keys
* `sync` (optional): if set to false, [event synchronization](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent) is disabled
- `api`: the (sync or async) [Storage-like API](https://developer.mozilla.org/de/docs/Web/API/Web_Storage_API), default is localStorage
- `deserializer` (optional): a deserializer or parser for the stored data
- `serializer` (optional): a serializer or string converter for the stored data
- `options` (optional): default options for the set-call of Storage-like API, if supported
- `prefix` (optional): a prefix for the Storage keys
- `sync` (optional): if set to false, [event synchronization](https://developer.mozilla.org/en-US/docs/Web/API/StorageEvent) is disabled

@@ -175,32 +175,2 @@ ### Tools

<details>
<summary><b>Expand Changelog</b></summary>
0.0.100
Initial release
1.0.0
First proper release of storage engine with CJS support.
1.0.7
Patch CJS support.
1.0.10
Minor patch fixed missing types.
1.1.0
Updated to Solid 1.3
1.1.1
Patched peerDependency issue
1.1.2
Added sync option to disable event synching
</details>
See [CHANGELOG.md](./CHANGELOG.md)

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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