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

@digdir/ds-core-js

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@digdir/ds-core-js - npm Package Compare versions

Comparing version 0.1.1 to 0.2.0

2

build/index.iife.js

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

!function(){"use strict";var n;n="dds-checkbox",document.querySelectorAll(".".concat(n,"--disabled > input.").concat(n,"__input")).forEach((function(n){return n.addEventListener("click",(function(n){n.preventDefault()}))})),function(){var n="dds-radio";document.querySelectorAll(".".concat(n,"--disabled > input.").concat(n,"__input")).forEach((function(n){return n.addEventListener("click",(function(n){n.preventDefault()}))}))}()}();
!function(){"use strict";var n,t=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";document.querySelectorAll(n).forEach((function(n){var t=n.cloneNode(!0);t.addEventListener("click",(function(n){n.preventDefault()})),n.replaceWith(t)}))};t(".".concat(n="dds-checkbox","--disabled > input.").concat(n,"__input")),function(){var n="dds-radio";t(".".concat(n,"--disabled > input.").concat(n,"__input"))}(),t(".".concat("dds-button","--disabled"))}();

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

document.querySelectorAll(".dds-checkbox--disabled > input.dds-checkbox__input").forEach((e=>e.addEventListener("click",(e=>{e.preventDefault()})))),document.querySelectorAll(".dds-radio--disabled > input.dds-radio__input").forEach((e=>e.addEventListener("click",(e=>{e.preventDefault()}))));
const d=(d="")=>{document.querySelectorAll(d).forEach((d=>{const e=d.cloneNode(!0);e.addEventListener("click",(d=>{d.preventDefault()})),d.replaceWith(e)}))};d(".dds-checkbox--disabled > input.dds-checkbox__input"),d(".dds-radio--disabled > input.dds-radio__input"),d(".dds-button--disabled");
{
"name": "@digdir/ds-core-js",
"version": "0.1.1",
"version": "0.2.0",
"private": false,

@@ -35,3 +35,3 @@ "description": "JavaScript for Digdir core components",

},
"gitHead": "44d508e00b45cc91366dae4c6fa6a033562a3017"
"gitHead": "339ae970d076273869c24a985d1bed703d1fa9a2"
}
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