Remove mutable options
This commit is contained in:
parent
8223e88a92
commit
b680e521cc
22 changed files with 354 additions and 568 deletions
477
package-lock.json
generated
477
package-lock.json
generated
|
@ -9,7 +9,7 @@
|
|||
"version": "0.3.1",
|
||||
"license": "AGPL-3.0-or-later",
|
||||
"dependencies": {
|
||||
"@auditors/core": "^0.3.1",
|
||||
"@auditors/core": "^0.4.6",
|
||||
"@tricoteuses/explorer-tools": "^0.3.0",
|
||||
"fast-xml-parser": "^4.2.2",
|
||||
"he": "^1.2.0"
|
||||
|
@ -42,8 +42,8 @@
|
|||
"postcss": "^8.4.14",
|
||||
"postcss-load-config": "^4.0.1",
|
||||
"postgres": "^3.2.4",
|
||||
"prettier": "^2.8.8",
|
||||
"prettier-plugin-svelte": "^2.7.0",
|
||||
"prettier": "^3.0.0",
|
||||
"prettier-plugin-svelte": "^3.0.0",
|
||||
"prettier-plugin-tailwindcss": "^0.4.1",
|
||||
"sade": "^1.8.1",
|
||||
"svelte-check": "^3.0.3",
|
||||
|
@ -95,9 +95,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@auditors/core": {
|
||||
"version": "0.3.1",
|
||||
"resolved": "https://registry.npmjs.org/@auditors/core/-/core-0.3.1.tgz",
|
||||
"integrity": "sha512-VMuHe2GfLn7JbaKEXG4pMgEOUFaGOXk4VQ/QXsuGV7k5SL2yKuRUJRY6gAdTgyzFrYANRxMST4bhEs4Gh6x84w==",
|
||||
"version": "0.4.6",
|
||||
"resolved": "https://registry.npmjs.org/@auditors/core/-/core-0.4.6.tgz",
|
||||
"integrity": "sha512-Wi219gf1OdOLOTUuMbxlyPBcqmQKLBgruAQ0alAxddCCNzS9YPaULPafdGJlGoHzrGjP1fZLgn+DdvuQR+Y5KA==",
|
||||
"engines": {
|
||||
"node": ">=16"
|
||||
}
|
||||
|
@ -512,9 +512,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@eslint-community/regexpp": {
|
||||
"version": "4.5.1",
|
||||
"resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.5.1.tgz",
|
||||
"integrity": "sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6FZTFKQ==",
|
||||
"version": "4.6.1",
|
||||
"resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.6.1.tgz",
|
||||
"integrity": "sha512-O7x6dMstWLn2ktjcoiNLDkAGG2EjveHL+Vvc+n0fXumkJYAcSqcVYKtwDU+hDZ0uDUsnUagSYaZrOLAYE8un1A==",
|
||||
"dev": true,
|
||||
"engines": {
|
||||
"node": "^12.0.0 || ^14.0.0 || >=16.0.0"
|
||||
|
@ -736,13 +736,13 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@playwright/test": {
|
||||
"version": "1.36.1",
|
||||
"resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.36.1.tgz",
|
||||
"integrity": "sha512-YK7yGWK0N3C2QInPU6iaf/L3N95dlGdbsezLya4n0ZCh3IL7VgPGxC6Gnznh9ApWdOmkJeleT2kMTcWPRZvzqg==",
|
||||
"version": "1.36.2",
|
||||
"resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.36.2.tgz",
|
||||
"integrity": "sha512-2rVZeyPRjxfPH6J0oGJqE8YxiM1IBRyM8hyrXYK7eSiAqmbNhxwcLa7dZ7fy9Kj26V7FYia5fh9XJRq4Dqme+g==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@types/node": "*",
|
||||
"playwright-core": "1.36.1"
|
||||
"playwright-core": "1.36.2"
|
||||
},
|
||||
"bin": {
|
||||
"playwright": "cli.js"
|
||||
|
@ -933,16 +933,16 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@sveltejs/vite-plugin-svelte": {
|
||||
"version": "2.4.2",
|
||||
"resolved": "https://registry.npmjs.org/@sveltejs/vite-plugin-svelte/-/vite-plugin-svelte-2.4.2.tgz",
|
||||
"integrity": "sha512-ePfcC48ftMKhkT0OFGdOyycYKnnkT6i/buzey+vHRTR/JpQvuPzzhf1PtKqCDQfJRgoPSN2vscXs6gLigx/zGw==",
|
||||
"version": "2.4.3",
|
||||
"resolved": "https://registry.npmjs.org/@sveltejs/vite-plugin-svelte/-/vite-plugin-svelte-2.4.3.tgz",
|
||||
"integrity": "sha512-NY2h+B54KHZO3kDURTdARqthn6D4YSIebtfW75NvZ/fwyk4G+AJw3V/i0OBjyN4406Ht9yZcnNWMuRUFnDNNiA==",
|
||||
"peer": true,
|
||||
"dependencies": {
|
||||
"@sveltejs/vite-plugin-svelte-inspector": "^1.0.3",
|
||||
"debug": "^4.3.4",
|
||||
"deepmerge": "^4.3.1",
|
||||
"kleur": "^4.1.5",
|
||||
"magic-string": "^0.30.0",
|
||||
"magic-string": "^0.30.1",
|
||||
"svelte-hmr": "^0.15.2",
|
||||
"vitefu": "^0.2.4"
|
||||
},
|
||||
|
@ -1146,9 +1146,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@types/node": {
|
||||
"version": "20.4.2",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.4.2.tgz",
|
||||
"integrity": "sha512-Dd0BYtWgnWJKwO1jkmTrzofjK2QXXcai0dmtzvIBhcA+RsG5h8R3xlyta0kGOZRNfL9GuRtb1knmPEhQrePCEw==",
|
||||
"version": "20.4.4",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.4.4.tgz",
|
||||
"integrity": "sha512-CukZhumInROvLq3+b5gLev+vgpsIqC2D0deQr/yS1WnxvmYLlJXZpaQrQiseMY+6xusl79E04UjWoqyr+t1/Ew==",
|
||||
"devOptional": true
|
||||
},
|
||||
"node_modules/@types/papaparse": {
|
||||
|
@ -1191,16 +1191,16 @@
|
|||
"dev": true
|
||||
},
|
||||
"node_modules/@typescript-eslint/eslint-plugin": {
|
||||
"version": "6.1.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.1.0.tgz",
|
||||
"integrity": "sha512-qg7Bm5TyP/I7iilGyp6DRqqkt8na00lI6HbjWZObgk3FFSzH5ypRwAHXJhJkwiRtTcfn+xYQIMOR5kJgpo6upw==",
|
||||
"version": "6.2.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.2.0.tgz",
|
||||
"integrity": "sha512-rClGrMuyS/3j0ETa1Ui7s6GkLhfZGKZL3ZrChLeAiACBE/tRc1wq8SNZESUuluxhLj9FkUefRs2l6bCIArWBiQ==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@eslint-community/regexpp": "^4.5.1",
|
||||
"@typescript-eslint/scope-manager": "6.1.0",
|
||||
"@typescript-eslint/type-utils": "6.1.0",
|
||||
"@typescript-eslint/utils": "6.1.0",
|
||||
"@typescript-eslint/visitor-keys": "6.1.0",
|
||||
"@typescript-eslint/scope-manager": "6.2.0",
|
||||
"@typescript-eslint/type-utils": "6.2.0",
|
||||
"@typescript-eslint/utils": "6.2.0",
|
||||
"@typescript-eslint/visitor-keys": "6.2.0",
|
||||
"debug": "^4.3.4",
|
||||
"graphemer": "^1.4.0",
|
||||
"ignore": "^5.2.4",
|
||||
|
@ -1227,15 +1227,15 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@typescript-eslint/parser": {
|
||||
"version": "6.1.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.1.0.tgz",
|
||||
"integrity": "sha512-hIzCPvX4vDs4qL07SYzyomamcs2/tQYXg5DtdAfj35AyJ5PIUqhsLf4YrEIFzZcND7R2E8tpQIZKayxg8/6Wbw==",
|
||||
"version": "6.2.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.2.0.tgz",
|
||||
"integrity": "sha512-igVYOqtiK/UsvKAmmloQAruAdUHihsOCvplJpplPZ+3h4aDkC/UKZZNKgB6h93ayuYLuEymU3h8nF1xMRbh37g==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@typescript-eslint/scope-manager": "6.1.0",
|
||||
"@typescript-eslint/types": "6.1.0",
|
||||
"@typescript-eslint/typescript-estree": "6.1.0",
|
||||
"@typescript-eslint/visitor-keys": "6.1.0",
|
||||
"@typescript-eslint/scope-manager": "6.2.0",
|
||||
"@typescript-eslint/types": "6.2.0",
|
||||
"@typescript-eslint/typescript-estree": "6.2.0",
|
||||
"@typescript-eslint/visitor-keys": "6.2.0",
|
||||
"debug": "^4.3.4"
|
||||
},
|
||||
"engines": {
|
||||
|
@ -1255,13 +1255,13 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@typescript-eslint/scope-manager": {
|
||||
"version": "6.1.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.1.0.tgz",
|
||||
"integrity": "sha512-AxjgxDn27hgPpe2rQe19k0tXw84YCOsjDJ2r61cIebq1t+AIxbgiXKvD4999Wk49GVaAcdJ/d49FYel+Pp3jjw==",
|
||||
"version": "6.2.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.2.0.tgz",
|
||||
"integrity": "sha512-1ZMNVgm5nnHURU8ZSJ3snsHzpFeNK84rdZjluEVBGNu7jDymfqceB3kdIZ6A4xCfEFFhRIB6rF8q/JIqJd2R0Q==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@typescript-eslint/types": "6.1.0",
|
||||
"@typescript-eslint/visitor-keys": "6.1.0"
|
||||
"@typescript-eslint/types": "6.2.0",
|
||||
"@typescript-eslint/visitor-keys": "6.2.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^16.0.0 || >=18.0.0"
|
||||
|
@ -1272,13 +1272,13 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@typescript-eslint/type-utils": {
|
||||
"version": "6.1.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.1.0.tgz",
|
||||
"integrity": "sha512-kFXBx6QWS1ZZ5Ni89TyT1X9Ag6RXVIVhqDs0vZE/jUeWlBv/ixq2diua6G7ece6+fXw3TvNRxP77/5mOMusx2w==",
|
||||
"version": "6.2.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.2.0.tgz",
|
||||
"integrity": "sha512-DnGZuNU2JN3AYwddYIqrVkYW0uUQdv0AY+kz2M25euVNlujcN2u+rJgfJsBFlUEzBB6OQkUqSZPyuTLf2bP5mw==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@typescript-eslint/typescript-estree": "6.1.0",
|
||||
"@typescript-eslint/utils": "6.1.0",
|
||||
"@typescript-eslint/typescript-estree": "6.2.0",
|
||||
"@typescript-eslint/utils": "6.2.0",
|
||||
"debug": "^4.3.4",
|
||||
"ts-api-utils": "^1.0.1"
|
||||
},
|
||||
|
@ -1299,9 +1299,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@typescript-eslint/types": {
|
||||
"version": "6.1.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.1.0.tgz",
|
||||
"integrity": "sha512-+Gfd5NHCpDoHDOaU/yIF3WWRI2PcBRKKpP91ZcVbL0t5tQpqYWBs3z/GGhvU+EV1D0262g9XCnyqQh19prU0JQ==",
|
||||
"version": "6.2.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.2.0.tgz",
|
||||
"integrity": "sha512-1nRRaDlp/XYJQLvkQJG5F3uBTno5SHPT7XVcJ5n1/k2WfNI28nJsvLakxwZRNY5spuatEKO7d5nZWsQpkqXwBA==",
|
||||
"dev": true,
|
||||
"engines": {
|
||||
"node": "^16.0.0 || >=18.0.0"
|
||||
|
@ -1312,13 +1312,13 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@typescript-eslint/typescript-estree": {
|
||||
"version": "6.1.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.1.0.tgz",
|
||||
"integrity": "sha512-nUKAPWOaP/tQjU1IQw9sOPCDavs/iU5iYLiY/6u7gxS7oKQoi4aUxXS1nrrVGTyBBaGesjkcwwHkbkiD5eBvcg==",
|
||||
"version": "6.2.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.2.0.tgz",
|
||||
"integrity": "sha512-Mts6+3HQMSM+LZCglsc2yMIny37IhUgp1Qe8yJUYVyO6rHP7/vN0vajKu3JvHCBIy8TSiKddJ/Zwu80jhnGj1w==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@typescript-eslint/types": "6.1.0",
|
||||
"@typescript-eslint/visitor-keys": "6.1.0",
|
||||
"@typescript-eslint/types": "6.2.0",
|
||||
"@typescript-eslint/visitor-keys": "6.2.0",
|
||||
"debug": "^4.3.4",
|
||||
"globby": "^11.1.0",
|
||||
"is-glob": "^4.0.3",
|
||||
|
@ -1339,17 +1339,17 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@typescript-eslint/utils": {
|
||||
"version": "6.1.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.1.0.tgz",
|
||||
"integrity": "sha512-wp652EogZlKmQoMS5hAvWqRKplXvkuOnNzZSE0PVvsKjpexd/XznRVHAtrfHFYmqaJz0DFkjlDsGYC9OXw+OhQ==",
|
||||
"version": "6.2.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.2.0.tgz",
|
||||
"integrity": "sha512-RCFrC1lXiX1qEZN8LmLrxYRhOkElEsPKTVSNout8DMzf8PeWoQG7Rxz2SadpJa3VSh5oYKGwt7j7X/VRg+Y3OQ==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@eslint-community/eslint-utils": "^4.4.0",
|
||||
"@types/json-schema": "^7.0.12",
|
||||
"@types/semver": "^7.5.0",
|
||||
"@typescript-eslint/scope-manager": "6.1.0",
|
||||
"@typescript-eslint/types": "6.1.0",
|
||||
"@typescript-eslint/typescript-estree": "6.1.0",
|
||||
"@typescript-eslint/scope-manager": "6.2.0",
|
||||
"@typescript-eslint/types": "6.2.0",
|
||||
"@typescript-eslint/typescript-estree": "6.2.0",
|
||||
"semver": "^7.5.4"
|
||||
},
|
||||
"engines": {
|
||||
|
@ -1364,12 +1364,12 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@typescript-eslint/visitor-keys": {
|
||||
"version": "6.1.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.1.0.tgz",
|
||||
"integrity": "sha512-yQeh+EXhquh119Eis4k0kYhj9vmFzNpbhM3LftWQVwqVjipCkwHBQOZutcYW+JVkjtTG9k8nrZU1UoNedPDd1A==",
|
||||
"version": "6.2.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.2.0.tgz",
|
||||
"integrity": "sha512-QbaYUQVKKo9bgCzpjz45llCfwakyoxHetIy8CAvYCtd16Zu1KrpzNHofwF8kGkpPOxZB2o6kz+0nqH8ZkIzuoQ==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@typescript-eslint/types": "6.1.0",
|
||||
"@typescript-eslint/types": "6.2.0",
|
||||
"eslint-visitor-keys": "^3.4.1"
|
||||
},
|
||||
"engines": {
|
||||
|
@ -2022,9 +2022,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/daisyui": {
|
||||
"version": "3.2.1",
|
||||
"resolved": "https://registry.npmjs.org/daisyui/-/daisyui-3.2.1.tgz",
|
||||
"integrity": "sha512-gIqE6wiqoJt9G8+n3R/SwLeUnpNCE2eDhT73rP0yZYVaM7o6zVcakBH3aEW5RGpx3UkonPiLuvcgxRcb2lE8TA==",
|
||||
"version": "3.4.0",
|
||||
"resolved": "https://registry.npmjs.org/daisyui/-/daisyui-3.4.0.tgz",
|
||||
"integrity": "sha512-s9EvNxnw/ubCIopKul+3ddASzZG+jMOmZgLJ0BFOVnxFQy6HJ5+EbMx5yY7Ef0cA6qjeUMl88SwhE94WLSLtHQ==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"colord": "^2.9",
|
||||
|
@ -2349,9 +2349,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"node_modules/electron-to-chromium": {
|
||||
"version": "1.4.464",
|
||||
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.464.tgz",
|
||||
"integrity": "sha512-guZ84yoou4+ILNdj0XEbmGs6DEWj6zpVOWYpY09GU66yEb0DSYvP/biBPzHn0GuW/3RC/pnaYNUWlQE1fJYtgA==",
|
||||
"version": "1.4.470",
|
||||
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.470.tgz",
|
||||
"integrity": "sha512-zZM48Lmy2FKWgqyvsX9XK+J6FfP7aCDUFLmgooLJzA7v1agCs/sxSoBpTIwDLhmbhpx9yJIxj2INig/ncjJRqg==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/emoji-regex": {
|
||||
|
@ -2523,22 +2523,22 @@
|
|||
}
|
||||
},
|
||||
"node_modules/eslint-plugin-svelte": {
|
||||
"version": "2.32.2",
|
||||
"resolved": "https://registry.npmjs.org/eslint-plugin-svelte/-/eslint-plugin-svelte-2.32.2.tgz",
|
||||
"integrity": "sha512-Jgbop2fNZsoxxkklZAIbDNhwAPynvnCtUXLsEC6O2qax7N/pfe2cNqT0ZoBbubXKJitQQDEyVDQ1rZs4ZWcrTA==",
|
||||
"version": "2.32.4",
|
||||
"resolved": "https://registry.npmjs.org/eslint-plugin-svelte/-/eslint-plugin-svelte-2.32.4.tgz",
|
||||
"integrity": "sha512-VJ12i2Iogug1jvhwxSlognnfGj76P5gks/V4pUD4SCSVQOp14u47MNP0zAG8AQR3LT0Fi1iUvIFnY4l9z5Rwbg==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@eslint-community/eslint-utils": "^4.2.0",
|
||||
"@jridgewell/sourcemap-codec": "^1.4.14",
|
||||
"debug": "^4.3.1",
|
||||
"esutils": "^2.0.3",
|
||||
"known-css-properties": "^0.27.0",
|
||||
"known-css-properties": "^0.28.0",
|
||||
"postcss": "^8.4.5",
|
||||
"postcss-load-config": "^3.1.4",
|
||||
"postcss-safe-parser": "^6.0.0",
|
||||
"postcss-selector-parser": "^6.0.11",
|
||||
"semver": "^7.5.3",
|
||||
"svelte-eslint-parser": "^0.32.0"
|
||||
"svelte-eslint-parser": "^0.32.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^14.17.0 || >=16.0.0"
|
||||
|
@ -2607,19 +2607,7 @@
|
|||
"node": ">= 6"
|
||||
}
|
||||
},
|
||||
"node_modules/eslint-visitor-keys": {
|
||||
"version": "3.4.1",
|
||||
"resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz",
|
||||
"integrity": "sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==",
|
||||
"dev": true,
|
||||
"engines": {
|
||||
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://opencollective.com/eslint"
|
||||
}
|
||||
},
|
||||
"node_modules/eslint/node_modules/eslint-scope": {
|
||||
"node_modules/eslint-scope": {
|
||||
"version": "7.2.1",
|
||||
"resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.1.tgz",
|
||||
"integrity": "sha512-CvefSOsDdaYYvxChovdrPo/ZGt8d5lrJWleAc1diXRKhHGiTYEI26cvo8Kle/wGnsizoCJjK73FMg1/IkIwiNA==",
|
||||
|
@ -2635,13 +2623,16 @@
|
|||
"url": "https://opencollective.com/eslint"
|
||||
}
|
||||
},
|
||||
"node_modules/eslint/node_modules/estraverse": {
|
||||
"version": "5.3.0",
|
||||
"resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",
|
||||
"integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",
|
||||
"node_modules/eslint-visitor-keys": {
|
||||
"version": "3.4.1",
|
||||
"resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz",
|
||||
"integrity": "sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==",
|
||||
"dev": true,
|
||||
"engines": {
|
||||
"node": ">=4.0"
|
||||
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://opencollective.com/eslint"
|
||||
}
|
||||
},
|
||||
"node_modules/eslint/node_modules/glob-parent": {
|
||||
|
@ -2704,15 +2695,6 @@
|
|||
"node": ">=0.10"
|
||||
}
|
||||
},
|
||||
"node_modules/esquery/node_modules/estraverse": {
|
||||
"version": "5.3.0",
|
||||
"resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",
|
||||
"integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",
|
||||
"dev": true,
|
||||
"engines": {
|
||||
"node": ">=4.0"
|
||||
}
|
||||
},
|
||||
"node_modules/esrecurse": {
|
||||
"version": "4.3.0",
|
||||
"resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz",
|
||||
|
@ -2725,7 +2707,7 @@
|
|||
"node": ">=4.0"
|
||||
}
|
||||
},
|
||||
"node_modules/esrecurse/node_modules/estraverse": {
|
||||
"node_modules/estraverse": {
|
||||
"version": "5.3.0",
|
||||
"resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",
|
||||
"integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",
|
||||
|
@ -2771,9 +2753,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"node_modules/fast-glob": {
|
||||
"version": "3.3.0",
|
||||
"resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.0.tgz",
|
||||
"integrity": "sha512-ChDuvbOypPuNjO8yIDf36x7BlZX1smcUMTTcyoIjycexOxd6DFsKsg21qVBzEmr3G7fUKIRy2/psii+CIUt7FA==",
|
||||
"version": "3.3.1",
|
||||
"resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.1.tgz",
|
||||
"integrity": "sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@nodelib/fs.stat": "^2.0.2",
|
||||
|
@ -3796,9 +3778,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"node_modules/jackspeak": {
|
||||
"version": "2.2.1",
|
||||
"resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.2.1.tgz",
|
||||
"integrity": "sha512-MXbxovZ/Pm42f6cDIDkl3xpwv1AGwObKwfmjs2nQePiy85tP3fatofl3FC1aBsOtP/6fq5SbtgHwWcMsLP+bDw==",
|
||||
"version": "2.2.2",
|
||||
"resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.2.2.tgz",
|
||||
"integrity": "sha512-mgNtVv4vUuaKA97yxUHoA3+FkuhtxkjdXEWOyB/N76fjy0FjezEt34oy3epBtvCvS+7DyKwqCFWx/oJLV5+kCg==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@isaacs/cliui": "^8.0.2"
|
||||
|
@ -3909,9 +3891,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/known-css-properties": {
|
||||
"version": "0.27.0",
|
||||
"resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.27.0.tgz",
|
||||
"integrity": "sha512-uMCj6+hZYDoffuvAJjFAPz56E9uoowFHmTkqRtRq5WyC5Q6Cu/fTZKNQpX/RbzChBYLLl3lo8CjFZBAZXq9qFg==",
|
||||
"version": "0.28.0",
|
||||
"resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.28.0.tgz",
|
||||
"integrity": "sha512-9pSL5XB4J+ifHP0e0jmmC98OGC1nL8/JjS+fi6mnTlIf//yt/MfVLtKg7S6nCtj/8KTcWX7nRlY0XywoYY1ISQ==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/levn": {
|
||||
|
@ -4689,9 +4671,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/playwright-core": {
|
||||
"version": "1.36.1",
|
||||
"resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.36.1.tgz",
|
||||
"integrity": "sha512-7+tmPuMcEW4xeCL9cp9KxmYpQYHKkyjwoXRnoeTowaeNat8PoBMk/HwCYhqkH2fRkshfKEOiVus/IhID2Pg8kg==",
|
||||
"version": "1.36.2",
|
||||
"resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.36.2.tgz",
|
||||
"integrity": "sha512-sQYZt31dwkqxOrP7xy2ggDfEzUxM1lodjhsQ3NMMv5uGTRDsLxU0e4xf4wwMkF2gplIxf17QMBCodSFgm6bFVQ==",
|
||||
"dev": true,
|
||||
"bin": {
|
||||
"playwright-core": "cli.js"
|
||||
|
@ -4701,9 +4683,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/postcss": {
|
||||
"version": "8.4.26",
|
||||
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.26.tgz",
|
||||
"integrity": "sha512-jrXHFF8iTloAenySjM/ob3gSj7pCu0Ji49hnjqzsgSRa50hkWCKD0HQ+gMNJkW38jBI68MpAAg7ZWwHwX8NMMw==",
|
||||
"version": "8.4.27",
|
||||
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.27.tgz",
|
||||
"integrity": "sha512-gY/ACJtJPSmUFPDCHtX78+01fHa64FaU4zaaWfuh1MhGJISufJAH4cun6k/8fwsHYeK4UQmENQK+tRLCFJE8JQ==",
|
||||
"funding": [
|
||||
{
|
||||
"type": "opencollective",
|
||||
|
@ -4901,27 +4883,27 @@
|
|||
}
|
||||
},
|
||||
"node_modules/prettier": {
|
||||
"version": "2.8.8",
|
||||
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz",
|
||||
"integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==",
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.0.tgz",
|
||||
"integrity": "sha512-zBf5eHpwHOGPC47h0zrPyNn+eAEIdEzfywMoYn2XPi0P44Zp0tSq64rq0xAREh4auw2cJZHo9QUob+NqCQky4g==",
|
||||
"dev": true,
|
||||
"bin": {
|
||||
"prettier": "bin-prettier.js"
|
||||
"prettier": "bin/prettier.cjs"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=10.13.0"
|
||||
"node": ">=14"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/prettier/prettier?sponsor=1"
|
||||
}
|
||||
},
|
||||
"node_modules/prettier-plugin-svelte": {
|
||||
"version": "2.10.1",
|
||||
"resolved": "https://registry.npmjs.org/prettier-plugin-svelte/-/prettier-plugin-svelte-2.10.1.tgz",
|
||||
"integrity": "sha512-Wlq7Z5v2ueCubWo0TZzKc9XHcm7TDxqcuzRuGd0gcENfzfT4JZ9yDlCbEgxWgiPmLHkBjfOtpAWkcT28MCDpUQ==",
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/prettier-plugin-svelte/-/prettier-plugin-svelte-3.0.0.tgz",
|
||||
"integrity": "sha512-l3RQcPty2UBCoRh3yb9c5XCAmxkrc4BptAnbd5acO1gmSJtChOWkiEjnOvh7hvmtT4V80S8gXCOKAq8RNeIzSw==",
|
||||
"dev": true,
|
||||
"peerDependencies": {
|
||||
"prettier": "^1.16.4 || ^2.0.0",
|
||||
"prettier": "^3.0.0",
|
||||
"svelte": "^3.2.0 || ^4.0.0-next.0"
|
||||
}
|
||||
},
|
||||
|
@ -5615,9 +5597,9 @@
|
|||
"integrity": "sha512-J8bbNyKKXl5qYcR36TIO8W3mVGVHrmmxsd5PAItGkmyzwJvybiw2IVq5nqd0i4LSNSkB/sx9VHllbfFdr9k1JA=="
|
||||
},
|
||||
"node_modules/sucrase": {
|
||||
"version": "3.33.0",
|
||||
"resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.33.0.tgz",
|
||||
"integrity": "sha512-ARGC7vbufOHfpvyGcZZXFaXCMZ9A4fffOGC5ucOW7+WHDGlAe8LJdf3Jts1sWhDeiI1RSWrKy5Hodl+JWGdW2A==",
|
||||
"version": "3.34.0",
|
||||
"resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.34.0.tgz",
|
||||
"integrity": "sha512-70/LQEZ07TEcxiU2dz51FKaE6hCTWC6vr7FOk3Gr0U60C3shtAN+H+BFr9XlYe5xqf3RA8nrc+VIwzCfnxuXJw==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@jridgewell/gen-mapping": "^0.3.2",
|
||||
|
@ -5681,9 +5663,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/svelte": {
|
||||
"version": "4.0.5",
|
||||
"resolved": "https://registry.npmjs.org/svelte/-/svelte-4.0.5.tgz",
|
||||
"integrity": "sha512-PHKPWP1wiWHBtsE57nCb8xiWB3Ht7/3Kvi3jac0XIxUM2rep8alO7YoAtgWeGD7++tFy46krilOrPW0mG3Dx+A==",
|
||||
"version": "4.1.1",
|
||||
"resolved": "https://registry.npmjs.org/svelte/-/svelte-4.1.1.tgz",
|
||||
"integrity": "sha512-Enick5fPFISLoVy0MFK45cG+YlQt6upw8skEK9zzTpJnH1DqEv8xOZwizCGSo3Q6HZ7KrZTM0J18poF7aQg5zw==",
|
||||
"peer": true,
|
||||
"dependencies": {
|
||||
"@ampproject/remapping": "^2.2.1",
|
||||
|
@ -5727,9 +5709,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/svelte-eslint-parser": {
|
||||
"version": "0.32.1",
|
||||
"resolved": "https://registry.npmjs.org/svelte-eslint-parser/-/svelte-eslint-parser-0.32.1.tgz",
|
||||
"integrity": "sha512-GCSfeIzdgk53CaOzK+s/+l2igfTno3mWGkwoDYAwPes/rD9Al2fc7ksfopjx5UL87S7dw1eL73F6wNYiiuhzIA==",
|
||||
"version": "0.32.2",
|
||||
"resolved": "https://registry.npmjs.org/svelte-eslint-parser/-/svelte-eslint-parser-0.32.2.tgz",
|
||||
"integrity": "sha512-Ok9D3A4b23iLQsONrjqtXtYDu5ZZ/826Blaw2LeFZVTg1pwofKDG4mz3/GYTax8fQ0plRGHI6j+d9VQYy5Lo/A==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"eslint-scope": "^7.0.0",
|
||||
|
@ -5753,31 +5735,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"node_modules/svelte-eslint-parser/node_modules/eslint-scope": {
|
||||
"version": "7.2.1",
|
||||
"resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.1.tgz",
|
||||
"integrity": "sha512-CvefSOsDdaYYvxChovdrPo/ZGt8d5lrJWleAc1diXRKhHGiTYEI26cvo8Kle/wGnsizoCJjK73FMg1/IkIwiNA==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"esrecurse": "^4.3.0",
|
||||
"estraverse": "^5.2.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://opencollective.com/eslint"
|
||||
}
|
||||
},
|
||||
"node_modules/svelte-eslint-parser/node_modules/estraverse": {
|
||||
"version": "5.3.0",
|
||||
"resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",
|
||||
"integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",
|
||||
"dev": true,
|
||||
"engines": {
|
||||
"node": ">=4.0"
|
||||
}
|
||||
},
|
||||
"node_modules/svelte-hmr": {
|
||||
"version": "0.15.2",
|
||||
"resolved": "https://registry.npmjs.org/svelte-hmr/-/svelte-hmr-0.15.2.tgz",
|
||||
|
@ -6073,9 +6030,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"node_modules/tslib": {
|
||||
"version": "2.6.0",
|
||||
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.0.tgz",
|
||||
"integrity": "sha512-7At1WUettjcSRHXCyYtTselblcHl9PJFFVKiCAy/bY97+BPZXSQ2wbq0P9s8tK2G7dFQfNnlJnPAiArVBVBsfA==",
|
||||
"version": "2.6.1",
|
||||
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.1.tgz",
|
||||
"integrity": "sha512-t0hLfiEKfMUoqhG+U1oid7Pva4bbDPHYfJNiB7BiIjRkj1pyC++4N3huJfqY6aRH6VTB0rvtzQwjM4K6qpfOig==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/tsx": {
|
||||
|
@ -6218,12 +6175,12 @@
|
|||
"dev": true
|
||||
},
|
||||
"node_modules/vite": {
|
||||
"version": "4.4.4",
|
||||
"resolved": "https://registry.npmjs.org/vite/-/vite-4.4.4.tgz",
|
||||
"integrity": "sha512-4mvsTxjkveWrKDJI70QmelfVqTm+ihFAb6+xf4sjEU2TmUCTlVX87tmg/QooPEMQb/lM9qGHT99ebqPziEd3wg==",
|
||||
"version": "4.4.7",
|
||||
"resolved": "https://registry.npmjs.org/vite/-/vite-4.4.7.tgz",
|
||||
"integrity": "sha512-6pYf9QJ1mHylfVh39HpuSfMPojPSKVxZvnclX1K1FyZ1PXDOcLBibdq5t1qxJSnL63ca8Wf4zts6mD8u8oc9Fw==",
|
||||
"dependencies": {
|
||||
"esbuild": "^0.18.10",
|
||||
"postcss": "^8.4.25",
|
||||
"postcss": "^8.4.26",
|
||||
"rollup": "^3.25.2"
|
||||
},
|
||||
"bin": {
|
||||
|
@ -6272,9 +6229,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/vite/node_modules/@esbuild/android-arm": {
|
||||
"version": "0.18.14",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.14.tgz",
|
||||
"integrity": "sha512-blODaaL+lngG5bdK/t4qZcQvq2BBqrABmYwqPPcS5VRxrCSGHb9R/rA3fqxh7R18I7WU4KKv+NYkt22FDfalcg==",
|
||||
"version": "0.18.16",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.16.tgz",
|
||||
"integrity": "sha512-gCHjjQmA8L0soklKbLKA6pgsLk1byULuHe94lkZDzcO3/Ta+bbeewJioEn1Fr7kgy9NWNFy/C+MrBwC6I/WCug==",
|
||||
"cpu": [
|
||||
"arm"
|
||||
],
|
||||
|
@ -6287,9 +6244,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/vite/node_modules/@esbuild/android-arm64": {
|
||||
"version": "0.18.14",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.18.14.tgz",
|
||||
"integrity": "sha512-rZ2v+Luba5/3D6l8kofWgTnqE+qsC/L5MleKIKFyllHTKHrNBMqeRCnZI1BtRx8B24xMYxeU32iIddRQqMsOsg==",
|
||||
"version": "0.18.16",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.18.16.tgz",
|
||||
"integrity": "sha512-wsCqSPqLz+6Ov+OM4EthU43DyYVVyfn15S4j1bJzylDpc1r1jZFFfJQNfDuT8SlgwuqpmpJXK4uPlHGw6ve7eA==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
|
@ -6302,9 +6259,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/vite/node_modules/@esbuild/android-x64": {
|
||||
"version": "0.18.14",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.18.14.tgz",
|
||||
"integrity": "sha512-qSwh8y38QKl+1Iqg+YhvCVYlSk3dVLk9N88VO71U4FUjtiSFylMWK3Ugr8GC6eTkkP4Tc83dVppt2n8vIdlSGg==",
|
||||
"version": "0.18.16",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.18.16.tgz",
|
||||
"integrity": "sha512-ldsTXolyA3eTQ1//4DS+E15xl0H/3DTRJaRL0/0PgkqDsI0fV/FlOtD+h0u/AUJr+eOTlZv4aC9gvfppo3C4sw==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
|
@ -6317,9 +6274,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/vite/node_modules/@esbuild/darwin-arm64": {
|
||||
"version": "0.18.14",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.18.14.tgz",
|
||||
"integrity": "sha512-9Hl2D2PBeDYZiNbnRKRWuxwHa9v5ssWBBjisXFkVcSP5cZqzZRFBUWEQuqBHO4+PKx4q4wgHoWtfQ1S7rUqJ2Q==",
|
||||
"version": "0.18.16",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.18.16.tgz",
|
||||
"integrity": "sha512-aBxruWCII+OtluORR/KvisEw0ALuw/qDQWvkoosA+c/ngC/Kwk0lLaZ+B++LLS481/VdydB2u6tYpWxUfnLAIw==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
|
@ -6332,9 +6289,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/vite/node_modules/@esbuild/darwin-x64": {
|
||||
"version": "0.18.14",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.18.14.tgz",
|
||||
"integrity": "sha512-ZnI3Dg4ElQ6tlv82qLc/UNHtFsgZSKZ7KjsUNAo1BF1SoYDjkGKHJyCrYyWjFecmXpvvG/KJ9A/oe0H12odPLQ==",
|
||||
"version": "0.18.16",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.18.16.tgz",
|
||||
"integrity": "sha512-6w4Dbue280+rp3LnkgmriS1icOUZDyPuZo/9VsuMUTns7SYEiOaJ7Ca1cbhu9KVObAWfmdjUl4gwy9TIgiO5eA==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
|
@ -6347,9 +6304,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/vite/node_modules/@esbuild/freebsd-arm64": {
|
||||
"version": "0.18.14",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.14.tgz",
|
||||
"integrity": "sha512-h3OqR80Da4oQCIa37zl8tU5MwHQ7qgPV0oVScPfKJK21fSRZEhLE4IIVpmcOxfAVmqjU6NDxcxhYaM8aDIGRLw==",
|
||||
"version": "0.18.16",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.16.tgz",
|
||||
"integrity": "sha512-x35fCebhe9s979DGKbVAwXUOcTmCIE32AIqB9CB1GralMIvxdnMLAw5CnID17ipEw9/3MvDsusj/cspYt2ZLNQ==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
|
@ -6362,9 +6319,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/vite/node_modules/@esbuild/freebsd-x64": {
|
||||
"version": "0.18.14",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.18.14.tgz",
|
||||
"integrity": "sha512-ha4BX+S6CZG4BoH9tOZTrFIYC1DH13UTCRHzFc3GWX74nz3h/N6MPF3tuR3XlsNjMFUazGgm35MPW5tHkn2lzQ==",
|
||||
"version": "0.18.16",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.18.16.tgz",
|
||||
"integrity": "sha512-YM98f+PeNXF3GbxIJlUsj+McUWG1irguBHkszCIwfr3BXtXZsXo0vqybjUDFfu9a8Wr7uUD/YSmHib+EeGAFlg==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
|
@ -6377,9 +6334,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/vite/node_modules/@esbuild/linux-arm": {
|
||||
"version": "0.18.14",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.18.14.tgz",
|
||||
"integrity": "sha512-5+7vehI1iqru5WRtJyU2XvTOvTGURw3OZxe3YTdE9muNNIdmKAVmSHpB3Vw2LazJk2ifEdIMt/wTWnVe5V98Kg==",
|
||||
"version": "0.18.16",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.18.16.tgz",
|
||||
"integrity": "sha512-b5ABb+5Ha2C9JkeZXV+b+OruR1tJ33ePmv9ZwMeETSEKlmu/WJ45XTTG+l6a2KDsQtJJ66qo/hbSGBtk0XVLHw==",
|
||||
"cpu": [
|
||||
"arm"
|
||||
],
|
||||
|
@ -6392,9 +6349,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/vite/node_modules/@esbuild/linux-arm64": {
|
||||
"version": "0.18.14",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.18.14.tgz",
|
||||
"integrity": "sha512-IXORRe22In7U65NZCzjwAUc03nn8SDIzWCnfzJ6t/8AvGx5zBkcLfknI+0P+hhuftufJBmIXxdSTbzWc8X/V4w==",
|
||||
"version": "0.18.16",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.18.16.tgz",
|
||||
"integrity": "sha512-XIqhNUxJiuy+zsR77+H5Z2f7s4YRlriSJKtvx99nJuG5ATuJPjmZ9n0ANgnGlPCpXGSReFpgcJ7O3SMtzIFeiQ==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
|
@ -6407,9 +6364,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/vite/node_modules/@esbuild/linux-ia32": {
|
||||
"version": "0.18.14",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.18.14.tgz",
|
||||
"integrity": "sha512-BfHlMa0nibwpjG+VXbOoqJDmFde4UK2gnW351SQ2Zd4t1N3zNdmUEqRkw/srC1Sa1DRBE88Dbwg4JgWCbNz/FQ==",
|
||||
"version": "0.18.16",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.18.16.tgz",
|
||||
"integrity": "sha512-no+pfEpwnRvIyH+txbBAWtjxPU9grslmTBfsmDndj7bnBmr55rOo/PfQmRfz7Qg9isswt1FP5hBbWb23fRWnow==",
|
||||
"cpu": [
|
||||
"ia32"
|
||||
],
|
||||
|
@ -6422,9 +6379,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/vite/node_modules/@esbuild/linux-loong64": {
|
||||
"version": "0.18.14",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.18.14.tgz",
|
||||
"integrity": "sha512-j2/Ex++DRUWIAaUDprXd3JevzGtZ4/d7VKz+AYDoHZ3HjJzCyYBub9CU1wwIXN+viOP0b4VR3RhGClsvyt/xSw==",
|
||||
"version": "0.18.16",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.18.16.tgz",
|
||||
"integrity": "sha512-Zbnczs9ZXjmo0oZSS0zbNlJbcwKXa/fcNhYQjahDs4Xg18UumpXG/lwM2lcSvHS3mTrRyCYZvJbmzYc4laRI1g==",
|
||||
"cpu": [
|
||||
"loong64"
|
||||
],
|
||||
|
@ -6437,9 +6394,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/vite/node_modules/@esbuild/linux-mips64el": {
|
||||
"version": "0.18.14",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.18.14.tgz",
|
||||
"integrity": "sha512-qn2+nc+ZCrJmiicoAnJXJJkZWt8Nwswgu1crY7N+PBR8ChBHh89XRxj38UU6Dkthl2yCVO9jWuafZ24muzDC/A==",
|
||||
"version": "0.18.16",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.18.16.tgz",
|
||||
"integrity": "sha512-YMF7hih1HVR/hQVa/ot4UVffc5ZlrzEb3k2ip0nZr1w6fnYypll9td2qcoMLvd3o8j3y6EbJM3MyIcXIVzXvQQ==",
|
||||
"cpu": [
|
||||
"mips64el"
|
||||
],
|
||||
|
@ -6452,9 +6409,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/vite/node_modules/@esbuild/linux-ppc64": {
|
||||
"version": "0.18.14",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.18.14.tgz",
|
||||
"integrity": "sha512-aGzXzd+djqeEC5IRkDKt3kWzvXoXC6K6GyYKxd+wsFJ2VQYnOWE954qV2tvy5/aaNrmgPTb52cSCHFE+Z7Z0yg==",
|
||||
"version": "0.18.16",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.18.16.tgz",
|
||||
"integrity": "sha512-Wkz++LZ29lDwUyTSEnzDaaP5OveOgTU69q9IyIw9WqLRxM4BjTBjz9un4G6TOvehWpf/J3gYVFN96TjGHrbcNQ==",
|
||||
"cpu": [
|
||||
"ppc64"
|
||||
],
|
||||
|
@ -6467,9 +6424,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/vite/node_modules/@esbuild/linux-riscv64": {
|
||||
"version": "0.18.14",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.18.14.tgz",
|
||||
"integrity": "sha512-8C6vWbfr0ygbAiMFLS6OPz0BHvApkT2gCboOGV76YrYw+sD/MQJzyITNsjZWDXJwPu9tjrFQOVG7zijRzBCnLw==",
|
||||
"version": "0.18.16",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.18.16.tgz",
|
||||
"integrity": "sha512-LFMKZ30tk78/mUv1ygvIP+568bwf4oN6reG/uczXnz6SvFn4e2QUFpUpZY9iSJT6Qpgstrhef/nMykIXZtZWGQ==",
|
||||
"cpu": [
|
||||
"riscv64"
|
||||
],
|
||||
|
@ -6482,9 +6439,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/vite/node_modules/@esbuild/linux-s390x": {
|
||||
"version": "0.18.14",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.18.14.tgz",
|
||||
"integrity": "sha512-G/Lf9iu8sRMM60OVGOh94ZW2nIStksEcITkXdkD09/T6QFD/o+g0+9WVyR/jajIb3A0LvBJ670tBnGe1GgXMgw==",
|
||||
"version": "0.18.16",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.18.16.tgz",
|
||||
"integrity": "sha512-3ZC0BgyYHYKfZo3AV2/66TD/I9tlSBaW7eWTEIkrQQKfJIifKMMttXl9FrAg+UT0SGYsCRLI35Gwdmm96vlOjg==",
|
||||
"cpu": [
|
||||
"s390x"
|
||||
],
|
||||
|
@ -6497,9 +6454,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/vite/node_modules/@esbuild/linux-x64": {
|
||||
"version": "0.18.14",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.18.14.tgz",
|
||||
"integrity": "sha512-TBgStYBQaa3EGhgqIDM+ECnkreb0wkcKqL7H6m+XPcGUoU4dO7dqewfbm0mWEQYH3kzFHrzjOFNpSAVzDZRSJw==",
|
||||
"version": "0.18.16",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.18.16.tgz",
|
||||
"integrity": "sha512-xu86B3647DihHJHv/wx3NCz2Dg1gjQ8bbf9cVYZzWKY+gsvxYmn/lnVlqDRazObc3UMwoHpUhNYaZset4X8IPA==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
|
@ -6512,9 +6469,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/vite/node_modules/@esbuild/netbsd-x64": {
|
||||
"version": "0.18.14",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.18.14.tgz",
|
||||
"integrity": "sha512-stvCcjyCQR2lMTroqNhAbvROqRjxPEq0oQ380YdXxA81TaRJEucH/PzJ/qsEtsHgXlWFW6Ryr/X15vxQiyRXVg==",
|
||||
"version": "0.18.16",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.18.16.tgz",
|
||||
"integrity": "sha512-uVAgpimx9Ffw3xowtg/7qQPwHFx94yCje+DoBx+LNm2ePDpQXHrzE+Sb0Si2VBObYz+LcRps15cq+95YM7gkUw==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
|
@ -6527,9 +6484,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/vite/node_modules/@esbuild/openbsd-x64": {
|
||||
"version": "0.18.14",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.18.14.tgz",
|
||||
"integrity": "sha512-apAOJF14CIsN5ht1PA57PboEMsNV70j3FUdxLmA2liZ20gEQnfTG5QU0FhENo5nwbTqCB2O3WDsXAihfODjHYw==",
|
||||
"version": "0.18.16",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.18.16.tgz",
|
||||
"integrity": "sha512-6OjCQM9wf7z8/MBi6BOWaTL2AS/SZudsZtBziXMtNI8r/U41AxS9x7jn0ATOwVy08OotwkPqGRMkpPR2wcTJXA==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
|
@ -6542,9 +6499,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/vite/node_modules/@esbuild/sunos-x64": {
|
||||
"version": "0.18.14",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.18.14.tgz",
|
||||
"integrity": "sha512-fYRaaS8mDgZcGybPn2MQbn1ZNZx+UXFSUoS5Hd2oEnlsyUcr/l3c6RnXf1bLDRKKdLRSabTmyCy7VLQ7VhGdOQ==",
|
||||
"version": "0.18.16",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.18.16.tgz",
|
||||
"integrity": "sha512-ZoNkruFYJp9d1LbUYCh8awgQDvB9uOMZqlQ+gGEZR7v6C+N6u7vPr86c+Chih8niBR81Q/bHOSKGBK3brJyvkQ==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
|
@ -6557,9 +6514,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/vite/node_modules/@esbuild/win32-arm64": {
|
||||
"version": "0.18.14",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.18.14.tgz",
|
||||
"integrity": "sha512-1c44RcxKEJPrVj62XdmYhxXaU/V7auELCmnD+Ri+UCt+AGxTvzxl9uauQhrFso8gj6ZV1DaORV0sT9XSHOAk8Q==",
|
||||
"version": "0.18.16",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.18.16.tgz",
|
||||
"integrity": "sha512-+j4anzQ9hrs+iqO+/wa8UE6TVkKua1pXUb0XWFOx0FiAj6R9INJ+WE//1/Xo6FG1vB5EpH3ko+XcgwiDXTxcdw==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
|
@ -6572,9 +6529,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/vite/node_modules/@esbuild/win32-ia32": {
|
||||
"version": "0.18.14",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.18.14.tgz",
|
||||
"integrity": "sha512-EXAFttrdAxZkFQmpvcAQ2bywlWUsONp/9c2lcfvPUhu8vXBBenCXpoq9YkUvVP639ld3YGiYx0YUQ6/VQz3Maw==",
|
||||
"version": "0.18.16",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.18.16.tgz",
|
||||
"integrity": "sha512-5PFPmq3sSKTp9cT9dzvI67WNfRZGvEVctcZa1KGjDDu4n3H8k59Inbk0du1fz0KrAbKKNpJbdFXQMDUz7BG4rQ==",
|
||||
"cpu": [
|
||||
"ia32"
|
||||
],
|
||||
|
@ -6587,9 +6544,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/vite/node_modules/@esbuild/win32-x64": {
|
||||
"version": "0.18.14",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.18.14.tgz",
|
||||
"integrity": "sha512-K0QjGbcskx+gY+qp3v4/940qg8JitpXbdxFhRDA1aYoNaPff88+aEwoq45aqJ+ogpxQxmU0ZTjgnrQD/w8iiUg==",
|
||||
"version": "0.18.16",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.18.16.tgz",
|
||||
"integrity": "sha512-sCIVrrtcWN5Ua7jYXNG1xD199IalrbfV2+0k/2Zf2OyV2FtnQnMgdzgpRAbi4AWlKJj1jkX+M+fEGPQj6BQB4w==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
|
@ -6602,9 +6559,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/vite/node_modules/esbuild": {
|
||||
"version": "0.18.14",
|
||||
"resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.18.14.tgz",
|
||||
"integrity": "sha512-uNPj5oHPYmj+ZhSQeYQVFZ+hAlJZbAGOmmILWIqrGvPVlNLbyOvU5Bu6Woi8G8nskcx0vwY0iFoMPrzT86Ko+w==",
|
||||
"version": "0.18.16",
|
||||
"resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.18.16.tgz",
|
||||
"integrity": "sha512-1xLsOXrDqwdHxyXb/x/SOyg59jpf/SH7YMvU5RNSU7z3TInaASNJWNFJ6iRvLvLETZMasF3d1DdZLg7sgRimRQ==",
|
||||
"hasInstallScript": true,
|
||||
"bin": {
|
||||
"esbuild": "bin/esbuild"
|
||||
|
@ -6613,28 +6570,28 @@
|
|||
"node": ">=12"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"@esbuild/android-arm": "0.18.14",
|
||||
"@esbuild/android-arm64": "0.18.14",
|
||||
"@esbuild/android-x64": "0.18.14",
|
||||
"@esbuild/darwin-arm64": "0.18.14",
|
||||
"@esbuild/darwin-x64": "0.18.14",
|
||||
"@esbuild/freebsd-arm64": "0.18.14",
|
||||
"@esbuild/freebsd-x64": "0.18.14",
|
||||
"@esbuild/linux-arm": "0.18.14",
|
||||
"@esbuild/linux-arm64": "0.18.14",
|
||||
"@esbuild/linux-ia32": "0.18.14",
|
||||
"@esbuild/linux-loong64": "0.18.14",
|
||||
"@esbuild/linux-mips64el": "0.18.14",
|
||||
"@esbuild/linux-ppc64": "0.18.14",
|
||||
"@esbuild/linux-riscv64": "0.18.14",
|
||||
"@esbuild/linux-s390x": "0.18.14",
|
||||
"@esbuild/linux-x64": "0.18.14",
|
||||
"@esbuild/netbsd-x64": "0.18.14",
|
||||
"@esbuild/openbsd-x64": "0.18.14",
|
||||
"@esbuild/sunos-x64": "0.18.14",
|
||||
"@esbuild/win32-arm64": "0.18.14",
|
||||
"@esbuild/win32-ia32": "0.18.14",
|
||||
"@esbuild/win32-x64": "0.18.14"
|
||||
"@esbuild/android-arm": "0.18.16",
|
||||
"@esbuild/android-arm64": "0.18.16",
|
||||
"@esbuild/android-x64": "0.18.16",
|
||||
"@esbuild/darwin-arm64": "0.18.16",
|
||||
"@esbuild/darwin-x64": "0.18.16",
|
||||
"@esbuild/freebsd-arm64": "0.18.16",
|
||||
"@esbuild/freebsd-x64": "0.18.16",
|
||||
"@esbuild/linux-arm": "0.18.16",
|
||||
"@esbuild/linux-arm64": "0.18.16",
|
||||
"@esbuild/linux-ia32": "0.18.16",
|
||||
"@esbuild/linux-loong64": "0.18.16",
|
||||
"@esbuild/linux-mips64el": "0.18.16",
|
||||
"@esbuild/linux-ppc64": "0.18.16",
|
||||
"@esbuild/linux-riscv64": "0.18.16",
|
||||
"@esbuild/linux-s390x": "0.18.16",
|
||||
"@esbuild/linux-x64": "0.18.16",
|
||||
"@esbuild/netbsd-x64": "0.18.16",
|
||||
"@esbuild/openbsd-x64": "0.18.16",
|
||||
"@esbuild/sunos-x64": "0.18.16",
|
||||
"@esbuild/win32-arm64": "0.18.16",
|
||||
"@esbuild/win32-ia32": "0.18.16",
|
||||
"@esbuild/win32-x64": "0.18.16"
|
||||
}
|
||||
},
|
||||
"node_modules/vitefu": {
|
||||
|
@ -7014,9 +6971,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/zx/node_modules/@types/node": {
|
||||
"version": "18.16.19",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.19.tgz",
|
||||
"integrity": "sha512-IXl7o+R9iti9eBW4Wg2hx1xQDig183jj7YLn8F7udNceyfkbn1ZxmzZXuak20gR40D7pIkIY1kYGx5VIGbaHKA==",
|
||||
"version": "18.17.0",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-18.17.0.tgz",
|
||||
"integrity": "sha512-GXZxEtOxYGFchyUzxvKI14iff9KZ2DI+A6a37o6EQevtg6uO9t+aUZKcaC1Te5Ng1OnLM7K9NVVj+FbecD9cJg==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/zx/node_modules/chalk": {
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"@auditors/core": "^0.3.1",
|
||||
"@auditors/core": "^0.4.6",
|
||||
"@tricoteuses/explorer-tools": "^0.3.0",
|
||||
"fast-xml-parser": "^4.2.2",
|
||||
"he": "^1.2.0"
|
||||
|
@ -75,8 +75,8 @@
|
|||
"postcss": "^8.4.14",
|
||||
"postcss-load-config": "^4.0.1",
|
||||
"postgres": "^3.2.4",
|
||||
"prettier": "^2.8.8",
|
||||
"prettier-plugin-svelte": "^2.7.0",
|
||||
"prettier": "^3.0.0",
|
||||
"prettier-plugin-svelte": "^3.0.0",
|
||||
"prettier-plugin-tailwindcss": "^0.4.1",
|
||||
"sade": "^1.8.1",
|
||||
"svelte-check": "^3.0.3",
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
module.exports = {
|
||||
overrides: [{ files: "*.svelte", options: { parser: "svelte" } }],
|
||||
plugins: ["prettier-plugin-svelte"],
|
||||
pluginSearchDirs: ["."],
|
||||
semi: false,
|
||||
trailingComma: "all",
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<!DOCTYPE html>
|
||||
<!doctype html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
|
|
|
@ -60,4 +60,3 @@ export const allFollows = [
|
|||
"TEXTEKALI",
|
||||
"TEXTELR",
|
||||
] as const
|
||||
export const allFollowsMutable = [...allFollows]
|
||||
|
|
|
@ -14,12 +14,12 @@ import {
|
|||
} from "@auditors/core"
|
||||
|
||||
import {
|
||||
allJorfArticleEtatsMutable,
|
||||
allJorfArticleLienArticleOriginesMutable,
|
||||
allJorfArticleNaturesMutable,
|
||||
allJorfArticleOriginesMutable,
|
||||
allJorfArticleTexteNaturesMutable,
|
||||
allJorfArticleTypesMutable,
|
||||
allJorfArticleEtats,
|
||||
allJorfArticleLienArticleOrigines,
|
||||
allJorfArticleNatures,
|
||||
allJorfArticleOrigines,
|
||||
allJorfArticleTexteNatures,
|
||||
allJorfArticleTypes,
|
||||
} from "$lib/legal"
|
||||
|
||||
export const jorfArticleStats: {
|
||||
|
@ -224,7 +224,7 @@ function auditLienArt(audit: Audit, dataUnknown: unknown): [unknown, unknown] {
|
|||
remainingKeys,
|
||||
auditTrimString,
|
||||
auditEmptyToNull,
|
||||
auditOptions(allJorfArticleEtatsMutable),
|
||||
auditOptions(allJorfArticleEtats),
|
||||
)
|
||||
audit.attribute(
|
||||
data,
|
||||
|
@ -253,7 +253,7 @@ function auditLienArt(audit: Audit, dataUnknown: unknown): [unknown, unknown] {
|
|||
remainingKeys,
|
||||
auditTrimString,
|
||||
auditEmptyToNull,
|
||||
auditOptions(allJorfArticleLienArticleOriginesMutable),
|
||||
auditOptions(allJorfArticleLienArticleOrigines),
|
||||
auditRequire,
|
||||
)
|
||||
|
||||
|
@ -394,7 +394,7 @@ function auditMetaArticle(
|
|||
remainingKeys,
|
||||
auditTrimString,
|
||||
auditEmptyToNull,
|
||||
auditOptions(allJorfArticleTypesMutable),
|
||||
auditOptions(allJorfArticleTypes),
|
||||
)
|
||||
|
||||
return audit.reduceRemaining(data, errors, remainingKeys)
|
||||
|
@ -457,7 +457,7 @@ function auditMetaCommun(
|
|||
remainingKeys,
|
||||
auditTrimString,
|
||||
auditEmptyToNull,
|
||||
auditOptions(allJorfArticleNaturesMutable),
|
||||
auditOptions(allJorfArticleNatures),
|
||||
)
|
||||
audit.attribute(
|
||||
data,
|
||||
|
@ -467,7 +467,7 @@ function auditMetaCommun(
|
|||
remainingKeys,
|
||||
auditTrimString,
|
||||
auditEmptyToNull,
|
||||
auditOptions(allJorfArticleOriginesMutable),
|
||||
auditOptions(allJorfArticleOrigines),
|
||||
auditRequire,
|
||||
)
|
||||
|
||||
|
@ -567,7 +567,7 @@ function auditTexte(audit: Audit, dataUnknown: unknown): [unknown, unknown] {
|
|||
remainingKeys,
|
||||
auditTrimString,
|
||||
auditEmptyToNull,
|
||||
auditOptions(allJorfArticleTexteNaturesMutable),
|
||||
auditOptions(allJorfArticleTexteNatures),
|
||||
)
|
||||
for (const key of ["@nor", "@num", "@num_parution_jo"]) {
|
||||
audit.attribute(
|
||||
|
@ -746,7 +746,7 @@ function auditVersion(audit: Audit, dataUnknown: unknown): [unknown, unknown] {
|
|||
remainingKeys,
|
||||
auditTrimString,
|
||||
auditEmptyToNull,
|
||||
auditOptions(allJorfArticleEtatsMutable),
|
||||
auditOptions(allJorfArticleEtats),
|
||||
)
|
||||
audit.attribute(
|
||||
data,
|
||||
|
|
|
@ -15,7 +15,7 @@ import {
|
|||
type Audit,
|
||||
} from "@auditors/core"
|
||||
|
||||
import { allJoNaturesMutable, allJoOriginesMutable } from "$lib/legal"
|
||||
import { allJoNatures, allJoOrigines } from "$lib/legal"
|
||||
|
||||
export const joStats: {
|
||||
countByNature: { [nature: string]: number }
|
||||
|
@ -187,7 +187,7 @@ function auditMetaCommun(
|
|||
// joStats.countByNature[nature] = (joStats.countByNature[nature] ?? 0) + 1
|
||||
// return nature
|
||||
// }),
|
||||
auditOptions(allJoNaturesMutable),
|
||||
auditOptions(allJoNatures),
|
||||
auditRequire,
|
||||
)
|
||||
audit.attribute(
|
||||
|
@ -203,7 +203,7 @@ function auditMetaCommun(
|
|||
// (joStats.countByOrigine[origine] ?? 0) + 1
|
||||
// return origine
|
||||
// }),
|
||||
auditOptions(allJoOriginesMutable),
|
||||
auditOptions(allJoOrigines),
|
||||
auditRequire,
|
||||
)
|
||||
|
||||
|
|
|
@ -14,10 +14,10 @@ import {
|
|||
} from "@auditors/core"
|
||||
|
||||
import {
|
||||
allJorfSectionTaLienArtEtatsMutable,
|
||||
allJorfSectionTaLienArtOriginesMutable,
|
||||
// allJorfSectionTaLienSectionTaEtatsMutable,
|
||||
allJorfSectionTaTexteNaturesMutable,
|
||||
allJorfSectionTaLienArtEtats,
|
||||
allJorfSectionTaLienArtOrigines,
|
||||
// allJorfSectionTaLienSectionTaEtats,
|
||||
allJorfSectionTaTexteNatures,
|
||||
} from "$lib/legal"
|
||||
|
||||
export const jorfSectionTaStats: {
|
||||
|
@ -153,7 +153,7 @@ function auditLienArt(audit: Audit, dataUnknown: unknown): [unknown, unknown] {
|
|||
// (jorfSectionTaStats.countByLienArtEtat[etat] ?? 0) + 1
|
||||
// return etat
|
||||
// }),
|
||||
auditOptions(allJorfSectionTaLienArtEtatsMutable),
|
||||
auditOptions(allJorfSectionTaLienArtEtats),
|
||||
)
|
||||
audit.attribute(
|
||||
data,
|
||||
|
@ -187,7 +187,7 @@ function auditLienArt(audit: Audit, dataUnknown: unknown): [unknown, unknown] {
|
|||
// (jorfSectionTaStats.countByLienArtOrigine[origine] ?? 0) + 1
|
||||
// return origine
|
||||
// }),
|
||||
auditOptions(allJorfSectionTaLienArtOriginesMutable),
|
||||
auditOptions(allJorfSectionTaLienArtOrigines),
|
||||
auditRequire,
|
||||
)
|
||||
|
||||
|
@ -256,7 +256,7 @@ function auditLienSectionTa(
|
|||
// (jorfSectionTaStats.countByLienSectionTaEtat[etat] ?? 0) + 1
|
||||
// return etat
|
||||
// }),
|
||||
// auditOptions(allJorfSectionTaLienSectionTaEtatsMutable),
|
||||
// auditOptions(allJorfSectionTaLienSectionTaEtats),
|
||||
auditNullish,
|
||||
)
|
||||
audit.attribute(
|
||||
|
@ -374,7 +374,7 @@ function auditTexte(audit: Audit, dataUnknown: unknown): [unknown, unknown] {
|
|||
// (jorfSectionTaStats.countByTexteNature[nature] ?? 0) + 1
|
||||
// return nature
|
||||
// }),
|
||||
auditOptions(allJorfSectionTaTexteNaturesMutable),
|
||||
auditOptions(allJorfSectionTaTexteNatures),
|
||||
)
|
||||
audit.attribute(
|
||||
data,
|
||||
|
|
|
@ -15,11 +15,11 @@ import {
|
|||
} from "@auditors/core"
|
||||
|
||||
import {
|
||||
allJorfTexteVersionLienNaturesMutable,
|
||||
allJorfTexteVersionLienTypesMutable,
|
||||
allJorfTexteVersionNaturesMutable,
|
||||
allJorfTexteVersionOriginesMutable,
|
||||
allSensMutable,
|
||||
allJorfTexteVersionLienNatures,
|
||||
allJorfTexteVersionLienTypes,
|
||||
allJorfTexteVersionNatures,
|
||||
allJorfTexteVersionOrigines,
|
||||
allSens,
|
||||
} from "$lib/legal"
|
||||
|
||||
export const jorfTexteVersionStats: {
|
||||
|
@ -350,7 +350,7 @@ function auditLien(audit: Audit, dataUnknown: unknown): [unknown, unknown] {
|
|||
// (jorfTexteVersionStats.countByLienNature[nature] ?? 0) + 1
|
||||
// return nature
|
||||
// }),
|
||||
auditOptions(allJorfTexteVersionLienNaturesMutable),
|
||||
auditOptions(allJorfTexteVersionLienNatures),
|
||||
)
|
||||
for (const key of ["@num", "@nortexte", "@numtexte"]) {
|
||||
audit.attribute(
|
||||
|
@ -371,7 +371,7 @@ function auditLien(audit: Audit, dataUnknown: unknown): [unknown, unknown] {
|
|||
remainingKeys,
|
||||
auditTrimString,
|
||||
auditEmptyToNull,
|
||||
auditOptions(allSensMutable),
|
||||
auditOptions(allSens),
|
||||
auditRequire,
|
||||
)
|
||||
audit.attribute(
|
||||
|
@ -387,7 +387,7 @@ function auditLien(audit: Audit, dataUnknown: unknown): [unknown, unknown] {
|
|||
// (jorfTexteVersionStats.countByLienType[type] ?? 0) + 1
|
||||
// return type
|
||||
// }),
|
||||
auditOptions(allJorfTexteVersionLienTypesMutable),
|
||||
auditOptions(allJorfTexteVersionLienTypes),
|
||||
auditRequire,
|
||||
)
|
||||
|
||||
|
@ -548,7 +548,7 @@ function auditMetaCommun(
|
|||
// (jorfTexteVersionStats.countByNature[nature] ?? 0) + 1
|
||||
// return nature
|
||||
// }),
|
||||
auditOptions(allJorfTexteVersionNaturesMutable),
|
||||
auditOptions(allJorfTexteVersionNatures),
|
||||
)
|
||||
audit.attribute(
|
||||
data,
|
||||
|
@ -563,7 +563,7 @@ function auditMetaCommun(
|
|||
// (jorfTexteVersionStats.countByOrigine[origine] ?? 0) + 1
|
||||
// return origine
|
||||
// }),
|
||||
auditOptions(allJorfTexteVersionOriginesMutable),
|
||||
auditOptions(allJorfTexteVersionOrigines),
|
||||
auditRequire,
|
||||
)
|
||||
|
||||
|
|
|
@ -16,12 +16,12 @@ import {
|
|||
} from "@auditors/core"
|
||||
|
||||
import {
|
||||
allJorfTextelrEtatsMutable,
|
||||
allJorfTextelrLienArtEtatsMutable,
|
||||
// allJorfTextelrLienArtNaturesMutable,
|
||||
allJorfTextelrLienArtOriginesMutable,
|
||||
allJorfTextelrNaturesMutable,
|
||||
allJorfTextelrOriginesMutable,
|
||||
allJorfTextelrEtats,
|
||||
allJorfTextelrLienArtEtats,
|
||||
// allJorfTextelrLienArtNatures,
|
||||
allJorfTextelrLienArtOrigines,
|
||||
allJorfTextelrNatures,
|
||||
allJorfTextelrOrigines,
|
||||
} from "$lib/legal"
|
||||
|
||||
export const jorfTextelrStats: {
|
||||
|
@ -148,7 +148,7 @@ function auditLienArt(audit: Audit, dataUnknown: unknown): [unknown, unknown] {
|
|||
// (jorfTextelrStats.countByLienArtEtat[etat] ?? 0) + 1
|
||||
// return etat
|
||||
// }),
|
||||
auditOptions(allJorfTextelrLienArtEtatsMutable),
|
||||
auditOptions(allJorfTextelrLienArtEtats),
|
||||
)
|
||||
for (const key of ["@id"]) {
|
||||
audit.attribute(
|
||||
|
@ -175,7 +175,7 @@ function auditLienArt(audit: Audit, dataUnknown: unknown): [unknown, unknown] {
|
|||
// (jorfTextelrStats.countByLienArtNature[nature] ?? 0) + 1
|
||||
// return nature
|
||||
// }),
|
||||
// auditOptions(allJorfTextelrLienArtNaturesMutable),
|
||||
// auditOptions(allJorfTextelrLienArtNatures),
|
||||
auditNullish,
|
||||
)
|
||||
for (const key of ["@num"]) {
|
||||
|
@ -202,7 +202,7 @@ function auditLienArt(audit: Audit, dataUnknown: unknown): [unknown, unknown] {
|
|||
// (jorfTextelrStats.countByLienArtOrigine[origine] ?? 0) + 1
|
||||
// return origine
|
||||
// }),
|
||||
auditOptions(allJorfTextelrLienArtOriginesMutable),
|
||||
auditOptions(allJorfTextelrLienArtOrigines),
|
||||
)
|
||||
|
||||
return audit.reduceRemaining(data, errors, remainingKeys)
|
||||
|
@ -268,7 +268,7 @@ function auditLienSectionTa(
|
|||
// (jorfSectionTaStats.countByLienSectionTaEtat[etat] ?? 0) + 1
|
||||
// return etat
|
||||
// }),
|
||||
// auditOptions(allJorfSectionTaLienSectionTaEtatsMutable),
|
||||
// auditOptions(allJorfSectionTaLienSectionTaEtats),
|
||||
auditNullish,
|
||||
)
|
||||
audit.attribute(
|
||||
|
@ -427,7 +427,7 @@ function auditMetaCommun(
|
|||
// (jorfTextelrStats.countByNature[nature] ?? 0) + 1
|
||||
// return nature
|
||||
// }),
|
||||
auditOptions(allJorfTextelrNaturesMutable),
|
||||
auditOptions(allJorfTextelrNatures),
|
||||
)
|
||||
audit.attribute(
|
||||
data,
|
||||
|
@ -442,7 +442,7 @@ function auditMetaCommun(
|
|||
// (jorfTextelrStats.countByOrigine[origine] ?? 0) + 1
|
||||
// return origine
|
||||
// }),
|
||||
auditOptions(allJorfTextelrOriginesMutable),
|
||||
auditOptions(allJorfTextelrOrigines),
|
||||
auditRequire,
|
||||
)
|
||||
|
||||
|
@ -616,7 +616,7 @@ function auditVersion(audit: Audit, dataUnknown: unknown): [unknown, unknown] {
|
|||
// (jorfTextelrStats.countByEtat[etat] ?? 0) + 1
|
||||
// return etat
|
||||
// }),
|
||||
auditOptions(allJorfTextelrEtatsMutable),
|
||||
auditOptions(allJorfTextelrEtats),
|
||||
)
|
||||
audit.attribute(
|
||||
data,
|
||||
|
|
|
@ -12,14 +12,14 @@ import {
|
|||
} from "@auditors/core"
|
||||
|
||||
import {
|
||||
allLegiArticleEtatsMutable,
|
||||
allLegiArticleLienNaturesMutable,
|
||||
allLegiArticleLienTypesMutable,
|
||||
allLegiArticleNaturesMutable,
|
||||
allLegiArticleOriginesMutable,
|
||||
allLegiArticleTexteNaturesMutable,
|
||||
allLegiArticleTypesMutable,
|
||||
allSensMutable,
|
||||
allLegiArticleEtats,
|
||||
allLegiArticleLienNatures,
|
||||
allLegiArticleLienTypes,
|
||||
allLegiArticleNatures,
|
||||
allLegiArticleOrigines,
|
||||
allLegiArticleTexteNatures,
|
||||
allLegiArticleTypes,
|
||||
allSens,
|
||||
} from "$lib/legal"
|
||||
|
||||
export const legiArticleStats: {
|
||||
|
@ -221,7 +221,7 @@ function auditLien(audit: Audit, dataUnknown: unknown): [unknown, unknown] {
|
|||
// (legiArticleStats.countByLienNature[nature] ?? 0) + 1
|
||||
// return nature
|
||||
// }),
|
||||
auditOptions(allLegiArticleLienNaturesMutable),
|
||||
auditOptions(allLegiArticleLienNatures),
|
||||
)
|
||||
audit.attribute(
|
||||
data,
|
||||
|
@ -231,7 +231,7 @@ function auditLien(audit: Audit, dataUnknown: unknown): [unknown, unknown] {
|
|||
remainingKeys,
|
||||
auditTrimString,
|
||||
auditEmptyToNull,
|
||||
auditOptions(allSensMutable),
|
||||
auditOptions(allSens),
|
||||
auditRequire,
|
||||
)
|
||||
audit.attribute(
|
||||
|
@ -247,7 +247,7 @@ function auditLien(audit: Audit, dataUnknown: unknown): [unknown, unknown] {
|
|||
// (legiArticleStats.countByLienType[type] ?? 0) + 1
|
||||
// return type
|
||||
// }),
|
||||
auditOptions(allLegiArticleLienTypesMutable),
|
||||
auditOptions(allLegiArticleLienTypes),
|
||||
auditRequire,
|
||||
)
|
||||
|
||||
|
@ -290,7 +290,7 @@ function auditLienArt(audit: Audit, dataUnknown: unknown): [unknown, unknown] {
|
|||
// (legiArticleStats.countByLienArtEtat[etat] ?? 0) + 1
|
||||
// return etat
|
||||
// }),
|
||||
auditOptions(allLegiArticleEtatsMutable),
|
||||
auditOptions(allLegiArticleEtats),
|
||||
)
|
||||
audit.attribute(
|
||||
data,
|
||||
|
@ -319,7 +319,7 @@ function auditLienArt(audit: Audit, dataUnknown: unknown): [unknown, unknown] {
|
|||
remainingKeys,
|
||||
auditTrimString,
|
||||
auditEmptyToNull,
|
||||
auditOptions(allLegiArticleOriginesMutable),
|
||||
auditOptions(allLegiArticleOrigines),
|
||||
auditRequire,
|
||||
)
|
||||
|
||||
|
@ -425,7 +425,7 @@ function auditMetaArticle(
|
|||
// (legiArticleStats.countByEtat[etat] ?? 0) + 1
|
||||
// return etat
|
||||
// }),
|
||||
auditOptions(allLegiArticleEtatsMutable),
|
||||
auditOptions(allLegiArticleEtats),
|
||||
)
|
||||
audit.attribute(
|
||||
data,
|
||||
|
@ -446,7 +446,7 @@ function auditMetaArticle(
|
|||
remainingKeys,
|
||||
auditTrimString,
|
||||
auditEmptyToNull,
|
||||
auditOptions(allLegiArticleTypesMutable),
|
||||
auditOptions(allLegiArticleTypes),
|
||||
)
|
||||
|
||||
return audit.reduceRemaining(data, errors, remainingKeys)
|
||||
|
@ -498,7 +498,7 @@ function auditMetaCommun(
|
|||
remainingKeys,
|
||||
auditTrimString,
|
||||
auditEmptyToNull,
|
||||
auditOptions(allLegiArticleNaturesMutable),
|
||||
auditOptions(allLegiArticleNatures),
|
||||
auditRequire,
|
||||
)
|
||||
audit.attribute(
|
||||
|
@ -509,7 +509,7 @@ function auditMetaCommun(
|
|||
remainingKeys,
|
||||
auditTrimString,
|
||||
auditEmptyToNull,
|
||||
auditOptions(allLegiArticleOriginesMutable),
|
||||
auditOptions(allLegiArticleOrigines),
|
||||
auditRequire,
|
||||
)
|
||||
|
||||
|
@ -629,7 +629,7 @@ function auditTexte(audit: Audit, dataUnknown: unknown): [unknown, unknown] {
|
|||
// (legiArticleStats.countByTexteNature[nature] ?? 0) + 1
|
||||
// return nature
|
||||
// }),
|
||||
auditOptions(allLegiArticleTexteNaturesMutable),
|
||||
auditOptions(allLegiArticleTexteNatures),
|
||||
)
|
||||
audit.attribute(
|
||||
data,
|
||||
|
@ -781,7 +781,7 @@ function auditVersion(audit: Audit, dataUnknown: unknown): [unknown, unknown] {
|
|||
// (legiArticleStats.countByVersionEtat[etat] ?? 0) + 1
|
||||
// return etat
|
||||
// }),
|
||||
auditOptions(allLegiArticleEtatsMutable),
|
||||
auditOptions(allLegiArticleEtats),
|
||||
)
|
||||
audit.attribute(
|
||||
data,
|
||||
|
|
|
@ -15,10 +15,10 @@ import {
|
|||
} from "@auditors/core"
|
||||
|
||||
import {
|
||||
allLegiSectionTaLienArtEtatsMutable,
|
||||
allLegiSectionTaLienArtOriginesMutable,
|
||||
allLegiSectionTaLienSectionTaEtatsMutable,
|
||||
allLegiSectionTaTexteNaturesMutable,
|
||||
allLegiSectionTaLienArtEtats,
|
||||
allLegiSectionTaLienArtOrigines,
|
||||
allLegiSectionTaLienSectionTaEtats,
|
||||
allLegiSectionTaTexteNatures,
|
||||
} from "$lib/legal"
|
||||
|
||||
export const legiSectionTaStats: {
|
||||
|
@ -163,7 +163,7 @@ function auditLienArt(audit: Audit, dataUnknown: unknown): [unknown, unknown] {
|
|||
// (legiSectionTaStats.countByLienArtEtat[etat] ?? 0) + 1
|
||||
// return etat
|
||||
// }),
|
||||
auditOptions(allLegiSectionTaLienArtEtatsMutable),
|
||||
auditOptions(allLegiSectionTaLienArtEtats),
|
||||
)
|
||||
audit.attribute(
|
||||
data,
|
||||
|
@ -197,7 +197,7 @@ function auditLienArt(audit: Audit, dataUnknown: unknown): [unknown, unknown] {
|
|||
// (legiSectionTaStats.countByLienArtOrigine[origine] ?? 0) + 1
|
||||
// return origine
|
||||
// }),
|
||||
auditOptions(allLegiSectionTaLienArtOriginesMutable),
|
||||
auditOptions(allLegiSectionTaLienArtOrigines),
|
||||
auditRequire,
|
||||
)
|
||||
|
||||
|
@ -268,7 +268,7 @@ function auditLienSectionTa(
|
|||
// (legiSectionTaStats.countByLienSectionTaEtat[etat] ?? 0) + 1
|
||||
// return etat
|
||||
// }),
|
||||
auditOptions(allLegiSectionTaLienSectionTaEtatsMutable),
|
||||
auditOptions(allLegiSectionTaLienSectionTaEtats),
|
||||
)
|
||||
audit.attribute(
|
||||
data,
|
||||
|
@ -385,7 +385,7 @@ function auditTexte(audit: Audit, dataUnknown: unknown): [unknown, unknown] {
|
|||
// (legiSectionTaStats.countByTexteNature[nature] ?? 0) + 1
|
||||
// return nature
|
||||
// }),
|
||||
auditOptions(allLegiSectionTaTexteNaturesMutable),
|
||||
auditOptions(allLegiSectionTaTexteNatures),
|
||||
)
|
||||
audit.attribute(
|
||||
data,
|
||||
|
|
|
@ -15,12 +15,12 @@ import {
|
|||
} from "@auditors/core"
|
||||
|
||||
import {
|
||||
allLegiTexteVersionEtatsMutable,
|
||||
allLegiTexteVersionLienNaturesMutable,
|
||||
allLegiTexteVersionLienTypesMutable,
|
||||
allLegiTexteVersionNaturesMutable,
|
||||
allLegiTexteVersionOriginesMutable,
|
||||
allSensMutable,
|
||||
allLegiTexteVersionEtats,
|
||||
allLegiTexteVersionLienNatures,
|
||||
allLegiTexteVersionLienTypes,
|
||||
allLegiTexteVersionNatures,
|
||||
allLegiTexteVersionOrigines,
|
||||
allSens,
|
||||
} from "$lib/legal"
|
||||
|
||||
export const legiTexteVersionStats: {
|
||||
|
@ -228,7 +228,7 @@ function auditLien(audit: Audit, dataUnknown: unknown): [unknown, unknown] {
|
|||
// (legiTexteVersionStats.countByLienNature[nature] ?? 0) + 1
|
||||
// return nature
|
||||
// }),
|
||||
auditOptions(allLegiTexteVersionLienNaturesMutable),
|
||||
auditOptions(allLegiTexteVersionLienNatures),
|
||||
)
|
||||
audit.attribute(
|
||||
data,
|
||||
|
@ -238,7 +238,7 @@ function auditLien(audit: Audit, dataUnknown: unknown): [unknown, unknown] {
|
|||
remainingKeys,
|
||||
auditTrimString,
|
||||
auditEmptyToNull,
|
||||
auditOptions(allSensMutable),
|
||||
auditOptions(allSens),
|
||||
auditRequire,
|
||||
)
|
||||
audit.attribute(
|
||||
|
@ -254,7 +254,7 @@ function auditLien(audit: Audit, dataUnknown: unknown): [unknown, unknown] {
|
|||
// (legiTexteVersionStats.countByLienType[type] ?? 0) + 1
|
||||
// return type
|
||||
// }),
|
||||
auditOptions(allLegiTexteVersionLienTypesMutable),
|
||||
auditOptions(allLegiTexteVersionLienTypes),
|
||||
auditRequire,
|
||||
)
|
||||
|
||||
|
@ -415,7 +415,7 @@ function auditMetaCommun(
|
|||
// (legiTexteVersionStats.countByNature[nature] ?? 0) + 1
|
||||
// return nature
|
||||
// }),
|
||||
auditOptions(allLegiTexteVersionNaturesMutable),
|
||||
auditOptions(allLegiTexteVersionNatures),
|
||||
)
|
||||
audit.attribute(
|
||||
data,
|
||||
|
@ -430,7 +430,7 @@ function auditMetaCommun(
|
|||
// (legiTexteVersionStats.countByOrigine[origine] ?? 0) + 1
|
||||
// return origine
|
||||
// }),
|
||||
auditOptions(allLegiTexteVersionOriginesMutable),
|
||||
auditOptions(allLegiTexteVersionOrigines),
|
||||
auditRequire,
|
||||
)
|
||||
|
||||
|
@ -616,7 +616,7 @@ function auditMetaTexteVersion(
|
|||
// (legiTexteVersionStats.countByEtat[etat] ?? 0) + 1
|
||||
// return etat
|
||||
// }),
|
||||
auditOptions(allLegiTexteVersionEtatsMutable),
|
||||
auditOptions(allLegiTexteVersionEtats),
|
||||
)
|
||||
audit.attribute(
|
||||
data,
|
||||
|
|
|
@ -15,12 +15,12 @@ import {
|
|||
} from "@auditors/core"
|
||||
|
||||
import {
|
||||
allLegiTextelrEtatsMutable,
|
||||
allLegiTextelrLienArtEtatsMutable,
|
||||
allLegiTextelrLienArtOriginesMutable,
|
||||
allLegiTextelrLienSectionTaEtatsMutable,
|
||||
allLegiTextelrNaturesMutable,
|
||||
allLegiTextelrOriginesMutable,
|
||||
allLegiTextelrEtats,
|
||||
allLegiTextelrLienArtEtats,
|
||||
allLegiTextelrLienArtOrigines,
|
||||
allLegiTextelrLienSectionTaEtats,
|
||||
allLegiTextelrNatures,
|
||||
allLegiTextelrOrigines,
|
||||
} from "$lib/legal"
|
||||
|
||||
export const legiTextelrStats: {
|
||||
|
@ -137,7 +137,7 @@ function auditLienArt(audit: Audit, dataUnknown: unknown): [unknown, unknown] {
|
|||
// (legiTextelrStats.countByLienArtEtat[etat] ?? 0) + 1
|
||||
// return etat
|
||||
// }),
|
||||
auditOptions(allLegiTextelrLienArtEtatsMutable),
|
||||
auditOptions(allLegiTextelrLienArtEtats),
|
||||
)
|
||||
for (const key of ["@id"]) {
|
||||
audit.attribute(
|
||||
|
@ -175,7 +175,7 @@ function auditLienArt(audit: Audit, dataUnknown: unknown): [unknown, unknown] {
|
|||
// (legiTextelrStats.countByLienArtOrigine[origine] ?? 0) + 1
|
||||
// return origine
|
||||
// }),
|
||||
auditOptions(allLegiTextelrLienArtOriginesMutable),
|
||||
auditOptions(allLegiTextelrLienArtOrigines),
|
||||
auditRequire,
|
||||
)
|
||||
|
||||
|
@ -233,7 +233,7 @@ function auditLienSectionTa(
|
|||
// (legiTextelrStats.countByLienSectionTaEtat[etat] ?? 0) + 1
|
||||
// return etat
|
||||
// }),
|
||||
auditOptions(allLegiTextelrLienSectionTaEtatsMutable),
|
||||
auditOptions(allLegiTextelrLienSectionTaEtats),
|
||||
)
|
||||
audit.attribute(
|
||||
data,
|
||||
|
@ -390,7 +390,7 @@ function auditMetaCommun(
|
|||
// (legiTextelrStats.countByNature[nature] ?? 0) + 1
|
||||
// return nature
|
||||
// }),
|
||||
auditOptions(allLegiTextelrNaturesMutable),
|
||||
auditOptions(allLegiTextelrNatures),
|
||||
)
|
||||
audit.attribute(
|
||||
data,
|
||||
|
@ -405,7 +405,7 @@ function auditMetaCommun(
|
|||
// (legiTextelrStats.countByOrigine[origine] ?? 0) + 1
|
||||
// return origine
|
||||
// }),
|
||||
auditOptions(allLegiTextelrOriginesMutable),
|
||||
auditOptions(allLegiTextelrOrigines),
|
||||
auditRequire,
|
||||
)
|
||||
|
||||
|
@ -590,7 +590,7 @@ function auditVersion(audit: Audit, dataUnknown: unknown): [unknown, unknown] {
|
|||
// (legiTextelrStats.countByEtat[etat] ?? 0) + 1
|
||||
// return etat
|
||||
// }),
|
||||
auditOptions(allLegiTextelrEtatsMutable),
|
||||
auditOptions(allLegiTextelrEtats),
|
||||
)
|
||||
audit.attribute(
|
||||
data,
|
||||
|
|
|
@ -17,7 +17,7 @@ import {
|
|||
type Auditor,
|
||||
} from "@auditors/core"
|
||||
|
||||
import { allFollowsMutable } from "$lib/aggregates"
|
||||
import { allFollows } from "$lib/aggregates"
|
||||
|
||||
export function auditFollowQuery(
|
||||
audit: Audit,
|
||||
|
@ -31,7 +31,7 @@ export function auditFollowQuery(
|
|||
true,
|
||||
errors,
|
||||
remainingKeys,
|
||||
auditQueryOptionsSet(allFollowsMutable),
|
||||
auditQueryOptionsSet(allFollows),
|
||||
)
|
||||
}
|
||||
|
||||
|
@ -47,7 +47,7 @@ export function auditFollowWithFalseQuery(
|
|||
true,
|
||||
errors,
|
||||
remainingKeys,
|
||||
auditQueryOptionsSet([...allFollowsMutable, "false"]),
|
||||
auditQueryOptionsSet([...allFollows, "false"]),
|
||||
)
|
||||
}
|
||||
|
||||
|
@ -160,7 +160,9 @@ export const auditQueryArray = auditChain(
|
|||
auditSetNullish([]),
|
||||
)
|
||||
|
||||
export function auditQueryOptionsArray(possibleValues: string[]): Auditor {
|
||||
export function auditQueryOptionsArray(
|
||||
possibleValues: readonly string[],
|
||||
): Auditor {
|
||||
return auditChain(
|
||||
auditQueryArray,
|
||||
auditArray(auditOptions(possibleValues)),
|
||||
|
@ -169,7 +171,9 @@ export function auditQueryOptionsArray(possibleValues: string[]): Auditor {
|
|||
)
|
||||
}
|
||||
|
||||
export function auditQueryOptionsSet(possibleValues: string[]): Auditor {
|
||||
export function auditQueryOptionsSet(
|
||||
possibleValues: readonly string[],
|
||||
): Auditor {
|
||||
return auditChain(
|
||||
auditQueryOptionsArray(possibleValues),
|
||||
auditFunction((values) => new Set(values)),
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
export {
|
||||
type Aggregate,
|
||||
allFollows,
|
||||
allFollowsMutable,
|
||||
type Follow,
|
||||
type GetArticleResult,
|
||||
type GetRechercheResult,
|
||||
|
@ -11,95 +10,50 @@ export {
|
|||
|
||||
export {
|
||||
allJoNatures,
|
||||
allJoNaturesMutable,
|
||||
allJoOrigines,
|
||||
allJoOriginesMutable,
|
||||
allJorfArticleEtats,
|
||||
allJorfArticleEtatsMutable,
|
||||
allJorfArticleLienArticleOrigines,
|
||||
allJorfArticleLienArticleOriginesMutable,
|
||||
allJorfArticleNatures,
|
||||
allJorfArticleNaturesMutable,
|
||||
allJorfArticleOrigines,
|
||||
allJorfArticleOriginesMutable,
|
||||
allJorfArticleTexteNatures,
|
||||
allJorfArticleTexteNaturesMutable,
|
||||
allJorfArticleTypes,
|
||||
allJorfArticleTypesMutable,
|
||||
allJorfSectionTaLienArtEtats,
|
||||
allJorfSectionTaLienArtEtatsMutable,
|
||||
allJorfSectionTaLienArtOrigines,
|
||||
allJorfSectionTaLienArtOriginesMutable,
|
||||
allJorfSectionTaLienSectionTaEtats,
|
||||
allJorfSectionTaLienSectionTaEtatsMutable,
|
||||
allJorfSectionTaTexteNatures,
|
||||
allJorfSectionTaTexteNaturesMutable,
|
||||
allJorfTextelrEtats,
|
||||
allJorfTextelrEtatsMutable,
|
||||
allJorfTextelrLienArtEtats,
|
||||
allJorfTextelrLienArtEtatsMutable,
|
||||
allJorfTextelrLienArtNatures,
|
||||
allJorfTextelrLienArtNaturesMutable,
|
||||
allJorfTextelrLienArtOrigines,
|
||||
allJorfTextelrLienArtOriginesMutable,
|
||||
allJorfTextelrNatures,
|
||||
allJorfTextelrNaturesMutable,
|
||||
allJorfTextelrOrigines,
|
||||
allJorfTextelrOriginesMutable,
|
||||
allJorfTexteVersionLienNatures,
|
||||
allJorfTexteVersionLienNaturesMutable,
|
||||
allJorfTexteVersionLienTypes,
|
||||
allJorfTexteVersionLienTypesMutable,
|
||||
allJorfTexteVersionNatures,
|
||||
allJorfTexteVersionNaturesMutable,
|
||||
allJorfTexteVersionOrigines,
|
||||
allJorfTexteVersionOriginesMutable,
|
||||
allLegiArticleEtats,
|
||||
allLegiArticleEtatsMutable,
|
||||
allLegiArticleLienArticleOrigines,
|
||||
allLegiArticleLienArticleOriginesMutable,
|
||||
allLegiArticleLienNatures,
|
||||
allLegiArticleLienNaturesMutable,
|
||||
allLegiArticleNatures,
|
||||
allLegiArticleNaturesMutable,
|
||||
allLegiArticleOrigines,
|
||||
allLegiArticleOriginesMutable,
|
||||
allLegiArticleTexteNatures,
|
||||
allLegiArticleTexteNaturesMutable,
|
||||
allLegiArticleTypes,
|
||||
allLegiArticleTypesMutable,
|
||||
allLegiSectionTaLienArtEtats,
|
||||
allLegiSectionTaLienArtEtatsMutable,
|
||||
allLegiSectionTaLienArtOrigines,
|
||||
allLegiSectionTaLienArtOriginesMutable,
|
||||
allLegiSectionTaLienSectionTaEtats,
|
||||
allLegiSectionTaLienSectionTaEtatsMutable,
|
||||
allLegiSectionTaTexteNatures,
|
||||
allLegiSectionTaTexteNaturesMutable,
|
||||
allLegiTextelrEtats,
|
||||
allLegiTextelrEtatsMutable,
|
||||
allLegiTextelrLienArtEtats,
|
||||
allLegiTextelrLienArtEtatsMutable,
|
||||
allLegiTextelrLienArtOrigines,
|
||||
allLegiTextelrLienArtOriginesMutable,
|
||||
allLegiTextelrLienSectionTaEtats,
|
||||
allLegiTextelrLienSectionTaEtatsMutable,
|
||||
allLegiTextelrNatures,
|
||||
allLegiTextelrNaturesMutable,
|
||||
allLegiTextelrOrigines,
|
||||
allLegiTextelrOriginesMutable,
|
||||
allLegiTexteVersionEtats,
|
||||
allLegiTexteVersionEtatsMutable,
|
||||
allLegiTexteVersionLienNatures,
|
||||
allLegiTexteVersionLienNaturesMutable,
|
||||
allLegiTexteVersionLienTypes,
|
||||
allLegiTexteVersionLienTypesMutable,
|
||||
allLegiTexteVersionNatures,
|
||||
allLegiTexteVersionNaturesMutable,
|
||||
allLegiTexteVersionOrigines,
|
||||
allLegiTexteVersionOriginesMutable,
|
||||
allSens,
|
||||
allSensMutable,
|
||||
type DossierLegislatif,
|
||||
type Echeancier,
|
||||
type EcheancierLigne,
|
||||
|
|
|
@ -7,49 +7,27 @@ import type { Jo } from "./jorf"
|
|||
export type { DossierLegislatif, Echeancier, EcheancierLigne } from "./dole"
|
||||
export {
|
||||
allJoNatures,
|
||||
allJoNaturesMutable,
|
||||
allJoOrigines,
|
||||
allJoOriginesMutable,
|
||||
allJorfArticleEtats,
|
||||
allJorfArticleEtatsMutable,
|
||||
allJorfArticleLienArticleOrigines,
|
||||
allJorfArticleLienArticleOriginesMutable,
|
||||
allJorfArticleNatures,
|
||||
allJorfArticleNaturesMutable,
|
||||
allJorfArticleOrigines,
|
||||
allJorfArticleOriginesMutable,
|
||||
allJorfArticleTexteNatures,
|
||||
allJorfArticleTexteNaturesMutable,
|
||||
allJorfArticleTypes,
|
||||
allJorfArticleTypesMutable,
|
||||
allJorfSectionTaLienArtEtats,
|
||||
allJorfSectionTaLienArtEtatsMutable,
|
||||
allJorfSectionTaLienArtOrigines,
|
||||
allJorfSectionTaLienArtOriginesMutable,
|
||||
allJorfSectionTaLienSectionTaEtats,
|
||||
allJorfSectionTaLienSectionTaEtatsMutable,
|
||||
allJorfSectionTaTexteNatures,
|
||||
allJorfSectionTaTexteNaturesMutable,
|
||||
allJorfTextelrEtats,
|
||||
allJorfTextelrEtatsMutable,
|
||||
allJorfTextelrLienArtEtats,
|
||||
allJorfTextelrLienArtEtatsMutable,
|
||||
allJorfTextelrLienArtNatures,
|
||||
allJorfTextelrLienArtNaturesMutable,
|
||||
allJorfTextelrLienArtOrigines,
|
||||
allJorfTextelrLienArtOriginesMutable,
|
||||
allJorfTextelrNatures,
|
||||
allJorfTextelrNaturesMutable,
|
||||
allJorfTextelrOrigines,
|
||||
allJorfTextelrOriginesMutable,
|
||||
allJorfTexteVersionLienNatures,
|
||||
allJorfTexteVersionLienNaturesMutable,
|
||||
allJorfTexteVersionLienTypes,
|
||||
allJorfTexteVersionLienTypesMutable,
|
||||
allJorfTexteVersionNatures,
|
||||
allJorfTexteVersionNaturesMutable,
|
||||
allJorfTexteVersionOrigines,
|
||||
allJorfTexteVersionOriginesMutable,
|
||||
type Jo,
|
||||
type JoNature,
|
||||
type JoOrigine,
|
||||
|
@ -78,51 +56,28 @@ export {
|
|||
} from "./jorf"
|
||||
export {
|
||||
allLegiArticleEtats,
|
||||
allLegiArticleEtatsMutable,
|
||||
allLegiArticleLienArticleOrigines,
|
||||
allLegiArticleLienArticleOriginesMutable,
|
||||
allLegiArticleLienNatures,
|
||||
allLegiArticleLienNaturesMutable,
|
||||
allLegiArticleLienTypes,
|
||||
allLegiArticleLienTypesMutable,
|
||||
allLegiArticleNatures,
|
||||
allLegiArticleNaturesMutable,
|
||||
allLegiArticleOrigines,
|
||||
allLegiArticleOriginesMutable,
|
||||
allLegiArticleTexteNatures,
|
||||
allLegiArticleTexteNaturesMutable,
|
||||
allLegiArticleTypes,
|
||||
allLegiArticleTypesMutable,
|
||||
allLegiSectionTaLienArtEtats,
|
||||
allLegiSectionTaLienArtEtatsMutable,
|
||||
allLegiSectionTaLienArtOrigines,
|
||||
allLegiSectionTaLienArtOriginesMutable,
|
||||
allLegiSectionTaLienSectionTaEtats,
|
||||
allLegiSectionTaLienSectionTaEtatsMutable,
|
||||
allLegiSectionTaTexteNatures,
|
||||
allLegiSectionTaTexteNaturesMutable,
|
||||
allLegiTextelrEtats,
|
||||
allLegiTextelrEtatsMutable,
|
||||
allLegiTextelrLienArtEtats,
|
||||
allLegiTextelrLienArtEtatsMutable,
|
||||
allLegiTextelrLienArtOrigines,
|
||||
allLegiTextelrLienArtOriginesMutable,
|
||||
allLegiTextelrLienSectionTaEtats,
|
||||
allLegiTextelrLienSectionTaEtatsMutable,
|
||||
allLegiTextelrNatures,
|
||||
allLegiTextelrNaturesMutable,
|
||||
allLegiTextelrOrigines,
|
||||
allLegiTextelrOriginesMutable,
|
||||
allLegiTexteVersionEtats,
|
||||
allLegiTexteVersionEtatsMutable,
|
||||
allLegiTexteVersionLienNatures,
|
||||
allLegiTexteVersionLienNaturesMutable,
|
||||
allLegiTexteVersionLienTypes,
|
||||
allLegiTexteVersionLienTypesMutable,
|
||||
allLegiTexteVersionNatures,
|
||||
allLegiTexteVersionNaturesMutable,
|
||||
allLegiTexteVersionOrigines,
|
||||
allLegiTexteVersionOriginesMutable,
|
||||
type LegiArticle,
|
||||
type LegiArticleEtat,
|
||||
type LegiArticleLienArticleOrigine,
|
||||
|
@ -149,7 +104,7 @@ export {
|
|||
type LegiTexteVersionNature,
|
||||
type LegiTexteVersionOrigine,
|
||||
} from "./legi"
|
||||
export { allSens, allSensMutable, type Sens } from "./shared"
|
||||
export { allSens, type Sens } from "./shared"
|
||||
|
||||
export interface Article {
|
||||
META: {
|
||||
|
|
|
@ -367,10 +367,8 @@ export interface JoTm {
|
|||
}
|
||||
|
||||
export const allJoNatures = ["JO"] as const
|
||||
export const allJoNaturesMutable = [...allJoNatures]
|
||||
|
||||
export const allJoOrigines = ["JORF"] as const
|
||||
export const allJoOriginesMutable = [...allJoOrigines]
|
||||
|
||||
export const allJorfArticleEtats = [
|
||||
"ABROGE_DIFF",
|
||||
|
@ -383,18 +381,12 @@ export const allJorfArticleEtats = [
|
|||
"VIGUEUR_DIFF",
|
||||
"VIGUEUR",
|
||||
] as const
|
||||
export const allJorfArticleEtatsMutable = [...allJorfArticleEtats]
|
||||
|
||||
export const allJorfArticleLienArticleOrigines = ["JORF", "LEGI"] as const
|
||||
export const allJorfArticleLienArticleOriginesMutable = [
|
||||
...allJorfArticleLienArticleOrigines,
|
||||
]
|
||||
|
||||
export const allJorfArticleNatures = ["Article"] as const
|
||||
export const allJorfArticleNaturesMutable = [...allJorfArticleNatures]
|
||||
|
||||
export const allJorfArticleOrigines = ["JORF"] as const
|
||||
export const allJorfArticleOriginesMutable = [...allJorfArticleOrigines]
|
||||
|
||||
export const allJorfArticleTexteNatures = [
|
||||
"ABROGATION", // 10
|
||||
|
@ -469,29 +461,18 @@ export const allJorfArticleTexteNatures = [
|
|||
"TROISIEME", // 2
|
||||
"VOCABULAIRE", // 170
|
||||
] as const
|
||||
export const allJorfArticleTexteNaturesMutable = [...allJorfArticleTexteNatures]
|
||||
|
||||
export const allJorfArticleTypes = [
|
||||
"AUTONOME",
|
||||
"ENTIEREMENT_MODIF",
|
||||
"PARTIELLEMENT_MODIF",
|
||||
] as const
|
||||
export const allJorfArticleTypesMutable = [...allJorfArticleTypes]
|
||||
|
||||
export const allJorfSectionTaLienArtEtats = ["VIGUEUR"] as const
|
||||
export const allJorfSectionTaLienArtEtatsMutable = [
|
||||
...allJorfSectionTaLienArtEtats,
|
||||
]
|
||||
|
||||
export const allJorfSectionTaLienArtOrigines = ["JORF"] as const
|
||||
export const allJorfSectionTaLienArtOriginesMutable = [
|
||||
...allJorfSectionTaLienArtOrigines,
|
||||
]
|
||||
|
||||
export const allJorfSectionTaLienSectionTaEtats = [] as const
|
||||
export const allJorfSectionTaLienSectionTaEtatsMutable = [
|
||||
...allJorfSectionTaLienSectionTaEtats,
|
||||
]
|
||||
|
||||
export const allJorfSectionTaTexteNatures = [
|
||||
"Accord multilatéral", // 2
|
||||
|
@ -524,9 +505,6 @@ export const allJorfSectionTaTexteNatures = [
|
|||
"SAISINE", // 3
|
||||
"TABLEAU", // 100
|
||||
] as const
|
||||
export const allJorfSectionTaTexteNaturesMutable = [
|
||||
...allJorfSectionTaTexteNatures,
|
||||
]
|
||||
|
||||
export const allJorfTextelrEtats = [
|
||||
"ABROGE_DIFF", // 129
|
||||
|
@ -538,20 +516,12 @@ export const allJorfTextelrEtats = [
|
|||
"VIGUEUR_DIFF", // 103
|
||||
"VIGUEUR", // 98711
|
||||
] as const
|
||||
export const allJorfTextelrEtatsMutable = [...allJorfTextelrEtats]
|
||||
|
||||
export const allJorfTextelrLienArtEtats = ["VIGUEUR"] as const
|
||||
export const allJorfTextelrLienArtEtatsMutable = [...allJorfTextelrLienArtEtats]
|
||||
|
||||
export const allJorfTextelrLienArtNatures = [] as const
|
||||
export const allJorfTextelrLienArtNaturesMutable = [
|
||||
...allJorfTextelrLienArtNatures,
|
||||
]
|
||||
|
||||
export const allJorfTextelrLienArtOrigines = ["JORF"] as const
|
||||
export const allJorfTextelrLienArtOriginesMutable = [
|
||||
...allJorfTextelrLienArtOrigines,
|
||||
]
|
||||
|
||||
export const allJorfTextelrNatures = [
|
||||
"ABROGATION", // 8
|
||||
|
@ -643,10 +613,8 @@ export const allJorfTextelrNatures = [
|
|||
"TROISIEME", // 2
|
||||
"VOCABULAIRE", // 169
|
||||
] as const
|
||||
export const allJorfTextelrNaturesMutable = [...allJorfTextelrNatures]
|
||||
|
||||
export const allJorfTextelrOrigines = ["JORF"] as const
|
||||
export const allJorfTextelrOriginesMutable = [...allJorfTextelrOrigines]
|
||||
|
||||
export const allJorfTexteVersionLienNatures = [
|
||||
"ABROGATION", // 5
|
||||
|
@ -790,9 +758,6 @@ export const allJorfTexteVersionLienNatures = [
|
|||
"SUSPENSION", // 1
|
||||
"TABLEAU", // 12
|
||||
] as const
|
||||
export const allJorfTexteVersionLienNaturesMutable = [
|
||||
...allJorfTexteVersionLienNatures,
|
||||
]
|
||||
|
||||
export const allJorfTexteVersionLienTypes = [
|
||||
"ABROGATION", // 34942
|
||||
|
@ -830,9 +795,6 @@ export const allJorfTexteVersionLienTypes = [
|
|||
"TXT_ASSOCIE", // 11821
|
||||
"TXT_SOURCE", // 81350
|
||||
] as const
|
||||
export const allJorfTexteVersionLienTypesMutable = [
|
||||
...allJorfTexteVersionLienTypes,
|
||||
]
|
||||
|
||||
export const allJorfTexteVersionNatures = [
|
||||
"ABROGATION", // 8
|
||||
|
@ -924,9 +886,5 @@ export const allJorfTexteVersionNatures = [
|
|||
"TROISIEME", // 2
|
||||
"VOCABULAIRE", // 169
|
||||
] as const
|
||||
export const allJorfTexteVersionNaturesMutable = [...allJorfTexteVersionNatures]
|
||||
|
||||
export const allJorfTexteVersionOrigines = ["JORF"] as const
|
||||
export const allJorfTexteVersionOriginesMutable = [
|
||||
...allJorfTexteVersionOrigines,
|
||||
]
|
||||
|
|
|
@ -351,12 +351,8 @@ export const allLegiArticleEtats = [
|
|||
"VIGUEUR_DIFF", // 14629
|
||||
"VIGUEUR", // 619477
|
||||
] as const
|
||||
export const allLegiArticleEtatsMutable = [...allLegiArticleEtats]
|
||||
|
||||
export const allLegiArticleLienArticleOrigines = ["JORF", "LEGI"] as const
|
||||
export const allLegiArticleLienArticleOriginesMutable = [
|
||||
...allLegiArticleLienArticleOrigines,
|
||||
]
|
||||
|
||||
export const allLegiArticleLienNatures = [
|
||||
"Accord de branche", // 10
|
||||
|
@ -389,7 +385,6 @@ export const allLegiArticleLienNatures = [
|
|||
"RECOMMANDATION", // 6
|
||||
"REGLEMENTEUROPEEN", // 3
|
||||
] as const
|
||||
export const allLegiArticleLienNaturesMutable = [...allLegiArticleLienNatures]
|
||||
|
||||
export const allLegiArticleLienTypes = [
|
||||
"ABROGATION", // 237556
|
||||
|
@ -424,13 +419,10 @@ export const allLegiArticleLienTypes = [
|
|||
"TXT_ASSOCIE", // 47348
|
||||
"TXT_SOURCE", // 263557
|
||||
] as const
|
||||
export const allLegiArticleLienTypesMutable = [...allLegiArticleLienTypes]
|
||||
|
||||
export const allLegiArticleNatures = ["Article"] as const
|
||||
export const allLegiArticleNaturesMutable = [...allLegiArticleNatures]
|
||||
|
||||
export const allLegiArticleOrigines = ["JORF", "LEGI"] as const
|
||||
export const allLegiArticleOriginesMutable = [...allLegiArticleOrigines]
|
||||
|
||||
export const allLegiArticleTexteNatures = [
|
||||
"ACCORD_FONCTION_PUBLIQUE", // 9,
|
||||
|
@ -452,14 +444,12 @@ export const allLegiArticleTexteNatures = [
|
|||
"ORDONNANCE", // 26800,
|
||||
"RAPPORT", // 22,
|
||||
] as const
|
||||
export const allLegiArticleTexteNaturesMutable = [...allLegiArticleTexteNatures]
|
||||
|
||||
export const allLegiArticleTypes = [
|
||||
"AUTONOME",
|
||||
"ENTIEREMENT_MODIF",
|
||||
"PARTIELLEMENT_MODIF",
|
||||
] as const
|
||||
export const allLegiArticleTypesMutable = [...allLegiArticleTypes]
|
||||
|
||||
export const allLegiSectionTaLienArtEtats = [
|
||||
"ABROGE_DIFF", // 7802
|
||||
|
@ -474,14 +464,8 @@ export const allLegiSectionTaLienArtEtats = [
|
|||
"VIGUEUR_DIFF", // 8862
|
||||
"VIGUEUR", // 346656
|
||||
] as const
|
||||
export const allLegiSectionTaLienArtEtatsMutable = [
|
||||
...allLegiSectionTaLienArtEtats,
|
||||
]
|
||||
|
||||
export const allLegiSectionTaLienArtOrigines = ["LEGI"] as const
|
||||
export const allLegiSectionTaLienArtOriginesMutable = [
|
||||
...allLegiSectionTaLienArtOrigines,
|
||||
]
|
||||
|
||||
export const allLegiSectionTaLienSectionTaEtats = [
|
||||
"ABROGE_DIFF", // 1193
|
||||
|
@ -494,9 +478,6 @@ export const allLegiSectionTaLienSectionTaEtats = [
|
|||
"VIGUEUR_DIFF", // 1840
|
||||
"VIGUEUR", // 95108
|
||||
] as const
|
||||
export const allLegiSectionTaLienSectionTaEtatsMutable = [
|
||||
...allLegiSectionTaLienSectionTaEtats,
|
||||
]
|
||||
|
||||
export const allLegiSectionTaTexteNatures = [
|
||||
"ACCORD_FONCTION_PUBLIQUE", // 2
|
||||
|
@ -514,9 +495,6 @@ export const allLegiSectionTaTexteNatures = [
|
|||
"LOI", // 12005
|
||||
"ORDONNANCE", // 4639
|
||||
] as const
|
||||
export const allLegiSectionTaTexteNaturesMutable = [
|
||||
...allLegiSectionTaTexteNatures,
|
||||
]
|
||||
|
||||
export const allLegiTextelrEtats = [
|
||||
"ABROGE_DIFF", // 1897
|
||||
|
@ -528,7 +506,6 @@ export const allLegiTextelrEtats = [
|
|||
"VIGUEUR_DIFF", // 2086
|
||||
"VIGUEUR", // 103917
|
||||
] as const
|
||||
export const allLegiTextelrEtatsMutable = [...allLegiTextelrEtats]
|
||||
|
||||
export const allLegiTextelrLienArtEtats = [
|
||||
"ABROGE_DIFF", // 9742
|
||||
|
@ -541,12 +518,8 @@ export const allLegiTextelrLienArtEtats = [
|
|||
"VIGUEUR_DIFF", // 6195
|
||||
"VIGUEUR", // 311266
|
||||
] as const
|
||||
export const allLegiTextelrLienArtEtatsMutable = [...allLegiTextelrLienArtEtats]
|
||||
|
||||
export const allLegiTextelrLienArtOrigines = ["LEGI"] as const
|
||||
export const allLegiTextelrLienArtOriginesMutable = [
|
||||
...allLegiTextelrLienArtOrigines,
|
||||
]
|
||||
|
||||
export const allLegiTextelrLienSectionTaEtats = [
|
||||
"ABROGE_DIFF", // 1395
|
||||
|
@ -559,9 +532,6 @@ export const allLegiTextelrLienSectionTaEtats = [
|
|||
"VIGUEUR_DIFF", // 1816
|
||||
"VIGUEUR", // 48481
|
||||
] as const
|
||||
export const allLegiTextelrLienSectionTaEtatsMutable = [
|
||||
...allLegiTextelrLienSectionTaEtats,
|
||||
]
|
||||
|
||||
export const allLegiTextelrNatures = [
|
||||
"ACCORD_FONCTION_PUBLIQUE", // 4
|
||||
|
@ -580,10 +550,8 @@ export const allLegiTextelrNatures = [
|
|||
"LOI", // 3457
|
||||
"ORDONNANCE", // 1520
|
||||
] as const
|
||||
export const allLegiTextelrNaturesMutable = [...allLegiTextelrNatures]
|
||||
|
||||
export const allLegiTextelrOrigines = ["LEGI"] as const
|
||||
export const allLegiTextelrOriginesMutable = [...allLegiTextelrOrigines]
|
||||
|
||||
export const allLegiTexteVersionEtats = [
|
||||
"ABROGE_DIFF", // 1712
|
||||
|
@ -595,7 +563,6 @@ export const allLegiTexteVersionEtats = [
|
|||
"VIGUEUR_DIFF", // 2073
|
||||
"VIGUEUR", // 101189
|
||||
] as const
|
||||
export const allLegiTexteVersionEtatsMutable = [...allLegiTexteVersionEtats]
|
||||
|
||||
export const allLegiTexteVersionLienNatures = [
|
||||
"ARRETE", // 24259
|
||||
|
@ -622,9 +589,6 @@ export const allLegiTexteVersionLienNatures = [
|
|||
"REGLEMENT", // 1
|
||||
"REGLEMENTEUROPEEN", // 2
|
||||
] as const
|
||||
export const allLegiTexteVersionLienNaturesMutable = [
|
||||
...allLegiTexteVersionLienNatures,
|
||||
]
|
||||
|
||||
export const allLegiTexteVersionLienTypes = [
|
||||
"ABROGATION", // 8409
|
||||
|
@ -650,9 +614,6 @@ export const allLegiTexteVersionLienTypes = [
|
|||
"TXT_ASSOCIE", // 4469
|
||||
"TXT_SOURCE", // 19858
|
||||
] as const
|
||||
export const allLegiTexteVersionLienTypesMutable = [
|
||||
...allLegiTexteVersionLienTypes,
|
||||
]
|
||||
|
||||
export const allLegiTexteVersionNatures = [
|
||||
"ACCORD_FONCTION_PUBLIQUE", // 4
|
||||
|
@ -671,9 +632,5 @@ export const allLegiTexteVersionNatures = [
|
|||
"LOI", // 3457
|
||||
"ORDONNANCE", // 1520
|
||||
] as const
|
||||
export const allLegiTexteVersionNaturesMutable = [...allLegiTexteVersionNatures]
|
||||
|
||||
export const allLegiTexteVersionOrigines = ["LEGI"] as const
|
||||
export const allLegiTexteVersionOriginesMutable = [
|
||||
...allLegiTexteVersionOrigines,
|
||||
]
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
export type Sens = (typeof allSens)[number]
|
||||
|
||||
export const allSens = ["cible", "source"] as const
|
||||
export const allSensMutable = [...allSens]
|
||||
|
|
|
@ -392,9 +392,10 @@ export function summarizeLegalObject(
|
|||
return undefined
|
||||
}
|
||||
const today = new Date().toISOString().split("T")[0]
|
||||
return `${sectionTa.TITRE_TA} — ${
|
||||
bestItemForDate(sectionTa.CONTEXTE.TEXTE.TITRE_TXT, today)?.["#text"]
|
||||
}`
|
||||
return `${sectionTa.TITRE_TA} — ${bestItemForDate(
|
||||
sectionTa.CONTEXTE.TEXTE.TITRE_TXT,
|
||||
today,
|
||||
)?.["#text"]}`
|
||||
}
|
||||
case "texte_version": {
|
||||
const texteVersion = value as TexteVersion | undefined
|
||||
|
|
|
@ -11,27 +11,30 @@ export function urlFromUrlAndQuery(
|
|||
},
|
||||
) {
|
||||
const search = new URLSearchParams(
|
||||
Object.entries(query).reduce((couples, [key, value]) => {
|
||||
if (value != null) {
|
||||
if (
|
||||
typeof value !== "string" &&
|
||||
typeof (
|
||||
value as Iterable<boolean | number | string | undefined | null>
|
||||
)[Symbol.iterator] === "function"
|
||||
) {
|
||||
for (const item of value as Iterable<
|
||||
boolean | number | string | undefined | null
|
||||
>) {
|
||||
if (item != null) {
|
||||
couples.push([key, item.toString()])
|
||||
Object.entries(query).reduce(
|
||||
(couples, [key, value]) => {
|
||||
if (value != null) {
|
||||
if (
|
||||
typeof value !== "string" &&
|
||||
typeof (
|
||||
value as Iterable<boolean | number | string | undefined | null>
|
||||
)[Symbol.iterator] === "function"
|
||||
) {
|
||||
for (const item of value as Iterable<
|
||||
boolean | number | string | undefined | null
|
||||
>) {
|
||||
if (item != null) {
|
||||
couples.push([key, item.toString()])
|
||||
}
|
||||
}
|
||||
} else {
|
||||
couples.push([key, value.toString()])
|
||||
}
|
||||
} else {
|
||||
couples.push([key, value.toString()])
|
||||
}
|
||||
}
|
||||
return couples
|
||||
}, [] as Array<[string, string]>),
|
||||
return couples
|
||||
},
|
||||
[] as Array<[string, string]>,
|
||||
),
|
||||
).toString()
|
||||
return search ? `${urlOrPathname}?${search}` : urlOrPathname
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue