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

ampersand-dom

Package Overview
Dependencies
Maintainers
3
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ampersand-dom - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

4

ampersand-dom.js

@@ -39,2 +39,5 @@ var dom = module.exports = {

el.setAttribute(attr, '');
// Some browsers won't update UI for checkboxes unless you
// set it like so: https://bugzilla.mozilla.org/show_bug.cgi?id=327020
if (attr === 'checked') el.checked = true;
},

@@ -44,2 +47,3 @@ // completely removes attribute

el.removeAttribute(attr);
if (attr === 'checked') el.checked = false;
},

@@ -46,0 +50,0 @@ // sets attribute to string value given, clearing any current value

2

package.json
{
"name": "ampersand-dom",
"description": "Super light-weight DOM manipulation lib.",
"version": "1.2.2",
"version": "1.2.3",
"author": "'Henrik Joreteg' <henrik@andyet.net>",

@@ -6,0 +6,0 @@ "bugs": {

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