mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-05-07 14:57:12 -04:00
parent
80e46c9292
commit
d2b692269b
8 changed files with 402 additions and 80 deletions
1
components.d.ts
vendored
1
components.d.ts
vendored
|
@ -113,6 +113,7 @@ declare module '@vue/runtime-core' {
|
||||||
IconMdiVideo: typeof import('~icons/mdi/video')['default']
|
IconMdiVideo: typeof import('~icons/mdi/video')['default']
|
||||||
InputCopyable: typeof import('./src/components/InputCopyable.vue')['default']
|
InputCopyable: typeof import('./src/components/InputCopyable.vue')['default']
|
||||||
IntegerBaseConverter: typeof import('./src/tools/integer-base-converter/integer-base-converter.vue')['default']
|
IntegerBaseConverter: typeof import('./src/tools/integer-base-converter/integer-base-converter.vue')['default']
|
||||||
|
IpIncludeExclude: typeof import('./src/tools/ip-include-exclude/ip-include-exclude.vue')['default']
|
||||||
Ipv4AddressConverter: typeof import('./src/tools/ipv4-address-converter/ipv4-address-converter.vue')['default']
|
Ipv4AddressConverter: typeof import('./src/tools/ipv4-address-converter/ipv4-address-converter.vue')['default']
|
||||||
Ipv4RangeExpander: typeof import('./src/tools/ipv4-range-expander/ipv4-range-expander.vue')['default']
|
Ipv4RangeExpander: typeof import('./src/tools/ipv4-range-expander/ipv4-range-expander.vue')['default']
|
||||||
Ipv4SubnetCalculator: typeof import('./src/tools/ipv4-subnet-calculator/ipv4-subnet-calculator.vue')['default']
|
Ipv4SubnetCalculator: typeof import('./src/tools/ipv4-subnet-calculator/ipv4-subnet-calculator.vue')['default']
|
||||||
|
|
|
@ -48,6 +48,7 @@
|
||||||
"@vueuse/router": "^10.0.0",
|
"@vueuse/router": "^10.0.0",
|
||||||
"bcryptjs": "^2.4.3",
|
"bcryptjs": "^2.4.3",
|
||||||
"change-case": "^4.1.2",
|
"change-case": "^4.1.2",
|
||||||
|
"cidr-tools": "^11.0.2",
|
||||||
"colord": "^2.9.3",
|
"colord": "^2.9.3",
|
||||||
"composerize-ts": "^0.6.2",
|
"composerize-ts": "^0.6.2",
|
||||||
"country-code-lookup": "^0.1.0",
|
"country-code-lookup": "^0.1.0",
|
||||||
|
@ -62,6 +63,7 @@
|
||||||
"highlight.js": "^11.7.0",
|
"highlight.js": "^11.7.0",
|
||||||
"iarna-toml-esm": "^3.0.5",
|
"iarna-toml-esm": "^3.0.5",
|
||||||
"ibantools": "^4.3.3",
|
"ibantools": "^4.3.3",
|
||||||
|
"ip-matching": "^2.1.2",
|
||||||
"json5": "^2.2.3",
|
"json5": "^2.2.3",
|
||||||
"jwt-decode": "^3.1.2",
|
"jwt-decode": "^3.1.2",
|
||||||
"libphonenumber-js": "^1.10.28",
|
"libphonenumber-js": "^1.10.28",
|
||||||
|
|
264
pnpm-lock.yaml
generated
264
pnpm-lock.yaml
generated
|
@ -34,7 +34,7 @@ dependencies:
|
||||||
version: 10.3.0(vue@3.3.4)
|
version: 10.3.0(vue@3.3.4)
|
||||||
'@vueuse/head':
|
'@vueuse/head':
|
||||||
specifier: ^1.0.0
|
specifier: ^1.0.0
|
||||||
version: 1.0.0(vue@3.3.4)
|
version: 1.0.0(typescript@5.2.2)(vue@3.3.4)
|
||||||
'@vueuse/router':
|
'@vueuse/router':
|
||||||
specifier: ^10.0.0
|
specifier: ^10.0.0
|
||||||
version: 10.0.0(vue-router@4.1.6)(vue@3.3.4)
|
version: 10.0.0(vue-router@4.1.6)(vue@3.3.4)
|
||||||
|
@ -44,6 +44,9 @@ dependencies:
|
||||||
change-case:
|
change-case:
|
||||||
specifier: ^4.1.2
|
specifier: ^4.1.2
|
||||||
version: 4.1.2
|
version: 4.1.2
|
||||||
|
cidr-tools:
|
||||||
|
specifier: ^11.0.2
|
||||||
|
version: 11.0.2
|
||||||
colord:
|
colord:
|
||||||
specifier: ^2.9.3
|
specifier: ^2.9.3
|
||||||
version: 2.9.3
|
version: 2.9.3
|
||||||
|
@ -86,6 +89,9 @@ dependencies:
|
||||||
ibantools:
|
ibantools:
|
||||||
specifier: ^4.3.3
|
specifier: ^4.3.3
|
||||||
version: 4.3.3
|
version: 4.3.3
|
||||||
|
ip-matching:
|
||||||
|
specifier: ^2.1.2
|
||||||
|
version: 2.1.2
|
||||||
json5:
|
json5:
|
||||||
specifier: ^2.2.3
|
specifier: ^2.2.3
|
||||||
version: 2.2.3
|
version: 2.2.3
|
||||||
|
@ -270,7 +276,7 @@ devDependencies:
|
||||||
version: 5.2.2
|
version: 5.2.2
|
||||||
unocss:
|
unocss:
|
||||||
specifier: ^0.57.0
|
specifier: ^0.57.0
|
||||||
version: 0.57.1(postcss@8.4.31)(rollup@2.79.1)(vite@4.4.9)
|
version: 0.57.1(postcss@8.4.49)(rollup@2.79.1)(vite@4.4.9)
|
||||||
unocss-preset-scrollbar:
|
unocss-preset-scrollbar:
|
||||||
specifier: ^0.2.1
|
specifier: ^0.2.1
|
||||||
version: 0.2.1(unocss@0.57.1)
|
version: 0.2.1(unocss@0.57.1)
|
||||||
|
@ -554,7 +560,7 @@ packages:
|
||||||
resolution: {integrity: sha512-QkBXwGgaoC2GtGZRoma6kv7Szfv06khvhFav67ZExau2RaXzy8MpHSMO2PNoP2XtmQphJQRHFfg77Bq731Yizw==}
|
resolution: {integrity: sha512-QkBXwGgaoC2GtGZRoma6kv7Szfv06khvhFav67ZExau2RaXzy8MpHSMO2PNoP2XtmQphJQRHFfg77Bq731Yizw==}
|
||||||
engines: {node: '>=6.9.0'}
|
engines: {node: '>=6.9.0'}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@babel/types': 7.23.0
|
'@babel/types': 7.26.5
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@babel/helper-compilation-targets@7.22.10:
|
/@babel/helper-compilation-targets@7.22.10:
|
||||||
|
@ -682,7 +688,7 @@ packages:
|
||||||
resolution: {integrity: sha512-6gfrPwh7OuT6gZyJZvd6WbTfrqAo7vm4xCzAXOusKqq/vWdKXphTpj5klHKNmRUU6/QRGlBsyU9mAIPaWHlqJA==}
|
resolution: {integrity: sha512-6gfrPwh7OuT6gZyJZvd6WbTfrqAo7vm4xCzAXOusKqq/vWdKXphTpj5klHKNmRUU6/QRGlBsyU9mAIPaWHlqJA==}
|
||||||
engines: {node: '>=6.9.0'}
|
engines: {node: '>=6.9.0'}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@babel/types': 7.23.0
|
'@babel/types': 7.26.5
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@babel/helper-module-imports@7.22.15:
|
/@babel/helper-module-imports@7.22.15:
|
||||||
|
@ -802,6 +808,11 @@ packages:
|
||||||
resolution: {integrity: sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==}
|
resolution: {integrity: sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==}
|
||||||
engines: {node: '>=6.9.0'}
|
engines: {node: '>=6.9.0'}
|
||||||
|
|
||||||
|
/@babel/helper-string-parser@7.25.9:
|
||||||
|
resolution: {integrity: sha512-4A/SCr/2KLd5jrtOMFzaKjVtAei3+2r/NChoBNoZ3EyP/+GlhoaEGoWOZUmFmoITP7zOJyHIMm+DYRd8o3PvHA==}
|
||||||
|
engines: {node: '>=6.9.0'}
|
||||||
|
requiresBuild: true
|
||||||
|
|
||||||
/@babel/helper-validator-identifier@7.22.20:
|
/@babel/helper-validator-identifier@7.22.20:
|
||||||
resolution: {integrity: sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==}
|
resolution: {integrity: sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==}
|
||||||
engines: {node: '>=6.9.0'}
|
engines: {node: '>=6.9.0'}
|
||||||
|
@ -810,6 +821,10 @@ packages:
|
||||||
resolution: {integrity: sha512-aJXu+6lErq8ltp+JhkJUfk1MTGyuA4v7f3pA+BJ5HLfNC6nAQ0Cpi9uOquUj8Hehg0aUiHzWQbOVJGao6ztBAQ==}
|
resolution: {integrity: sha512-aJXu+6lErq8ltp+JhkJUfk1MTGyuA4v7f3pA+BJ5HLfNC6nAQ0Cpi9uOquUj8Hehg0aUiHzWQbOVJGao6ztBAQ==}
|
||||||
engines: {node: '>=6.9.0'}
|
engines: {node: '>=6.9.0'}
|
||||||
|
|
||||||
|
/@babel/helper-validator-identifier@7.25.9:
|
||||||
|
resolution: {integrity: sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==}
|
||||||
|
engines: {node: '>=6.9.0'}
|
||||||
|
|
||||||
/@babel/helper-validator-option@7.22.15:
|
/@babel/helper-validator-option@7.22.15:
|
||||||
resolution: {integrity: sha512-bMn7RmyFjY/mdECUbgn9eoSY4vqvacUnS9i9vGAGttgFWesO6B4CYWA7XlpbWgBt71iv/hfbPlynohStqnu5hA==}
|
resolution: {integrity: sha512-bMn7RmyFjY/mdECUbgn9eoSY4vqvacUnS9i9vGAGttgFWesO6B4CYWA7XlpbWgBt71iv/hfbPlynohStqnu5hA==}
|
||||||
engines: {node: '>=6.9.0'}
|
engines: {node: '>=6.9.0'}
|
||||||
|
@ -825,7 +840,7 @@ packages:
|
||||||
dependencies:
|
dependencies:
|
||||||
'@babel/helper-function-name': 7.23.0
|
'@babel/helper-function-name': 7.23.0
|
||||||
'@babel/template': 7.22.15
|
'@babel/template': 7.22.15
|
||||||
'@babel/types': 7.23.0
|
'@babel/types': 7.26.5
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@babel/helpers@7.22.10:
|
/@babel/helpers@7.22.10:
|
||||||
|
@ -902,6 +917,13 @@ packages:
|
||||||
dependencies:
|
dependencies:
|
||||||
'@babel/types': 7.23.0
|
'@babel/types': 7.23.0
|
||||||
|
|
||||||
|
/@babel/parser@7.26.5:
|
||||||
|
resolution: {integrity: sha512-SRJ4jYmXRqV1/Xc+TIVG84WjHBXKlxO9sHQnA2Pf12QQEAp1LOh6kDzNHXcUnbH1QI0FDoPPVOt+vyUDucxpaw==}
|
||||||
|
engines: {node: '>=6.0.0'}
|
||||||
|
hasBin: true
|
||||||
|
dependencies:
|
||||||
|
'@babel/types': 7.26.5
|
||||||
|
|
||||||
/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.22.15(@babel/core@7.23.2):
|
/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.22.15(@babel/core@7.23.2):
|
||||||
resolution: {integrity: sha512-FB9iYlz7rURmRJyXRKEnalYPPdn87H5no108cyuQQyMwlpJ2SJtpIUBI27kdTin956pz+LPypkPVPUTlxOmrsg==}
|
resolution: {integrity: sha512-FB9iYlz7rURmRJyXRKEnalYPPdn87H5no108cyuQQyMwlpJ2SJtpIUBI27kdTin956pz+LPypkPVPUTlxOmrsg==}
|
||||||
engines: {node: '>=6.9.0'}
|
engines: {node: '>=6.9.0'}
|
||||||
|
@ -1399,7 +1421,7 @@ packages:
|
||||||
'@babel/helper-hoist-variables': 7.22.5
|
'@babel/helper-hoist-variables': 7.22.5
|
||||||
'@babel/helper-module-transforms': 7.23.0(@babel/core@7.23.2)
|
'@babel/helper-module-transforms': 7.23.0(@babel/core@7.23.2)
|
||||||
'@babel/helper-plugin-utils': 7.22.5
|
'@babel/helper-plugin-utils': 7.22.5
|
||||||
'@babel/helper-validator-identifier': 7.22.20
|
'@babel/helper-validator-identifier': 7.25.9
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@babel/plugin-transform-modules-umd@7.22.5(@babel/core@7.23.2):
|
/@babel/plugin-transform-modules-umd@7.22.5(@babel/core@7.23.2):
|
||||||
|
@ -1757,7 +1779,7 @@ packages:
|
||||||
'@babel/plugin-transform-unicode-regex': 7.22.5(@babel/core@7.23.2)
|
'@babel/plugin-transform-unicode-regex': 7.22.5(@babel/core@7.23.2)
|
||||||
'@babel/plugin-transform-unicode-sets-regex': 7.22.5(@babel/core@7.23.2)
|
'@babel/plugin-transform-unicode-sets-regex': 7.22.5(@babel/core@7.23.2)
|
||||||
'@babel/preset-modules': 0.1.6-no-external-plugins(@babel/core@7.23.2)
|
'@babel/preset-modules': 0.1.6-no-external-plugins(@babel/core@7.23.2)
|
||||||
'@babel/types': 7.23.0
|
'@babel/types': 7.26.5
|
||||||
babel-plugin-polyfill-corejs2: 0.4.6(@babel/core@7.23.2)
|
babel-plugin-polyfill-corejs2: 0.4.6(@babel/core@7.23.2)
|
||||||
babel-plugin-polyfill-corejs3: 0.8.6(@babel/core@7.23.2)
|
babel-plugin-polyfill-corejs3: 0.8.6(@babel/core@7.23.2)
|
||||||
babel-plugin-polyfill-regenerator: 0.5.3(@babel/core@7.23.2)
|
babel-plugin-polyfill-regenerator: 0.5.3(@babel/core@7.23.2)
|
||||||
|
@ -1774,7 +1796,7 @@ packages:
|
||||||
dependencies:
|
dependencies:
|
||||||
'@babel/core': 7.23.2
|
'@babel/core': 7.23.2
|
||||||
'@babel/helper-plugin-utils': 7.22.5
|
'@babel/helper-plugin-utils': 7.22.5
|
||||||
'@babel/types': 7.23.0
|
'@babel/types': 7.26.5
|
||||||
esutils: 2.0.3
|
esutils: 2.0.3
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
@ -1889,6 +1911,13 @@ packages:
|
||||||
'@babel/helper-validator-identifier': 7.22.20
|
'@babel/helper-validator-identifier': 7.22.20
|
||||||
to-fast-properties: 2.0.0
|
to-fast-properties: 2.0.0
|
||||||
|
|
||||||
|
/@babel/types@7.26.5:
|
||||||
|
resolution: {integrity: sha512-L6mZmwFDK6Cjh1nRCLXpa6no13ZIioJDz7mdkzHv399pThrTa/k0nUlNaenOeh2kWu/iaOQYElEpKPUswUa9Vg==}
|
||||||
|
engines: {node: '>=6.9.0'}
|
||||||
|
dependencies:
|
||||||
|
'@babel/helper-string-parser': 7.25.9
|
||||||
|
'@babel/helper-validator-identifier': 7.25.9
|
||||||
|
|
||||||
/@css-render/plugin-bem@0.15.12(css-render@0.15.12):
|
/@css-render/plugin-bem@0.15.12(css-render@0.15.12):
|
||||||
resolution: {integrity: sha512-Lq2jSOZn+wYQtsyaFj6QRz2EzAnd3iW5fZeHO1WSXQdVYwvwGX0ZiH3X2JQgtgYLT1yeGtrwrqJdNdMEUD2xTw==}
|
resolution: {integrity: sha512-Lq2jSOZn+wYQtsyaFj6QRz2EzAnd3iW5fZeHO1WSXQdVYwvwGX0ZiH3X2JQgtgYLT1yeGtrwrqJdNdMEUD2xTw==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
|
@ -2360,6 +2389,10 @@ packages:
|
||||||
/@jridgewell/sourcemap-codec@1.4.15:
|
/@jridgewell/sourcemap-codec@1.4.15:
|
||||||
resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==}
|
resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==}
|
||||||
|
|
||||||
|
/@jridgewell/sourcemap-codec@1.5.0:
|
||||||
|
resolution: {integrity: sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==}
|
||||||
|
dev: false
|
||||||
|
|
||||||
/@jridgewell/trace-mapping@0.3.18:
|
/@jridgewell/trace-mapping@0.3.18:
|
||||||
resolution: {integrity: sha512-w+niJYzMHdd7USdiH2U6869nqhD2nbfZXND5Yp93qIbEmnDNk7PD48o+YchRVpzMU7M6jVCbenTR7PA1FLQ9pA==}
|
resolution: {integrity: sha512-w+niJYzMHdd7USdiH2U6869nqhD2nbfZXND5Yp93qIbEmnDNk7PD48o+YchRVpzMU7M6jVCbenTR7PA1FLQ9pA==}
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -3367,18 +3400,18 @@ packages:
|
||||||
'@unhead/schema': 0.5.1
|
'@unhead/schema': 0.5.1
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@unhead/vue@0.5.1(vue@3.3.4):
|
/@unhead/vue@0.5.1(typescript@5.2.2)(vue@3.3.4):
|
||||||
resolution: {integrity: sha512-s4y4uj3NMqaUs0K+WQXbWGj/2+Glk/DEJ9yeJOcJIiro/+IhUMByD71jyCM43Xn8YBPy14VY/ZYb9ZFU2WCZgw==}
|
resolution: {integrity: sha512-s4y4uj3NMqaUs0K+WQXbWGj/2+Glk/DEJ9yeJOcJIiro/+IhUMByD71jyCM43Xn8YBPy14VY/ZYb9ZFU2WCZgw==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
vue: '>=2.7 || >=3'
|
vue: '>=2.7 || >=3'
|
||||||
dependencies:
|
dependencies:
|
||||||
'@unhead/dom': 0.5.1
|
'@unhead/dom': 0.5.1
|
||||||
'@unhead/schema': 0.5.1
|
'@unhead/schema': 0.5.1
|
||||||
'@vueuse/shared': 10.6.1(vue@3.3.4)
|
'@vueuse/shared': 12.4.0(typescript@5.2.2)
|
||||||
unhead: 0.5.1
|
unhead: 0.5.1
|
||||||
vue: 3.3.4
|
vue: 3.3.4
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@vue/composition-api'
|
- typescript
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@unocss/astro@0.57.1(rollup@2.79.1)(vite@4.4.9):
|
/@unocss/astro@0.57.1(rollup@2.79.1)(vite@4.4.9):
|
||||||
|
@ -3475,7 +3508,7 @@ packages:
|
||||||
sirv: 2.0.3
|
sirv: 2.0.3
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@unocss/postcss@0.57.1(postcss@8.4.31):
|
/@unocss/postcss@0.57.1(postcss@8.4.49):
|
||||||
resolution: {integrity: sha512-DexrV+v/qkVh6t660rXigNr2Y6lON8jxD1z2KVk2bjHKhFflF6q6seps6d/MquyLJI1mXF2uANTeFAeL2q6evw==}
|
resolution: {integrity: sha512-DexrV+v/qkVh6t660rXigNr2Y6lON8jxD1z2KVk2bjHKhFflF6q6seps6d/MquyLJI1mXF2uANTeFAeL2q6evw==}
|
||||||
engines: {node: '>=14'}
|
engines: {node: '>=14'}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
|
@ -3487,7 +3520,7 @@ packages:
|
||||||
css-tree: 2.3.1
|
css-tree: 2.3.1
|
||||||
fast-glob: 3.3.1
|
fast-glob: 3.3.1
|
||||||
magic-string: 0.30.5
|
magic-string: 0.30.5
|
||||||
postcss: 8.4.31
|
postcss: 8.4.49
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@unocss/preset-attributify@0.57.1:
|
/@unocss/preset-attributify@0.57.1:
|
||||||
|
@ -3756,16 +3789,14 @@ packages:
|
||||||
estree-walker: 2.0.2
|
estree-walker: 2.0.2
|
||||||
source-map-js: 1.0.2
|
source-map-js: 1.0.2
|
||||||
|
|
||||||
/@vue/compiler-core@3.3.7:
|
/@vue/compiler-core@3.5.13:
|
||||||
resolution: {integrity: sha512-pACdY6YnTNVLXsB86YD8OF9ihwpolzhhtdLVHhBL6do/ykr6kKXNYABRtNMGrsQXpEXXyAdwvWWkuTbs4MFtPQ==}
|
resolution: {integrity: sha512-oOdAkwqUfW1WqpwSYJce06wvt6HljgY3fGeM9NcVA1HaYOij3mZG9Rkysn0OHuyUAGMbEbARIpsG+LPVlBJ5/Q==}
|
||||||
requiresBuild: true
|
|
||||||
dependencies:
|
dependencies:
|
||||||
'@babel/parser': 7.23.0
|
'@babel/parser': 7.26.5
|
||||||
'@vue/shared': 3.3.7
|
'@vue/shared': 3.5.13
|
||||||
|
entities: 4.5.0
|
||||||
estree-walker: 2.0.2
|
estree-walker: 2.0.2
|
||||||
source-map-js: 1.0.2
|
source-map-js: 1.2.1
|
||||||
dev: true
|
|
||||||
optional: true
|
|
||||||
|
|
||||||
/@vue/compiler-dom@3.2.47:
|
/@vue/compiler-dom@3.2.47:
|
||||||
resolution: {integrity: sha512-dBBnEHEPoftUiS03a4ggEig74J2YBZ2UIeyfpcRM2tavgMWo4bsEfgCGsu+uJIL/vax9S+JztH8NmQerUo7shQ==}
|
resolution: {integrity: sha512-dBBnEHEPoftUiS03a4ggEig74J2YBZ2UIeyfpcRM2tavgMWo4bsEfgCGsu+uJIL/vax9S+JztH8NmQerUo7shQ==}
|
||||||
|
@ -3780,13 +3811,11 @@ packages:
|
||||||
'@vue/compiler-core': 3.3.4
|
'@vue/compiler-core': 3.3.4
|
||||||
'@vue/shared': 3.3.4
|
'@vue/shared': 3.3.4
|
||||||
|
|
||||||
/@vue/compiler-dom@3.3.7:
|
/@vue/compiler-dom@3.5.13:
|
||||||
resolution: {integrity: sha512-0LwkyJjnUPssXv/d1vNJ0PKfBlDoQs7n81CbO6Q0zdL7H1EzqYRrTVXDqdBVqro0aJjo/FOa1qBAPVI4PGSHBw==}
|
resolution: {integrity: sha512-ZOJ46sMOKUjO3e94wPdCzQ6P1Lx/vhp2RSvfaab88Ajexs0AHeV0uasYhi99WPaogmBlRHNRuly8xV75cNTMDA==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@vue/compiler-core': 3.3.7
|
'@vue/compiler-core': 3.5.13
|
||||||
'@vue/shared': 3.3.7
|
'@vue/shared': 3.5.13
|
||||||
dev: true
|
|
||||||
optional: true
|
|
||||||
|
|
||||||
/@vue/compiler-sfc@3.2.47:
|
/@vue/compiler-sfc@3.2.47:
|
||||||
resolution: {integrity: sha512-rog05W+2IFfxjMcFw10tM9+f7i/+FFpZJJ5XHX72NP9eC2uRD+42M3pYcQqDXVYoj74kHMSEdQ/WmCjt8JFksQ==}
|
resolution: {integrity: sha512-rog05W+2IFfxjMcFw10tM9+f7i/+FFpZJJ5XHX72NP9eC2uRD+42M3pYcQqDXVYoj74kHMSEdQ/WmCjt8JFksQ==}
|
||||||
|
@ -3817,6 +3846,20 @@ packages:
|
||||||
postcss: 8.4.28
|
postcss: 8.4.28
|
||||||
source-map-js: 1.0.2
|
source-map-js: 1.0.2
|
||||||
|
|
||||||
|
/@vue/compiler-sfc@3.5.13:
|
||||||
|
resolution: {integrity: sha512-6VdaljMpD82w6c2749Zhf5T9u5uLBWKnVue6XWxprDobftnletJ8+oel7sexFfM3qIxNmVE7LSFGTpv6obNyaQ==}
|
||||||
|
dependencies:
|
||||||
|
'@babel/parser': 7.26.5
|
||||||
|
'@vue/compiler-core': 3.5.13
|
||||||
|
'@vue/compiler-dom': 3.5.13
|
||||||
|
'@vue/compiler-ssr': 3.5.13
|
||||||
|
'@vue/shared': 3.5.13
|
||||||
|
estree-walker: 2.0.2
|
||||||
|
magic-string: 0.30.17
|
||||||
|
postcss: 8.4.49
|
||||||
|
source-map-js: 1.2.1
|
||||||
|
dev: false
|
||||||
|
|
||||||
/@vue/compiler-ssr@3.2.47:
|
/@vue/compiler-ssr@3.2.47:
|
||||||
resolution: {integrity: sha512-wVXC+gszhulcMD8wpxMsqSOpvDZ6xKXSVWkf50Guf/S+28hTAXPDYRTbLQ3EDkOP5Xz/+SY37YiwDquKbJOgZw==}
|
resolution: {integrity: sha512-wVXC+gszhulcMD8wpxMsqSOpvDZ6xKXSVWkf50Guf/S+28hTAXPDYRTbLQ3EDkOP5Xz/+SY37YiwDquKbJOgZw==}
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -3830,14 +3873,11 @@ packages:
|
||||||
'@vue/compiler-dom': 3.3.4
|
'@vue/compiler-dom': 3.3.4
|
||||||
'@vue/shared': 3.3.4
|
'@vue/shared': 3.3.4
|
||||||
|
|
||||||
/@vue/compiler-ssr@3.3.7:
|
/@vue/compiler-ssr@3.5.13:
|
||||||
resolution: {integrity: sha512-TxOfNVVeH3zgBc82kcUv+emNHo+vKnlRrkv8YvQU5+Y5LJGJwSNzcmLUoxD/dNzv0bhQ/F0s+InlgV0NrApJZg==}
|
resolution: {integrity: sha512-wMH6vrYHxQl/IybKJagqbquvxpWCuVYpoUJfCqFZwa/JY1GdATAQ+TgVtgrwwMZ0D07QhA99rs/EAAWfvG6KpA==}
|
||||||
requiresBuild: true
|
|
||||||
dependencies:
|
dependencies:
|
||||||
'@vue/compiler-dom': 3.3.7
|
'@vue/compiler-dom': 3.5.13
|
||||||
'@vue/shared': 3.3.7
|
'@vue/shared': 3.5.13
|
||||||
dev: true
|
|
||||||
optional: true
|
|
||||||
|
|
||||||
/@vue/devtools-api@6.5.0:
|
/@vue/devtools-api@6.5.0:
|
||||||
resolution: {integrity: sha512-o9KfBeaBmCKl10usN4crU53fYtC1r7jJwdGKjPT24t348rHxgfpZ0xL3Xm/gLUYnc0oTp8LAmrxOeLyu6tbk2Q==}
|
resolution: {integrity: sha512-o9KfBeaBmCKl10usN4crU53fYtC1r7jJwdGKjPT24t348rHxgfpZ0xL3Xm/gLUYnc0oTp8LAmrxOeLyu6tbk2Q==}
|
||||||
|
@ -3885,12 +3925,25 @@ packages:
|
||||||
dependencies:
|
dependencies:
|
||||||
'@vue/shared': 3.3.4
|
'@vue/shared': 3.3.4
|
||||||
|
|
||||||
|
/@vue/reactivity@3.5.13:
|
||||||
|
resolution: {integrity: sha512-NaCwtw8o48B9I6L1zl2p41OHo/2Z4wqYGGIK1Khu5T7yxrn+ATOixn/Udn2m+6kZKB/J7cuT9DbWWhRxqixACg==}
|
||||||
|
dependencies:
|
||||||
|
'@vue/shared': 3.5.13
|
||||||
|
dev: false
|
||||||
|
|
||||||
/@vue/runtime-core@3.3.4:
|
/@vue/runtime-core@3.3.4:
|
||||||
resolution: {integrity: sha512-R+bqxMN6pWO7zGI4OMlmvePOdP2c93GsHFM/siJI7O2nxFRzj55pLwkpCedEY+bTMgp5miZ8CxfIZo3S+gFqvA==}
|
resolution: {integrity: sha512-R+bqxMN6pWO7zGI4OMlmvePOdP2c93GsHFM/siJI7O2nxFRzj55pLwkpCedEY+bTMgp5miZ8CxfIZo3S+gFqvA==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@vue/reactivity': 3.3.4
|
'@vue/reactivity': 3.3.4
|
||||||
'@vue/shared': 3.3.4
|
'@vue/shared': 3.3.4
|
||||||
|
|
||||||
|
/@vue/runtime-core@3.5.13:
|
||||||
|
resolution: {integrity: sha512-Fj4YRQ3Az0WTZw1sFe+QDb0aXCerigEpw418pw1HBUKFtnQHWzwojaukAs2X/c9DQz4MQ4bsXTGlcpGxU/RCIw==}
|
||||||
|
dependencies:
|
||||||
|
'@vue/reactivity': 3.5.13
|
||||||
|
'@vue/shared': 3.5.13
|
||||||
|
dev: false
|
||||||
|
|
||||||
/@vue/runtime-dom@3.3.4:
|
/@vue/runtime-dom@3.3.4:
|
||||||
resolution: {integrity: sha512-Aj5bTJ3u5sFsUckRghsNjVTtxZQ1OyMWCr5dZRAPijF/0Vy4xEoRCwLyHXcj4D0UFbJ4lbx3gPTgg06K/GnPnQ==}
|
resolution: {integrity: sha512-Aj5bTJ3u5sFsUckRghsNjVTtxZQ1OyMWCr5dZRAPijF/0Vy4xEoRCwLyHXcj4D0UFbJ4lbx3gPTgg06K/GnPnQ==}
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -3898,6 +3951,15 @@ packages:
|
||||||
'@vue/shared': 3.3.4
|
'@vue/shared': 3.3.4
|
||||||
csstype: 3.1.2
|
csstype: 3.1.2
|
||||||
|
|
||||||
|
/@vue/runtime-dom@3.5.13:
|
||||||
|
resolution: {integrity: sha512-dLaj94s93NYLqjLiyFzVs9X6dWhTdAlEAciC3Moq7gzAc13VJUdCnjjRurNM6uTLFATRHexHCTu/Xp3eW6yoog==}
|
||||||
|
dependencies:
|
||||||
|
'@vue/reactivity': 3.5.13
|
||||||
|
'@vue/runtime-core': 3.5.13
|
||||||
|
'@vue/shared': 3.5.13
|
||||||
|
csstype: 3.1.3
|
||||||
|
dev: false
|
||||||
|
|
||||||
/@vue/server-renderer@3.3.4(vue@3.3.4):
|
/@vue/server-renderer@3.3.4(vue@3.3.4):
|
||||||
resolution: {integrity: sha512-Q6jDDzR23ViIb67v+vM1Dqntu+HUexQcsWKhhQa4ARVzxOY2HbC7QRW/ggkDBd5BU+uM1sV6XOAP0b216o34JQ==}
|
resolution: {integrity: sha512-Q6jDDzR23ViIb67v+vM1Dqntu+HUexQcsWKhhQa4ARVzxOY2HbC7QRW/ggkDBd5BU+uM1sV6XOAP0b216o34JQ==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
|
@ -3907,17 +3969,27 @@ packages:
|
||||||
'@vue/shared': 3.3.4
|
'@vue/shared': 3.3.4
|
||||||
vue: 3.3.4
|
vue: 3.3.4
|
||||||
|
|
||||||
/@vue/server-renderer@3.3.7(vue@3.3.4):
|
/@vue/server-renderer@3.5.13(vue@3.3.4):
|
||||||
resolution: {integrity: sha512-UlpKDInd1hIZiNuVVVvLgxpfnSouxKQOSE2bOfQpBuGwxRV/JqqTCyyjXUWiwtVMyeRaZhOYYqntxElk8FhBhw==}
|
resolution: {integrity: sha512-wAi4IRJV/2SAW3htkTlB+dHeRmpTiVIK1OGLWV1yeStVSebSQQOwGwIq0D3ZIoBj2C2qpgz5+vX9iEBkTdk5YA==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
vue: 3.3.7
|
vue: 3.5.13
|
||||||
dependencies:
|
dependencies:
|
||||||
'@vue/compiler-ssr': 3.3.7
|
'@vue/compiler-ssr': 3.5.13
|
||||||
'@vue/shared': 3.3.7
|
'@vue/shared': 3.5.13
|
||||||
vue: 3.3.4
|
vue: 3.3.4
|
||||||
dev: true
|
dev: true
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
|
/@vue/server-renderer@3.5.13(vue@3.5.13):
|
||||||
|
resolution: {integrity: sha512-wAi4IRJV/2SAW3htkTlB+dHeRmpTiVIK1OGLWV1yeStVSebSQQOwGwIq0D3ZIoBj2C2qpgz5+vX9iEBkTdk5YA==}
|
||||||
|
peerDependencies:
|
||||||
|
vue: 3.5.13
|
||||||
|
dependencies:
|
||||||
|
'@vue/compiler-ssr': 3.5.13
|
||||||
|
'@vue/shared': 3.5.13
|
||||||
|
vue: 3.5.13(typescript@5.2.2)
|
||||||
|
dev: false
|
||||||
|
|
||||||
/@vue/shared@3.2.47:
|
/@vue/shared@3.2.47:
|
||||||
resolution: {integrity: sha512-BHGyyGN3Q97EZx0taMQ+OLNuZcW3d37ZEVmEAyeoA9ERdGvm9Irc/0Fua8SNyOtV1w6BS4q25wbMzJujO9HIfQ==}
|
resolution: {integrity: sha512-BHGyyGN3Q97EZx0taMQ+OLNuZcW3d37ZEVmEAyeoA9ERdGvm9Irc/0Fua8SNyOtV1w6BS4q25wbMzJujO9HIfQ==}
|
||||||
dev: true
|
dev: true
|
||||||
|
@ -3925,11 +3997,8 @@ packages:
|
||||||
/@vue/shared@3.3.4:
|
/@vue/shared@3.3.4:
|
||||||
resolution: {integrity: sha512-7OjdcV8vQ74eiz1TZLzZP4JwqM5fA94K6yntPS5Z25r9HDuGNzaGdgvwKYq6S+MxwF0TFRwe50fIR/MYnakdkQ==}
|
resolution: {integrity: sha512-7OjdcV8vQ74eiz1TZLzZP4JwqM5fA94K6yntPS5Z25r9HDuGNzaGdgvwKYq6S+MxwF0TFRwe50fIR/MYnakdkQ==}
|
||||||
|
|
||||||
/@vue/shared@3.3.7:
|
/@vue/shared@3.5.13:
|
||||||
resolution: {integrity: sha512-N/tbkINRUDExgcPTBvxNkvHGu504k8lzlNQRITVnm6YjOjwa4r0nnbd4Jb01sNpur5hAllyRJzSK5PvB9PPwRg==}
|
resolution: {integrity: sha512-/hnE/qP5ZoGpol0a5mDi45bOd7t3tjYJBjsgCsivow7D48cJeV5l05RD82lPqi7gRiphZM37rnhW1l6ZoCNNnQ==}
|
||||||
requiresBuild: true
|
|
||||||
dev: true
|
|
||||||
optional: true
|
|
||||||
|
|
||||||
/@vue/test-utils@2.3.2(vue@3.3.4):
|
/@vue/test-utils@2.3.2(vue@3.3.4):
|
||||||
resolution: {integrity: sha512-hJnVaYhbrIm0yBS0+e1Y0Sj85cMyAi+PAbK4JHqMRUZ6S622Goa+G7QzkRSyvCteG8wop7tipuEbHoZo26wsSA==}
|
resolution: {integrity: sha512-hJnVaYhbrIm0yBS0+e1Y0Sj85cMyAi+PAbK4JHqMRUZ6S622Goa+G7QzkRSyvCteG8wop7tipuEbHoZo26wsSA==}
|
||||||
|
@ -3939,8 +4008,8 @@ packages:
|
||||||
js-beautify: 1.14.6
|
js-beautify: 1.14.6
|
||||||
vue: 3.3.4
|
vue: 3.3.4
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
'@vue/compiler-dom': 3.3.7
|
'@vue/compiler-dom': 3.5.13
|
||||||
'@vue/server-renderer': 3.3.7(vue@3.3.4)
|
'@vue/server-renderer': 3.5.13(vue@3.3.4)
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@vue/tsconfig@0.4.0:
|
/@vue/tsconfig@0.4.0:
|
||||||
|
@ -3968,17 +4037,17 @@ packages:
|
||||||
- vue
|
- vue
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@vueuse/head@1.0.0(vue@3.3.4):
|
/@vueuse/head@1.0.0(typescript@5.2.2)(vue@3.3.4):
|
||||||
resolution: {integrity: sha512-wighjD6iLxEitpg6EDeS5dGDB9tcOSMhpblrAOKR6qBP93U3cjG72n0LhlBUD9miu41lNxXFVGHgSc6BVJ9BMg==}
|
resolution: {integrity: sha512-wighjD6iLxEitpg6EDeS5dGDB9tcOSMhpblrAOKR6qBP93U3cjG72n0LhlBUD9miu41lNxXFVGHgSc6BVJ9BMg==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
vue: '>=2.7 || >=3'
|
vue: '>=2.7 || >=3'
|
||||||
dependencies:
|
dependencies:
|
||||||
'@unhead/schema': 0.5.1
|
'@unhead/schema': 0.5.1
|
||||||
'@unhead/ssr': 0.5.1
|
'@unhead/ssr': 0.5.1
|
||||||
'@unhead/vue': 0.5.1(vue@3.3.4)
|
'@unhead/vue': 0.5.1(typescript@5.2.2)(vue@3.3.4)
|
||||||
vue: 3.3.4
|
vue: 3.3.4
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@vue/composition-api'
|
- typescript
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@vueuse/metadata@10.3.0:
|
/@vueuse/metadata@10.3.0:
|
||||||
|
@ -4016,13 +4085,12 @@ packages:
|
||||||
- vue
|
- vue
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@vueuse/shared@10.6.1(vue@3.3.4):
|
/@vueuse/shared@12.4.0(typescript@5.2.2):
|
||||||
resolution: {integrity: sha512-TECVDTIedFlL0NUfHWncf3zF9Gc4VfdxfQc8JFwoVZQmxpONhLxFrlm0eHQeidHj4rdTPL3KXJa0TZCk1wnc5Q==}
|
resolution: {integrity: sha512-9yLgbHVIF12OSCojnjTIoZL1+UA10+O4E1aD6Hpfo/DKVm5o3SZIwz6CupqGy3+IcKI8d6Jnl26EQj/YucnW0Q==}
|
||||||
dependencies:
|
dependencies:
|
||||||
vue-demi: 0.14.6(vue@3.3.4)
|
vue: 3.5.13(typescript@5.2.2)
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@vue/composition-api'
|
- typescript
|
||||||
- vue
|
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@zhead/schema@1.0.0-beta.13:
|
/@zhead/schema@1.0.0-beta.13:
|
||||||
|
@ -4486,6 +4554,13 @@ packages:
|
||||||
engines: {node: '>=8'}
|
engines: {node: '>=8'}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/cidr-tools@11.0.2:
|
||||||
|
resolution: {integrity: sha512-OLeM9EOXybbhMsGGBNRLCMjn8e+wFOXARIShF/sZwmJLsxWywqfE0By4BMftT6BFWpbcETWpW7TfM2KGCtrZDg==}
|
||||||
|
engines: {node: '>=18'}
|
||||||
|
dependencies:
|
||||||
|
ip-bigint: 8.2.0
|
||||||
|
dev: false
|
||||||
|
|
||||||
/clean-regexp@1.0.0:
|
/clean-regexp@1.0.0:
|
||||||
resolution: {integrity: sha512-GfisEZEJvzKrmGWkvfhgzcz/BllN1USeqD2V6tg14OAOgaCD2Z/PUEuxnAZ/nPvmaHRG7a8y77p1T/IRQ4D1Hw==}
|
resolution: {integrity: sha512-GfisEZEJvzKrmGWkvfhgzcz/BllN1USeqD2V6tg14OAOgaCD2Z/PUEuxnAZ/nPvmaHRG7a8y77p1T/IRQ4D1Hw==}
|
||||||
engines: {node: '>=4'}
|
engines: {node: '>=4'}
|
||||||
|
@ -4735,6 +4810,10 @@ packages:
|
||||||
/csstype@3.1.2:
|
/csstype@3.1.2:
|
||||||
resolution: {integrity: sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==}
|
resolution: {integrity: sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==}
|
||||||
|
|
||||||
|
/csstype@3.1.3:
|
||||||
|
resolution: {integrity: sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==}
|
||||||
|
dev: false
|
||||||
|
|
||||||
/dash-get@1.0.2:
|
/dash-get@1.0.2:
|
||||||
resolution: {integrity: sha512-4FbVrHDwfOASx7uQVxeiCTo7ggSdYZbqs8lH+WU6ViypPlDbe9y6IP5VVUDQBv9DcnyaiPT5XT0UWHgJ64zLeQ==}
|
resolution: {integrity: sha512-4FbVrHDwfOASx7uQVxeiCTo7ggSdYZbqs8lH+WU6ViypPlDbe9y6IP5VVUDQBv9DcnyaiPT5XT0UWHgJ64zLeQ==}
|
||||||
dev: false
|
dev: false
|
||||||
|
@ -5024,7 +5103,6 @@ packages:
|
||||||
/entities@4.5.0:
|
/entities@4.5.0:
|
||||||
resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==}
|
resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==}
|
||||||
engines: {node: '>=0.12'}
|
engines: {node: '>=0.12'}
|
||||||
dev: true
|
|
||||||
|
|
||||||
/errno@0.1.8:
|
/errno@0.1.8:
|
||||||
resolution: {integrity: sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A==}
|
resolution: {integrity: sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A==}
|
||||||
|
@ -6195,6 +6273,11 @@ packages:
|
||||||
sprintf-js: 1.1.2
|
sprintf-js: 1.1.2
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
|
/ip-bigint@8.2.0:
|
||||||
|
resolution: {integrity: sha512-46EAEKzGNxojH5JaGEeCix49tL4h1W8ia5mhogZ68HroVAfyLj1E+SFFid4GuyK0mdIKjwcAITLqwg1wlkx2iQ==}
|
||||||
|
engines: {node: '>=18'}
|
||||||
|
dev: false
|
||||||
|
|
||||||
/ip-cidr@3.1.0:
|
/ip-cidr@3.1.0:
|
||||||
resolution: {integrity: sha512-HUCn4snshEX1P8cja/IyU3qk8FVDW8T5zZcegDFbu4w7NojmAhk5NcOgj3M8+0fmumo1afJTPDtJlzsxLdOjtg==}
|
resolution: {integrity: sha512-HUCn4snshEX1P8cja/IyU3qk8FVDW8T5zZcegDFbu4w7NojmAhk5NcOgj3M8+0fmumo1afJTPDtJlzsxLdOjtg==}
|
||||||
engines: {node: '>=10.0.0'}
|
engines: {node: '>=10.0.0'}
|
||||||
|
@ -6203,6 +6286,10 @@ packages:
|
||||||
jsbn: 1.1.0
|
jsbn: 1.1.0
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
|
/ip-matching@2.1.2:
|
||||||
|
resolution: {integrity: sha512-/ok+VhKMasgR5gvTRViwRFQfc0qYt9Vdowg6TO4/pFlDCob5ZjGPkwuOoQVCd5OrMm20zqh+1vA8KLJZTeWudg==}
|
||||||
|
dev: false
|
||||||
|
|
||||||
/is-alphabetical@1.0.4:
|
/is-alphabetical@1.0.4:
|
||||||
resolution: {integrity: sha512-DwzsA04LQ10FHTZuL0/grVDk4rFoVH1pjAToYwBrHSxcrBIGQuXrQMtD5U1b0U2XVgKZCTLLP8u2Qxqhy3l2Vg==}
|
resolution: {integrity: sha512-DwzsA04LQ10FHTZuL0/grVDk4rFoVH1pjAToYwBrHSxcrBIGQuXrQMtD5U1b0U2XVgKZCTLLP8u2Qxqhy3l2Vg==}
|
||||||
dev: true
|
dev: true
|
||||||
|
@ -6791,6 +6878,12 @@ packages:
|
||||||
dependencies:
|
dependencies:
|
||||||
'@jridgewell/sourcemap-codec': 1.4.15
|
'@jridgewell/sourcemap-codec': 1.4.15
|
||||||
|
|
||||||
|
/magic-string@0.30.17:
|
||||||
|
resolution: {integrity: sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA==}
|
||||||
|
dependencies:
|
||||||
|
'@jridgewell/sourcemap-codec': 1.5.0
|
||||||
|
dev: false
|
||||||
|
|
||||||
/magic-string@0.30.2:
|
/magic-string@0.30.2:
|
||||||
resolution: {integrity: sha512-lNZdu7pewtq/ZvWUp9Wpf/x7WzMTsR26TWV03BRZrXFsv+BI6dy8RAiKgm1uM/kyR0rCfUcqvOlXKG66KhIGug==}
|
resolution: {integrity: sha512-lNZdu7pewtq/ZvWUp9Wpf/x7WzMTsR26TWV03BRZrXFsv+BI6dy8RAiKgm1uM/kyR0rCfUcqvOlXKG66KhIGug==}
|
||||||
engines: {node: '>=12'}
|
engines: {node: '>=12'}
|
||||||
|
@ -7024,6 +7117,11 @@ packages:
|
||||||
resolution: {integrity: sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==}
|
resolution: {integrity: sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==}
|
||||||
engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
|
engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
|
||||||
|
|
||||||
|
/nanoid@3.3.8:
|
||||||
|
resolution: {integrity: sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==}
|
||||||
|
engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
|
||||||
|
hasBin: true
|
||||||
|
|
||||||
/natural-compare@1.4.0:
|
/natural-compare@1.4.0:
|
||||||
resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==}
|
resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==}
|
||||||
dev: true
|
dev: true
|
||||||
|
@ -7411,6 +7509,9 @@ packages:
|
||||||
/picocolors@1.0.0:
|
/picocolors@1.0.0:
|
||||||
resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==}
|
resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==}
|
||||||
|
|
||||||
|
/picocolors@1.1.1:
|
||||||
|
resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==}
|
||||||
|
|
||||||
/picomatch@2.3.1:
|
/picomatch@2.3.1:
|
||||||
resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==}
|
resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==}
|
||||||
engines: {node: '>=8.6'}
|
engines: {node: '>=8.6'}
|
||||||
|
@ -7492,14 +7593,13 @@ packages:
|
||||||
picocolors: 1.0.0
|
picocolors: 1.0.0
|
||||||
source-map-js: 1.0.2
|
source-map-js: 1.0.2
|
||||||
|
|
||||||
/postcss@8.4.31:
|
/postcss@8.4.49:
|
||||||
resolution: {integrity: sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==}
|
resolution: {integrity: sha512-OCVPnIObs4N29kxTjzLfUryOkvZEq+pf8jTF0lg8E7uETuWHA+v7j3c/xJmiqpX450191LlmZfUKkXxkTry7nA==}
|
||||||
engines: {node: ^10 || ^12 || >=14}
|
engines: {node: ^10 || ^12 || >=14}
|
||||||
dependencies:
|
dependencies:
|
||||||
nanoid: 3.3.6
|
nanoid: 3.3.8
|
||||||
picocolors: 1.0.0
|
picocolors: 1.1.1
|
||||||
source-map-js: 1.0.2
|
source-map-js: 1.2.1
|
||||||
dev: true
|
|
||||||
|
|
||||||
/prelude-ls@1.1.2:
|
/prelude-ls@1.1.2:
|
||||||
resolution: {integrity: sha512-ESF23V4SKG6lVSGZgYNpbsiaAkdab6ZgOxe52p7+Kid3W3u3bxR4Vfd/o21dmN7jSt0IwgZ4v5MUd26FEtXE9w==}
|
resolution: {integrity: sha512-ESF23V4SKG6lVSGZgYNpbsiaAkdab6ZgOxe52p7+Kid3W3u3bxR4Vfd/o21dmN7jSt0IwgZ4v5MUd26FEtXE9w==}
|
||||||
|
@ -8168,6 +8268,10 @@ packages:
|
||||||
resolution: {integrity: sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==}
|
resolution: {integrity: sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==}
|
||||||
engines: {node: '>=0.10.0'}
|
engines: {node: '>=0.10.0'}
|
||||||
|
|
||||||
|
/source-map-js@1.2.1:
|
||||||
|
resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==}
|
||||||
|
engines: {node: '>=0.10.0'}
|
||||||
|
|
||||||
/source-map-support@0.5.21:
|
/source-map-support@0.5.21:
|
||||||
resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==}
|
resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==}
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -8767,10 +8871,10 @@ packages:
|
||||||
unocss: '>= 0.31.13 < 1'
|
unocss: '>= 0.31.13 < 1'
|
||||||
dependencies:
|
dependencies:
|
||||||
'@unocss/preset-mini': 0.31.17
|
'@unocss/preset-mini': 0.31.17
|
||||||
unocss: 0.57.1(postcss@8.4.31)(rollup@2.79.1)(vite@4.4.9)
|
unocss: 0.57.1(postcss@8.4.49)(rollup@2.79.1)(vite@4.4.9)
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/unocss@0.57.1(postcss@8.4.31)(rollup@2.79.1)(vite@4.4.9):
|
/unocss@0.57.1(postcss@8.4.49)(rollup@2.79.1)(vite@4.4.9):
|
||||||
resolution: {integrity: sha512-xLsyJ8+T1/Ux93yrqOvuQy268wF5rSzydlsbqZ5EVfi01PxYyydez3nycPqbyPZientkJ0Yohzd5aBqmZgku3A==}
|
resolution: {integrity: sha512-xLsyJ8+T1/Ux93yrqOvuQy268wF5rSzydlsbqZ5EVfi01PxYyydez3nycPqbyPZientkJ0Yohzd5aBqmZgku3A==}
|
||||||
engines: {node: '>=14'}
|
engines: {node: '>=14'}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
|
@ -8786,7 +8890,7 @@ packages:
|
||||||
'@unocss/cli': 0.57.1(rollup@2.79.1)
|
'@unocss/cli': 0.57.1(rollup@2.79.1)
|
||||||
'@unocss/core': 0.57.1
|
'@unocss/core': 0.57.1
|
||||||
'@unocss/extractor-arbitrary-variants': 0.57.1
|
'@unocss/extractor-arbitrary-variants': 0.57.1
|
||||||
'@unocss/postcss': 0.57.1(postcss@8.4.31)
|
'@unocss/postcss': 0.57.1(postcss@8.4.49)
|
||||||
'@unocss/preset-attributify': 0.57.1
|
'@unocss/preset-attributify': 0.57.1
|
||||||
'@unocss/preset-icons': 0.57.1
|
'@unocss/preset-icons': 0.57.1
|
||||||
'@unocss/preset-mini': 0.57.1
|
'@unocss/preset-mini': 0.57.1
|
||||||
|
@ -9200,21 +9304,6 @@ packages:
|
||||||
vue: 3.3.4
|
vue: 3.3.4
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/vue-demi@0.14.6(vue@3.3.4):
|
|
||||||
resolution: {integrity: sha512-8QA7wrYSHKaYgUxDA5ZC24w+eHm3sYCbp0EzcDwKqN3p6HqtTCGR/GVsPyZW92unff4UlcSh++lmqDWN3ZIq4w==}
|
|
||||||
engines: {node: '>=12'}
|
|
||||||
hasBin: true
|
|
||||||
requiresBuild: true
|
|
||||||
peerDependencies:
|
|
||||||
'@vue/composition-api': ^1.0.0-rc.1
|
|
||||||
vue: ^3.0.0-0 || ^2.6.0
|
|
||||||
peerDependenciesMeta:
|
|
||||||
'@vue/composition-api':
|
|
||||||
optional: true
|
|
||||||
dependencies:
|
|
||||||
vue: 3.3.4
|
|
||||||
dev: false
|
|
||||||
|
|
||||||
/vue-eslint-parser@9.3.1(eslint@8.47.0):
|
/vue-eslint-parser@9.3.1(eslint@8.47.0):
|
||||||
resolution: {integrity: sha512-Clr85iD2XFZ3lJ52/ppmUDG/spxQu6+MAeHXjjyI4I1NUYZ9xmenQp4N0oaHJhrA8OOxltCVxMRfANGa70vU0g==}
|
resolution: {integrity: sha512-Clr85iD2XFZ3lJ52/ppmUDG/spxQu6+MAeHXjjyI4I1NUYZ9xmenQp4N0oaHJhrA8OOxltCVxMRfANGa70vU0g==}
|
||||||
engines: {node: ^14.17.0 || >=16.0.0}
|
engines: {node: ^14.17.0 || >=16.0.0}
|
||||||
|
@ -9282,6 +9371,22 @@ packages:
|
||||||
'@vue/server-renderer': 3.3.4(vue@3.3.4)
|
'@vue/server-renderer': 3.3.4(vue@3.3.4)
|
||||||
'@vue/shared': 3.3.4
|
'@vue/shared': 3.3.4
|
||||||
|
|
||||||
|
/vue@3.5.13(typescript@5.2.2):
|
||||||
|
resolution: {integrity: sha512-wmeiSMxkZCSc+PM2w2VRsOYAZC8GdipNFRTsLSfodVqI9mbejKeXEGr8SckuLnrQPGe3oJN5c3K0vpoU9q/wCQ==}
|
||||||
|
peerDependencies:
|
||||||
|
typescript: '*'
|
||||||
|
peerDependenciesMeta:
|
||||||
|
typescript:
|
||||||
|
optional: true
|
||||||
|
dependencies:
|
||||||
|
'@vue/compiler-dom': 3.5.13
|
||||||
|
'@vue/compiler-sfc': 3.5.13
|
||||||
|
'@vue/runtime-dom': 3.5.13
|
||||||
|
'@vue/server-renderer': 3.5.13(vue@3.5.13)
|
||||||
|
'@vue/shared': 3.5.13
|
||||||
|
typescript: 5.2.2
|
||||||
|
dev: false
|
||||||
|
|
||||||
/vueuc@0.4.51(vue@3.3.4):
|
/vueuc@0.4.51(vue@3.3.4):
|
||||||
resolution: {integrity: sha512-pLiMChM4f+W8czlIClGvGBYo656lc2Y0/mXFSCydcSmnCR1izlKPGMgiYBGjbY9FDkFG8a2HEVz7t0DNzBWbDw==}
|
resolution: {integrity: sha512-pLiMChM4f+W8czlIClGvGBYo656lc2Y0/mXFSCydcSmnCR1izlKPGMgiYBGjbY9FDkFG8a2HEVz7t0DNzBWbDw==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
|
@ -9497,6 +9602,7 @@ packages:
|
||||||
|
|
||||||
/workbox-google-analytics@7.0.0:
|
/workbox-google-analytics@7.0.0:
|
||||||
resolution: {integrity: sha512-MEYM1JTn/qiC3DbpvP2BVhyIH+dV/5BjHk756u9VbwuAhu0QHyKscTnisQuz21lfRpOwiS9z4XdqeVAKol0bzg==}
|
resolution: {integrity: sha512-MEYM1JTn/qiC3DbpvP2BVhyIH+dV/5BjHk756u9VbwuAhu0QHyKscTnisQuz21lfRpOwiS9z4XdqeVAKol0bzg==}
|
||||||
|
deprecated: It is not compatible with newer versions of GA starting with v4, as long as you are using GAv3 it should be ok, but the package is not longer being maintained
|
||||||
dependencies:
|
dependencies:
|
||||||
workbox-background-sync: 7.0.0
|
workbox-background-sync: 7.0.0
|
||||||
workbox-core: 7.0.0
|
workbox-core: 7.0.0
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
import { tool as base64FileConverter } from './base64-file-converter';
|
import { tool as base64FileConverter } from './base64-file-converter';
|
||||||
import { tool as base64StringConverter } from './base64-string-converter';
|
import { tool as base64StringConverter } from './base64-string-converter';
|
||||||
import { tool as basicAuthGenerator } from './basic-auth-generator';
|
import { tool as basicAuthGenerator } from './basic-auth-generator';
|
||||||
|
import { tool as ipIncludeExclude } from './ip-include-exclude';
|
||||||
import { tool as pdfSignatureChecker } from './pdf-signature-checker';
|
import { tool as pdfSignatureChecker } from './pdf-signature-checker';
|
||||||
import { tool as numeronymGenerator } from './numeronym-generator';
|
import { tool as numeronymGenerator } from './numeronym-generator';
|
||||||
import { tool as macAddressGenerator } from './mac-address-generator';
|
import { tool as macAddressGenerator } from './mac-address-generator';
|
||||||
|
@ -143,7 +144,15 @@ export const toolsByCategory: ToolCategory[] = [
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Network',
|
name: 'Network',
|
||||||
components: [ipv4SubnetCalculator, ipv4AddressConverter, ipv4RangeExpander, macAddressLookup, macAddressGenerator, ipv6UlaGenerator],
|
components: [
|
||||||
|
ipv4SubnetCalculator,
|
||||||
|
ipv4AddressConverter,
|
||||||
|
ipv4RangeExpander,
|
||||||
|
ipIncludeExclude,
|
||||||
|
macAddressLookup,
|
||||||
|
macAddressGenerator,
|
||||||
|
ipv6UlaGenerator,
|
||||||
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Math',
|
name: 'Math',
|
||||||
|
|
12
src/tools/ip-include-exclude/index.ts
Normal file
12
src/tools/ip-include-exclude/index.ts
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
import { UnfoldMoreOutlined } from '@vicons/material';
|
||||||
|
import { defineTool } from '../tool';
|
||||||
|
|
||||||
|
export const tool = defineTool({
|
||||||
|
name: 'IP Subnets Exclude Calculator',
|
||||||
|
path: '/ip-include-exclude',
|
||||||
|
description: 'Substract a disallowed IP Ranges/Mask/CIDR list from an allowed IP Ranges/Mask/CIDR list',
|
||||||
|
keywords: ['ip', 'allowed', 'disallowed', 'include', 'exclude', 'subnet', 'cidr'],
|
||||||
|
component: () => import('./ip-include-exclude.vue'),
|
||||||
|
icon: UnfoldMoreOutlined,
|
||||||
|
createdAt: new Date('2024-08-15'),
|
||||||
|
});
|
|
@ -0,0 +1,63 @@
|
||||||
|
import { describe, expect, it } from 'vitest';
|
||||||
|
import { substractCIDRs } from './ip-include-exclude.service';
|
||||||
|
|
||||||
|
describe('ip-include-exclude', () => {
|
||||||
|
describe('substractCIDRs', () => {
|
||||||
|
it('should return error on invalid values', () => {
|
||||||
|
expect(substractCIDRs({ allowedRanges: '192.168.0.', disallowedRanges: '' })).to.deep.eq({ // NOSONAR
|
||||||
|
allowedCIDRs: [],
|
||||||
|
allowedSubnets: [],
|
||||||
|
disallowedSubnets: [],
|
||||||
|
error: 'Error: Invalid IP (range/subnetwork)',
|
||||||
|
});
|
||||||
|
});
|
||||||
|
it('should return correct substractions and subnets', () => {
|
||||||
|
expect(substractCIDRs({ allowedRanges: '192.168.3.0/24', disallowedRanges: '' })).to.deep.eq({ // NOSONAR
|
||||||
|
allowedCIDRs: ['192.168.3.0/24'], // NOSONAR
|
||||||
|
allowedSubnets: [{ cidr: '192.168.3.0/24', end: '192.168.3.255', start: '192.168.3.0' }], // NOSONAR
|
||||||
|
disallowedSubnets: [],
|
||||||
|
error: '',
|
||||||
|
});
|
||||||
|
expect(substractCIDRs({ allowedRanges: '192.168.2.0/24', disallowedRanges: '192.168.2.1' })).to.deep.eq({ // NOSONAR
|
||||||
|
allowedCIDRs: ['192.168.2.0/32', // NOSONAR
|
||||||
|
'192.168.2.2/31', // NOSONAR
|
||||||
|
'192.168.2.4/30', // NOSONAR
|
||||||
|
'192.168.2.8/29', // NOSONAR
|
||||||
|
'192.168.2.16/28', // NOSONAR
|
||||||
|
'192.168.2.32/27', // NOSONAR
|
||||||
|
'192.168.2.64/26', // NOSONAR
|
||||||
|
'192.168.2.128/25'], // NOSONAR
|
||||||
|
allowedSubnets: [
|
||||||
|
{ cidr: '192.168.2.0/24', end: '192.168.2.255', start: '192.168.2.0' }, // NOSONAR
|
||||||
|
],
|
||||||
|
disallowedSubnets: [
|
||||||
|
{ cidr: '192.168.2.1/32', end: '192.168.2.1', start: '192.168.2.1' }, // NOSONAR
|
||||||
|
],
|
||||||
|
error: '',
|
||||||
|
});
|
||||||
|
expect(substractCIDRs({ allowedRanges: '192.168.12.0/24', disallowedRanges: '192.168.12.1-192.168.12.10, 192.168.12.34' })).to.deep.eq({ // NOSONAR
|
||||||
|
allowedCIDRs: ['192.168.12.0/32', // NOSONAR
|
||||||
|
'192.168.12.11/32', // NOSONAR
|
||||||
|
'192.168.12.12/30', // NOSONAR
|
||||||
|
'192.168.12.16/28', // NOSONAR
|
||||||
|
'192.168.12.32/31', // NOSONAR
|
||||||
|
'192.168.12.35/32', // NOSONAR
|
||||||
|
'192.168.12.36/30', // NOSONAR
|
||||||
|
'192.168.12.40/29', // NOSONAR
|
||||||
|
'192.168.12.48/28', // NOSONAR
|
||||||
|
'192.168.12.64/26', // NOSONAR
|
||||||
|
'192.168.12.128/25'], // NOSONAR
|
||||||
|
allowedSubnets: [{ cidr: '192.168.12.0/24', end: '192.168.12.255', start: '192.168.12.0' }], // NOSONAR
|
||||||
|
disallowedSubnets: [
|
||||||
|
{ cidr: '192.168.12.1/32', end: '192.168.12.1', start: '192.168.12.1' }, // NOSONAR
|
||||||
|
{ cidr: '192.168.12.2/31', end: '192.168.12.3', start: '192.168.12.2' }, // NOSONAR
|
||||||
|
{ cidr: '192.168.12.4/30', end: '192.168.12.7', start: '192.168.12.4' }, // NOSONAR
|
||||||
|
{ cidr: '192.168.12.8/31', end: '192.168.12.9', start: '192.168.12.8' }, // NOSONAR
|
||||||
|
{ cidr: '192.168.12.10/32', end: '192.168.12.10', start: '192.168.12.10' }, // NOSONAR
|
||||||
|
{ cidr: '192.168.12.34/32', end: '192.168.12.34', start: '192.168.12.34' }, // NOSONAR
|
||||||
|
],
|
||||||
|
error: '',
|
||||||
|
});
|
||||||
|
});
|
||||||
|
});
|
||||||
|
});
|
49
src/tools/ip-include-exclude/ip-include-exclude.service.ts
Normal file
49
src/tools/ip-include-exclude/ip-include-exclude.service.ts
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
import type { IPMask } from 'ip-matching';
|
||||||
|
import { getMatch } from 'ip-matching';
|
||||||
|
import { excludeCidr } from 'cidr-tools';
|
||||||
|
|
||||||
|
function convertToCIDR(mask: IPMask) {
|
||||||
|
const subnet = mask.convertToSubnet();
|
||||||
|
if (!subnet) {
|
||||||
|
return { cidr: mask.toString(), start: '', end: '' };
|
||||||
|
}
|
||||||
|
return {
|
||||||
|
cidr: subnet.toString(),
|
||||||
|
start: subnet.getFirst().toString(),
|
||||||
|
end: subnet.getLast().toString(),
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
export function substractCIDRs(
|
||||||
|
{ allowedRanges, disallowedRanges }:
|
||||||
|
{
|
||||||
|
allowedRanges: string
|
||||||
|
disallowedRanges: string
|
||||||
|
}) {
|
||||||
|
try {
|
||||||
|
const allowedRangesMatchMasks = allowedRanges.split(/\s*[,;|]+\s*/g) // NOSONAR
|
||||||
|
.filter(range => range)
|
||||||
|
.flatMap(range => getMatch(range)?.convertToMasks() || []);
|
||||||
|
const disallowedRangesMatchMasks = disallowedRanges.split(/\s*[,;|]+\s*/g) // NOSONAR
|
||||||
|
.filter(range => range)
|
||||||
|
.flatMap(range => getMatch(range)?.convertToMasks() || []);
|
||||||
|
|
||||||
|
const allowedSubnets = allowedRangesMatchMasks.map(convertToCIDR);
|
||||||
|
const disallowedSubnets = disallowedRangesMatchMasks.map(convertToCIDR);
|
||||||
|
|
||||||
|
return {
|
||||||
|
error: '',
|
||||||
|
allowedSubnets,
|
||||||
|
disallowedSubnets,
|
||||||
|
allowedCIDRs: excludeCidr(allowedSubnets.map(net => net.cidr), disallowedSubnets.map(net => net.cidr)),
|
||||||
|
};
|
||||||
|
}
|
||||||
|
catch (e: any) {
|
||||||
|
return {
|
||||||
|
error: e.toString(),
|
||||||
|
allowedSubnets: [],
|
||||||
|
disallowedSubnets: [],
|
||||||
|
allowedCIDRs: [],
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
80
src/tools/ip-include-exclude/ip-include-exclude.vue
Normal file
80
src/tools/ip-include-exclude/ip-include-exclude.vue
Normal file
|
@ -0,0 +1,80 @@
|
||||||
|
<script setup lang="ts">
|
||||||
|
import { useStorage } from '@vueuse/core';
|
||||||
|
import { substractCIDRs } from './ip-include-exclude.service';
|
||||||
|
import SpanCopyable from '@/components/SpanCopyable.vue';
|
||||||
|
import TextareaCopyable from '@/components/TextareaCopyable.vue';
|
||||||
|
|
||||||
|
const allowedRanges = useStorage('ip-inc-exc:allow', '192.168.0.1/24'); // NOSONAR
|
||||||
|
const disallowedRanges = useStorage('ip-inc-exc:disallow', '192.168.0.6'); // NOSONAR
|
||||||
|
|
||||||
|
const result = computed(() => substractCIDRs({
|
||||||
|
allowedRanges: allowedRanges.value, disallowedRanges: disallowedRanges.value,
|
||||||
|
}));
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
<c-input-text
|
||||||
|
v-model:value="allowedRanges"
|
||||||
|
label="AllowedIPs (IPv4/6 CIDR/Range/Mask/Wildcard)"
|
||||||
|
placeholder="An IPv4/6 CIDR/Range/Mask/Wildcard..."
|
||||||
|
mb-4
|
||||||
|
/>
|
||||||
|
|
||||||
|
<c-input-text
|
||||||
|
v-model:value="disallowedRanges"
|
||||||
|
label="DisallowedIPs (IPv4/6 CIDR/Range/Mask/Wildcard)"
|
||||||
|
placeholder="An IPv4/6 CIDR/Range/Mask/Wildcard..."
|
||||||
|
mb-4
|
||||||
|
/>
|
||||||
|
|
||||||
|
<n-divider />
|
||||||
|
|
||||||
|
<c-alert v-if="result.error">
|
||||||
|
{{ result.error }}
|
||||||
|
</c-alert>
|
||||||
|
|
||||||
|
<div v-if="!result.error">
|
||||||
|
<n-form-item label="Final AllowedIPs:">
|
||||||
|
<TextareaCopyable :value="result.allowedCIDRs.join(', ')" />
|
||||||
|
</n-form-item>
|
||||||
|
|
||||||
|
<n-divider />
|
||||||
|
|
||||||
|
<c-card title="Allowed Subnets">
|
||||||
|
<n-table>
|
||||||
|
<tbody>
|
||||||
|
<tr v-for="{ cidr, start, end } in result.allowedSubnets" :key="cidr">
|
||||||
|
<td font-bold>
|
||||||
|
<SpanCopyable :value="cidr" />
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<SpanCopyable :value="start" />
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<SpanCopyable :value="end" />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</n-table>
|
||||||
|
</c-card>
|
||||||
|
<c-card title="Disallowed Subnets">
|
||||||
|
<n-table>
|
||||||
|
<tbody>
|
||||||
|
<tr v-for="{ cidr, start, end } in result.disallowedSubnets" :key="cidr">
|
||||||
|
<td font-bold>
|
||||||
|
<SpanCopyable :value="cidr" />
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<SpanCopyable :value="start" />
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<SpanCopyable :value="end" />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</n-table>
|
||||||
|
</c-card>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
Loading…
Add table
Add a link
Reference in a new issue