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 1.1.0 to 1.1.2

.cache/lasso/default/1753136677/dependencyFingerprints/cache

2

dist/morphdom-umd.js

@@ -5,3 +5,3 @@ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.morphdom = f()}})(function(){var define,module,exports;module={exports:(exports={})};

var testEl = document.body || document.createElement('div');
var testEl = typeof document !== 'undefined' ? document.body || document.createElement('div') : {};

@@ -8,0 +8,0 @@ // Fixes https://github.com/patrick-steele-idem/morphdom/issues/32 (IE7+ support)

// Create a range object for efficently rendering strings to elements.
var range;
var testEl = document.body || document.createElement('div');
var testEl = typeof document !== 'undefined' ? document.body || document.createElement('div') : {};

@@ -6,0 +6,0 @@ // Fixes https://github.com/patrick-steele-idem/morphdom/issues/32 (IE7+ support)

{
"name": "morphdom",
"description": "Morph a DOM tree to another DOM tree (no virtual DOM needed)",
"main": "lib/index.js",
"scripts": {
"test": "npm run test-browser && npm run lint",
"benchmark": "npm run benchmark-browser",
"all": "npm run all-browser && npm run lint",
"lint": "jshint lib/",
"test-browser": "node test/mocha-phantomjs/run.js test",
"benchmark-browser": "node test/mocha-phantomjs/run.js benchmark",
"all-browser": "node test/mocha-phantomjs/run.js test benchmark",
"mocha-phantomjs": "node test/mocha-phantomjs/run.js",
"mocha-phantomjs-run": "mocha-phantomjs ./test/mocha-phantomjs/generated/test-page.html",
"prepublish": "mkdir -p dist && node_modules/umd/bin/cli.js morphdom lib/index.js -c > dist/morphdom-umd.js"
},
"author": "Patrick Steele-Idem <pnidem@gmail.com>",
"license": "ISC",
"repository": {
"type": "git",
"url": "https://github.com/patrick-steele-idem/morphdom.git"
},
"devDependencies": {
"chai": "^2.3.0",
"ignoring-watcher": "^1.0.5",
"jshint": "^2.7.0",
"lasso": "^1.10.0",
"lasso-marko": "^2.0.4",
"marko": "^2.7.2",
"mocha": "^2.2.4",
"mocha-phantomjs": "^3.5.3",
"phantomjs": "1.9.7-15",
"vdom-virtualize": "0.0.12",
"virtual-dom": "^2.1.1",
"umd": "^3.0.1"
},
"dependencies": {},
"version": "1.1.0"
}
"name": "morphdom",
"description": "Morph a DOM tree to another DOM tree (no virtual DOM needed)",
"main": "lib/index.js",
"scripts": {
"test": "npm run test-browser && npm run lint",
"benchmark": "npm run benchmark-browser",
"all": "npm run all-browser && npm run lint",
"lint": "jshint lib/",
"test-browser": "node test/mocha-phantomjs/run.js test",
"benchmark-browser": "node test/mocha-phantomjs/run.js benchmark",
"all-browser": "node test/mocha-phantomjs/run.js test benchmark",
"mocha-phantomjs": "node test/mocha-phantomjs/run.js",
"mocha-phantomjs-run": "mocha-phantomjs ./test/mocha-phantomjs/generated/test-page.html",
"prepublish": "mkdir -p dist && node_modules/umd/bin/cli.js morphdom lib/index.js -c > dist/morphdom-umd.js"
},
"author": "Patrick Steele-Idem <pnidem@gmail.com>",
"license": "ISC",
"repository": {
"type": "git",
"url": "https://github.com/patrick-steele-idem/morphdom.git"
},
"devDependencies": {
"chai": "^2.3.0",
"ignoring-watcher": "^1.0.5",
"jshint": "^2.7.0",
"lasso": "^1.10.0",
"lasso-marko": "^2.0.4",
"marko": "^2.7.2",
"mocha": "^2.2.4",
"mocha-phantomjs": "^3.5.3",
"phantomjs": "1.9.7-15",
"vdom-virtualize": "0.0.12",
"virtual-dom": "^2.1.1",
"umd": "^3.0.1"
},
"dependencies": {},
"version": "1.1.2",
"keywords": [
"dom",
"diff",
"patch",
"virtual",
"browser"
]
}

@@ -196,6 +196,6 @@ morphdom

<td>
0.75ms
0.81ms
</td>
<td>
0.29ms
0.28ms
</td>

@@ -211,3 +211,3 @@ </tr>

<td>
0.01ms
0.20ms
</td>

@@ -231,6 +231,6 @@ </tr>

<td>
0.08ms
0.01ms
</td>
<td>
0.08ms
0.01ms
</td>

@@ -246,3 +246,3 @@ </tr>

<td>
0.11ms
0.02ms
</td>

@@ -274,8 +274,19 @@ </tr>

<td class="test-name">
ids-prepend
ids-nested-7
</td>
<td>
0.02ms
</td>
<td>
0.01ms
</td>
</tr>
<tr>
<td class="test-name">
ids-prepend
</td>
<td>
0.02ms
</td>
<td>
0.01ms

@@ -292,3 +303,3 @@ </td>

<td>
0.06ms
0.01ms
</td>

@@ -301,6 +312,6 @@ </tr>

<td>
0.00ms
0.01ms
</td>
<td>
0.00ms
0.01ms
</td>

@@ -324,6 +335,6 @@ </tr>

<td>
1.01ms
1.27ms
</td>
<td>
1.61ms
1.65ms
</td>

@@ -336,6 +347,6 @@ </tr>

<td>
0.02ms
0.03ms
</td>
<td>
0.02ms
0.15ms
</td>

@@ -359,3 +370,3 @@ </tr>

<td>
0.02ms
0.03ms
</td>

@@ -382,6 +393,6 @@ <td>

<td>
0.03ms
0.04ms
</td>
<td>
0.02ms
0.03ms
</td>

@@ -394,3 +405,3 @@ </tr>

<td>
0.01ms
0.02ms
</td>

@@ -406,6 +417,6 @@ <td>

<td>
0.01ms
0.02ms
</td>
<td>
0.01ms
0.00ms
</td>

@@ -418,3 +429,3 @@ </tr>

<td>
0.03ms
0.04ms
</td>

@@ -449,9 +460,53 @@ <td>

<td class="test-name">
tag-to-text
</td>
<td>
0.00ms
</td>
<td>
0.00ms
</td>
</tr>
<tr>
<td class="test-name">
text-to-tag
</td>
<td>
0.01ms
</td>
<td>
0.00ms
</td>
</tr>
<tr>
<td class="test-name">
text-to-text
</td>
<td>
0.00ms
</td>
<td>
0.00ms
</td>
</tr>
<tr>
<td class="test-name">
textarea
</td>
<td>
0.01ms
</td>
<td>
0.00ms
</td>
</tr>
<tr>
<td class="test-name">
todomvc
</td>
<td>
0.23ms
0.30ms
</td>
<td>
0.31ms
0.37ms
</td>

@@ -473,3 +528,3 @@ </tr>

_NOTE: Safari 8.0.7 (10600.7.12)_
_NOTE: Safari 9.0.2 (11601.3.9)

@@ -476,0 +531,0 @@ # Maintainers

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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