New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@cocreate/local-storage

Package Overview
Dependencies
Maintainers
1
Versions
205
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cocreate/local-storage - npm Package Compare versions

Comparing version 1.6.5 to 1.6.6

11

CHANGELOG.md

@@ -0,1 +1,12 @@

## [1.6.6](https://github.com/CoCreate-app/CoCreate-local-storage/compare/v1.6.5...v1.6.6) (2023-04-30)
### Bug Fixes
* added sessionId rendering ([cedcf58](https://github.com/CoCreate-app/CoCreate-local-storage/commit/cedcf588e2b21f450e2445b15b60676d350e5786))
* fullscreen target updated to fullscreen fullscreen-target ([51d5524](https://github.com/CoCreate-app/CoCreate-local-storage/commit/51d55240188af7cd5b1614d0fe0f7b3fead999c1))
* package-lock.json and pnpm-lock.yaml added to .gitignore ([7c0d2dd](https://github.com/CoCreate-app/CoCreate-local-storage/commit/7c0d2dd5cebf1059cabfc692c20bc78afb6ddb2c))
* removed toogle fullscreen icons. now using css content ([4571be4](https://github.com/CoCreate-app/CoCreate-local-storage/commit/4571be48e6d7034ddaad6101f681dfa4e7df28c1))
* typo this.get ([72676a7](https://github.com/CoCreate-app/CoCreate-local-storage/commit/72676a73389e20f1e563657a1083431ae01da570))
## [1.6.5](https://github.com/CoCreate-app/CoCreate-local-storage/compare/v1.6.4...v1.6.5) (2023-04-24)

@@ -2,0 +13,0 @@

5

package.json
{
"name": "@cocreate/local-storage",
"version": "1.6.5",
"version": "1.6.6",
"description": "A Simple component similar to CoCreate-input & CoCreate-fetch which Save and fetch data for inputs, textarea, selects from localstorage. Easily configured using HTML5 attributes and/or JavaScript API",

@@ -63,4 +63,5 @@ "keywords": [

"@cocreate/actions": "^1.8.2",
"@cocreate/docs": "^1.7.1"
"@cocreate/docs": "^1.7.1",
"@cocreate/observer": "^1.7.1"
}
}

15

src/index.js

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

import observer from '@cocreate/observer';
import action from '@cocreate/actions'

@@ -27,3 +28,3 @@

initElement: function(element) {
this.get(element)
this.getItem(element)
element.addEventListener('input', (e) => {

@@ -117,2 +118,5 @@ let isRealtime = element.getAttribute('realtime')

this.support = false;
} finally {
if (this.support)
this.init()
}

@@ -123,2 +127,11 @@ }

// observer.init({
// name: 'CoCreateLocalstorage',
// observe: ['addedNodes'],
// target: '[localstorage-key]',
// callback: function(mutation) {
// CoCreateLocalStorage._initSessionIds(mutation.target);
// }
// });
action.init({

@@ -125,0 +138,0 @@ name: "localStorage",

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