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

@cocreate/element-prototype

Package Overview
Dependencies
Maintainers
1
Versions
146
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cocreate/element-prototype - npm Package Compare versions

Comparing version 1.1.24 to 1.2.0

7

CHANGELOG.md

@@ -0,1 +1,8 @@

# [1.2.0](https://github.com/CoCreate-app/CoCreate-element-prototype/compare/v1.1.24...v1.2.0) (2022-12-12)
### Features
* add @cocreate/utils for getAttributes ([dc888aa](https://github.com/CoCreate-app/CoCreate-element-prototype/commit/dc888aab1317b448add2723515bbf74681c2d547))
## [1.1.24](https://github.com/CoCreate-app/CoCreate-element-prototype/compare/v1.1.23...v1.1.24) (2022-12-11)

@@ -2,0 +9,0 @@

8

package.json
{
"name": "@cocreate/element-prototype",
"version": "1.1.24",
"version": "1.2.0",
"description": "A simple element-prototype component in vanilla javascript. Easily configured using HTML5 data-attributes and/or JavaScript API.",

@@ -64,6 +64,6 @@ "keywords": [

"dependencies": {
"@cocreate/crud-client": "^1.16.7",
"@cocreate/docs": "^1.4.17",
"@cocreate/hosting": "^1.6.16"
"@cocreate/docs": "^1.4.18",
"@cocreate/hosting": "^1.6.17",
"@cocreate/utils": "^1.16.0"
}
}

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

import crud from '@cocreate/crud-client';
import {getAttributes} from '@cocreate/utils';

@@ -23,3 +23,5 @@

if (el.tagName == 'INPUT' || el.tagName == 'TEXTAREA' || el.tagName == 'SELECT') {
const {isCrdt} = crud.getAttributes(el);
let {isCrdt} = getAttributes(el)
if (isCrdt == null || isCrdt == undefined)
isCrdt = el.getAttribute('crdt')
if (isCrdt == "true" || el.type === 'file') return;

@@ -26,0 +28,0 @@

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