Comparing version 0.6.1 to 0.6.2
@@ -0,0 +0,0 @@ # Change Log |
{ | ||
"name": "@dags/dag", | ||
"version": "0.6.1", | ||
"version": "0.6.2", | ||
"description": "Directed Acyclic Graph implementation", | ||
@@ -5,0 +5,0 @@ "main": "dist/cjs/index.js", |
@@ -1,40 +0,1 @@ | ||
# Directed Acyclic Graph with global node identification | ||
This is the core module of the dags monorepo. | ||
<br> | ||
<p align="center"> | ||
<a href="https://www.npmjs.com/package/@dags/core"><img alt="NPM module version" src="https://img.shields.io/npm/v/@dags/core"></a> | ||
<a href="https://github.com/AlexanderLapygin/dags/actions?query=workflow%3Aci"><img alt="CI status" src="https://github.com/alexanderlapygin/dags/workflows/CI/badge.svg"></a> | ||
<a href="https://github.com/AlexanderLapygin/dags/issues"><img alt="GitHub issues" src="https://img.shields.io/github/issues/AlexanderLapygin/dags"></a> | ||
<img alt="NPM Downloads" src="https://img.shields.io/npm/dm/@dags/core.svg?style=flat"/> | ||
<img alt="Bundle Size" src="https://badgen.net/bundlephobia/minzip/@dags/core"/> | ||
<a href="https://github.com/AlexanderLapygin/dags/blob/master/LICENSE"><img alt="MIT License" src="https://img.shields.io/github/license/AlexanderLapygin/dags"></a> | ||
</p> | ||
<br /> | ||
## Install | ||
```sh | ||
$ yarn add @dags/core | ||
# or | ||
$ npm install @dags/core | ||
``` | ||
## Usage | ||
```ts | ||
import { Dag } from '@dags/core' | ||
const dag = new Dag() | ||
const parent = dag.newNode() | ||
const child = dag.newNode() | ||
console.log(parent.equals(parent)) | ||
console.log(parent.equals(child)) | ||
dag.setParenthood(parent, child) | ||
``` | ||
# this package has been deprecated use @dags/dag-global instead |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
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
5568
4
4
2
2