@thi.ng/compose
Advanced tools
Comparing version 2.0.8 to 2.1.0
153
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/compose@2.0.7...@thi.ng/compose@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/compose | ||
## [2.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/compose@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/compose@2.0.6...@thi.ng/compose@2.0.7) (2021-11-03) | ||
### [2.0.8](https://github.com/thi-ng/umbrella/tree/@thi.ng/compose@2.0.8) (2021-11-10) | ||
**Note:** Version bump only for package @thi.ng/compose | ||
#### ♻️ Refactoring | ||
- update all countdown loops ([a5f374b](https://github.com/thi-ng/umbrella/commit/a5f374b)) | ||
### [2.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/compose@2.0.1) (2021-10-13) | ||
#### ♻️ 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/compare/@thi.ng/compose@1.4.36...@thi.ng/compose@2.0.0) (2021-10-12) | ||
# [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/compose@2.0.0) (2021-10-12) | ||
#### 🛑 Breaking changes | ||
### Build System | ||
- 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 | ||
* major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea9fab2a645d6c5f2bf2591459b939c09b6)) | ||
#### ♻️ Refactoring | ||
- update imports ([7e1855c](https://github.com/thi-ng/umbrella/commit/7e1855c)) | ||
- 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) | ||
### BREAKING CHANGES | ||
### [1.4.17](https://github.com/thi-ng/umbrella/tree/@thi.ng/compose@1.4.17) (2020-09-13) | ||
* discontinue CommonJS & UMD versions | ||
#### ♻️ Refactoring | ||
- 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 | ||
- update imports, use new Fn types in various pkgs ([ced1e5d](https://github.com/thi-ng/umbrella/commit/ced1e5d)) | ||
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.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/compose@1.4.0) (2020-03-28) | ||
#### 🚀 Features | ||
- add promisify() ([dfcf4ab](https://github.com/thi-ng/umbrella/commit/dfcf4ab)) | ||
### [1.3.9](https://github.com/thi-ng/umbrella/tree/@thi.ng/compose@1.3.9) (2020-02-25) | ||
#### ♻️ Refactoring | ||
- update imports ([252cbab](https://github.com/thi-ng/umbrella/commit/252cbab)) | ||
# [1.4.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/compose@1.3.12...@thi.ng/compose@1.4.0) (2020-03-28) | ||
## [1.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/compose@1.3.0) (2019-07-07) | ||
### Features | ||
#### 🚀 Features | ||
- **compose:** add promisify() ([dfcf4ab](https://github.com/thi-ng/umbrella/commit/dfcf4ab7333b25c4332f783d124d86de058feceb)) | ||
- add ifDef() ([64aba00](https://github.com/thi-ng/umbrella/commit/64aba00)) | ||
- address TS strictNullChecks, make Delay.value protected ([1540f37](https://github.com/thi-ng/umbrella/commit/1540f37)) | ||
- users now MUST use .deref() to obtain result | ||
- enable TS strict compiler flags (refactor) ([8ea894a](https://github.com/thi-ng/umbrella/commit/8ea894a)) | ||
# [1.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/compose@1.2.5...@thi.ng/compose@1.3.0) (2019-07-07) | ||
## [1.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/compose@1.2.0) (2019-03-10) | ||
### Features | ||
#### 🚀 Features | ||
- **compose:** add ifDef() ([64aba00](https://github.com/thi-ng/umbrella/commit/64aba00)) | ||
- **compose:** address TS strictNullChecks, make Delay.value protected ([1540f37](https://github.com/thi-ng/umbrella/commit/1540f37)) | ||
- **compose:** enable TS strict compiler flags (refactor) ([8ea894a](https://github.com/thi-ng/umbrella/commit/8ea894a)) | ||
- add trampoline() ([9e4c171](https://github.com/thi-ng/umbrella/commit/9e4c171)) | ||
- add complement() ([5a5a2d1](https://github.com/thi-ng/umbrella/commit/5a5a2d1)) | ||
# [1.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/compose@1.1.2...@thi.ng/compose@1.2.0) (2019-03-10) | ||
#### ♻️ Refactoring | ||
### Features | ||
- update partial() type args, update readme ([81886fe](https://github.com/thi-ng/umbrella/commit/81886fe)) | ||
- update Fn args in various packages ([e453ac3](https://github.com/thi-ng/umbrella/commit/e453ac3)) | ||
- **compose:** add complement() ([5a5a2d1](https://github.com/thi-ng/umbrella/commit/5a5a2d1)) | ||
- **compose:** add trampoline() ([9e4c171](https://github.com/thi-ng/umbrella/commit/9e4c171)) | ||
## [1.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/compose@1.1.0) (2019-02-15) | ||
# [1.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/compose@1.0.2...@thi.ng/compose@1.1.0) (2019-02-15) | ||
#### 🚀 Features | ||
### Bug Fixes | ||
- add new functions ([dd13fa9](https://github.com/thi-ng/umbrella/commit/dd13fa9)) | ||
- add constantly() | ||
- add delay() | ||
- add delayed() | ||
- add identity() | ||
- **compose:** add varargs override for jux(), add tests ([e9d57fc](https://github.com/thi-ng/umbrella/commit/e9d57fc)) | ||
#### 🩹 Bug fixes | ||
### Features | ||
- add varargs override for jux(), add tests ([e9d57fc](https://github.com/thi-ng/umbrella/commit/e9d57fc)) | ||
- **compose:** add new functions ([dd13fa9](https://github.com/thi-ng/umbrella/commit/dd13fa9)) | ||
# [1.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/compose@1.0.0) (2019-01-21) | ||
# [1.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/compose@0.3.0...@thi.ng/compose@1.0.0) (2019-01-21) | ||
#### 🛑 Breaking changes | ||
### 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 ([35377bd](https://github.com/thi-ng/umbrella/commit/35377bd)) | ||
# [0.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/compose@0.2.2...@thi.ng/compose@0.3.0) (2018-12-27) | ||
## [0.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/compose@0.3.0) (2018-12-27) | ||
### Bug Fixes | ||
#### 🚀 Features | ||
- **compose:** fix comp() for arities >10 ([1ebfea9](https://github.com/thi-ng/umbrella/commit/1ebfea9)) | ||
- add threadFirst/Last, rename compI => compL ([0061b21](https://github.com/thi-ng/umbrella/commit/0061b21)) | ||
### Features | ||
#### 🩹 Bug fixes | ||
- **compose:** add threadFirst/Last, rename compI => compL ([0061b21](https://github.com/thi-ng/umbrella/commit/0061b21)) | ||
- fix comp() for arities >10 ([1ebfea9](https://github.com/thi-ng/umbrella/commit/1ebfea9)) | ||
# [0.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/compose@0.1.4...@thi.ng/compose@0.2.0) (2018-10-17) | ||
## [0.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/compose@0.2.0) (2018-10-17) | ||
### Features | ||
#### 🚀 Features | ||
- **compose:** add partial(), update readme ([6851f2c](https://github.com/thi-ng/umbrella/commit/6851f2c)) | ||
- add partial(), update readme ([6851f2c](https://github.com/thi-ng/umbrella/commit/6851f2c)) | ||
# 0.1.0 (2018-08-24) | ||
## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/compose@0.1.0) (2018-08-24) | ||
### Features | ||
#### 🚀 Features | ||
- **compose:** extract comp() & juxt() to new [@thi](https://github.com/thi).ng/compose package ([ca0a04e](https://github.com/thi-ng/umbrella/commit/ca0a04e)) | ||
- extract comp() & juxt() to new [@thi.ng/compose](https://github.com/thi-ng/umbrella/tree/main/packages/compose) package ([ca0a04e](https://github.com/thi-ng/umbrella/commit/ca0a04e)) | ||
- add compI() using reverse arg order of comp() |
197
package.json
{ | ||
"name": "@thi.ng/compose", | ||
"version": "2.0.8", | ||
"description": "Optimized functional composition helpers", | ||
"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/compose", | ||
"version": "2.1.0", | ||
"description": "Optimized functional composition helpers", | ||
"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/compose#readme", | ||
"funding": [ | ||
{ | ||
"type": "github", | ||
"url": "https://github.com/sponsors/postspectacular" | ||
}, | ||
"homepage": "https://github.com/thi-ng/umbrella/tree/develop/packages/compose#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", | ||
"@thi.ng/errors": "^2.1.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": [ | ||
"async", | ||
"composition", | ||
"functional", | ||
"typescript" | ||
], | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"engines": { | ||
"node": ">=12.7" | ||
}, | ||
"files": [ | ||
"*.js", | ||
"*.d.ts" | ||
], | ||
"exports": { | ||
".": { | ||
"import": "./index.js" | ||
}, | ||
"dependencies": { | ||
"@thi.ng/api": "^8.2.0", | ||
"@thi.ng/errors": "^2.0.6" | ||
"./comp": { | ||
"import": "./comp.js" | ||
}, | ||
"devDependencies": { | ||
"@thi.ng/testament": "^0.1.6" | ||
"./complement": { | ||
"import": "./complement.js" | ||
}, | ||
"keywords": [ | ||
"async", | ||
"composition", | ||
"functional", | ||
"typescript" | ||
], | ||
"publishConfig": { | ||
"access": "public" | ||
"./constantly": { | ||
"import": "./constantly.js" | ||
}, | ||
"engines": { | ||
"node": ">=12.7" | ||
"./delay": { | ||
"import": "./delay.js" | ||
}, | ||
"files": [ | ||
"*.js", | ||
"*.d.ts" | ||
], | ||
"exports": { | ||
".": { | ||
"import": "./index.js" | ||
}, | ||
"./comp": { | ||
"import": "./comp.js" | ||
}, | ||
"./complement": { | ||
"import": "./complement.js" | ||
}, | ||
"./constantly": { | ||
"import": "./constantly.js" | ||
}, | ||
"./delay": { | ||
"import": "./delay.js" | ||
}, | ||
"./delayed": { | ||
"import": "./delayed.js" | ||
}, | ||
"./identity": { | ||
"import": "./identity.js" | ||
}, | ||
"./ifdef": { | ||
"import": "./ifdef.js" | ||
}, | ||
"./juxt": { | ||
"import": "./juxt.js" | ||
}, | ||
"./partial": { | ||
"import": "./partial.js" | ||
}, | ||
"./promisify": { | ||
"import": "./promisify.js" | ||
}, | ||
"./thread-first": { | ||
"import": "./thread-first.js" | ||
}, | ||
"./thread-last": { | ||
"import": "./thread-last.js" | ||
}, | ||
"./trampoline": { | ||
"import": "./trampoline.js" | ||
} | ||
"./delayed": { | ||
"import": "./delayed.js" | ||
}, | ||
"gitHead": "5fe52419af63984ebe53032201b2a6174b9cb159" | ||
} | ||
"./identity": { | ||
"import": "./identity.js" | ||
}, | ||
"./ifdef": { | ||
"import": "./ifdef.js" | ||
}, | ||
"./juxt": { | ||
"import": "./juxt.js" | ||
}, | ||
"./partial": { | ||
"import": "./partial.js" | ||
}, | ||
"./promisify": { | ||
"import": "./promisify.js" | ||
}, | ||
"./thread-first": { | ||
"import": "./thread-first.js" | ||
}, | ||
"./thread-last": { | ||
"import": "./thread-last.js" | ||
}, | ||
"./trampoline": { | ||
"import": "./trampoline.js" | ||
} | ||
}, | ||
"gitHead": "519eedf95c076202f3429eb8e46ccff275bfe446\n" | ||
} |
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
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
89938
34
672
6
Updated@thi.ng/api@^8.3.0
Updated@thi.ng/errors@^2.1.0