3793a3c450
fix: missing exports
2025-03-31 15:12:04 +02:00
e7ceb74c73
bump(object-util): 1.9.0
2025-03-31 15:11:57 +02:00
24d598f415
feat(object-util): Add two functions objectFilter
& objectPick
...
Signed-off-by: Avior <git@avior.me>
2025-03-31 15:09:07 +02:00
91a6409e90
feat: Add better compaction system
...
Signed-off-by: Avior <git@avior.me>
2024-12-03 16:33:41 +01:00
78f75ec7d1
fix: allow to use another type than an object when possible
...
CodeQL / Analyze (javascript) (push) Has started running
Signed-off-by: Avior <git@avior.me>
2024-06-12 12:44:44 +02:00
1dba6cf74e
chore(object-util): v1.8.2
...
CodeQL / Analyze (javascript) (push) Failing after 52s
Signed-off-by: Avior <git@avior.me>
2024-06-10 23:37:09 +02:00
fe2e5a3bdc
fix: when path is empty it should return the current object
...
Signed-off-by: Avior <git@avior.me>
2024-06-10 23:36:53 +02:00
8fc6f39b40
chore: upgrade
...
CodeQL / Analyze (javascript) (push) Failing after 56s
Signed-off-by: Avior <git@avior.me>
2024-06-06 17:18:37 +02:00
dc8b25b803
fix(object-util): objectGet with an empty path throwing the incorrect error
...
Signed-off-by: Avior <git@avior.me>
2024-06-06 17:14:37 +02:00
50710c7816
shore(object-util): publish 1.8
...
CodeQL / Analyze (javascript) (push) Failing after 2m56s
Signed-off-by: Avior <git@avior.me>
2024-06-03 17:30:37 +02:00
0062c02255
feat(object-util): add an objectGet function
...
Signed-off-by: Avior <git@avior.me>
2024-06-03 17:30:02 +02:00
3d74438086
feat(listener): Add full support for ESM & Better typing
...
CodeQL / Analyze (javascript) (push) Failing after 2m35s
Signed-off-by: Florian Bouillon <f.bouillon@aptatio.com>
2023-11-09 15:14:22 +01:00
f804e0f43c
bump: object-util
v1.7.0
...
CodeQL / Analyze (javascript) (push) Failing after 54s
Signed-off-by: Florian BOUILLON <f.bouillon@aptatio.com>
2023-09-04 14:19:32 +02:00
a1cd24f399
feat: Add objectFind
to the object-util lib
...
Signed-off-by: Florian BOUILLON <f.bouillon@aptatio.com>
2023-09-04 13:44:24 +02:00
2f1e72d77b
feat: add support for easy-sitemap for ESM and CJS
...
CodeQL / Analyze (javascript) (push) Failing after 2m18s
Signed-off-by: Avior <github@avior.me>
2023-08-16 01:04:05 +02:00
df43d5c2c0
fix: incorrect names on tests
...
Signed-off-by: Florian BOUILLON <f.bouillon@aptatio.com>
2023-07-12 16:26:28 +02:00
2c75708af1
misc: Add back package-lock files
...
Signed-off-by: Florian BOUILLON <f.bouillon@aptatio.com>
2023-07-12 16:25:27 +02:00
32807abedd
feat: Change workflows
...
Signed-off-by: Florian BOUILLON <f.bouillon@aptatio.com>
2023-07-12 16:16:28 +02:00
ba4aade516
bump(url-manager): incorrect order
...
Signed-off-by: Florian BOUILLON <f.bouillon@aptatio.com>
2023-07-12 15:20:34 +02:00
55bd8d711b
bump(workflows): updated to latest LTS
...
Signed-off-by: Florian BOUILLON <f.bouillon@aptatio.com>
2023-07-12 15:15:13 +02:00
aba89a0662
bump(logger): patch
...
Signed-off-by: Florian BOUILLON <f.bouillon@aptatio.com>
2023-07-12 15:14:46 +02:00
4a4f0ddd1c
bump(object-util,url-manager): bump patch
...
Signed-off-by: Florian BOUILLON <f.bouillon@aptatio.com>
2023-07-12 15:13:06 +02:00
231309ae7a
feat: Move to colorette
...
Signed-off-by: Avior <github@avior.me>
2023-06-28 20:01:31 +02:00
ec78032aa1
feat(logger): Add support for ESM
...
Signed-off-by: Avior <github@avior.me>
2023-06-28 19:42:37 +02:00
0eb2468895
feat(url-manager): bump 1.1.0
...
Signed-off-by: Florian BOUILLON <f.bouillon@aptatio.com>
2023-06-28 14:42:56 +02:00
4f37026c5b
feat(object-util): bump 1.6.0
...
Signed-off-by: Florian BOUILLON <f.bouillon@aptatio.com>
2023-06-28 14:40:50 +02:00
e6ba218e64
bump(url-manager): 1.0.10
...
Signed-off-by: Avior <github@avior.me>
2023-06-28 00:44:34 +02:00
486312ec8c
feat(url-manager): better support for ESM
...
Signed-off-by: Avior <github@avior.me>
2023-06-28 00:44:18 +02:00
04753c07da
bump(object-util): version 1.5.0
...
Signed-off-by: Avior <f.bouillon@aptatio.com>
2023-03-14 11:01:57 +01:00
cfbc85580c
fix: Test for deep clone when option is manually set
...
Signed-off-by: Avior <f.bouillon@aptatio.com>
2023-03-14 11:00:49 +01:00
446355b451
feat: Add option to clean falsy values in object clean
...
Add a new option to `objectClean` function which allows to clean falsy values (including `undefined` and `null`) from an object when set to `true`. This is achieved by deleting all the falsy values from the object when the option is enabled.
The change also includes updates to the corresponding tests.
Signed-off-by: Avior <f.bouillon@aptatio.com>
2023-03-14 11:00:19 +01:00
fd24924d10
feat: introduce objectRemap function
...
This commit introduces a new function `objectRemap` in `object-util` package. It takes an object as input and applies the provided mapping function to each key-value pair. It produces a new object with transformed keys and values.
The `objectRemap` function is more advanced than `objectMap` as it transforms an object back into another object. It works on objects and arrays. If multiple keys are the same, only the last value will be set by default, but enabling the `strict` option will throw an error if the same key is set twice.
This commit also updates the import statement in tests for this new function.
Signed-off-by: Avior <f.bouillon@aptatio.com>
2023-03-14 10:54:46 +01:00
7cc3ca98c1
fix: Add JSDocs returns for most functions that needed one
...
Signed-off-by: Avior <f.bouillon@aptatio.com>
2023-03-14 10:53:09 +01:00
d67c53d89d
feat(object-util): export BasicObjectKeys and BasicObject types
...
The `BasicObjectKeys` and `BasicObject` types are now exported for use outside of the module.
Signed-off-by: Avior <f.bouillon@aptatio.com>
2023-03-14 10:50:14 +01:00
c664af98ba
fix: Add tests to have a better array support
...
Signed-off-by: Avior <f.bouillon@aptatio.com>
2023-03-14 10:49:49 +01:00
9779e453f0
bump: Object-Util v1.4.6
...
Signed-off-by: Avior <f.bouillon@aptatio.com>
2023-02-22 16:32:20 +01:00
a1304e7349
fix: handle arrays with empty elements
...
Signed-off-by: Avior <f.bouillon@aptatio.com>
2023-02-22 16:31:52 +01:00
91e44c4033
bump(config): v1.1.12
...
Signed-off-by: Avior <f.bouillon@aptatio.com>
2022-12-22 10:48:03 +01:00
d5aaf86146
fix: incorrect scripts in dev mode
...
Signed-off-by: Avior <f.bouillon@aptatio.com>
2022-12-22 10:47:13 +01:00
289ea6c5bf
bump)config): 1.1.11
...
Signed-off-by: Avior <f.bouillon@aptatio.com>
2022-12-12 12:45:24 +01:00
325355c09c
fix(config): incorrect config
...
Signed-off-by: Avior <f.bouillon@aptatio.com>
2022-12-12 12:44:49 +01:00
030dc68587
bump(config): version 1.1.10
...
Signed-off-by: Avior <f.bouillon@aptatio.com>
2022-12-12 12:07:18 +01:00
9d7af6076a
fix(config): Better CSP security
...
Signed-off-by: Avior <f.bouillon@aptatio.com>
2022-12-12 12:05:46 +01:00
2528f5e1af
bump(object-util): Version 1.4.5
...
Signed-off-by: Avior <f.bouillon@aptatio.com>
2022-12-08 13:58:55 +01:00
ddb0a4820a
fix(object-util): Typescript outputing error when using object with undefined
...
Signed-off-by: Avior <f.bouillon@aptatio.com>
2022-12-08 13:58:41 +01:00
49f16223c3
bump(object-util): Version 1.4.4
...
Signed-off-by: Avior <f.bouillon@aptatio.com>
2022-12-08 13:46:32 +01:00
50855afe67
bump(object-util): 1.4.4 (Fixed export)
...
Signed-off-by: Avior <f.bouillon@aptatio.com>
2022-12-08 13:45:53 +01:00
6be80cb2e1
fix(object-util): Typing not being sent back to user
...
Signed-off-by: Avior <f.bouillon@aptatio.com>
2022-12-08 12:15:08 +01:00
c0da88ff2b
bump(config): version 1.1.9
...
Signed-off-by: Avior <f.bouillon@aptatio.com>
2022-12-08 11:16:02 +01:00
f24e11bec4
bump(config): version 1.1.9
...
Signed-off-by: Avior <f.bouillon@aptatio.com>
2022-12-08 11:09:57 +01:00