@trojs/mutator 0.4.0 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -3
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Mutate the value when set some data
|
|
2
2
|
|
|
3
|
-
[![NPM version][npm-image]][npm-url]
|
|
3
|
+
[![NPM version][npm-image]][npm-url]
|
|
4
4
|
|
|
5
5
|
With this package you can define some setters that are optional.
|
|
6
6
|
So it change the value for the defined setters, but if you don't pass the key, it doesnt set the key.
|
|
@@ -71,5 +71,3 @@ result.hydrate({ test: 'another text'})
|
|
|
71
71
|
|
|
72
72
|
[npm-url]: https://www.npmjs.com/package/@trojs/mutator
|
|
73
73
|
[npm-image]: https://img.shields.io/npm/v/@trojs/mutator.svg
|
|
74
|
-
[coveralls-url]: https://coveralls.io/r/hckrnews/mutator
|
|
75
|
-
[coveralls-image]: https://img.shields.io/coveralls/hckrnews/mutator/main.svg
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trojs/mutator",
|
|
3
3
|
"description": "Mutate the value when set some data",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.2",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Pieter Wigboldus",
|
|
7
7
|
"url": "https://trojs.org/"
|
|
@@ -41,14 +41,14 @@
|
|
|
41
41
|
"eslint-plugin-n": "^16.2.0",
|
|
42
42
|
"eslint-plugin-prettier": "^5.0.0",
|
|
43
43
|
"eslint-plugin-promise": "^6.1.1",
|
|
44
|
-
"eslint-plugin-sonarjs": "^0.
|
|
44
|
+
"eslint-plugin-sonarjs": "^0.25.0",
|
|
45
45
|
"jest": "^29.0.0",
|
|
46
|
-
"jscpd": "^
|
|
46
|
+
"jscpd": "^4.0.0",
|
|
47
47
|
"prettier": "^3.0.0"
|
|
48
48
|
},
|
|
49
49
|
"repository": {
|
|
50
50
|
"type": "git",
|
|
51
|
-
"url": "https://github.com/
|
|
51
|
+
"url": "https://github.com/trojs/mutator"
|
|
52
52
|
},
|
|
53
53
|
"engines": {
|
|
54
54
|
"node": ">= 18"
|