Skip to content

Commit ae23e7b

Browse files
😒 chore: Rename package.
1 parent 8e0ae1c commit ae23e7b

File tree

9 files changed

+50
-50
lines changed

9 files changed

+50
-50
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-fingertree"
20+
"title": "@functional-data-structure/finger-tree"
2121
},
2222
"test": {
2323
"type": "ava",

README.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
1-
:cactus: [@aureooms/js-fingertree](https://make-github-pseudonymous-again.github.io/js-fingertree)
1+
:cactus: [@functional-data-structure/finger-tree](https://functional-data-structure.github.io/finger-tree)
22
==
33

44
<p align="center">
5-
<img src="https://cdn.rawgit.com/make-github-pseudonymous-again/js-fingertree/main/media/sketch.svg" width="400">
5+
<img src="https://cdn.rawgit.com/functional-data-structure/finger-tree/main/media/sketch.svg" width="400">
66
</p>
77

88
Finger trees for JavaScript.
9-
See [docs](https://make-github-pseudonymous-again.github.io/js-fingertree).
9+
See [docs](https://functional-data-structure.github.io/finger-tree).
1010
Parent is [@aureooms/js-persistent](https://github.com/make-github-pseudonymous-again/js-persistent).
1111

1212
data FingerTree x = Empty
1313
| Single x
1414
| Deep ( Digit x ) ( FingerTree ( Node x ) ) ( Digit x )
1515

16-
[![License](https://img.shields.io/github/license/make-github-pseudonymous-again/js-fingertree.svg)](https://raw.githubusercontent.com/make-github-pseudonymous-again/js-fingertree/main/LICENSE)
17-
[![Version](https://img.shields.io/npm/v/@aureooms/js-fingertree.svg)](https://www.npmjs.org/package/@aureooms/js-fingertree)
18-
[![Tests](https://img.shields.io/github/workflow/status/make-github-pseudonymous-again/js-fingertree/ci:test?event=push&label=tests)](https://github.com/make-github-pseudonymous-again/js-fingertree/actions/workflows/ci:test.yml?query=branch:main)
19-
[![Dependencies](https://img.shields.io/david/make-github-pseudonymous-again/js-fingertree.svg)](https://david-dm.org/make-github-pseudonymous-again/js-fingertree)
20-
[![Dev dependencies](https://img.shields.io/david/dev/make-github-pseudonymous-again/js-fingertree.svg)](https://david-dm.org/make-github-pseudonymous-again/js-fingertree?type=dev)
21-
[![GitHub issues](https://img.shields.io/github/issues/make-github-pseudonymous-again/js-fingertree.svg)](https://github.com/make-github-pseudonymous-again/js-fingertree/issues)
22-
[![Downloads](https://img.shields.io/npm/dm/@aureooms/js-fingertree.svg)](https://www.npmjs.org/package/@aureooms/js-fingertree)
16+
[![License](https://img.shields.io/github/license/functional-data-structure/finger-tree.svg)](https://raw.githubusercontent.com/functional-data-structure/finger-tree/main/LICENSE)
17+
[![Version](https://img.shields.io/npm/v/@functional-data-structure/finger-tree.svg)](https://www.npmjs.org/package/@functional-data-structure/finger-tree)
18+
[![Tests](https://img.shields.io/github/workflow/status/functional-data-structure/finger-tree/ci:test?event=push&label=tests)](https://github.com/functional-data-structure/finger-tree/actions/workflows/ci:test.yml?query=branch:main)
19+
[![Dependencies](https://img.shields.io/david/functional-data-structure/finger-tree.svg)](https://david-dm.org/functional-data-structure/finger-tree)
20+
[![Dev dependencies](https://img.shields.io/david/dev/functional-data-structure/finger-tree.svg)](https://david-dm.org/functional-data-structure/finger-tree?type=dev)
21+
[![GitHub issues](https://img.shields.io/github/issues/functional-data-structure/finger-tree.svg)](https://github.com/functional-data-structure/finger-tree/issues)
22+
[![Downloads](https://img.shields.io/npm/dm/@functional-data-structure/finger-tree.svg)](https://www.npmjs.org/package/@functional-data-structure/finger-tree)
2323

24-
[![Code issues](https://img.shields.io/codeclimate/issues/make-github-pseudonymous-again/js-fingertree.svg)](https://codeclimate.com/github/make-github-pseudonymous-again/js-fingertree/issues)
25-
[![Code maintainability](https://img.shields.io/codeclimate/maintainability/make-github-pseudonymous-again/js-fingertree.svg)](https://codeclimate.com/github/make-github-pseudonymous-again/js-fingertree/trends/churn)
26-
[![Code coverage (cov)](https://img.shields.io/codecov/c/gh/make-github-pseudonymous-again/js-fingertree/main.svg)](https://codecov.io/gh/make-github-pseudonymous-again/js-fingertree)
27-
[![Code technical debt](https://img.shields.io/codeclimate/tech-debt/make-github-pseudonymous-again/js-fingertree.svg)](https://codeclimate.com/github/make-github-pseudonymous-again/js-fingertree/trends/technical_debt)
28-
[![Documentation](https://make-github-pseudonymous-again.github.io/js-fingertree/badge.svg)](https://make-github-pseudonymous-again.github.io/js-fingertree/source.html)
29-
[![Package size](https://img.shields.io/bundlephobia/minzip/@aureooms/js-fingertree)](https://bundlephobia.com/result?p=@aureooms/js-fingertree)
24+
[![Code issues](https://img.shields.io/codeclimate/issues/functional-data-structure/finger-tree.svg)](https://codeclimate.com/github/functional-data-structure/finger-tree/issues)
25+
[![Code maintainability](https://img.shields.io/codeclimate/maintainability/functional-data-structure/finger-tree.svg)](https://codeclimate.com/github/functional-data-structure/finger-tree/trends/churn)
26+
[![Code coverage (cov)](https://img.shields.io/codecov/c/gh/functional-data-structure/finger-tree/main.svg)](https://codecov.io/gh/functional-data-structure/finger-tree)
27+
[![Code technical debt](https://img.shields.io/codeclimate/tech-debt/functional-data-structure/finger-tree.svg)](https://codeclimate.com/github/functional-data-structure/finger-tree/trends/technical_debt)
28+
[![Documentation](https://functional-data-structure.github.io/finger-tree/badge.svg)](https://functional-data-structure.github.io/finger-tree/source.html)
29+
[![Package size](https://img.shields.io/bundlephobia/minzip/@functional-data-structure/finger-tree)](https://bundlephobia.com/result?p=@functional-data-structure/finger-tree)
3030

3131

3232
<!-- vim-markdown-toc GFM -->
@@ -127,9 +127,9 @@ Then require what you need from the exported object, for instance the two main
127127
API functions `from` and `empty`:
128128

129129
```js
130-
const { from , empty } = require( '@aureooms/js-fingertree' ) ;
130+
const { from , empty } = require( '@functional-data-structure/finger-tree' ) ;
131131
// or
132-
import { from , empty } from '@aureooms/js-fingertree' ;
132+
import { from , empty } from '@functional-data-structure/finger-tree' ;
133133
```
134134

135135

_benchmark/benchmark.js

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
require('regenerator-runtime/runtime');
22

3+
const ArgumentParser = require('argparse').ArgumentParser;
4+
const Benchmark = require('benchmark');
5+
36
const itertools = require('@aureooms/js-itertools');
47

58
const qiao_fingertree = require('fingertree');
9+
const fds_finger_tree = require('..');
610
const fromArray = qiao_fingertree.fromArray;
7-
const empty = aureooms_fingertree.empty;
8-
const from = aureooms_fingertree.from;
11+
const empty = fds_finger_tree.empty;
12+
const from = fds_finger_tree.from;
913

1014
const COUNTER = {
1115
plus(a, b) {
@@ -19,7 +23,6 @@ const COUNTER = {
1923
},
2024
};
2125

22-
const ArgumentParser = require('argparse').ArgumentParser;
2326
const parser = new ArgumentParser();
2427
parser.addArgument(['M']);
2528
const args = parser.parseArgs();
@@ -31,9 +34,6 @@ global.empty = empty;
3134
global.from = from;
3235
global.range = itertools.range;
3336

34-
const Benchmark = require('benchmark');
35-
const aureooms_fingertree = require('..');
36-
3737
// PUSH
3838

3939
const PUSH = new Benchmark.Suite()
@@ -50,7 +50,7 @@ const PUSH = new Benchmark.Suite()
5050
const _M = M;
5151
for (let i = 0; i < _M; ++i) t = t.addLast(i);
5252
})
53-
.add('@aureooms/js-fingertree#push', () => {
53+
.add('@functional-data-structure/finger-tree#push', () => {
5454
let t = empty(COUNTER);
5555
const _M = M;
5656
for (let i = 0; i < _M; ++i) t = t.push(i);
@@ -88,7 +88,7 @@ CONS.add('fingertree#addFirst', () => {
8888
let t = fromArray([]);
8989
const _M = M;
9090
for (let i = 0; i < _M; ++i) t = t.addFirst(i);
91-
}).add('@aureooms/js-fingertree#cons', () => {
91+
}).add('@functional-data-structure/finger-tree#cons', () => {
9292
let t = empty(COUNTER);
9393
const _M = M;
9494
for (let i = 0; i < _M; ++i) t = t.cons(i);
@@ -142,7 +142,7 @@ const INIT = new Benchmark.Suite()
142142
{setup},
143143
)
144144
.add(
145-
'@aureooms/js-fingertree#init',
145+
'@functional-data-structure/finger-tree#init',
146146
() => {
147147
let _t = at;
148148
for (let i = 0; i < _M; ++i) _t = _t.init();
@@ -195,7 +195,7 @@ TAIL.add(
195195
},
196196
{setup},
197197
).add(
198-
'@aureooms/js-fingertree#init',
198+
'@functional-data-structure/finger-tree#init',
199199
() => {
200200
let _t = at;
201201
for (let i = 0; i < _M; ++i) _t = _t.tail();
@@ -231,7 +231,7 @@ const APPEND = new Benchmark.Suite()
231231
console.log('\nAPPEND\n==\n');
232232
})
233233
.add(
234-
'@aureooms/js-fingertree#append',
234+
'@functional-data-structure/finger-tree#append',
235235
() => {
236236
at.append(range(M));
237237
},
@@ -262,7 +262,7 @@ const PREPEND = new Benchmark.Suite()
262262
console.log('\nPREPEND\n==\n');
263263
})
264264
.add(
265-
'@aureooms/js-fingertree#prepend',
265+
'@functional-data-structure/finger-tree#prepend',
266266
() => {
267267
at.prepend(range(M));
268268
},
@@ -295,7 +295,7 @@ new Benchmark.Suite()
295295
.add('fingertree.fromArray', () => {
296296
fromArray(Array.from(range(M)));
297297
})
298-
.add('@aureooms/js-fingertree.from', () => {
298+
.add('@functional-data-structure/finger-tree.from', () => {
299299
from(COUNTER, range(M));
300300
})
301301
.add('Mock.from', () => {
@@ -328,7 +328,7 @@ const SPLIT = new Benchmark.Suite()
328328
{setup},
329329
)
330330
.add(
331-
'@aureooms/js-fingertree#split',
331+
'@functional-data-structure/finger-tree#split',
332332
() => {
333333
const _M = M;
334334
const _at = at;
@@ -371,7 +371,7 @@ new Benchmark.Suite()
371371
// I had to put this version first because the second uses a lot of memory.
372372
// This is probably because qiao/fingetree.js keeps references of used thunks.
373373
.add(
374-
'@aureooms/js-fingertree#concat',
374+
'@functional-data-structure/finger-tree#concat',
375375
() => {
376376
const _M = M;
377377
const _s = splits;

doc/manual/example.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { gt } from '@aureooms/js-predicate' ;
66

77
const { COUNTER } = Measures ;
88

9-
import { empty , from } from '@aureooms/js-fingertree' ;
9+
import { empty , from } from '@functional-data-structure/finger-tree' ;
1010

1111
let t = from( COUNTER , 'abc' ) ;
1212
// OR

doc/manual/installation.md

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

77
### jspm
88
```terminal
9-
jspm install npm:@aureooms/js-fingertree
9+
jspm install npm:@functional-data-structure/finger-tree
1010
```
1111

1212
### npm
1313
```terminal
14-
npm install @aureooms/js-fingertree --save
14+
npm install @functional-data-structure/finger-tree --save
1515
```

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
1414
```js
15-
const fingertree = require( '@aureooms/js-fingertree' ) ;
15+
const fingertree = require( '@functional-data-structure/finger-tree' ) ;
1616
// or
17-
import fingertree from '@aureooms/js-fingertree' ;
17+
import fingertree from '@functional-data-structure/finger-tree' ;
1818
```

doc/scripts/header.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ const domReady = function (callback) {
1010
domReady(() => {
1111
const projectname = document.createElement('a');
1212
projectname.classList.add('project-name');
13-
projectname.text = 'aureooms/js-fingertree';
13+
projectname.text = 'functional-data-structure/finger-tree';
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"]');
2020
testlink.href =
21-
'https://coveralls.io/github/make-github-pseudonymous-again/js-fingertree';
21+
'https://coveralls.io/github/functional-data-structure/finger-tree';
2222
testlink.target = '_BLANK';
2323

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

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
2-
"name": "@aureooms/js-fingertree",
2+
"name": "@functional-data-structure/finger-tree",
33
"description": "Finger Trees for JavaScript",
44
"version": "6.0.0",
55
"license": "AGPL-3.0",
6-
"author": "Aurélien Ooms <[email protected]>",
7-
"homepage": "https://make-github-pseudonymous-again.github.io/js-fingertree",
6+
"author": "make-github-pseudonymous-again",
7+
"homepage": "https://functional-data-structure.github.io/finger-tree",
88
"repository": {
99
"type": "git",
10-
"url": "https://github.com/make-github-pseudonymous-again/js-fingertree"
10+
"url": "https://github.com/functional-data-structure/finger-tree"
1111
},
1212
"bugs": {
13-
"url": "https://github.com/make-github-pseudonymous-again/js-fingertree/issues"
13+
"url": "https://github.com/functional-data-structure/finger-tree/issues"
1414
},
1515
"keywords": [
1616
"data",

src/3-tree/base/Tree.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Tree.prototype.force = function () {
2525
*
2626
* @example
2727
* // returns 'ab'
28-
* import { from } from '@aureooms/js-fingertree' ;
28+
* import { from } from '@functional-data-structure/finger-tree' ;
2929
* import { Measures : { SIZE } } from '@aureooms/js-measure' ;
3030
* let tree = from( SIZE , 'abc' ) ;
3131
* tree = tree.takeUntil( measure => measure > 2 ) ;
@@ -47,7 +47,7 @@ Tree.prototype.takeUntil = function (predicate) {
4747
*
4848
* @example
4949
* // returns 'c'
50-
* import { from } from '@aureooms/js-fingertree' ;
50+
* import { from } from '@functional-data-structure/finger-tree' ;
5151
* import { Measures : { SIZE } } from '@aureooms/js-measure' ;
5252
* let tree = from( SIZE , 'abc' ) ;
5353
* tree = tree.dropUntil( measure => measure > 2 ) ;
@@ -67,7 +67,7 @@ Tree.prototype.dropUntil = function (predicate) {
6767
*
6868
* @example
6969
* // returns 'abc123'
70-
* import { from } from '@aureooms/js-fingertree' ;
70+
* import { from } from '@functional-data-structure/finger-tree' ;
7171
* import { Measures : { SIZE } } from '@aureooms/js-measure' ;
7272
* let tree = from( SIZE , 'abc' ).append('123') ;
7373
* [ ...tree ].join('') ;
@@ -86,7 +86,7 @@ Tree.prototype.append = function (iterable) {
8686
*
8787
* @example
8888
* // returns '123abc'
89-
* import { from } from '@aureooms/js-fingertree' ;
89+
* import { from } from '@functional-data-structure/finger-tree' ;
9090
* import { Measures : { SIZE } } from '@aureooms/js-measure' ;
9191
* let tree = from( SIZE , 'abc' ).prepend('123') ;
9292
* [ ...tree ].join('') ;

0 commit comments

Comments
 (0)