Skip to content

Commit 2e26d97

Browse files
😒 chore: Rename package.
1 parent f263a72 commit 2e26d97

File tree

10 files changed

+74
-77
lines changed

10 files changed

+74
-77
lines changed

.esdoc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"autoPrivate": true
1818
},
1919
"brand": {
20-
"title": "@aureooms/js-poset"
20+
"title": "@partial-order/poset"
2121
},
2222
"test": {
2323
"type": "ava",

README.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
:spider_web: [@aureooms/js-poset](https://make-github-pseudonymous-again.github.io/js-poset)
1+
:spider_web: [@partial-order/poset](https://partial-order.github.io/poset)
22
==
33

44
<p align="center">
@@ -13,12 +13,12 @@ User:David_Eppstein
1313
</p>
1414

1515
Partially ordered sets algorithms for JavaScript.
16-
See [docs](https://make-github-pseudonymous-again.github.io/js-poset).
17-
Parent is [@aureooms/js-algorithms](https://github.com/make-github-pseudonymous-again/js-algorithms).
16+
See [docs](https://partial-order.github.io/poset).
17+
Parent is [js-algorithms](https://github.com/make-github-pseudonymous-again/js-algorithms).
1818

1919
```js
20-
import {minima} from '@aureooms/js-poset';
21-
import {increasing} from '@aureooms/js-compare';
20+
import {minima} from '@partial-order/poset';
21+
import {increasing} from '@total-order/primitive';
2222

2323
const a = [4, 12, 2, 6, 3];
2424

@@ -30,17 +30,17 @@ const norel = (_a, _b) => false;
3030
minima(norel, a, 0, a.length); // a.length
3131
```
3232

33-
[![License](https://img.shields.io/github/license/make-github-pseudonymous-again/js-poset.svg)](https://raw.githubusercontent.com/make-github-pseudonymous-again/js-poset/main/LICENSE)
34-
[![Version](https://img.shields.io/npm/v/@aureooms/js-poset.svg)](https://www.npmjs.org/package/@aureooms/js-poset)
35-
[![Tests](https://img.shields.io/github/workflow/status/make-github-pseudonymous-again/js-poset/ci:test?event=push&label=tests)](https://github.com/make-github-pseudonymous-again/js-poset/actions/workflows/ci:test.yml?query=branch:main)
36-
[![Dependencies](https://img.shields.io/david/make-github-pseudonymous-again/js-poset.svg)](https://david-dm.org/make-github-pseudonymous-again/js-poset)
37-
[![Dev dependencies](https://img.shields.io/david/dev/make-github-pseudonymous-again/js-poset.svg)](https://david-dm.org/make-github-pseudonymous-again/js-poset?type=dev)
38-
[![GitHub issues](https://img.shields.io/github/issues/make-github-pseudonymous-again/js-poset.svg)](https://github.com/make-github-pseudonymous-again/js-poset/issues)
39-
[![Downloads](https://img.shields.io/npm/dm/@aureooms/js-poset.svg)](https://www.npmjs.org/package/@aureooms/js-poset)
40-
41-
[![Code issues](https://img.shields.io/codeclimate/issues/make-github-pseudonymous-again/js-poset.svg)](https://codeclimate.com/github/make-github-pseudonymous-again/js-poset/issues)
42-
[![Code maintainability](https://img.shields.io/codeclimate/maintainability/make-github-pseudonymous-again/js-poset.svg)](https://codeclimate.com/github/make-github-pseudonymous-again/js-poset/trends/churn)
43-
[![Code coverage (cov)](https://img.shields.io/codecov/c/gh/make-github-pseudonymous-again/js-poset/main.svg)](https://codecov.io/gh/make-github-pseudonymous-again/js-poset)
44-
[![Code technical debt](https://img.shields.io/codeclimate/tech-debt/make-github-pseudonymous-again/js-poset.svg)](https://codeclimate.com/github/make-github-pseudonymous-again/js-poset/trends/technical_debt)
45-
[![Documentation](https://make-github-pseudonymous-again.github.io/js-poset/badge.svg)](https://make-github-pseudonymous-again.github.io/js-poset/source.html)
46-
[![Package size](https://img.shields.io/bundlephobia/minzip/@aureooms/js-poset)](https://bundlephobia.com/result?p=@aureooms/js-poset)
33+
[![License](https://img.shields.io/github/license/partial-order/poset.svg)](https://raw.githubusercontent.com/partial-order/poset/main/LICENSE)
34+
[![Version](https://img.shields.io/npm/v/@partial-order/poset.svg)](https://www.npmjs.org/package/@partial-order/poset)
35+
[![Tests](https://img.shields.io/github/workflow/status/partial-order/poset/ci:test?event=push&label=tests)](https://github.com/partial-order/poset/actions/workflows/ci:test.yml?query=branch:main)
36+
[![Dependencies](https://img.shields.io/david/partial-order/poset.svg)](https://david-dm.org/partial-order/poset)
37+
[![Dev dependencies](https://img.shields.io/david/dev/partial-order/poset.svg)](https://david-dm.org/partial-order/poset?type=dev)
38+
[![GitHub issues](https://img.shields.io/github/issues/partial-order/poset.svg)](https://github.com/partial-order/poset/issues)
39+
[![Downloads](https://img.shields.io/npm/dm/@partial-order/poset.svg)](https://www.npmjs.org/package/@partial-order/poset)
40+
41+
[![Code issues](https://img.shields.io/codeclimate/issues/partial-order/poset.svg)](https://codeclimate.com/github/partial-order/poset/issues)
42+
[![Code maintainability](https://img.shields.io/codeclimate/maintainability/partial-order/poset.svg)](https://codeclimate.com/github/partial-order/poset/trends/churn)
43+
[![Code coverage (cov)](https://img.shields.io/codecov/c/gh/partial-order/poset/main.svg)](https://codecov.io/gh/partial-order/poset)
44+
[![Code technical debt](https://img.shields.io/codeclimate/tech-debt/partial-order/poset.svg)](https://codeclimate.com/github/partial-order/poset/trends/technical_debt)
45+
[![Documentation](https://partial-order.github.io/poset/badge.svg)](https://partial-order.github.io/poset/source.html)
46+
[![Package size](https://img.shields.io/bundlephobia/minzip/@partial-order/poset)](https://bundlephobia.com/result?p=@partial-order/poset)

doc/manual/example.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Examples
22

3-
> More examples in [the test files](https://github.com/make-github-pseudonymous-again/js-poset/tree/main/test/src).
3+
> More examples in [the test files](https://github.com/partial-order/poset/tree/main/test/src).

doc/manual/installation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ or [jspm](https://jspm.org/docs).
88

99
### yarn
1010
```terminal
11-
yarn add @aureooms/js-poset
11+
yarn add @partial-order/poset
1212
```
1313

1414
### npm
1515
```terminal
16-
npm install @aureooms/js-poset --save
16+
npm install @partial-order/poset --save
1717
```
1818

1919
### jspm
2020
```terminal
21-
jspm install npm:@aureooms/js-poset
21+
jspm install npm:@partial-order/poset
2222
```

doc/manual/usage.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import 'regenerator-runtime/runtime.js' ;
1212

1313
Then, import the library where needed
1414
```js
15-
const poset = require( '@aureooms/js-poset' ) ;
15+
const poset = require( '@partial-order/poset' ) ;
1616
// or
17-
import * as poset from '@aureooms/js-poset' ;
17+
import * as poset from '@partial-order/poset' ;
1818
```

doc/scripts/header.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,14 @@ const domReady = function (callback) {
1010
domReady(() => {
1111
const projectname = document.createElement('a');
1212
projectname.classList.add('project-name');
13-
projectname.text = 'aureooms/js-poset';
13+
projectname.text = 'partial-order/poset';
1414
projectname.href = './index.html';
1515

1616
const header = document.querySelector('header');
1717
header.insertBefore(projectname, header.firstChild);
1818

1919
const testlink = document.querySelector('header > a[data-ice="testLink"]');
20-
testlink.href =
21-
'https://coveralls.io/github/make-github-pseudonymous-again/js-poset';
20+
testlink.href = 'https://coveralls.io/github/partial-order/poset';
2221
testlink.target = '_BLANK';
2322

2423
const searchBox = document.querySelector('.search-box');

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
2-
"name": "@aureooms/js-poset",
2+
"name": "@partial-order/poset",
33
"description": "Partially ordered sets algorithms for JavaScript.",
44
"version": "5.0.0",
55
"license": "AGPL-3.0",
6-
"author": "aureooms",
7-
"homepage": "https://make-github-pseudonymous-again.github.io/js-poset",
6+
"author": "make-github-pseudonymous-again",
7+
"homepage": "https://partial-order.github.io/poset",
88
"repository": {
9-
"url": "https://github.com/make-github-pseudonymous-again/js-poset",
9+
"url": "https://github.com/partial-order/poset",
1010
"type": "git"
1111
},
1212
"bugs": {
13-
"url": "https://github.com/make-github-pseudonymous-again/js-poset/issues"
13+
"url": "https://github.com/partial-order/poset/issues"
1414
},
1515
"keywords": [
1616
"adt",
@@ -63,16 +63,16 @@
6363
},
6464
"dependencies": {},
6565
"devDependencies": {
66-
"@aureooms/js-array": "4.0.0",
67-
"@aureooms/js-compare": "2.0.1",
68-
"@aureooms/js-insertion-sort": "0.0.1",
69-
"@aureooms/js-pseudo-random": "2.0.0",
70-
"@aureooms/js-random": "3.4.0",
7166
"@babel/core": "7.14.8",
7267
"@babel/preset-env": "7.14.8",
7368
"@babel/register": "7.14.5",
7469
"@commitlint/cli": "13.1.0",
70+
"@comparison-sorting/insertion-sort": "^2.0.0",
71+
"@entropy-source/pseudo-random": "^4.0.0",
72+
"@iterable-iterator/range": "^2.0.1",
7573
"@js-library/commitlint-config": "0.0.4",
74+
"@randomized/random": "^4.0.0",
75+
"@total-order/primitive": "^1.0.1",
7676
"ava": "3.15.0",
7777
"babel-plugin-transform-remove-console": "6.9.4",
7878
"babel-plugin-unassert": "3.1.0",

test/fixtures.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import {_fisheryates, _shuffle, _randint} from '@aureooms/js-random';
2-
import {splitmix64, nextFloat64} from '@aureooms/js-pseudo-random';
1+
import {_fisheryates, _shuffle, _randint} from '@randomized/random';
2+
import {splitmix64, nextFloat64} from '@entropy-source/pseudo-random';
33

44
export const entropy = (seed) => {
55
const prng = splitmix64(seed);

test/src/minima.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ import test from 'ava';
22

33
import {minima} from '../../src/index.js';
44

5-
import {sort} from '@aureooms/js-insertion-sort';
6-
import {alloc, iota} from '@aureooms/js-array';
7-
import {increasing} from '@aureooms/js-compare';
5+
import {sort} from '@comparison-sorting/insertion-sort';
6+
import {range} from '@iterable-iterator/range';
7+
import {increasing} from '@total-order/primitive';
88

99
import {entropy} from '../fixtures.js';
1010

@@ -49,9 +49,7 @@ test('minima 2,3', (t) => {
4949
test('minima totally unordered set', (t) => {
5050
const n = 1000;
5151

52-
const a = alloc(n);
53-
54-
iota(a, 0, n, 0);
52+
const a = Array.from(range(n));
5553

5654
const seed = [0, 17];
5755
const {shuffle} = entropy(seed);

yarn.lock

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -2,37 +2,10 @@
22
# yarn lockfile v1
33

44

5-
"@aureooms/js-array@4.0.0":
5+
"@arithmetic-type/uint64@^4.0.0":
66
version "4.0.0"
7-
resolved "https://registry.yarnpkg.com/@aureooms/js-array/-/js-array-4.0.0.tgz#ea64b7c788644f40bbb92259a6098ac14a4eca6c"
8-
integrity sha1-6mS3x4hkT0C7uSJZpgmKwUpOymw=
9-
10-
"@aureooms/[email protected]":
11-
version "2.0.1"
12-
resolved "https://registry.yarnpkg.com/@aureooms/js-compare/-/js-compare-2.0.1.tgz#4636ea0736945abbcca38d5bd56a1f405034b2f9"
13-
integrity sha512-J+gG1wlwF401ySv0mOYhIIVUuoukvZaRkIwYNH9xZTLhRyI4VxoaFi3k8GA0ebjHqndLGYJS9uEeG3cuQcg+7w==
14-
15-
"@aureooms/[email protected]":
16-
version "0.0.1"
17-
resolved "https://registry.yarnpkg.com/@aureooms/js-insertion-sort/-/js-insertion-sort-0.0.1.tgz#136b7bec0e21d3e56315abf2fa3c368b8af5e787"
18-
integrity sha512-qcmT2wIIXGlUpHS2UF7xuccFI7gngUDsQnO5+Y0nIehjD92JKw+QpPqbAUdTZCPOUmvhAYMEu5jh6oqvs2miIQ==
19-
20-
"@aureooms/[email protected]":
21-
version "2.0.0"
22-
resolved "https://registry.yarnpkg.com/@aureooms/js-pseudo-random/-/js-pseudo-random-2.0.0.tgz#84e396cdf7d2c5d05c54c2e05f0aa4f69e107d4c"
23-
integrity sha512-PdTQCoeo9npuLONdZme469xEbLyjWU5YjCl6DVa0NkiFDglx5Jka+Ojv6oNXkfdgjo/P/soqTDDK7ZKJDuo7dA==
24-
dependencies:
25-
"@aureooms/js-uint64" "^3.0.1"
26-
27-
"@aureooms/[email protected]":
28-
version "3.4.0"
29-
resolved "https://registry.yarnpkg.com/@aureooms/js-random/-/js-random-3.4.0.tgz#4d32ab8b0bd30ada20bd84fa65da861c22dfc214"
30-
integrity sha512-beThd4HqYLjYOakD/+6nB1ZFaAiGrfzZIT0eOiHUfQe0omiLfRdfcsInZ8vYFgEKM/mN+5WkFPNyldOhRJ1ygA==
31-
32-
"@aureooms/js-uint64@^3.0.1":
33-
version "3.1.0"
34-
resolved "https://registry.yarnpkg.com/@aureooms/js-uint64/-/js-uint64-3.1.0.tgz#abd5eba5392dc0503415c383b1deb3d09b5711b6"
35-
integrity sha512-q38EIajp2Iiv+lLJjgFH9LVe5GnWnmhQPUOScPN4fmWywRJJ11qb5i5j1NbtmgRcs6EpymOk6bSRc3Jbh0OENw==
7+
resolved "https://registry.yarnpkg.com/@arithmetic-type/uint64/-/uint64-4.0.0.tgz#c76b82919f9d309eaff38d5cf875ac1a7ca497b6"
8+
integrity sha512-oMpwI5Ka8dsmRqG9EMdKct1737DeMzd7B8F9d5cuE/PrMXy10y1hvls/JmogN/1H+S0ZTJ+2ObU2EqjCvw7FeA==
369

3710
3811
version "7.12.11"
@@ -1961,13 +1934,25 @@
19611934
dependencies:
19621935
chalk "^4.0.0"
19631936

1937+
"@comparison-sorting/insertion-sort@^2.0.0":
1938+
version "2.0.0"
1939+
resolved "https://registry.yarnpkg.com/@comparison-sorting/insertion-sort/-/insertion-sort-2.0.0.tgz#594510a9f6860194186c779b008b27ed6211c4df"
1940+
integrity sha512-BKdAJq5U+mRIy/GJc4rE9jvZhE7z8GUBrvwkTFHzkYunnW5SOlAIuuGTT1Rc+Iuje/OkIj4A53rLvCYbzEuuLg==
1941+
19641942
"@concordance/react@^2.0.0":
19651943
version "2.0.0"
19661944
resolved "https://registry.yarnpkg.com/@concordance/react/-/react-2.0.0.tgz#aef913f27474c53731f4fd79cc2f54897de90fde"
19671945
integrity sha512-huLSkUuM2/P+U0uy2WwlKuixMsTODD8p4JVQBI4VKeopkiN0C7M3N9XYVawb4M+4spN5RrO/eLhk7KoQX6nsfA==
19681946
dependencies:
19691947
arrify "^1.0.1"
19701948

1949+
"@entropy-source/pseudo-random@^4.0.0":
1950+
version "4.0.0"
1951+
resolved "https://registry.yarnpkg.com/@entropy-source/pseudo-random/-/pseudo-random-4.0.0.tgz#a91d57e356e0c11ead53abaf4a9e91246ef5f109"
1952+
integrity sha512-1tvVXXYVMMSUGPo/qp9UGsw0Fqo5JqxZ2PnVwoDSwfqUS0zPWt1KLO3zReL+9W4P/XTLtGMDyDSXSLZ13LU1wA==
1953+
dependencies:
1954+
"@arithmetic-type/uint64" "^4.0.0"
1955+
19711956
"@eslint/eslintrc@^0.4.0":
19721957
version "0.4.0"
19731958
resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-0.4.0.tgz#99cc0a0584d72f1df38b900fb062ba995f395547"
@@ -1988,6 +1973,11 @@
19881973
resolved "https://registry.yarnpkg.com/@istanbuljs/schema/-/schema-0.1.3.tgz#e45e384e4b8ec16bce2fd903af78450f6bf7ec98"
19891974
integrity sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==
19901975

1976+
"@iterable-iterator/range@^2.0.1":
1977+
version "2.0.1"
1978+
resolved "https://registry.yarnpkg.com/@iterable-iterator/range/-/range-2.0.1.tgz#3d566aa26e3df496f2ba18a2f67de4c65518e81c"
1979+
integrity sha512-JPkPH/u4AQxWyqXDOqHk4DZeQJANv67cXuiE0DLC0FTaRgExQASlbhPZJo+JVxZRXW2EOBXSzdKdJQe5w9XghA==
1980+
19911981
"@js-library/[email protected]":
19921982
version "0.0.4"
19931983
resolved "https://registry.yarnpkg.com/@js-library/commitlint-config/-/commitlint-config-0.0.4.tgz#5243a58b0d4ad36999d4b944c7770c50658c68f5"
@@ -2027,6 +2017,11 @@
20272017
"@nodelib/fs.scandir" "2.1.4"
20282018
fastq "^1.6.0"
20292019

2020+
"@randomized/random@^4.0.0":
2021+
version "4.0.0"
2022+
resolved "https://registry.yarnpkg.com/@randomized/random/-/random-4.0.0.tgz#3664429ea3fd97a1bf321897d03e4681fd7b00c7"
2023+
integrity sha512-4dG15onq/4tXLMTrG12hRrlL3/hJ8yJbWc4YD3db45z5P5UtRqSQRqaW518YkXhXaIsLX1pA78FJBDl8jg85sw==
2024+
20302025
"@rollup/plugin-alias@^3.1.1":
20312026
version "3.1.2"
20322027
resolved "https://registry.yarnpkg.com/@rollup/plugin-alias/-/plugin-alias-3.1.2.tgz#c585b05be4a7782d269c69d13def56f44e417772"
@@ -2119,6 +2114,11 @@
21192114
dependencies:
21202115
defer-to-connect "^2.0.0"
21212116

2117+
"@total-order/primitive@^1.0.1":
2118+
version "1.0.1"
2119+
resolved "https://registry.yarnpkg.com/@total-order/primitive/-/primitive-1.0.1.tgz#7e409d303a2a3b24ed2af30bd9068027d6a4a326"
2120+
integrity sha512-BXCXyXoQIpdwFkplPRTuxFB0I1GHHia4t22bLAEqjdk48DFwQMwSbHq1EdLA81X/eFC/b6RdVxG4Q+WEcfs0aA==
2121+
21222122
"@types/cacheable-request@^6.0.1":
21232123
version "6.0.1"
21242124
resolved "https://registry.yarnpkg.com/@types/cacheable-request/-/cacheable-request-6.0.1.tgz#5d22f3dded1fd3a84c0bbeb5039a7419c2c91976"

0 commit comments

Comments
 (0)