Socket
Socket
Sign inDemoInstall

topo

Package Overview
Dependencies
1
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.1 to 2.0.2

5

lib/index.js

@@ -96,5 +96,5 @@ 'use strict';

const groups = {};
const graph = {};
const graphAfters = {};
const graphAfters = Object.create(null); // A prototype can bungle lookups w/ false positives
const groups = Object.create(null);

@@ -136,3 +136,2 @@ for (let i = 0; i < this._items.length; ++i) {

for (let k = 0; k < groups[group].length; ++k) {
expandedGroups.push(groups[group][k]);

@@ -139,0 +138,0 @@ }

4

package.json
{
"name": "topo",
"description": "Topological sorting with grouping support",
"version": "2.0.1",
"version": "2.0.2",
"repository": "git://github.com/hapijs/topo",

@@ -20,3 +20,3 @@ "main": "lib/index.js",

"devDependencies": {
"code": "2.x.x",
"code": "3.x.x",
"lab": "10.x.x"

@@ -23,0 +23,0 @@ },

@@ -5,3 +5,3 @@ # topo

[![Build Status](https://secure.travis-ci.org/hapijs/topo.png)](http://travis-ci.org/hapijs/topo)
[![Build Status](https://secure.travis-ci.org/hapijs/topo.svg?branch=master)](http://travis-ci.org/hapijs/topo)

@@ -16,5 +16,5 @@ Lead Maintainer: [Devin Ivy](https://github.com/devinivy)

```node
var Topo = require('topo');
const Topo = require('topo');
var morning = new Topo();
const morning = new Topo();

@@ -21,0 +21,0 @@ morning.add('Nap', { after: ['breakfast', 'prep'] });

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc