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

domv

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

domv - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

17

lib/domv.js

@@ -151,2 +151,3 @@ 'use strict';

var node = node_;
var length;

@@ -193,9 +194,10 @@ if (node && node.isDOMVComponent)

length = node.length;
// Array.isArray does not accept things like NodeList
if (typeof node.length === 'number')
if (typeof length === 'number')
{
ret = [];
ret.length = node.length;
ret = new Array(length);
for (i = 0; i < node.length; ++i)
for (i = 0; i < length; ++i)
{

@@ -363,8 +365,7 @@ switch (arguments.length)

{
var ret = [];
var length = arr.length;
var ret = new Array(length);
var i, val;
ret.length = arr.length;
for (i = 0; i < arr.length; ++i)
for (i = 0; i < length; ++i)
{

@@ -371,0 +372,0 @@ val = arr[i];

{
"name": "domv",
"version": "0.2.0",
"version": "0.2.1",
"author": "Joris van der Wel <joris@jorisvanderwel.com>",

@@ -37,9 +37,9 @@ "description": "Create views as components using DOM. Run the same code on the browser and on the server.",

"inherits": "^2.0.1",
"jsdom": "^1.3.1"
"jsdom": "^1.5.0"
},
"devDependencies": {
"browserify": "^6.2.0",
"istanbul": "^0.3.2",
"jsdoc": "^3.3.0-alpha10",
"jshint": "^2.5.8",
"browserify": "^7.0.1",
"istanbul": "^0.3.5",
"jsdoc": "^3.3.0-alpha11",
"jshint": "^2.5.10",
"nodeunit": "^0.9.0"

@@ -46,0 +46,0 @@ },

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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