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

min-document

Package Overview
Dependencies
Maintainers
2
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

min-document - npm Package Compare versions

Comparing version 2.8.0 to 2.8.1

4

dom-element.js

@@ -25,2 +25,6 @@ var dispatchEvent = require("./event/dispatch-event.js")

this.namespaceURI = ns
if (this.tagName === 'INPUT') {
this.type = 'text'
}
}

@@ -27,0 +31,0 @@

2

package.json
{
"name": "min-document",
"version": "2.8.0",
"version": "2.8.1",
"description": "A minimal DOM implementation",

@@ -5,0 +5,0 @@ "keywords": [],

@@ -258,2 +258,7 @@ var test = require("tape")

test("input has type=text by default", function (assert) {
assert.equal(document.createElement("input").type, "text");
assert.end()
})
function elemString(element) {

@@ -260,0 +265,0 @@ var html = String(element) || "[]"

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