react-lgpd-consent 0.3.7 → 0.4.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-lgpd-consent",
3
- "version": "0.3.7",
3
+ "version": "0.4.1",
4
4
  "description": "Biblioteca de consentimento LGPD, integrações nativas e sistema extensível para React.",
5
5
  "keywords": [
6
6
  "lgpd",
@@ -66,6 +66,9 @@
66
66
  "format": "prettier --write \"src/**/*.{ts,tsx,json,md}\" \"eslint.config.js\"",
67
67
  "type-check": "tsc --noEmit",
68
68
  "test": "jest --config jest.config.ts",
69
+ "test:coverage": "jest --config jest.config.ts --coverage",
70
+ "coverage-check": "node scripts/coverage-check.cjs",
71
+ "size-check": "size-limit",
69
72
  "mutation": "npx stryker run",
70
73
  "mutation:tests": "npx stryker run ./stryker.tests.conf.json",
71
74
  "prepublishOnly": "npm run build",
@@ -102,42 +105,67 @@
102
105
  "@eslint/compat": "1.3.2",
103
106
  "@mui/icons-material": "7.3.2",
104
107
  "@mui/material": "7.3.2",
105
- "@storybook/addon-a11y": "9.1.5",
106
- "@storybook/addon-docs": "9.1.5",
107
- "@storybook/addon-vitest": "9.1.5",
108
- "@storybook/react-vite": "9.1.5",
108
+ "@size-limit/preset-small-lib": "^11.2.0",
109
+ "@storybook/addon-a11y": "9.1.7",
110
+ "@storybook/addon-docs": "9.1.7",
111
+ "@storybook/addon-vitest": "9.1.7",
112
+ "@storybook/react-vite": "9.1.7",
109
113
  "@stryker-mutator/core": "9.1.1",
110
114
  "@stryker-mutator/jest-runner": "9.1.1",
111
115
  "@testing-library/dom": "10.4.1",
112
116
  "@testing-library/jest-dom": "6.8.0",
113
- "@testing-library/react": "16.3.0",
117
+ "@testing-library/react": "^16.3.0",
114
118
  "@testing-library/user-event": "14.6.1",
115
- "@types/jest": "29.5.12",
119
+ "@types/jest": "30.0.0",
116
120
  "@types/js-cookie": "3.0.6",
117
- "@types/node": "24.3.1",
118
- "@types/react": "19.1.12",
121
+ "@types/node": "24.5.2",
122
+ "@types/react": "19.1.13",
119
123
  "@types/react-dom": "19.1.9",
120
- "@typescript-eslint/eslint-plugin": "8.43.0",
121
- "@typescript-eslint/parser": "8.43.0",
124
+ "@typescript-eslint/eslint-plugin": "8.44.0",
125
+ "@typescript-eslint/parser": "8.44.0",
122
126
  "cross-env": "10.0.0",
123
- "eslint": "8.57.0",
127
+ "eslint": "9.36.0",
124
128
  "eslint-config-prettier": "10.1.8",
125
129
  "eslint-plugin-jest": "29.0.1",
126
130
  "eslint-plugin-react-hooks": "5.2.0",
127
- "eslint-plugin-storybook": "9.1.5",
128
- "globals": "^15.15.0",
129
- "jest": "29.7.0",
130
- "jest-environment-jsdom": "29.7.0",
131
+ "eslint-plugin-storybook": "9.1.7",
132
+ "globals": "^16.4.0",
133
+ "jest": "30.1.3",
134
+ "jest-environment-jsdom": "30.1.2",
131
135
  "prettier": "3.6.2",
132
136
  "react": "19.1.1",
133
137
  "react-dom": "19.1.1",
134
138
  "rimraf": "6.0.1",
135
- "storybook": "9.1.5",
136
- "ts-jest": "29.4.1",
139
+ "size-limit": "^11.2.0",
140
+ "storybook": "9.1.7",
141
+ "ts-jest": "29.4.4",
137
142
  "ts-node": "10.9.2",
138
143
  "tsup": "8.5.0",
139
- "typedoc": "0.28.12",
144
+ "typedoc": "0.28.13",
140
145
  "typescript": "5.9.2",
141
- "typescript-eslint": "8.43.0"
142
- }
143
- }
146
+ "typescript-eslint": "8.44.0"
147
+ },
148
+ "size-limit": [
149
+ {
150
+ "name": "ESM Bundle",
151
+ "path": "dist/index.js",
152
+ "limit": "17 KB"
153
+ },
154
+ {
155
+ "name": "CJS Bundle",
156
+ "path": "dist/index.cjs",
157
+ "limit": "75 KB"
158
+ },
159
+ {
160
+ "name": "Types",
161
+ "path": "dist/index.d.ts",
162
+ "limit": "100 KB"
163
+ },
164
+ {
165
+ "name": "Complete Package Import",
166
+ "path": "dist/index.js",
167
+ "import": "{ ConsentProvider, useConsent, ConsentScriptLoader }",
168
+ "limit": "15 KB"
169
+ }
170
+ ]
171
+ }