Skip to content

Releases: flex-development/tutils

[email protected]

04 Aug 23:22
[email protected]
1189601
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

[email protected] (2023-08-04)

⚠ BREAKING CHANGES

  • esm: pure esm
  • utils: [isNodeEnv] remove default value
  • utils: [keys] allow primitive targets
  • utils: [isObject] return true if value is a function
  • types: [Values] array logic
  • types: [Spread] empty array + primitive logic

📦 Build

  • deps-dev: Bump @arethetypeswrong/cli from 0.7.0 to 0.7.1 (#348) (0482471)
  • deps-dev: Bump @flex-development/decorator-regex from 1.0.0 to 2.0.0 (#347) (890c928)
  • deps-dev: Bump eslint-config-prettier from 8.9.0 to 8.10.0 (#350) (0884a6f)
  • deps-dev: Bump the vitest group with 1 update (#345) (5905730)
  • deps-dev: Bump vite from 4.4.7 to 4.4.8 (#346) (a8ef12f)
  • deps-dev: bump vitest from 0.33.0 to 0.34.1 (bf16272)
  • esm: pure esm (5a6e803)

✨ Features

  • types: [Entries] allow T to extend unknown (8bf08b7)
  • types: [Values] construct tuple if T is string literal (f0511fc)
  • types: IsUniqueSymbol, IfUniqueSymbol (9405a9e)
  • types: Keys (5c30e53)
  • utils: [select] allow T to extend NIL (35bebf7)
  • utils: [keys] allow primitive targets (f01df67)

🐛 Fixes

  • types: [Spread] empty array + primitive logic (be98de1)
  • types: [Values] array logic (b85c3aa)

🦾 Refactors

  • utils: use strict equality checks when appropriate (2dc7967)
  • utils: [isNodeEnv] remove default value (686010e)
  • utils: [isObject] return true if value is a function (577e6f6)

[email protected]

01 Aug 02:18
[email protected]
1611cc7
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

[email protected] (2023-08-01)

⚠ BREAKING CHANGES

  • utils: [includes] order position arg before identity
  • utils: [omit] return plain object

📦 Build

  • deps-dev: Bump @flex-development/pathe from 1.0.3 to 2.0.0 (#340) (6b2a41a)
  • deps-dev: Bump @flex-development/toggle-pkg-type from 2.0.0 to 2.0.1 (#339) (708b8ad)
  • deps-dev: Bump eslint from 8.45.0 to 8.46.0 (#338) (1641eaa)
  • deps-dev: Bump eslint-plugin-unicorn from 47.0.0 to 48.0.1 (#325) (538739e)
  • deps-dev: Bump pretty-format from 29.6.1 to 29.6.2 (#343) (b9bbcb3)
  • deps-dev: Bump the typescript-eslint group with 2 updates (#341) (9305280)

✨ Features

  • types: [Values] allow T to extend unknown (da89078)
  • types: Spread (a6db57f)
  • utils: [at] allow nilable targets (ea14c9d)
  • utils: [includes] allow nilable targets (373c45b)

🏡 Housekeeping

🦾 Refactors

  • utils: [includes] order position arg before identity (261b60d)
  • utils: [omit] return plain object (df11f1f)

[email protected]

30 Jul 23:16
[email protected]
2eb6d91
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

[email protected] (2023-07-30)

📦 Build

  • deps-dev: Bump @arethetypeswrong/cli from 0.4.2 to 0.7.0 (#329) (93c6de5)
  • deps-dev: Bump @flex-development/esm-types from 1.0.0 to 2.0.0 (#331) (4a06af9)
  • deps-dev: Bump chai from 5.0.0-alpha.0 to 5.0.0-alpha.1 (#330) (1d77da6)
  • deps-dev: Bump esbuild from 0.18.11 to 0.18.17 (#336) (e52febb)
  • deps-dev: Bump eslint-config-prettier from 8.8.0 to 8.9.0 (#332) (0b419d3)
  • deps-dev: Bump eslint-plugin-markdown from 3.0.0 to 3.0.1 (#335) (fac58c7)
  • deps-dev: Bump vite from 4.4.4 to 4.4.7 (#333) (9526543)

🤖 Continuous Integration

🐛 Fixes

  • utils: [clone] Clone is not a constructor (f337c9b)
  • utils: [isBuffer] cannot destructure property 'isBuffer' (66c9298)

🏡 Housekeeping

  • [prettier] load plugins via config file (90befbd)

[email protected]

26 Jul 20:33
[email protected]
b92fe9b
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

[email protected] (2023-07-26)

📦 Build

  • deps-dev: Bump @commitlint/cli from 17.6.6 to 17.6.7 (#323) (b964cc0)
  • deps-dev: Bump eslint from 8.44.0 to 8.45.0 (#324) (0eca32a)
  • deps-dev: Bump semver from 7.5.3 to 7.5.4 (#327) (093996a)

🤖 Continuous Integration

  • workflows: [approve-pr] remove dependabot-metadata condition (3f3c809)
  • workflows: [ci] fix jobs.build.env.TARFILE logic (f595ebf)

🐛 Fixes

  • types: [OneOrMany] unionize writable array (06ba1a6)

[email protected]

26 Jul 01:16
[email protected]
56d329c
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

[email protected] (2023-07-26)

⚠ BREAKING CHANGES

  • utils: [isEmptyString] fail on extra whitespace
  • types: [Predicate] use Mapper
  • deps-peer: bump typescript from >=4.9.0 to >=5.0.4
  • types: improve type implementations and tests
  • types: IndexSignature -> PropertyKey
  • types: [Path] rewrite
  • types: ObjectEmpty -> EmptyObject
  • enums: [SortOrder] use abbreviations
  • types: [ObjectPlain] match pojos only
  • types: remove ObjectUnknown
  • types: [IsTuple] return boolean
  • types: remove ANY
  • types: PathValue -> Get
  • types: KeysRequired -> RequiredKeys
  • types: KeysOptional -> OptionalKeys
  • ts: require typescript>=4.9.0
  • nvm: require >=16.20.0

📦 Build

  • deps-dev: Bump @commitlint/cli from 17.6.5 to 17.6.6 (#306) (bc2a3d8)
  • deps-dev: Bump @faker-js/faker from 8.0.0 to 8.0.1 (#257) (c8b806a)
  • deps-dev: Bump @faker-js/faker from 8.0.0-beta.1 to 8.0.0 (#250) (b2f0397)
  • deps-dev: Bump @graphql-eslint/eslint-plugin from 3.15.0 to 3.16.0 (#185) (3a55aa5)
  • deps-dev: Bump @graphql-eslint/eslint-plugin from 3.18.0 to 3.19.1 (#274) (9572483)
  • deps-dev: Bump @graphql-eslint/eslint-plugin from 3.19.1 to 3.19.3 (#297) (4c28575)
  • deps-dev: Bump @graphql-eslint/eslint-plugin from 3.19.3 to 3.20.1 (#315) (aef9a04)
  • deps-dev: Bump @types/eslint from 8.4.10 to 8.21.0 (#161) (a35a35b)
  • deps-dev: Bump @typescript-eslint/eslint-plugin from 5.50.0 to 5.51.0 (#171) (ad73bbd)
  • deps-dev: Bump @typescript-eslint/eslint-plugin from 5.59.5 to 5.59.6 (#261) (c0ca805)
  • deps-dev: Bump @typescript-eslint/eslint-plugin from 5.59.6 to 5.59.7 (#270) (67be218)
  • deps-dev: Bump @typescript-eslint/parser from 5.50.0 to 5.51.0 (#173) (2824e33)
  • deps-dev: Bump @typescript-eslint/parser from 5.59.5 to 5.59.6 (#256) (ea8dc99)
  • deps-dev: Bump @typescript-eslint/parser from 5.59.6 to 5.59.7 (#269) (b70449b)
  • deps-dev: Bump @vitest/coverage-c8 from 0.28.3 to 0.28.4 (#166) (f71151e)
  • deps-dev: Bump @vitest/coverage-c8 from 0.31.0 to 0.31.1 (#265) (d20b441)
  • deps-dev: Bump @vitest/ui from 0.28.3 to 0.28.4 (#164) (fe7ce03)
  • deps-dev: Bump @vitest/ui from 0.31.0 to 0.31.1 (#266) (fb6ad38)
  • deps-dev: Bump cspell from 6.19.2 to 6.20.1 (#160) (117a175)
  • deps-dev: Bump cspell from 6.20.1 to 6.22.0 (#167) (78e80af)
  • deps-dev: Bump cspell from 6.22.0 to 6.23.1 (#183) (f4bcefd)
  • deps-dev: Bump esbuild from 0.17.18 to 0.17.19 (#254) (aaa2c07)
  • deps-dev: Bump esbuild from 0.17.5 to 0.17.6 (#172) (1852b55)
  • deps-dev: Bump esbuild from 0.17.6 to 0.17.7 (#179) (b4f1768)
  • deps-dev: Bump esbuild from 0.18.6 to 0.18.11 (#305) (e01af55)
  • deps-dev: Bump eslint from 8.33.0 to 8.34.0 (#181) (d16c8e6)
  • deps-dev: Bump eslint from 8.40.0 to 8.41.0 (#268) (5d0cced)
  • deps-dev: Bump eslint from 8.43.0 to 8.44.0 (#300) (94396f8)
  • deps-dev: Bump eslint-plugin-jsdoc from 39.7.5 to 39.8.0 (#165) (76e9892)
  • deps-dev: Bump eslint-plugin-yml from 1.4.0 to 1.5.0 (#186) (dbd8b9f)
  • deps-dev: Bump graphql from 16.7.0 to 16.7.1 (#304) (3daf94b)
  • deps-dev: Bump graphql-config from 4.4.0 to 4.4.1 (#159) (eac2703)
  • deps-dev: Bump lint-staged from 13.1.0 to 13.1.1 (#175) (59924a0)
  • deps-dev: Bump lint-staged from 13.2.2 to 13.2.3 (#303) (d0f75b6)
  • deps-dev: Bump prettier from 2.8.3 to 2.8.4 (#177) (182f65d)
  • deps-dev: Bump pretty-format from 29.4.1 to 29.4.2 (#176) (1edef80)
  • deps-dev: Bump pretty-format from 29.5.0 to 29.6.0 (#308) (5a19e38)
  • deps-dev: Bump pretty-format from 29.6.0 to 29.6.1 (#311) (1b44ef3)
  • deps-dev: Bump semver from 7.5.0 to 7.5.1 (#255) (78766ea)
  • deps-dev: Bump semver from 7.5.1 to 7.5.3 (#290) ([f04939d](https://github.com/flex-development/tutils/...
Read more

[email protected]

01 Feb 23:50
[email protected]
99bfe87
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

[email protected] (2023-02-01)

⚠ BREAKING CHANGES

  • enums: remove BsonTypeAlias, BsonTypeCode
  • enums: remove JwtType
  • guards: remove isJwtType
  • types: remove TimestampUnix
  • guards: remove isUnixTimestamp
  • types: remove SemanticVersion
  • types: [Join] concatenate array
  • guards: require value parameter
  • guards: remove isNumberString
  • types: StringLike -> Stringafiable

📦 Build

  • deps-dev: Bump @commitlint/cli from 17.4.0 to 17.4.1 (#105) (a722ea3)
  • deps-dev: Bump @commitlint/cli from 17.4.1 to 17.4.2 (#115) (f8b3f17)
  • deps-dev: Bump @commitlint/config-conventional from 17.4.0 to 17.4.2 (#113) (fe92ae1)
  • deps-dev: Bump @graphql-eslint/eslint-plugin from 3.14.3 to 3.15.0 (#142) (a22bc76)
  • deps-dev: Bump @typescript-eslint/eslint-plugin from 5.48.0 to 5.48.1 (#106) (e6a4c62)
  • deps-dev: Bump @typescript-eslint/eslint-plugin from 5.48.1 to 5.48.2 (#122) (d4b8a7e)
  • deps-dev: Bump @typescript-eslint/eslint-plugin from 5.48.2 to 5.49.0 (#135) (d10b599)
  • deps-dev: Bump @typescript-eslint/eslint-plugin from 5.49.0 to 5.50.0 (#153) (17c70e3)
  • deps-dev: Bump @typescript-eslint/parser from 5.48.0 to 5.48.1 (#108) (75b2e18)
  • deps-dev: Bump @typescript-eslint/parser from 5.48.1 to 5.48.2 (#123) (0832b6d)
  • deps-dev: Bump @typescript-eslint/parser from 5.48.2 to 5.49.0 (#138) (769ad82)
  • deps-dev: Bump @typescript-eslint/parser from 5.49.0 to 5.50.0 (#155) (76cd700)
  • deps-dev: Bump cspell from 6.18.1 to 6.19.2 (#125) (0c60bd7)
  • deps-dev: Bump esbuild from 0.16.16 to 0.16.17 (#112) (0cabd6c)
  • deps-dev: Bump esbuild from 0.16.17 to 0.17.0 (#118) (a46d677)
  • deps-dev: Bump esbuild from 0.17.0 to 0.17.1 (#120) (02d7b8f)
  • deps-dev: Bump esbuild from 0.17.1 to 0.17.2 (#124) (4c3cec0)
  • deps-dev: Bump esbuild from 0.17.2 to 0.17.3 (#127) (e22cdbe)
  • deps-dev: Bump esbuild from 0.17.3 to 0.17.4 (#132) (935057b)
  • deps-dev: Bump esbuild from 0.17.4 to 0.17.5 (#147) (4d61b9a)
  • deps-dev: Bump eslint from 8.31.0 to 8.32.0 (#116) (427e5c5)
  • deps-dev: Bump eslint from 8.32.0 to 8.33.0 (#149) (e11374b)
  • deps-dev: Bump eslint-plugin-jsdoc from 39.6.4 to 39.6.6 (#128) (3216cd1)
  • deps-dev: Bump eslint-plugin-jsdoc from 39.6.6 to 39.6.7 (#133) (55c77ec)
  • deps-dev: Bump eslint-plugin-jsdoc from 39.6.7 to 39.6.8 (#139) (baa5def)
  • deps-dev: Bump eslint-plugin-jsdoc from 39.6.8 to 39.7.4 (#150) (992695e)
  • deps-dev: Bump eslint-plugin-jsdoc from 39.7.4 to 39.7.5 (#154) (98f5370)
  • deps-dev: Bump prettier from 2.8.2 to 2.8.3 (#117) (8af91c7)
  • deps-dev: Bump pretty-format from 29.3.1 to 29.4.0 (#141) (2661963)
  • deps-dev: Bump pretty-format from 29.4.0 to 29.4.1 (#144) (2a6e613)
  • deps-dev: Bump serve from 14.1.2 to 14.2.0 (#140) (6853b43)
  • deps-dev: Bump vite-tsconfig-paths from 4.0.3 to 4.0.5 (#131) (06bbf03)
  • ts: remove typesVersions (bb70364)

🤖 Continuous Integration

  • deps: Bump actions/cache from 3.2.2 to 3.2.3 (#109) (6b415ba)
  • deps: Bump actions/cache from 3.2.3 to 3.2.4 (#152) (2809f28)
  • deps: Bump actions/github-script from 6.3.3 to 6.4.0 (#146) (7812e7f)
  • deps: Bump dependabot/fetch-metadata from 1.3.5 to 1.3.6 (#137) (2294bfa)
  • workflows: [approve-pr] refactor approval step conditional (c7da441)
  • workflows: [ci] jobs.setup -> jobs.metadata (6aa1706)
  • workflows: [ci] add version output to metadata job (5e9924f)
  • workflows: [ci] make typescript matrix dynamic (07a70ab)
  • workflows: [ci] refactor metadata job conditional (963fc36)
  • workflows: [ci] upload coverage report to codecov ([5e6a844](5e6a844fc696bf878a2f17cb1...
Read more

[email protected]

09 Jan 03:41
[email protected]
74965d9
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

[email protected] (2023-01-09)

📦 Build

  • deps-dev: Bump esbuild from 0.16.15 to 0.16.16 (#101) (94f94e6)
  • deps-dev: Bump typescript from 5.0.0-dev.20230107 to 5.0.0-dev.20230108 (#102) (c872ad1)

🤖 Continuous Integration

  • deps: Bump actions/setup-node from 3.5.1 to 3.6.0 (#103) (069d364)

🐛 Fixes

  • ts: missing types in build output (e62e94b)

🏡 Housekeeping

⚡ Refactors

  • ts: catch build output errors early (9f373ac)

[email protected]

08 Jan 04:59
[email protected]
3e91959
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

[email protected] (2023-01-07)

📦 Build

  • deps-dev: Bump typescript from 5.0.0-dev.20230102 to 5.0.0-dev.20230107 (#99) (464ff16)

🤖 Continuous Integration

  • [@dependabot] fix npm package-ecosystem x yarn integration (fafde91)
  • deps: Bump actions/checkout from 3.1.0 to 3.2.0 (#95) (9a83d69)
  • deps: Bump actions/checkout from 3.2.0 to 3.3.0 (#97) (af0a62b)
  • deps: Bump actions/setup-node from 3.5.1 to 3.6.0 (#96) (10f5d6c)
  • deps: Bump actions/upload-artifact from 3.1.1 to 3.1.2 (#98) (48203dc)
  • deps: Bump dessant/lock-threads from 3.0.0 to 4.0.0 (#94) (3dcfbd0)
  • deps: Bump flex-development/dist-tag-action from 1.1.1 to 1.1.2 (#86) (ab884fc)
  • deps: bump octokit/graphql-action from 2.2.22 to 2.2.23 (#80) (781e329)
  • workflows: [add-to-project] add items from repo admin account (fdfe418)
  • workflows: [add-to-project] run workflow when pr is synchronized (9b89cdf)
  • workflows: [approve-pr] fix workflow run when pr is synchronized (921e1aa)
  • workflows: [approve-pr] run workflow when pr is synchronized (e814b9c)
  • workflows: [ci] split ci job into multiple jobs (ef0262f)
  • workflows: [dependabot-auto] sign lockfile fix commit (a4237a2)
  • workflows: [publish] cleanup registry scope (abf0f12)
  • workflows: [publish] use node version file (38018a8)
  • workflows: add typescript-canary (293fc9a)

📝 Documentation

  • add "contributor covenant code of conduct" (e0cbd62)
  • cleanup README badges (88db5ff)

✨ Features

🐛 Fixes

  • install: [git] make postinstall script work with git install (e5cc5fe)

🏡 Housekeeping

  • add tsconfig.temp.json to .prettierignore (ea795d0)
  • update project architecture (334626b)
  • github: add "package manager" dropdown to bug report template (210d478)
  • github: add "typescript version" input to bug report template (d5b0e5f)
  • github: add commit scope install (fe0a46f)
  • github: add label scope:install (fe4c5d1)
  • github: add label status:triaged (6e0b81f)

✅ Testing

  • guards: [isUnixTimestamp] fix test subject import (caf50cf)

[email protected]

03 Dec 00:53
[email protected]
286169a
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

[email protected] (2022-12-02)

✨ Features

  • types: ExactOptionalPropertyTypes (6a8cb77)

[email protected]

02 Dec 23:01
[email protected]
0999e72
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

[email protected] (2022-12-02)

✨ Features

  • types: JsonifiableInstance (6789428)

🐛 Fixes

  • types: make JsonifiableObject extendable (bb49d82)