@thi.ng/compare
Advanced tools
Comparing version 2.0.8 to 2.1.0
117
CHANGELOG.md
# Change Log | ||
Last updated: 2021-11-17T23:24:59Z | ||
All notable changes to this project will be documented in this file. | ||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. | ||
See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines. | ||
## [2.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/compare@2.0.7...@thi.ng/compare@2.0.8) (2021-11-10) | ||
**Note:** Unlisted _patch_ versions only involve non-code changes and/or | ||
version bumps of transitive dependencies. | ||
**Note:** Version bump only for package @thi.ng/compare | ||
## [2.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/compare@2.1.0) (2021-11-17) | ||
#### 🚀 Features | ||
- Using workspaces for local tools ([bf7a404](https://github.com/thi-ng/umbrella/commit/bf7a404)) | ||
Improving the overall build ergonomics | ||
- introduced a tools workspaces | ||
- imported it in all needed packages/examples | ||
- inclusive project root | ||
#### ♻️ Refactoring | ||
- testrunner to binary ([4ebbbb2](https://github.com/thi-ng/umbrella/commit/4ebbbb2)) | ||
this commit reverts (partly) changes made in: | ||
ef346d7a8753590dc9094108a3d861a8dbd5dd2c | ||
overall purpose is better testament ergonomics: | ||
instead of having to pass NODE_OPTIONS with every invocation | ||
having a binary to handle this for us. | ||
## [2.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/compare@2.0.6...@thi.ng/compare@2.0.7) (2021-11-03) | ||
### [2.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/compare@2.0.1) (2021-10-13) | ||
**Note:** Version bump only for package @thi.ng/compare | ||
#### ♻️ Refactoring | ||
- update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591)) | ||
- update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f)) | ||
- add .js suffix for all relative imports | ||
# [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/compare@2.0.0) (2021-10-12) | ||
#### 🛑 Breaking changes | ||
- major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea)) | ||
- BREAKING CHANGE: discontinue CommonJS & UMD versions | ||
- only ESM modules will be published from now on | ||
- CJS obsolete due to ESM support in recent versions of node: | ||
- i.e. launch NodeJS via: | ||
- `node --experimental-specifier-resolution=node --experimental-repl-await` | ||
- in the node REPL use `await import(...)` instead of `require()` | ||
- UMD obsolete due to widespread browser support for ESM | ||
Also: | ||
- normalize/restructure/reorg all package.json files | ||
- cleanup all build scripts, remove obsolete | ||
- switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests | ||
# [2.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/compare@1.3.34...@thi.ng/compare@2.0.0) (2021-10-12) | ||
#### ♻️ Refactoring | ||
- update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc)) | ||
- update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) | ||
### Build System | ||
### [1.3.16](https://github.com/thi-ng/umbrella/tree/@thi.ng/compare@1.3.16) (2020-09-13) | ||
* major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea9fab2a645d6c5f2bf2591459b939c09b6)) | ||
#### ♻️ Refactoring | ||
- update deps, use new Fn types ([c3a4b97](https://github.com/thi-ng/umbrella/commit/c3a4b97)) | ||
### BREAKING CHANGES | ||
## [1.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/compare@1.3.0) (2020-04-05) | ||
* discontinue CommonJS & UMD versions | ||
#### 🚀 Features | ||
- only ESM modules will be published from now on | ||
- CJS obsolete due to ESM support in recent versions of node: | ||
- i.e. launch NodeJS via: | ||
- `node --experimental-specifier-resolution=node --experimental-repl-await` | ||
- in the node REPL use `await import(...)` instead of `require()` | ||
- UMD obsolete due to widespread browser support for ESM | ||
- fix [#215](https://github.com/thi-ng/umbrella/issues/215), add sort key getter support for compareByKeysX() ([f364b4e](https://github.com/thi-ng/umbrella/commit/f364b4e)) | ||
Also: | ||
- normalize/restructure/reorg all package.json files | ||
- cleanup all build scripts, remove obsolete | ||
- switch from mocha to @thi.ng/testament for all tests | ||
## [1.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/compare@1.2.0) (2020-03-01) | ||
#### 🚀 Features | ||
- add HOFs, restructure, update deps & docs ([ed2c41c](https://github.com/thi-ng/umbrella/commit/ed2c41c)) | ||
- add compareByKey(), compareByKeys2/3/4() HOF | ||
- add reverse() HOF | ||
- split into separate source files | ||
- update readme | ||
## [1.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/compare@1.1.0) (2019-11-30) | ||
#### 🚀 Features | ||
- add compareNumAsc/Desc numeric comparators ([2b8fafc](https://github.com/thi-ng/umbrella/commit/2b8fafc)) | ||
# [1.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/compare@1.2.2...@thi.ng/compare@1.3.0) (2020-04-05) | ||
# [1.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/compare@1.0.0) (2019-01-21) | ||
### Features | ||
#### 🛑 Breaking changes | ||
- **compare:** fix [#215](https://github.com/thi-ng/umbrella/issues/215), add sort key getter support for compareByKeysX() ([f364b4e](https://github.com/thi-ng/umbrella/commit/f364b4e62dcd2ed13689a1ef97799cb53af3ef71)) | ||
# [1.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/compare@1.1.4...@thi.ng/compare@1.2.0) (2020-03-01) | ||
### Features | ||
- **compare:** add HOFs, restructure, update deps & docs ([ed2c41c](https://github.com/thi-ng/umbrella/commit/ed2c41c120f6447b05022d74e510017a1f4a6257)) | ||
# [1.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/compare@1.0.10...@thi.ng/compare@1.1.0) (2019-11-30) | ||
### Features | ||
- **compare:** add compareNumAsc/Desc numeric comparators ([2b8fafc](https://github.com/thi-ng/umbrella/commit/2b8fafc9eca040b649ade479203537bbd9ba54ef)) | ||
# [1.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/compare@0.1.12...@thi.ng/compare@1.0.0) (2019-01-21) | ||
### Build System | ||
- update package build scripts & outputs, imports in ~50 packages ([b54b703](https://github.com/thi-ng/umbrella/commit/b54b703)) | ||
- BREAKING CHANGE: enabled multi-outputs (ES6 modules, CJS, UMD) | ||
- build scripts now first build ES6 modules in package root, then call | ||
`scripts/bundle-module` to build minified CJS & UMD bundles in `/lib` | ||
- all imports MUST be updated to only refer to package level | ||
(not individual files anymore). tree shaking in user land will get rid of | ||
all unused imported symbols. | ||
### BREAKING CHANGES | ||
#### ♻️ Refactoring | ||
- enabled multi-outputs (ES6 modules, CJS, UMD) | ||
- build scripts now first build ES6 modules in package root, then call `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib` | ||
- all imports MUST be updated to only refer to package level (not individual files anymore). tree shaking in user land will get rid of all unused imported symbols. | ||
- use arrow fns ([025412a](https://github.com/thi-ng/umbrella/commit/025412a)) | ||
# 0.1.0 (2018-05-10) | ||
## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/compare@0.1.0) (2018-05-10) | ||
### Features | ||
#### 🚀 Features | ||
- **compare:** add new package [@thi](https://github.com/thi).ng/compare ([e4a87c4](https://github.com/thi-ng/umbrella/commit/e4a87c4)) | ||
- add new package [@thi.ng/compare](https://github.com/thi-ng/umbrella/tree/main/packages/compare) ([e4a87c4](https://github.com/thi-ng/umbrella/commit/e4a87c4)) |
143
package.json
{ | ||
"name": "@thi.ng/compare", | ||
"version": "2.0.8", | ||
"description": "Comparators with support for types implementing the @thi.ng/api/ICompare interface", | ||
"type": "module", | ||
"module": "./index.js", | ||
"typings": "./index.d.ts", | ||
"sideEffects": false, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/thi-ng/umbrella.git" | ||
"name": "@thi.ng/compare", | ||
"version": "2.1.0", | ||
"description": "Comparators with support for types implementing the @thi.ng/api/ICompare interface", | ||
"type": "module", | ||
"module": "./index.js", | ||
"typings": "./index.d.ts", | ||
"sideEffects": false, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/thi-ng/umbrella.git" | ||
}, | ||
"homepage": "https://github.com/thi-ng/umbrella/tree/develop/packages/compare#readme", | ||
"funding": [ | ||
{ | ||
"type": "github", | ||
"url": "https://github.com/sponsors/postspectacular" | ||
}, | ||
"homepage": "https://github.com/thi-ng/umbrella/tree/develop/packages/compare#readme", | ||
"funding": [ | ||
{ | ||
"type": "github", | ||
"url": "https://github.com/sponsors/postspectacular" | ||
}, | ||
{ | ||
"type": "patreon", | ||
"url": "https://patreon.com/thing_umbrella" | ||
} | ||
], | ||
"author": "Karsten Schmidt <k+npm@thi.ng>", | ||
"license": "Apache-2.0", | ||
"scripts": { | ||
"build": "yarn clean && tsc --declaration", | ||
"clean": "rimraf *.js *.d.ts *.map doc", | ||
"doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts", | ||
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose", | ||
"doc:readme": "yarn doc:stats && ../../scripts/node-esm ../../tools/src/readme.ts", | ||
"doc:stats": "../../scripts/node-esm ../../tools/src/module-stats.ts", | ||
"pub": "yarn build && yarn publish --access public", | ||
"test": "testament test" | ||
{ | ||
"type": "patreon", | ||
"url": "https://patreon.com/thing_umbrella" | ||
} | ||
], | ||
"author": "Karsten Schmidt <k+npm@thi.ng>", | ||
"license": "Apache-2.0", | ||
"scripts": { | ||
"build": "yarn clean && tsc --declaration", | ||
"clean": "rimraf '*.js' '*.d.ts' '*.map' doc", | ||
"doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts", | ||
"doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose", | ||
"doc:readme": "yarn doc:stats && tools:readme", | ||
"doc:stats": "tools:module-stats", | ||
"pub": "yarn build && yarn npm publish --access public", | ||
"test": "testament test" | ||
}, | ||
"dependencies": { | ||
"@thi.ng/api": "^8.3.0" | ||
}, | ||
"devDependencies": { | ||
"@microsoft/api-extractor": "^7.18.19", | ||
"@thi.ng/testament": "^0.2.0", | ||
"rimraf": "^3.0.2", | ||
"tools": "^0.0.1", | ||
"typedoc": "^0.22.8", | ||
"typescript": "^4.4.4" | ||
}, | ||
"keywords": [ | ||
"comparator", | ||
"sort", | ||
"typescript" | ||
], | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"engines": { | ||
"node": ">=12.7" | ||
}, | ||
"files": [ | ||
"*.js", | ||
"*.d.ts" | ||
], | ||
"exports": { | ||
".": { | ||
"import": "./index.js" | ||
}, | ||
"dependencies": { | ||
"@thi.ng/api": "^8.2.0" | ||
"./compare": { | ||
"import": "./compare.js" | ||
}, | ||
"devDependencies": { | ||
"@thi.ng/testament": "^0.1.6" | ||
"./keys": { | ||
"import": "./keys.js" | ||
}, | ||
"keywords": [ | ||
"comparator", | ||
"sort", | ||
"typescript" | ||
], | ||
"publishConfig": { | ||
"access": "public" | ||
"./numeric": { | ||
"import": "./numeric.js" | ||
}, | ||
"engines": { | ||
"node": ">=12.7" | ||
}, | ||
"files": [ | ||
"*.js", | ||
"*.d.ts" | ||
], | ||
"exports": { | ||
".": { | ||
"import": "./index.js" | ||
}, | ||
"./compare": { | ||
"import": "./compare.js" | ||
}, | ||
"./keys": { | ||
"import": "./keys.js" | ||
}, | ||
"./numeric": { | ||
"import": "./numeric.js" | ||
}, | ||
"./reverse": { | ||
"import": "./reverse.js" | ||
} | ||
}, | ||
"gitHead": "5fe52419af63984ebe53032201b2a6174b9cb159" | ||
} | ||
"./reverse": { | ||
"import": "./reverse.js" | ||
} | ||
}, | ||
"gitHead": "519eedf95c076202f3429eb8e46ccff275bfe446\n" | ||
} |
74200
16
375
6
Updated@thi.ng/api@^8.3.0