Socket
Socket
Sign inDemoInstall

morphdom

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

morphdom - npm Package Compare versions

Comparing version 0.1.11 to 0.1.12

8

lib/index.js
// Create a range object for efficently rendering strings to elements.
var range = document.createRange();
range.selectNode(document.body);
var range;
function toElement(str) {
if (!range) {
range = document.createRange();
range.selectNode(document.body);
}
var fragment;

@@ -7,0 +11,0 @@ if (range.createContextualFragment) {

@@ -36,3 +36,3 @@ {

"dependencies": {},
"version": "0.1.11"
"version": "0.1.12"
}
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