Skip to content

Commit c1372c8

Browse files
😒 chore: Rename package.
1 parent d215451 commit c1372c8

File tree

14 files changed

+1162
-1523
lines changed

14 files changed

+1162
-1523
lines changed

.esdoc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"autoPrivate": true
1414
},
1515
"brand": {
16-
"title": "@aureooms/js-heapq"
16+
"title": "@data-structure/heapq"
1717
},
1818
"test": {
1919
"type": "ava",

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
[js-heapq](http://make-github-pseudonymous-again.github.io/js-heapq)
1+
[js-heapq](http://data-structures-and-algorithms.github.io/heapq)
22
==
33

44
Python's heap and priority queue library for JavaScript. Parents are
55
[js-data-structures](https://github.com/make-github-pseudonymous-again/js-data-structures)
66
and
7-
[aureooms/js-heap](https://github.com/make-github-pseudonymous-again/js-heap).
7+
[js-heap](https://github.com/make-github-pseudonymous-again/js-heap).
88

99

1010
```js
@@ -20,20 +20,20 @@ let {
2020
} = heapq ;
2121
```
2222

23-
[![License](https://img.shields.io/github/license/make-github-pseudonymous-again/js-heapq.svg)](https://raw.githubusercontent.com/make-github-pseudonymous-again/js-heapq/main/LICENSE)
24-
[![Version](https://img.shields.io/npm/v/@aureooms/js-heapq.svg)](https://www.npmjs.org/package/@aureooms/js-heapq)
25-
[![Build](https://img.shields.io/travis/make-github-pseudonymous-again/js-heapq/main.svg)](https://travis-ci.org/make-github-pseudonymous-again/js-heapq/branches)
26-
[![Dependencies](https://img.shields.io/david/make-github-pseudonymous-again/js-heapq.svg)](https://david-dm.org/make-github-pseudonymous-again/js-heapq)
27-
[![Dev dependencies](https://img.shields.io/david/dev/make-github-pseudonymous-again/js-heapq.svg)](https://david-dm.org/make-github-pseudonymous-again/js-heapq?type=dev)
28-
[![GitHub issues](https://img.shields.io/github/issues/make-github-pseudonymous-again/js-heapq.svg)](https://github.com/make-github-pseudonymous-again/js-heapq/issues)
29-
[![Downloads](https://img.shields.io/npm/dm/@aureooms/js-heapq.svg)](https://www.npmjs.org/package/@aureooms/js-heapq)
23+
[![License](https://img.shields.io/github/license/data-structures-and-algorithms/heapq.svg)](https://raw.githubusercontent.com/data-structures-and-algorithms/heapq/main/LICENSE)
24+
[![Version](https://img.shields.io/npm/v/@data-structures-and-algorithms/heapq.svg)](https://www.npmjs.org/package/@data-structures-and-algorithms/heapq)
25+
[![Build](https://img.shields.io/travis/data-structures-and-algorithms/heapq/main.svg)](https://travis-ci.org/data-structures-and-algorithms/heapq/branches)
26+
[![Dependencies](https://img.shields.io/david/data-structures-and-algorithms/heapq.svg)](https://david-dm.org/data-structures-and-algorithms/heapq)
27+
[![Dev dependencies](https://img.shields.io/david/dev/data-structures-and-algorithms/heapq.svg)](https://david-dm.org/data-structures-and-algorithms/heapq?type=dev)
28+
[![GitHub issues](https://img.shields.io/github/issues/data-structures-and-algorithms/heapq.svg)](https://github.com/data-structures-and-algorithms/heapq/issues)
29+
[![Downloads](https://img.shields.io/npm/dm/@data-structures-and-algorithms/heapq.svg)](https://www.npmjs.org/package/@data-structures-and-algorithms/heapq)
3030

31-
[![Code issues](https://img.shields.io/codeclimate/issues/make-github-pseudonymous-again/js-heapq.svg)](https://codeclimate.com/github/make-github-pseudonymous-again/js-heapq/issues)
32-
[![Code maintainability](https://img.shields.io/codeclimate/maintainability/make-github-pseudonymous-again/js-heapq.svg)](https://codeclimate.com/github/make-github-pseudonymous-again/js-heapq/trends/churn)
33-
[![Code coverage (cov)](https://img.shields.io/codecov/c/gh/make-github-pseudonymous-again/js-heapq/main.svg)](https://codecov.io/gh/make-github-pseudonymous-again/js-heapq)
34-
[![Code technical debt](https://img.shields.io/codeclimate/tech-debt/make-github-pseudonymous-again/js-heapq.svg)](https://codeclimate.com/github/make-github-pseudonymous-again/js-heapq/trends/technical_debt)
35-
[![Documentation](https://make-github-pseudonymous-again.github.io/js-heapq/badge.svg)](https://make-github-pseudonymous-again.github.io/js-heapq/source.html)
36-
[![Package size](https://img.shields.io/bundlephobia/minzip/@aureooms/js-heapq)](https://bundlephobia.com/result?p=@aureooms/js-heapq)
31+
[![Code issues](https://img.shields.io/codeclimate/issues/data-structures-and-algorithms/heapq.svg)](https://codeclimate.com/github/data-structures-and-algorithms/heapq/issues)
32+
[![Code maintainability](https://img.shields.io/codeclimate/maintainability/data-structures-and-algorithms/heapq.svg)](https://codeclimate.com/github/data-structures-and-algorithms/heapq/trends/churn)
33+
[![Code coverage (cov)](https://img.shields.io/codecov/c/gh/data-structures-and-algorithms/heapq/main.svg)](https://codecov.io/gh/data-structures-and-algorithms/heapq)
34+
[![Code technical debt](https://img.shields.io/codeclimate/tech-debt/data-structures-and-algorithms/heapq.svg)](https://codeclimate.com/github/data-structures-and-algorithms/heapq/trends/technical_debt)
35+
[![Documentation](https://data-structures-and-algorithms.github.io/heapq/badge.svg)](https://data-structures-and-algorithms.github.io/heapq/source.html)
36+
[![Package size](https://img.shields.io/bundlephobia/minzip/@data-structures-and-algorithms/heapq)](https://bundlephobia.com/result?p=@data-structures-and-algorithms/heapq)
3737

3838
## References
3939

doc/manual/installation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ or [npm](https://github.com/npm/npm).
55

66
### jspm
77
```terminal
8-
jspm install npm:@aureooms/js-heapq
8+
jspm install npm:@data-structure/heapq
99
```
1010

1111
### npm
1212
```terminal
13-
npm install @aureooms/js-heapq --save
13+
npm install @data-structure/heapq --save
1414
```

doc/manual/usage.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import '@babel/polyfill' ;
99

1010
Then
1111
```js
12-
const number = require( '@aureooms/js-heapq' ) ;
12+
const number = require( '@data-structure/heapq' ) ;
1313
// or
14-
import number from '@aureooms/js-heapq' ;
14+
import number from '@data-structure/heapq' ;
1515
```

doc/scripts/header.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ domReady(function(){
1313

1414
var projectname = document.createElement('a');
1515
projectname.classList.add('project-name');
16-
projectname.text = 'aureooms/js-heapq';
16+
projectname.text = 'data-structures-and-algorithms/heapq';
1717
projectname.href = './index.html' ;
1818

1919
var header = document.getElementsByTagName('header')[0] ;
2020
header.insertBefore(projectname,header.firstChild);
2121

2222
var testlink = document.querySelector('header > a[data-ice="testLink"]') ;
23-
testlink.href = 'https://coveralls.io/github/make-github-pseudonymous-again/js-heapq' ;
23+
testlink.href = 'https://coveralls.io/github/data-structures-and-algorithms/heapq' ;
2424
testlink.target = '_BLANK' ;
2525

2626
var searchBox = document.querySelector('.search-box');

package.json

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"name": "@aureooms/js-heapq",
2+
"name": "@data-structures-and-algorithms/heapq",
33
"description": "Python's heap and priority queue library for JavaScript",
44
"version": "3.1.0",
5-
"author": "Aurélien Ooms <[email protected]>",
5+
"author": "make-github-pseudonymous-again",
66
"ava": {
77
"require": [
88
"@babel/polyfill",
@@ -24,19 +24,26 @@
2424
}
2525
},
2626
"bugs": {
27-
"url": "https://github.com/make-github-pseudonymous-again/js-heapq/issues"
27+
"url": "https://github.com/data-structures-and-algorithms/heapq/issues"
2828
},
2929
"dependencies": {
30-
"@aureooms/js-compare": "^1.4.5",
31-
"@aureooms/js-error": "^5.0.0",
32-
"@aureooms/js-itertools": "^5.0.0"
30+
"@failure-abstraction/error": "^6.0.1",
31+
"@iterable-iterator/iter": "^1.0.1",
32+
"@iterable-iterator/map": "^1.0.1",
33+
"@iterable-iterator/range": "^2.0.1",
34+
"@iterable-iterator/reduce": "^1.0.1",
35+
"@iterable-iterator/sorted": "^1.0.0",
36+
"@iterable-iterator/zip": "^1.0.1",
37+
"@total-order/primitive": "^1.0.1",
38+
"@total-order/reversed": "^1.0.0"
3339
},
3440
"devDependencies": {
3541
"@babel/cli": "7.13.10",
3642
"@babel/core": "7.13.10",
3743
"@babel/polyfill": "7.12.1",
3844
"@babel/preset-env": "7.13.10",
3945
"@babel/register": "7.13.8",
46+
"@iterable-iterator/list": "^1.0.1",
4047
"ava": "3.15.0",
4148
"coveralls": "3.1.0",
4249
"esdoc": "1.1.0",
@@ -49,7 +56,7 @@
4956
"files": [
5057
"lib"
5158
],
52-
"homepage": "https://make-github-pseudonymous-again.github.io/js-heapq",
59+
"homepage": "https://data-structures-and-algorithms.github.io/heapq",
5360
"keywords": [
5461
"heap",
5562
"heapq",
@@ -61,7 +68,7 @@
6168
"license": "AGPL-3.0",
6269
"main": "lib/index.js",
6370
"repository": {
64-
"url": "https://github.com/make-github-pseudonymous-again/js-heapq.git",
71+
"url": "https://github.com/data-structures-and-algorithms/heapq.git",
6572
"type": "git"
6673
},
6774
"scripts": {

src/core/keeporder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { increasing } from '@aureooms/js-compare' ;
1+
import { increasing } from '@total-order/primitive' ;
22

33
const keeporder = compare => ( a , b ) => compare( a[0] , b[0] ) || increasing( a[1] , b[1] ) ;
44

src/heappop.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { IndexError } from '@aureooms/js-error' ;
1+
import { IndexError } from '@failure-abstraction/error' ;
22
import { siftdown } from './core' ;
33

44
export default function heappop ( heap ) {

src/heapreplace.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { IndexError } from '@aureooms/js-error' ;
1+
import { IndexError } from '@failure-abstraction/error' ;
22
import { siftdown } from './core' ;
33

44
export default function heapreplace ( heap , item ) {

src/merge.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
import { enumerate , map , iter } from '@aureooms/js-itertools' ;
1+
import {enumerate} from '@iterable-iterator/zip';
2+
import {map} from '@iterable-iterator/map';
3+
import {iter} from '@iterable-iterator/iter';
24

35
import { keeporder } from './core' ;
46

0 commit comments

Comments
 (0)