Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "graph", | ||
"description": "library for manipulating directed and undirected graphs", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"homepage": "http://github.johntantalo.com/graphjs/", | ||
@@ -15,3 +15,6 @@ "repository": { | ||
}, | ||
"test": "./test/all.js", | ||
"devDependencies": { | ||
"steel": "0.0.1" | ||
}, | ||
"scripts": {"test": "test/all.js"}, | ||
"engines": { | ||
@@ -18,0 +21,0 @@ "node": "*", |
# GraphJS | ||
[![Build Status](https://secure.travis-ci.org/tantalor/graphjs.png)](http://travis-ci.org/tantalor/graphjs) | ||
**GraphJS** is a simple Javascript library for manipulating directed and undirected [graphs](http://en.wikipedia.org/wiki/Graph_\(mathematics\)). | ||
@@ -4,0 +6,0 @@ |
#!/usr/bin/env node | ||
var path = require('path'); | ||
var tests = [ | ||
path.resolve('test/core'), | ||
path.resolve('test/extra') | ||
]; | ||
if( typeof(require) !== 'undefined') { | ||
require('../steel') | ||
.add('./test/core') | ||
.add('./test/extra'); | ||
require('steel') | ||
.suite(tests) | ||
} else { | ||
@@ -8,0 +13,0 @@ load('steel.js') |
if (typeof(require) !== 'undefined') { | ||
// commonjs | ||
var QUnit = require('../steel'); | ||
var QUnit = require('steel'); | ||
var Graph = require("../lib/graph").Graph; | ||
@@ -5,0 +5,0 @@ } else if (typeof(load) !== 'undefined') { |
if (typeof(require) !== 'undefined') { | ||
// commonjs | ||
var QUnit = require('../steel'); | ||
var QUnit = require('steel'); | ||
var Graph = require("../lib/extras").Graph; | ||
@@ -5,0 +5,0 @@ } else if (typeof(load) !== 'undefined') { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
175
0
126751
1
20
3463