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

cruftless

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cruftless - npm Package Compare versions

Comparing version 1.1.3 to 1.1.4

4

lib/model/attr.js

@@ -65,3 +65,5 @@ // Generated by CoffeeScript 2.5.1

if (meta.bind != null) {
value = meta.ns != null ? elem.getAttributeNS(meta.ns, meta.name) : elem.getAttribute(meta.name);
// We're working around a bug in the version of xmldom we're relying upon
// Fixed in later versions of xmldom
value = meta.ns != null ? elem.hasAttributeNS(meta.ns, meta.name) ? elem.getAttributeNS(meta.ns, meta.name) : null : elem.hasAttribute(meta.name) ? elem.getAttribute(meta.name) : null;
decoded = raw ? value : meta.valueType.from(value);

@@ -68,0 +70,0 @@ if (value != null) {

{
"name": "cruftless",
"version": "1.1.3",
"version": "1.1.4",
"description": "Yet another simple way to parse and generate XML",

@@ -5,0 +5,0 @@ "main": "lib/cruftless.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