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

@dreamworld/dw-form

Package Overview
Dependencies
Maintainers
4
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dreamworld/dw-form - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2-remove-element-at-specific-index.1

10

dw-composite-form-element.js

@@ -130,8 +130,10 @@ /**

_onUnregisterDwFormElement(e) {
let element = e.target;
if (this._elements.indexOf(element) != -1) {
this._elements.splice(element.index, 1);
let removeEl = e.composedPath()[0];
let elIndex = this._elements.indexOf(removeEl);
if (elIndex != -1) {
this._elements.splice(elIndex, 1);
}
this._unbindValueChangedEvents(element);
this._unbindValueChangedEvents(removeEl);
}

@@ -138,0 +140,0 @@

2

package.json
{
"name": "@dreamworld/dw-form",
"version": "2.1.1",
"version": "2.1.2-remove-element-at-specific-index.1",
"description": "",

@@ -5,0 +5,0 @@ "main": "dw-form.js",

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