sort-by-property

Type-safe array sorting method with support for deeply nested properties and Typescript autocompletion.

MIT License

Downloads
3.5K
Stars
4
Committers
2
sort-by-property - v1.3.0 Latest Release

Published by jvandenaardweg over 1 year ago

Features

  • Add option to specify custom locale for string sorting c5a0f57 (Thanks @gudleik)

Complete changelog

  • feat: add option to specify custom locale for string sorting c5a0f57
  • chore(deps-dev): bump jest and @types/jest 4c2fdae
  • chore(deps-dev): bump jest from 29.4.1 to 29.4.3 a2f51c4
  • chore(deps-dev): bump release-it from 15.6.1 to 15.10.1 ecc1a03
  • chore(deps-dev): bump @typescript-eslint/parser from 5.51.0 to 5.52.0 d7b115b
  • chore(deps-dev): bump @typescript-eslint/parser from 5.48.2 to 5.49.0 a961309
  • chore(deps-dev): bump @typescript-eslint/eslint-plugin e649d38
  • chore(deps-dev): bump @typescript-eslint/eslint-plugin c2bc5f4
  • chore(deps-dev): bump @typescript-eslint/eslint-plugin 04beef8
  • chore(deps-dev): bump @typescript-eslint/eslint-plugin 1446e53
  • chore(deps-dev): bump @typescript-eslint/eslint-plugin 099a5c7
  • chore(deps-dev): bump release-it from 15.6.0 to 15.6.1 46152dd
  • chore(deps-dev): bump @typescript-eslint/eslint-plugin 8ef7b4f
  • chore(deps-dev): bump @swc/core from 1.3.24 to 1.3.25 2f8c91b
  • chore(deps-dev): bump @swc/core from 1.3.37 to 1.3.44 4e90963
  • chore(deps-dev): bump @swc/core from 1.3.35 to 1.3.37 d43662c
  • chore(deps-dev): bump @swc/core from 1.3.30 to 1.3.35 35dbe5d
  • chore(deps-dev): bump @swc/core from 1.3.26 to 1.3.30 d3c70b6
  • chore(deps-dev): bump @swc/core from 1.3.25 to 1.3.26 19089ec
  • chore(deps-dev): bump @typescript-eslint/parser from 5.48.1 to 5.48.2 2dc8842
  • chore(deps-dev): bump @typescript-eslint/parser from 5.48.0 to 5.48.1 37c9e20
  • chore(deps-dev): bump @typescript-eslint/parser from 5.47.1 to 5.48.0 8fd7b72
  • chore(deps-dev): bump @typescript-eslint/eslint-plugin 79b74b8
  • chore(deps-dev): bump @typescript-eslint/parser from 5.52.0 to 5.57.0 9eacfce
  • chore(deps-dev): bump @typescript-eslint/parser from 5.49.0 to 5.51.0 ed09055
  • chore(deps-dev): bump eslint from 8.34.0 to 8.35.0 f5028d5
  • chore(deps): bump cacheable-request from 10.2.2 to 10.2.7 829be50
  • chore(deps-dev): bump dotenv-cli from 6.0.0 to 7.0.0 fcc34d6
  • chore(deps-dev): bump ts-jest from 29.0.3 to 29.0.5 c6057ca
  • chore(deps-dev): bump typescript from 4.9.5 to 5.0.3 e2b6056
  • chore(deps-dev): bump node-dev from 7.4.3 to 8.0.0 190ee70
  • chore(deps-dev): bump rollup from 3.17.3 to 3.20.2 b2d7baf
  • chore(deps-dev): bump @types/node from 18.13.0 to 18.14.2 13bf75c
  • chore(deps-dev): bump rollup from 3.15.0 to 3.17.3 8ebf688
  • chore(deps-dev): bump lint-staged from 13.1.0 to 13.1.2 a8dc2eb
  • chore(deps-dev): bump rollup from 3.10.1 to 3.15.0 c086d94
  • chore(deps-dev): bump prettier from 2.8.3 to 2.8.4 6f258af
  • chore(deps-dev): bump @types/node from 18.11.18 to 18.13.0 3b5ec4e
  • chore(deps-dev): bump eslint from 8.33.0 to 8.34.0 1119e25
  • chore(deps-dev): bump typescript from 4.9.4 to 4.9.5 b2fdfa3
  • chore(deps-dev): bump @rollup/plugin-terser from 0.3.0 to 0.4.0 b33538d
  • chore(deps-dev): bump eslint from 8.31.0 to 8.33.0 b3dedca
  • chore(deps-dev): bump @types/jest from 29.2.5 to 29.2.6 02ca7ea
  • chore(deps-dev): bump rollup from 3.10.0 to 3.10.1 d5f0e76
  • chore(deps-dev): bump rollup from 3.9.1 to 3.10.0 620b26a
  • chore(deps-dev): bump prettier from 2.8.2 to 2.8.3 3a9c992
  • chore(deps-dev): bump @rollup/plugin-terser from 0.2.1 to 0.3.0 5fa7673
  • chore(deps-dev): bump husky from 8.0.2 to 8.0.3 0108f64
  • chore(deps-dev): bump @rollup/plugin-typescript from 10.0.1 to 11.0.0 d89213d
  • chore(deps-dev): bump prettier from 2.8.1 to 2.8.2 2038bf0
  • chore(deps-dev): bump @types/jest from 29.2.4 to 29.2.5 416c521
  • chore(deps-dev): bump rollup from 3.9.0 to 3.9.1 250ecaa
  • chore(deps): bump vm2 from 3.9.11 to 3.9.16 150b099
  • chore(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 19258a2
  • chore: run dependabot monthly 9468e50
  • chore: update dependabot.yml 8bb7346
sort-by-property - v1.2.4

Published by jvandenaardweg almost 2 years ago

  • chore(deps-dev): bump @typescript-eslint/eslint-plugin f117a48
  • chore(deps-dev): bump @typescript-eslint/eslint-plugin 1af35ff
  • chore(deps-dev): bump @swc/core from 1.3.21 to 1.3.24 79ff209
  • chore(deps-dev): bump @typescript-eslint/parser from 5.46.1 to 5.47.1 3e3454d
  • chore(deps-dev): bump @typescript-eslint/parser from 5.46.0 to 5.46.1 de7cf0b
  • chore(deps-dev): bump @types/node from 18.11.15 to 18.11.17 c42f7cb
  • chore(deps-dev): bump release-it from 15.5.1 to 15.6.0 746b5b4
  • chore(deps-dev): bump eslint from 8.29.0 to 8.30.0 a57377c
  • chore(deps-dev): bump eslint from 8.30.0 to 8.31.0 ea8fd4f
  • chore(deps): bump json5 from 2.2.1 to 2.2.3 6dc345f
  • chore(deps-dev): bump @types/node from 18.11.17 to 18.11.18 87439b3
  • chore(deps-dev): bump rollup from 3.8.1 to 3.9.0 032904d
  • chore(deps-dev): bump rollup from 3.7.5 to 3.8.1 14980ea
  • chore(deps-dev): bump @rollup/plugin-terser from 0.2.0 to 0.2.1 c01e407
  • chore(deps-dev): bump rollup from 3.5.1 to 3.7.5 53d294a
  • chore(deps-dev): bump typescript from 4.9.3 to 4.9.4 9a36136
sort-by-property - v1.2.3

Published by jvandenaardweg almost 2 years ago

  • chore(deps-dev): bump @typescript-eslint/eslint-plugin 1abadf5
  • chore(deps-dev): bump @typescript-eslint/eslint-plugin 01480d1
  • chore(deps-dev): bump @typescript-eslint/parser from 5.45.0 to 5.46.0 19855f1
  • chore(deps-dev): bump @typescript-eslint/parser from 5.44.0 to 5.45.0 6f1f232
  • chore(deps-dev): bump @rollup/plugin-terser from 0.1.0 to 0.2.0 5141827
  • chore(deps-dev): bump prettier from 2.8.0 to 2.8.1 c1be923
  • chore(deps-dev): bump @types/node from 18.11.10 to 18.11.15 8b9639c
  • chore(deps-dev): bump @rollup/plugin-typescript from 10.0.0 to 10.0.1 b049d1f
  • fix: __filename is not defined in ES module scope 9181f17
  • chore(deps-dev): bump eslint from 8.28.0 to 8.29.0 11d895d
  • chore(deps-dev): bump @rollup/plugin-typescript from 10.0.0 to 10.0.1 3a4061c
  • chore(deps-dev): bump eslint from 8.28.0 to 8.29.0 b3ce417
  • chore(deps-dev): bump @typescript-eslint/eslint-plugin from 5.44.0 to 5.45.0 5fddf6a
  • chore(deps-dev): bump release-it from 15.5.0 to 15.5.1 52271b6
  • chore(deps-dev): bump @types/node from 18.11.9 to 18.11.10 ecfa32d
  • chore(deps-dev): bump @typescript-eslint/parser from 5.44.0 to 5.45.0 e72d61e
  • chore(deps-dev): bump lint-staged from 13.0.4 to 13.1.0 a2f2659
  • chore(deps-dev): bump release-it from 15.5.0 to 15.5.1 397dd9f
  • chore(deps-dev): bump rollup from 3.5.0 to 3.5.1 ba9ac3e
  • chore(deps-dev): bump @swc/core from 1.3.20 to 1.3.21 a0a222b
  • chore(deps-dev): bump @types/node from 18.11.9 to 18.11.10 cb7b1cc
  • chore(deps-dev): bump @types/jest from 29.2.3 to 29.2.4 51ba65c
  • chore(deps-dev): bump @swc/core from 1.3.20 to 1.3.21 228186d
  • chore(deps-dev): bump @types/jest from 29.2.3 to 29.2.4 dca717b
  • chore(deps-dev): bump lint-staged from 13.0.4 to 13.1.0 87a4b3b
  • chore(deps-dev): bump rollup from 3.5.0 to 3.5.1 1e9f438
sort-by-property - v1.2.2

Published by jvandenaardweg almost 2 years ago

  • chore(deps-dev): bump @swc/helpers from 0.4.12 to 0.4.14 #8
  • chore(deps-dev): bump @types/jest from 29.2.2 to 29.2.3 #7
  • chore(deps-dev): bump @swc/core from 1.3.16 to 1.3.19 #6
  • chore(deps-dev): bump @typescript-eslint/eslint-plugin from 5.42.1 to 5.43.0 #5
  • chore(deps-dev): bump @typescript-eslint/parser from 5.42.1 to 5.43.0 #4
  • chore: upgrade dependencies cca09b1
  • chore(deps-dev): bump lint-staged from 13.0.3 to 13.0.4 bd30e70
  • chore(deps-dev): bump eslint from 8.27.0 to 8.28.0 14fed7d
  • chore(deps-dev): bump prettier from 2.7.1 to 2.8.0 69e64a0
  • chore(deps-dev): bump @typescript-eslint/eslint-plugin 16f389d
  • chore(deps-dev): bump lint-staged from 13.0.3 to 13.0.4 ec438b6
  • chore(deps-dev): bump eslint from 8.27.0 to 8.28.0 9fa1f1e
  • chore(deps-dev): bump prettier from 2.7.1 to 2.8.0 2545894
  • chore: update readme on file size 0fc6593
  • docs: update readme on typescript requirements d9fe983
sort-by-property - v1.2.1

Published by jvandenaardweg almost 2 years ago

  • chore: exclude dist/utils from npm package 2d2e24a
sort-by-property - v1.2.0

Published by jvandenaardweg almost 2 years ago

  • feat: minify bundle and output to single file 1519a6b
sort-by-property - v1.1.0

Published by jvandenaardweg almost 2 years ago

  • feat: support boolean values 29c32c9
  • refactor: make PropertyPath type simpler ebdb01b
sort-by-property - v1.0.5

Published by jvandenaardweg almost 2 years ago

  • chore: remove unused dependencies 43bfe3e
  • fix: build after removed too many dev dependencies ca67dae
  • chore: update readme 316494e
  • chore: update readme with one-dimensional array example bf9fbca
  • chore: do not build example files to dist folder 296699e
  • chore: add codesandbox example to readme 8a87404
  • chore: fix typo in readme cce63f9
sort-by-property - v1.0.4

Published by jvandenaardweg almost 2 years ago

  • chore: use local github token to release c4fffb0
  • feat: export default sortByProperty 5600b75
sort-by-property - v1.0.3

Published by jvandenaardweg almost 2 years ago

  • fix: now really fixing module exports 11e5acc
  • chore(deps-dev): bump @swc/core from 1.3.14 to 1.3.16 93ebec1
  • chore(deps-dev): bump jest from 29.3.0 to 29.3.1 ccc7776
  • chore(deps-dev): bump jest from 29.3.0 to 29.3.1 369bc72
  • chore(deps-dev): bump @swc/core from 1.3.14 to 1.3.16 d954d29
sort-by-property - v1.0.2

Published by jvandenaardweg almost 2 years ago

sort-by-property - v1.0.1

Published by jvandenaardweg almost 2 years ago

  • feat: use rollup to create dist files c00fca7
sort-by-property - v1.0.0

Published by jvandenaardweg almost 2 years ago

Bump from 0.6.0 to 1.0.0

  • test: better structure tests 4542c27
  • chore: update readme on performance da3d3e6
  • test: use toStrictEqual to also allow type checking undefined values 82a1401
  • refactor: better re-use of functions 1abd406
  • chore: update readme a8d9aff
  • refactor: rename propertyPath type 8c22039
  • chore: update readme 2d04df2
  • chore: update readme 307af80
  • refactor: rename isSymbol parameter to be consistent with other util methods 2bb82c0
  • chore: update readme e41e1da
sort-by-property - v0.6.0

Published by jvandenaardweg almost 2 years ago

  • feat: added support for sorting symbols ded98a9
  • refactor: use method to get property values from names b91469c
  • refactor: use stricter function return types 41f7e63
  • test: fix typo in test 798a42e
sort-by-property - v0.5.1

Published by jvandenaardweg almost 2 years ago

  • chore: fix ci on performance.ts abb49db
sort-by-property - v0.5.0

Published by jvandenaardweg almost 2 years ago

  • feat: performance improvement on large arrays by not using reduce when the propertyPath is only 1 level b157a82
  • test: improve tests 413991b
  • docs: fix parameter typo 5e81eae
  • chore: do not add example files to dist d050ef1
sort-by-property - v0.4.4

Published by jvandenaardweg almost 2 years ago

  • chore: update issue templates 4731c97
  • refactor: move supported types in SupportedTypes type e111016
  • refactor: do not split the path each time we sort an object d4705c5
  • refactor: rename aProperty and bProperty to a better variable name 10e9a2c
  • refactor: rename splittedPath to propertyNames 38f2488
  • chore: add config.yml 64332ff
  • chore: update readme d753636
  • refactor: suppress any eslint warning 10b329c
sort-by-property - v0.4.3

Published by jvandenaardweg almost 2 years ago

  • feat: add dist folder to npm package 6caa045
sort-by-property - v0.4.2

Published by jvandenaardweg almost 2 years ago

  • refactor: move bigint check down its probably the least used c579f8a
  • test: add extra bigint test 2c2e4f3
  • feat: correctly build files dfaad88
  • chore: remove commented console log 383f3af
sort-by-property - v0.4.1

Published by jvandenaardweg almost 2 years ago

Package Rankings
Top 19.67% on Npmjs.org
Badges
Extracted from project README
npm version mit license