Socket
Socket
Sign inDemoInstall

bel

Package Overview
Dependencies
Maintainers
5
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bel - npm Package Compare versions

Comparing version 5.1.1 to 5.1.2

2

package.json
{
"name": "bel",
"version": "5.1.1",
"version": "5.1.2",
"description": "A simple extension to native elements",

@@ -5,0 +5,0 @@ "main": "index.js",

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

var bel = require('.')
function rawCreateElement (tag) {

@@ -11,3 +9,3 @@ if (typeof window !== 'undefined') {

function browser () {
var el = bel`<div></div>`
var el = document.createElement('div')
el.innerHTML = tag

@@ -14,0 +12,0 @@ return toArray(el.childNodes)

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