@jdlien/validator 1.1.3 → 1.1.6
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 -1
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -299,4 +299,4 @@ Module did not self-register: '...\node_modules\canvas\build\Release\canvas.node
|
|
|
299
299
|
```
|
|
300
300
|
|
|
301
301
|
If that happens, you
|
|
302
|
-
need to install the canvas module manually: `
|
|
302
|
+
need to install the canvas module manually: `npm rebuild canvas --update-binary`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jdlien/validator",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"module": "dist/validator.js",
|
|
6
6
|
"types": "dist/Validator.d.ts",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"description": "Validates and sanitizes the inputs in a form using native HTML attributes.",
|
|
11
11
|
"scripts": {
|
|
12
12
|
"dev": "vite",
|
|
13
|
-
"build": "vite build && tsc --emitDeclarationOnly",
|
|
13
|
+
"build": "vite build && tsc --emitDeclarationOnly && tailwindcss -i demo/demo-src.css -o demo/demo.css -m",
|
|
14
14
|
"preview": "vite preview",
|
|
15
15
|
"test": "vitest",
|
|
16
16
|
"coverage": "vitest --coverage",
|
|
@@ -47,6 +47,7 @@
|
|
|
47
47
|
"@tailwindcss/forms": "^0.5.3",
|
|
48
48
|
"@types/jsdom": "^21.1.0",
|
|
49
49
|
"@vitest/coverage-c8": "^0.29.1",
|
|
50
|
+
"canvas": "^2.11.0",
|
|
50
51
|
"jsdom": "^21.1.0",
|
|
51
52
|
"jsdom-global": "^3.0.2",
|
|
52
53
|
"prettier": "^2.8.4",
|
|
@@ -57,6 +58,6 @@
|
|
|
57
58
|
},
|
|
58
59
|
"sideEffects": false,
|
|
59
60
|
"dependencies": {
|
|
60
|
-
"@jdlien/validator-utils": "^1.1.
|
|
61
|
+
"@jdlien/validator-utils": "^1.1.6"
|
|
61
62
|
}
|
|
62
63
|
}
|