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

create-element-ns

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-element-ns - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

src/create-element.js

9

index.js
var global = require('dom-document'),
create = require('./src/create'),
createElement = require('./src/create-element'),
createTree = require('./src/create-tree'),
factory = require('./src/create-factory'),

@@ -12,4 +13,4 @@ decorators = require('./src/decorators'),

var el = factory(create)
el.svg = factory(create, {xmlns: 'http://www.w3.org/2000/svg'})
var el = factory(createTree)
el.svg = factory(createTree, {xmlns: 'http://www.w3.org/2000/svg'})

@@ -22,2 +23,4 @@ module.exports = {

decorate: decorate,
createElement: createElement,
createTree: createTree,
mergeKeys: mergeKeys,

@@ -24,0 +27,0 @@ parseArgument: parseArgument,

{
"name": "create-element-ns",
"version": "2.0.0",
"version": "2.0.1",
"description": "dom createElement hyperscript with svg, namespace and selector support",

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

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