upgrade dependencies

This commit is contained in:
Younes ENNAJI
2025-01-17 10:35:25 +01:00
parent 27904be912
commit 3e2e853022
15 changed files with 301 additions and 267 deletions
Generated
+81 -81
View File
@@ -1057,8 +1057,8 @@
"type": "library", "type": "library",
"extra": { "extra": {
"laminas": { "laminas": {
"config-provider": "Laminas\\Diactoros\\ConfigProvider", "module": "Laminas\\Diactoros",
"module": "Laminas\\Diactoros" "config-provider": "Laminas\\Diactoros\\ConfigProvider"
} }
}, },
"autoload": { "autoload": {
@@ -1357,16 +1357,16 @@
], ],
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": {
"dev-master": "2.x-dev"
},
"laravel": { "laravel": {
"providers": [
"Laravel\\Octane\\OctaneServiceProvider"
],
"aliases": { "aliases": {
"Octane": "Laravel\\Octane\\Facades\\Octane" "Octane": "Laravel\\Octane\\Facades\\Octane"
} },
"providers": [
"Laravel\\Octane\\OctaneServiceProvider"
]
},
"branch-alias": {
"dev-master": "2.x-dev"
} }
}, },
"autoload": { "autoload": {
@@ -1883,12 +1883,12 @@
"type": "library", "type": "library",
"extra": { "extra": {
"laravel": { "laravel": {
"providers": [
"Livewire\\LivewireServiceProvider"
],
"aliases": { "aliases": {
"Livewire": "Livewire\\Livewire" "Livewire": "Livewire\\Livewire"
} },
"providers": [
"Livewire\\LivewireServiceProvider"
]
} }
}, },
"autoload": { "autoload": {
@@ -2030,12 +2030,12 @@
"version": "3.0.0", "version": "3.0.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/briannesbitt/Carbon.git", "url": "https://github.com/CarbonPHP/carbon.git",
"reference": "7ae1c6fd10d2a93a0a0f5ab8fc8be37cb0830dec" "reference": "7ae1c6fd10d2a93a0a0f5ab8fc8be37cb0830dec"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/7ae1c6fd10d2a93a0a0f5ab8fc8be37cb0830dec", "url": "https://api.github.com/repos/CarbonPHP/carbon/zipball/7ae1c6fd10d2a93a0a0f5ab8fc8be37cb0830dec",
"reference": "7ae1c6fd10d2a93a0a0f5ab8fc8be37cb0830dec", "reference": "7ae1c6fd10d2a93a0a0f5ab8fc8be37cb0830dec",
"shasum": "" "shasum": ""
}, },
@@ -2068,10 +2068,6 @@
], ],
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": {
"dev-3.x": "3.x-dev",
"dev-master": "2.x-dev"
},
"laravel": { "laravel": {
"providers": [ "providers": [
"Carbon\\Laravel\\ServiceProvider" "Carbon\\Laravel\\ServiceProvider"
@@ -2081,6 +2077,10 @@
"includes": [ "includes": [
"extension.neon" "extension.neon"
] ]
},
"branch-alias": {
"dev-3.x": "3.x-dev",
"dev-master": "2.x-dev"
} }
}, },
"autoload": { "autoload": {
@@ -3279,12 +3279,12 @@
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"thanks": {
"url": "https://github.com/symfony/contracts",
"name": "symfony/contracts"
},
"branch-alias": { "branch-alias": {
"dev-main": "2.5-dev" "dev-main": "2.5-dev"
},
"thanks": {
"name": "symfony/contracts",
"url": "https://github.com/symfony/contracts"
} }
}, },
"autoload": { "autoload": {
@@ -3732,12 +3732,12 @@
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"thanks": {
"url": "https://github.com/symfony/contracts",
"name": "symfony/contracts"
},
"branch-alias": { "branch-alias": {
"dev-main": "2.5-dev" "dev-main": "2.5-dev"
},
"thanks": {
"name": "symfony/contracts",
"url": "https://github.com/symfony/contracts"
} }
}, },
"autoload": { "autoload": {
@@ -3958,12 +3958,12 @@
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"thanks": {
"url": "https://github.com/symfony/contracts",
"name": "symfony/contracts"
},
"branch-alias": { "branch-alias": {
"dev-main": "2.5-dev" "dev-main": "2.5-dev"
},
"thanks": {
"name": "symfony/contracts",
"url": "https://github.com/symfony/contracts"
} }
}, },
"autoload": { "autoload": {
@@ -4661,12 +4661,12 @@
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"thanks": {
"url": "https://github.com/symfony/polyfill",
"name": "symfony/polyfill"
},
"branch-alias": { "branch-alias": {
"dev-main": "1.23-dev" "dev-main": "1.23-dev"
},
"thanks": {
"name": "symfony/polyfill",
"url": "https://github.com/symfony/polyfill"
} }
}, },
"autoload": { "autoload": {
@@ -4942,12 +4942,12 @@
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"thanks": {
"url": "https://github.com/symfony/polyfill",
"name": "symfony/polyfill"
},
"branch-alias": { "branch-alias": {
"dev-main": "1.23-dev" "dev-main": "1.23-dev"
},
"thanks": {
"name": "symfony/polyfill",
"url": "https://github.com/symfony/polyfill"
} }
}, },
"autoload": { "autoload": {
@@ -5077,12 +5077,12 @@
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"thanks": {
"url": "https://github.com/symfony/polyfill",
"name": "symfony/polyfill"
},
"branch-alias": { "branch-alias": {
"dev-main": "1.23-dev" "dev-main": "1.23-dev"
},
"thanks": {
"name": "symfony/polyfill",
"url": "https://github.com/symfony/polyfill"
} }
}, },
"autoload": { "autoload": {
@@ -5160,12 +5160,12 @@
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"thanks": {
"url": "https://github.com/symfony/polyfill",
"name": "symfony/polyfill"
},
"branch-alias": { "branch-alias": {
"dev-main": "1.23-dev" "dev-main": "1.23-dev"
},
"thanks": {
"name": "symfony/polyfill",
"url": "https://github.com/symfony/polyfill"
} }
}, },
"autoload": { "autoload": {
@@ -5240,12 +5240,12 @@
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"thanks": {
"url": "https://github.com/symfony/polyfill",
"name": "symfony/polyfill"
},
"branch-alias": { "branch-alias": {
"dev-main": "1.28-dev" "dev-main": "1.28-dev"
},
"thanks": {
"name": "symfony/polyfill",
"url": "https://github.com/symfony/polyfill"
} }
}, },
"autoload": { "autoload": {
@@ -5784,12 +5784,12 @@
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"thanks": {
"url": "https://github.com/symfony/contracts",
"name": "symfony/contracts"
},
"branch-alias": { "branch-alias": {
"dev-main": "3.4-dev" "dev-main": "3.4-dev"
},
"thanks": {
"name": "symfony/contracts",
"url": "https://github.com/symfony/contracts"
} }
}, },
"autoload": { "autoload": {
@@ -6045,12 +6045,12 @@
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"thanks": {
"url": "https://github.com/symfony/contracts",
"name": "symfony/contracts"
},
"branch-alias": { "branch-alias": {
"dev-main": "2.5-dev" "dev-main": "2.5-dev"
},
"thanks": {
"name": "symfony/contracts",
"url": "https://github.com/symfony/contracts"
} }
}, },
"autoload": { "autoload": {
@@ -6407,8 +6407,8 @@
"type": "symfony-bundle", "type": "symfony-bundle",
"extra": { "extra": {
"thanks": { "thanks": {
"name": "symfony/ux", "url": "https://github.com/symfony/ux",
"url": "https://github.com/symfony/ux" "name": "symfony/ux"
} }
}, },
"autoload": { "autoload": {
@@ -7252,13 +7252,13 @@
}, },
"type": "phpstan-extension", "type": "phpstan-extension",
"extra": { "extra": {
"branch-alias": {
"dev-master": "2.0-dev"
},
"phpstan": { "phpstan": {
"includes": [ "includes": [
"extension.neon" "extension.neon"
] ]
},
"branch-alias": {
"dev-master": "2.0-dev"
} }
}, },
"autoload": { "autoload": {
@@ -7712,13 +7712,13 @@
], ],
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": {
"dev-master": "9.0-dev"
},
"laravel": { "laravel": {
"providers": [ "providers": [
"Orchestra\\Canvas\\LaravelServiceProvider" "Orchestra\\Canvas\\LaravelServiceProvider"
] ]
},
"branch-alias": {
"dev-master": "9.0-dev"
} }
}, },
"autoload": { "autoload": {
@@ -7780,13 +7780,13 @@
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": {
"dev-master": "9.0-dev"
},
"laravel": { "laravel": {
"providers": [ "providers": [
"Orchestra\\Canvas\\Core\\LaravelServiceProvider" "Orchestra\\Canvas\\Core\\LaravelServiceProvider"
] ]
},
"branch-alias": {
"dev-master": "9.0-dev"
} }
}, },
"autoload": { "autoload": {
@@ -8065,17 +8065,17 @@
], ],
"type": "library", "type": "library",
"extra": { "extra": {
"bamarni-bin": {
"bin-links": true,
"target-directory": "vendor-bin",
"forward-command": true
},
"hooks": { "hooks": {
"pre-commit": [ "pre-commit": [
"composer style:fix", "composer style:fix",
"composer code:check" "composer code:check"
] ]
}, },
"bamarni-bin": {
"bin-links": true,
"forward-command": true,
"target-directory": "vendor-bin"
},
"branch-alias": { "branch-alias": {
"dev-main": "9.5.x-dev" "dev-main": "9.5.x-dev"
} }
@@ -9060,12 +9060,12 @@
], ],
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": {
"dev-main": "0.12.x-dev"
},
"bamarni-bin": { "bamarni-bin": {
"bin-links": false, "bin-links": false,
"forward-command": false "forward-command": false
},
"branch-alias": {
"dev-main": "0.12.x-dev"
} }
}, },
"autoload": { "autoload": {
@@ -10213,13 +10213,13 @@
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": {
"dev-main": "1.29.x-dev"
},
"laravel": { "laravel": {
"providers": [ "providers": [
"Spatie\\LaravelRay\\RayServiceProvider" "Spatie\\LaravelRay\\RayServiceProvider"
] ]
},
"branch-alias": {
"dev-main": "1.29.x-dev"
} }
}, },
"autoload": { "autoload": {
+161 -127
View File
@@ -22,37 +22,37 @@
"@rollup/plugin-babel": "^6.0.4", "@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^25.0.8", "@rollup/plugin-commonjs": "^25.0.8",
"@rollup/plugin-eslint": "^9.0.5", "@rollup/plugin-eslint": "^9.0.5",
"@rollup/plugin-node-resolve": "^15.3.0", "@rollup/plugin-node-resolve": "^15.3.1",
"@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6", "@rollup/plugin-typescript": "^11.1.6",
"@types/node": "^20.17.1", "@types/node": "^20.17.14",
"@typescript-eslint/eslint-plugin": "^7.18.0", "@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0", "@typescript-eslint/parser": "^7.18.0",
"all-contributors-cli": "^6.26.1", "all-contributors-cli": "^6.26.1",
"autoprefixer": "^10.4.20", "autoprefixer": "^10.4.20",
"browserslist": "^4.24.2", "browserslist": "^4.24.4",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",
"cssnano": "^6.1.2", "cssnano": "^6.1.2",
"eslint": "^8.57.1", "eslint": "^8.57.1",
"eslint-config-airbnb-typescript": "^18.0.0", "eslint-config-airbnb-typescript": "^18.0.0",
"eslint-config-prettier": "^9.1.0", "eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.3", "eslint-import-resolver-typescript": "^3.7.0",
"eslint-plugin-babel": "^5.3.1", "eslint-plugin-babel": "^5.3.1",
"eslint-plugin-import": "^2.31.0", "eslint-plugin-import": "^2.31.0",
"eslint-plugin-prettier": "^5.2.1", "eslint-plugin-prettier": "^5.2.2",
"postcss-discard-comments": "^6.0.2", "postcss-discard-comments": "^6.0.2",
"punycode": "^2.3.1", "punycode": "^2.3.1",
"rollup": "^4.24.1", "rollup": "^4.30.1",
"rollup-plugin-cleanup": "^3.2.1", "rollup-plugin-cleanup": "^3.2.1",
"rollup-plugin-clear": "^2.0.7", "rollup-plugin-clear": "^2.0.7",
"rollup-plugin-copy": "^3.5.0", "rollup-plugin-copy": "^3.5.0",
"rollup-plugin-filesize": "^10.0.0", "rollup-plugin-filesize": "^10.0.0",
"rollup-plugin-postcss": "^4.0.2", "rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-progress": "^1.1.2", "rollup-plugin-progress": "^1.1.2",
"sass": "^1.80.4", "sass": "^1.83.4",
"ts-node": "^10.9.2", "ts-node": "^10.9.2",
"tslib": "^2.8.0", "tslib": "^2.8.1",
"typescript": "^5.6.3" "typescript": "^5.7.3"
} }
}, },
"node_modules/@ampproject/remapping": { "node_modules/@ampproject/remapping": {
@@ -1969,7 +1969,7 @@
}, },
"node_modules/@clack/prompts/node_modules/is-unicode-supported": { "node_modules/@clack/prompts/node_modules/is-unicode-supported": {
"version": "1.3.0", "version": "1.3.0",
"dev": true, "extraneous": true,
"inBundle": true, "inBundle": true,
"license": "MIT", "license": "MIT",
"engines": { "engines": {
@@ -2694,6 +2694,7 @@
"integrity": "sha512-HNjmfLQEVRZmHRET336f20H/8kOozUGwk7yajvsonjNxbj2wBTK1WsQuHkD5yYh9RxFGL2EyDHryOihOwUoKDA==", "integrity": "sha512-HNjmfLQEVRZmHRET336f20H/8kOozUGwk7yajvsonjNxbj2wBTK1WsQuHkD5yYh9RxFGL2EyDHryOihOwUoKDA==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"optional": true,
"dependencies": { "dependencies": {
"detect-libc": "^1.0.3", "detect-libc": "^1.0.3",
"is-glob": "^4.0.3", "is-glob": "^4.0.3",
@@ -3074,9 +3075,9 @@
} }
}, },
"node_modules/@rollup/plugin-node-resolve": { "node_modules/@rollup/plugin-node-resolve": {
"version": "15.3.0", "version": "15.3.1",
"resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-15.3.0.tgz", "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-15.3.1.tgz",
"integrity": "sha512-9eO5McEICxMzJpDW9OnMYSv4Sta3hmt7VtBFz5zR9273suNOydOyq/FrGeGy+KsTRFm8w0SLVhzig2ILFT63Ag==", "integrity": "sha512-tgg6b91pAybXHJQMAAwW9VuWBO6Thi+q7BCNARLwSqlmsHz0XYURtGvh/AuwSADXSI4h/2uHbs7s4FzlZDGSGA==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -3172,9 +3173,9 @@
} }
}, },
"node_modules/@rollup/rollup-android-arm-eabi": { "node_modules/@rollup/rollup-android-arm-eabi": {
"version": "4.24.1", "version": "4.30.1",
"resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.24.1.tgz", "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.30.1.tgz",
"integrity": "sha512-j2llrtCTwNu68yp1wybgkTUW8CrR8AZvGZzIO/qwNAetVP3FHidylyz1s0dU2zXG9uqqpoUIhWKmMypGMcdM2Q==", "integrity": "sha512-pSWY+EVt3rJ9fQ3IqlrEUtXh3cGqGtPDH1FQlNZehO2yYxCHEX1SPsz1M//NXwYfbTlcKr9WObLnJX9FsS9K1Q==",
"cpu": [ "cpu": [
"arm" "arm"
], ],
@@ -3186,9 +3187,9 @@
] ]
}, },
"node_modules/@rollup/rollup-android-arm64": { "node_modules/@rollup/rollup-android-arm64": {
"version": "4.24.1", "version": "4.30.1",
"resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.24.1.tgz", "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.30.1.tgz",
"integrity": "sha512-y65R3hM9sJVAXV3qh/dJ5o2OCVzwy6d994qmi+rGw1i1onYY5AoV9dREDYoizaZvc9esEqOs07CyFgPzz4DBqg==", "integrity": "sha512-/NA2qXxE3D/BRjOJM8wQblmArQq1YoBVJjrjoTSBS09jgUisq7bqxNHJ8kjCHeV21W/9WDGwJEWSN0KQ2mtD/w==",
"cpu": [ "cpu": [
"arm64" "arm64"
], ],
@@ -3200,9 +3201,9 @@
] ]
}, },
"node_modules/@rollup/rollup-darwin-arm64": { "node_modules/@rollup/rollup-darwin-arm64": {
"version": "4.24.1", "version": "4.30.1",
"resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.24.1.tgz", "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.30.1.tgz",
"integrity": "sha512-K9iOc75U9HpDffjop9qVPwNoBEPXS0Q6RrVSvh13gs38ynurJ2+HuS7NJbsx+fwiDA+eJYfBi7sablI8G2/3oA==", "integrity": "sha512-r7FQIXD7gB0WJ5mokTUgUWPl0eYIH0wnxqeSAhuIwvnnpjdVB8cRRClyKLQr7lgzjctkbp5KmswWszlwYln03Q==",
"cpu": [ "cpu": [
"arm64" "arm64"
], ],
@@ -3214,9 +3215,9 @@
] ]
}, },
"node_modules/@rollup/rollup-darwin-x64": { "node_modules/@rollup/rollup-darwin-x64": {
"version": "4.24.1", "version": "4.30.1",
"resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.24.1.tgz", "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.30.1.tgz",
"integrity": "sha512-Ufz0fX79W9937euBI4qEdh2xLb0Lzo4GiZ7xxDpueEZxWdPbow6gnTRokSzSgtqRFs1vFgcgm7Ci/KnOo15MIg==", "integrity": "sha512-x78BavIwSH6sqfP2xeI1hd1GpHL8J4W2BXcVM/5KYKoAD3nNsfitQhvWSw+TFtQTLZ9OmlF+FEInEHyubut2OA==",
"cpu": [ "cpu": [
"x64" "x64"
], ],
@@ -3227,10 +3228,24 @@
"darwin" "darwin"
] ]
}, },
"node_modules/@rollup/rollup-freebsd-arm64": {
"version": "4.30.1",
"resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.30.1.tgz",
"integrity": "sha512-HYTlUAjbO1z8ywxsDFWADfTRfTIIy/oUlfIDmlHYmjUP2QRDTzBuWXc9O4CXM+bo9qfiCclmHk1x4ogBjOUpUQ==",
"cpu": [
"arm64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
"freebsd"
]
},
"node_modules/@rollup/rollup-freebsd-x64": { "node_modules/@rollup/rollup-freebsd-x64": {
"version": "4.24.1", "version": "4.30.1",
"resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.24.1.tgz", "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.30.1.tgz",
"integrity": "sha512-IfG1khuwe10V2EBfFIrcd7P6X0stdhHQM71NyaG5TPgy6dXr2nzAa5TMNFA35tr41gihUPqp/w8StayYG7jXYw==", "integrity": "sha512-1MEdGqogQLccphhX5myCJqeGNYTNcmTyaic9S7CG3JhwuIByJ7J05vGbZxsizQthP1xpVx7kd3o31eOogfEirw==",
"cpu": [ "cpu": [
"x64" "x64"
], ],
@@ -3242,9 +3257,9 @@
] ]
}, },
"node_modules/@rollup/rollup-linux-arm-gnueabihf": { "node_modules/@rollup/rollup-linux-arm-gnueabihf": {
"version": "4.24.1", "version": "4.30.1",
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.24.1.tgz", "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.30.1.tgz",
"integrity": "sha512-W+drJRBL1+N1/zaq+8y/CtQ3VP5wxMXwCy7obFl9r5jJ5EFNEYAqchuPfYTleYOoA46bwXAprCL+OVK3BTrWWw==", "integrity": "sha512-PaMRNBSqCx7K3Wc9QZkFx5+CX27WFpAMxJNiYGAXfmMIKC7jstlr32UhTgK6T07OtqR+wYlWm9IxzennjnvdJg==",
"cpu": [ "cpu": [
"arm" "arm"
], ],
@@ -3256,9 +3271,9 @@
] ]
}, },
"node_modules/@rollup/rollup-linux-arm-musleabihf": { "node_modules/@rollup/rollup-linux-arm-musleabihf": {
"version": "4.24.1", "version": "4.30.1",
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.24.1.tgz", "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.30.1.tgz",
"integrity": "sha512-mKngr0zxo4FMSDqiq4F4G/1IPqjpNO7MyjAM6+YxDIADO4ZSI4m05bZYD4po12Jid6+n9YJRWdIcvi4JztMVcw==", "integrity": "sha512-B8Rcyj9AV7ZlEFqvB5BubG5iO6ANDsRKlhIxySXcF1axXYUyqwBok+XZPgIYGBgs7LDXfWfifxhw0Ik57T0Yug==",
"cpu": [ "cpu": [
"arm" "arm"
], ],
@@ -3270,9 +3285,9 @@
] ]
}, },
"node_modules/@rollup/rollup-linux-arm64-gnu": { "node_modules/@rollup/rollup-linux-arm64-gnu": {
"version": "4.24.1", "version": "4.30.1",
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.24.1.tgz", "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.30.1.tgz",
"integrity": "sha512-Rh12WITgvLydYFR9XAjmCRArU71nMfi5lDVLhpRV8dR2sCGtZESVkfD66mi3owp4q1scwysT35nNMPleRTQOow==", "integrity": "sha512-hqVyueGxAj3cBKrAI4aFHLV+h0Lv5VgWZs9CUGqr1z0fZtlADVV1YPOij6AhcK5An33EXaxnDLmJdQikcn5NEw==",
"cpu": [ "cpu": [
"arm64" "arm64"
], ],
@@ -3284,9 +3299,9 @@
] ]
}, },
"node_modules/@rollup/rollup-linux-arm64-musl": { "node_modules/@rollup/rollup-linux-arm64-musl": {
"version": "4.24.1", "version": "4.30.1",
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.24.1.tgz", "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.30.1.tgz",
"integrity": "sha512-zOLu7V1iBpJMIrrmZjpmAZ9txFlnGgqQMnjNmRrqmV1vQaou9SIT3qI3JE1kt+DQE8zCdB3n2/mAjIU90AfjEg==", "integrity": "sha512-i4Ab2vnvS1AE1PyOIGp2kXni69gU2DAUVt6FSXeIqUCPIR3ZlheMW3oP2JkukDfu3PsexYRbOiJrY+yVNSk9oA==",
"cpu": [ "cpu": [
"arm64" "arm64"
], ],
@@ -3297,10 +3312,24 @@
"linux" "linux"
] ]
}, },
"node_modules/@rollup/rollup-linux-loongarch64-gnu": {
"version": "4.30.1",
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.30.1.tgz",
"integrity": "sha512-fARcF5g296snX0oLGkVxPmysetwUk2zmHcca+e9ObOovBR++9ZPOhqFUM61UUZ2EYpXVPN1redgqVoBB34nTpQ==",
"cpu": [
"loong64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
"linux"
]
},
"node_modules/@rollup/rollup-linux-powerpc64le-gnu": { "node_modules/@rollup/rollup-linux-powerpc64le-gnu": {
"version": "4.24.1", "version": "4.30.1",
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.24.1.tgz", "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.30.1.tgz",
"integrity": "sha512-h9ipTGhMzTBAJL/bg1HsElhGPWLGeCKE8JkxgvrJ5O/S1MXH9RxMUTl++tzlpzxdOBCAGqygZIMBj3wIDf/kJw==", "integrity": "sha512-GLrZraoO3wVT4uFXh67ElpwQY0DIygxdv0BNW9Hkm3X34wu+BkqrDrkcsIapAY+N2ATEbvak0XQ9gxZtCIA5Rw==",
"cpu": [ "cpu": [
"ppc64" "ppc64"
], ],
@@ -3312,9 +3341,9 @@
] ]
}, },
"node_modules/@rollup/rollup-linux-riscv64-gnu": { "node_modules/@rollup/rollup-linux-riscv64-gnu": {
"version": "4.24.1", "version": "4.30.1",
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.24.1.tgz", "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.30.1.tgz",
"integrity": "sha512-PNKCMA1xRBARR7/j6KXMSB1z0/eGenC/t2wdQl5et3jnrHA+igIaLVNUEPfnVjmZIZJign7u/dobvV2VkPxMiw==", "integrity": "sha512-0WKLaAUUHKBtll0wvOmh6yh3S0wSU9+yas923JIChfxOaaBarmb/lBKPF0w/+jTVozFnOXJeRGZ8NvOxvk/jcw==",
"cpu": [ "cpu": [
"riscv64" "riscv64"
], ],
@@ -3326,9 +3355,9 @@
] ]
}, },
"node_modules/@rollup/rollup-linux-s390x-gnu": { "node_modules/@rollup/rollup-linux-s390x-gnu": {
"version": "4.24.1", "version": "4.30.1",
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.24.1.tgz", "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.30.1.tgz",
"integrity": "sha512-mkl3uWq/ix18gAfzBUIecSwioPyJkbR6QXVaNuOGM7Qbs7f1EfDLP4XtLSJx4GL6mO8GrKhB3cmhUc3zjUrQSg==", "integrity": "sha512-GWFs97Ruxo5Bt+cvVTQkOJ6TIx0xJDD/bMAOXWJg8TCSTEK8RnFeOeiFTxKniTc4vMIaWvCplMAFBt9miGxgkA==",
"cpu": [ "cpu": [
"s390x" "s390x"
], ],
@@ -3340,9 +3369,9 @@
] ]
}, },
"node_modules/@rollup/rollup-linux-x64-gnu": { "node_modules/@rollup/rollup-linux-x64-gnu": {
"version": "4.24.1", "version": "4.30.1",
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.24.1.tgz", "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.30.1.tgz",
"integrity": "sha512-j0RPQWteEXAAxRQI+IcX3i7WQb7hFe7CW94H3l0edBVyJMIPOlr/hqc5CGG1FBDW9gNr0ZC2IzwSta1iSNJIoA==", "integrity": "sha512-UtgGb7QGgXDIO+tqqJ5oZRGHsDLO8SlpE4MhqpY9Llpzi5rJMvrK6ZGhsRCST2abZdBqIBeXW6WPD5fGK5SDwg==",
"cpu": [ "cpu": [
"x64" "x64"
], ],
@@ -3354,9 +3383,9 @@
] ]
}, },
"node_modules/@rollup/rollup-linux-x64-musl": { "node_modules/@rollup/rollup-linux-x64-musl": {
"version": "4.24.1", "version": "4.30.1",
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.24.1.tgz", "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.30.1.tgz",
"integrity": "sha512-UrwXowd3gyT+/ijoeSzMyHHGUaV3WhiJL77eTZE8/Pq+9K6auacIJ264biAUhHJ3FjAHsXNhzEmxGnj4tpDz2g==", "integrity": "sha512-V9U8Ey2UqmQsBT+xTOeMzPzwDzyXmnAoO4edZhL7INkwQcaW1Ckv3WJX3qrrp/VHaDkEWIBWhRwP47r8cdrOow==",
"cpu": [ "cpu": [
"x64" "x64"
], ],
@@ -3368,9 +3397,9 @@
] ]
}, },
"node_modules/@rollup/rollup-win32-arm64-msvc": { "node_modules/@rollup/rollup-win32-arm64-msvc": {
"version": "4.24.1", "version": "4.30.1",
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.24.1.tgz", "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.30.1.tgz",
"integrity": "sha512-wexHPBkBa2/tPhbGcxLqOM2AFZ7BQsZ0pk3dVxRL5Ec0SsXnkpcMucZ4j4woyoD5DbRdFP6Roptd9TRsGVTvUA==", "integrity": "sha512-WabtHWiPaFF47W3PkHnjbmWawnX/aE57K47ZDT1BXTS5GgrBUEpvOzq0FI0V/UYzQJgdb8XlhVNH8/fwV8xDjw==",
"cpu": [ "cpu": [
"arm64" "arm64"
], ],
@@ -3382,9 +3411,9 @@
] ]
}, },
"node_modules/@rollup/rollup-win32-ia32-msvc": { "node_modules/@rollup/rollup-win32-ia32-msvc": {
"version": "4.24.1", "version": "4.30.1",
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.24.1.tgz", "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.30.1.tgz",
"integrity": "sha512-IW2axCCdiC+kgj5/50Mt5v8qG0LYaDichBGKXM4Oo2NaWStAs0oQp1dqVzCV1XOXNvNNDRFw0EaT+JMs6BX+WQ==", "integrity": "sha512-pxHAU+Zv39hLUTdQQHUVHf4P+0C47y/ZloorHpzs2SXMRqeAWmGghzAhfOlzFHHwjvgokdFAhC4V+6kC1lRRfw==",
"cpu": [ "cpu": [
"ia32" "ia32"
], ],
@@ -3396,9 +3425,9 @@
] ]
}, },
"node_modules/@rollup/rollup-win32-x64-msvc": { "node_modules/@rollup/rollup-win32-x64-msvc": {
"version": "4.24.1", "version": "4.30.1",
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.24.1.tgz", "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.30.1.tgz",
"integrity": "sha512-b9IK2buRXwm7owl4Hd8fselCQ7/gr2WaErv0e/IPgRQuJfFS+O0cFJA4t13+FKAZeQh97iEyBG06g613IJLirQ==", "integrity": "sha512-D6qjsXGcvhTjv0kI4fU8tUuBDF/Ueee4SVX79VfNDXZa64TfCW1Slkb6Z7O1p7vflqZjcmOVdZlqf8gvJxc6og==",
"cpu": [ "cpu": [
"x64" "x64"
], ],
@@ -3719,9 +3748,9 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/@types/node": { "node_modules/@types/node": {
"version": "20.17.1", "version": "20.17.14",
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.17.1.tgz", "resolved": "https://registry.npmjs.org/@types/node/-/node-20.17.14.tgz",
"integrity": "sha512-j2VlPv1NnwPJbaCNv69FO/1z4lId0QmGvpT41YxitRtWlg96g/j8qcv2RKsLKe2F6OJgyXhupN1Xo17b2m139Q==", "integrity": "sha512-w6qdYetNL5KRBiSClK/KWai+2IMEJuAj+EujKCumalFOwXtvOXaEan9AuwcRID2IcOIAWSIfR495hBtgKlx2zg==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -5079,9 +5108,9 @@
} }
}, },
"node_modules/browserslist": { "node_modules/browserslist": {
"version": "4.24.2", "version": "4.24.4",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.24.2.tgz", "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.24.4.tgz",
"integrity": "sha512-ZIc+Q62revdMcqC6aChtW4jz3My3klmCO1fEmINZY/8J3EpBg5/A/D0AKmBveUh6pgoeycoMkVMko84tuYS+Gg==", "integrity": "sha512-KDi1Ny1gSePi1vm0q4oxSF8b4DR44GF4BbmS2YdhPLOEqd8pDviZOGH/GsmRwoWJ2+5Lr085X7naowMwKHDG1A==",
"dev": true, "dev": true,
"funding": [ "funding": [
{ {
@@ -5099,9 +5128,9 @@
], ],
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"caniuse-lite": "^1.0.30001669", "caniuse-lite": "^1.0.30001688",
"electron-to-chromium": "^1.5.41", "electron-to-chromium": "^1.5.73",
"node-releases": "^2.0.18", "node-releases": "^2.0.19",
"update-browserslist-db": "^1.1.1" "update-browserslist-db": "^1.1.1"
}, },
"bin": { "bin": {
@@ -5253,9 +5282,9 @@
} }
}, },
"node_modules/caniuse-lite": { "node_modules/caniuse-lite": {
"version": "1.0.30001669", "version": "1.0.30001692",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001669.tgz", "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001692.tgz",
"integrity": "sha512-DlWzFDJqstqtIVx1zeSpIMLjunf5SmwOw0N2Ck/QSQdS8PLS4+9HrLaYei4w8BIAL7IB/UEDu889d8vhCTPA0w==", "integrity": "sha512-A95VKan0kdtrsnMubMKxEKUKImOPSuCpYgxSQBo036P5YYgVIcOYJEgt/txJWqObiRQeISNCfef9nvlQ0vbV7A==",
"dev": true, "dev": true,
"funding": [ "funding": [
{ {
@@ -5982,6 +6011,7 @@
"integrity": "sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==", "integrity": "sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==",
"dev": true, "dev": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"optional": true,
"bin": { "bin": {
"detect-libc": "bin/detect-libc.js" "detect-libc": "bin/detect-libc.js"
}, },
@@ -6105,9 +6135,9 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/electron-to-chromium": { "node_modules/electron-to-chromium": {
"version": "1.5.41", "version": "1.5.83",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.41.tgz", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.83.tgz",
"integrity": "sha512-dfdv/2xNjX0P8Vzme4cfzHqnPm5xsZXwsolTYr0eyW18IUmNyG08vL+fttvinTfhKfIKdRoqkDIC9e9iWQCNYQ==", "integrity": "sha512-LcUDPqSt+V0QmI47XLzZrz5OqILSMGsPFkDYus22rIbgorSvBYEFqq854ltTmUdHkY92FSdAAvsh4jWEULMdfQ==",
"dev": true, "dev": true,
"license": "ISC" "license": "ISC"
}, },
@@ -6552,20 +6582,20 @@
} }
}, },
"node_modules/eslint-import-resolver-typescript": { "node_modules/eslint-import-resolver-typescript": {
"version": "3.6.3", "version": "3.7.0",
"resolved": "https://registry.npmjs.org/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-3.6.3.tgz", "resolved": "https://registry.npmjs.org/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-3.7.0.tgz",
"integrity": "sha512-ud9aw4szY9cCT1EWWdGv1L1XR6hh2PaRWif0j2QjQ0pgTY/69iw+W0Z4qZv5wHahOl8isEr+k/JnyAqNQkLkIA==", "integrity": "sha512-Vrwyi8HHxY97K5ebydMtffsWAn1SCR9eol49eCd5fJS4O1WV7PaAjbcjmbfJJSMz/t4Mal212Uz/fQZrOB8mow==",
"dev": true, "dev": true,
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"@nolyfill/is-core-module": "1.0.39", "@nolyfill/is-core-module": "1.0.39",
"debug": "^4.3.5", "debug": "^4.3.7",
"enhanced-resolve": "^5.15.0", "enhanced-resolve": "^5.15.0",
"eslint-module-utils": "^2.8.1",
"fast-glob": "^3.3.2", "fast-glob": "^3.3.2",
"get-tsconfig": "^4.7.5", "get-tsconfig": "^4.7.5",
"is-bun-module": "^1.0.2", "is-bun-module": "^1.0.2",
"is-glob": "^4.0.3" "is-glob": "^4.0.3",
"stable-hash": "^0.0.4"
}, },
"engines": { "engines": {
"node": "^14.18.0 || >=16.0.0" "node": "^14.18.0 || >=16.0.0"
@@ -7057,9 +7087,9 @@
} }
}, },
"node_modules/eslint-plugin-prettier": { "node_modules/eslint-plugin-prettier": {
"version": "5.2.1", "version": "5.2.2",
"resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.2.1.tgz", "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.2.2.tgz",
"integrity": "sha512-gH3iR3g4JfF+yYPaJYkN7jEl9QbweL/YfkoRlNnuIEHEz1vHVlCmWOS+eGGiRuzHQXdJFCOTxRgvju9b8VUmrw==", "integrity": "sha512-1yI3/hf35wmlq66C8yOyrujQnel+v5l1Vop5Cl2I6ylyNTT1JbuUUnV3/41PzwTzcyDp/oF0jWE3HXvcH5AQOQ==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -8386,9 +8416,9 @@
} }
}, },
"node_modules/immutable": { "node_modules/immutable": {
"version": "4.3.7", "version": "5.0.3",
"resolved": "https://registry.npmjs.org/immutable/-/immutable-4.3.7.tgz", "resolved": "https://registry.npmjs.org/immutable/-/immutable-5.0.3.tgz",
"integrity": "sha512-1hqclzwYwjRDFLjcFxOM5AYkkG0rpFPpr1RLPMEuGczoS7YA8gLhy8SWXYRAA/XwfEHpfo3cw5JGioS32fnMRw==", "integrity": "sha512-P8IdPQHq3lA1xVeBRi5VPqUm5HDgKnx0Ru51wZz5mjxHr5n3RWhjIpOFU7ybkUxfB+5IToy+OLaHYDBIWsv+uw==",
"dev": true, "dev": true,
"license": "MIT" "license": "MIT"
}, },
@@ -10144,7 +10174,8 @@
"resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-7.1.1.tgz", "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-7.1.1.tgz",
"integrity": "sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==", "integrity": "sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==",
"dev": true, "dev": true,
"license": "MIT" "license": "MIT",
"optional": true
}, },
"node_modules/node-fetch": { "node_modules/node-fetch": {
"version": "2.7.0", "version": "2.7.0",
@@ -10253,9 +10284,9 @@
} }
}, },
"node_modules/node-releases": { "node_modules/node-releases": {
"version": "2.0.18", "version": "2.0.19",
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.18.tgz", "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.19.tgz",
"integrity": "sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==", "integrity": "sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==",
"dev": true, "dev": true,
"license": "MIT" "license": "MIT"
}, },
@@ -12452,9 +12483,9 @@
} }
}, },
"node_modules/rollup": { "node_modules/rollup": {
"version": "4.24.1", "version": "4.30.1",
"resolved": "https://registry.npmjs.org/rollup/-/rollup-4.24.1.tgz", "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.30.1.tgz",
"integrity": "sha512-2lhtdsnyxlfBAZVh9tfriEc1nV9HxjQGnqEpd7z7cWXuLbI4jHWDhAvw6JGs0AVcnYqv0gL7Mjuj/utxW2wPBw==", "integrity": "sha512-mlJ4glW020fPuLi7DkM/lN97mYEZGWeqBnrljzN0gs7GLctqX3lNWxKQ7Gl712UAX+6fog/L3jh4gb7R6aVi3w==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -12468,24 +12499,25 @@
"npm": ">=8.0.0" "npm": ">=8.0.0"
}, },
"optionalDependencies": { "optionalDependencies": {
"@rollup/rollup-android-arm-eabi": "4.24.1", "@rollup/rollup-android-arm-eabi": "4.30.1",
"@rollup/rollup-android-arm64": "4.24.1", "@rollup/rollup-android-arm64": "4.30.1",
"@rollup/rollup-darwin-arm64": "4.24.1", "@rollup/rollup-darwin-arm64": "4.30.1",
"@rollup/rollup-darwin-x64": "4.24.1", "@rollup/rollup-darwin-x64": "4.30.1",
"@rollup/rollup-freebsd-arm64": "4.24.1", "@rollup/rollup-freebsd-arm64": "4.30.1",
"@rollup/rollup-freebsd-x64": "4.24.1", "@rollup/rollup-freebsd-x64": "4.30.1",
"@rollup/rollup-linux-arm-gnueabihf": "4.24.1", "@rollup/rollup-linux-arm-gnueabihf": "4.30.1",
"@rollup/rollup-linux-arm-musleabihf": "4.24.1", "@rollup/rollup-linux-arm-musleabihf": "4.30.1",
"@rollup/rollup-linux-arm64-gnu": "4.24.1", "@rollup/rollup-linux-arm64-gnu": "4.30.1",
"@rollup/rollup-linux-arm64-musl": "4.24.1", "@rollup/rollup-linux-arm64-musl": "4.30.1",
"@rollup/rollup-linux-powerpc64le-gnu": "4.24.1", "@rollup/rollup-linux-loongarch64-gnu": "4.30.1",
"@rollup/rollup-linux-riscv64-gnu": "4.24.1", "@rollup/rollup-linux-powerpc64le-gnu": "4.30.1",
"@rollup/rollup-linux-s390x-gnu": "4.24.1", "@rollup/rollup-linux-riscv64-gnu": "4.30.1",
"@rollup/rollup-linux-x64-gnu": "4.24.1", "@rollup/rollup-linux-s390x-gnu": "4.30.1",
"@rollup/rollup-linux-x64-musl": "4.24.1", "@rollup/rollup-linux-x64-gnu": "4.30.1",
"@rollup/rollup-win32-arm64-msvc": "4.24.1", "@rollup/rollup-linux-x64-musl": "4.30.1",
"@rollup/rollup-win32-ia32-msvc": "4.24.1", "@rollup/rollup-win32-arm64-msvc": "4.30.1",
"@rollup/rollup-win32-x64-msvc": "4.24.1", "@rollup/rollup-win32-ia32-msvc": "4.30.1",
"@rollup/rollup-win32-x64-msvc": "4.30.1",
"fsevents": "~2.3.2" "fsevents": "~2.3.2"
} }
}, },
@@ -13617,15 +13649,14 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/sass": { "node_modules/sass": {
"version": "1.80.4", "version": "1.83.4",
"resolved": "https://registry.npmjs.org/sass/-/sass-1.80.4.tgz", "resolved": "https://registry.npmjs.org/sass/-/sass-1.83.4.tgz",
"integrity": "sha512-rhMQ2tSF5CsuuspvC94nPM9rToiAFw2h3JTrLlgmNw1MH79v8Cr3DH6KF6o6r+8oofY3iYVPUf66KzC8yuVN1w==", "integrity": "sha512-B1bozCeNQiOgDcLd33e2Cs2U60wZwjUUXzh900ZyQF5qUasvMdDZYbQ566LJu7cqR+sAHlAfO6RMkaID5s6qpA==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@parcel/watcher": "^2.4.1",
"chokidar": "^4.0.0", "chokidar": "^4.0.0",
"immutable": "^4.0.0", "immutable": "^5.0.2",
"source-map-js": ">=0.6.2 <2.0.0" "source-map-js": ">=0.6.2 <2.0.0"
}, },
"bin": { "bin": {
@@ -13633,6 +13664,9 @@
}, },
"engines": { "engines": {
"node": ">=14.0.0" "node": ">=14.0.0"
},
"optionalDependencies": {
"@parcel/watcher": "^2.4.1"
} }
}, },
"node_modules/scslre": { "node_modules/scslre": {
@@ -14588,9 +14622,9 @@
} }
}, },
"node_modules/tslib": { "node_modules/tslib": {
"version": "2.8.0", "version": "2.8.1",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.0.tgz", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",
"integrity": "sha512-jWVzBLplnCmoaTr13V9dYbiQ99wvZRd0vNWaDRg+aVYRcjDF3nDksxFDE/+fkXnKhpnUUkmx5pK/v8mCtLVqZA==", "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",
"dev": true, "dev": true,
"license": "0BSD" "license": "0BSD"
}, },
@@ -14778,9 +14812,9 @@
} }
}, },
"node_modules/typescript": { "node_modules/typescript": {
"version": "5.6.3", "version": "5.7.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.3.tgz", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.3.tgz",
"integrity": "sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==", "integrity": "sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==",
"dev": true, "dev": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"bin": { "bin": {
+9 -9
View File
@@ -24,36 +24,36 @@
"@rollup/plugin-babel": "^6.0.4", "@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^25.0.8", "@rollup/plugin-commonjs": "^25.0.8",
"@rollup/plugin-eslint": "^9.0.5", "@rollup/plugin-eslint": "^9.0.5",
"@rollup/plugin-node-resolve": "^15.3.0", "@rollup/plugin-node-resolve": "^15.3.1",
"@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6", "@rollup/plugin-typescript": "^11.1.6",
"@types/node": "^20.17.1", "@types/node": "^20.17.14",
"@typescript-eslint/eslint-plugin": "^7.18.0", "@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0", "@typescript-eslint/parser": "^7.18.0",
"all-contributors-cli": "^6.26.1", "all-contributors-cli": "^6.26.1",
"autoprefixer": "^10.4.20", "autoprefixer": "^10.4.20",
"browserslist": "^4.24.2", "browserslist": "^4.24.4",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",
"cssnano": "^6.1.2", "cssnano": "^6.1.2",
"eslint": "^8.57.1", "eslint": "^8.57.1",
"eslint-config-airbnb-typescript": "^18.0.0", "eslint-config-airbnb-typescript": "^18.0.0",
"eslint-config-prettier": "^9.1.0", "eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.3", "eslint-import-resolver-typescript": "^3.7.0",
"eslint-plugin-babel": "^5.3.1", "eslint-plugin-babel": "^5.3.1",
"eslint-plugin-import": "^2.31.0", "eslint-plugin-import": "^2.31.0",
"eslint-plugin-prettier": "^5.2.1", "eslint-plugin-prettier": "^5.2.2",
"postcss-discard-comments": "^6.0.2", "postcss-discard-comments": "^6.0.2",
"punycode": "^2.3.1", "punycode": "^2.3.1",
"rollup": "^4.24.1", "rollup": "^4.30.1",
"rollup-plugin-cleanup": "^3.2.1", "rollup-plugin-cleanup": "^3.2.1",
"rollup-plugin-clear": "^2.0.7", "rollup-plugin-clear": "^2.0.7",
"rollup-plugin-copy": "^3.5.0", "rollup-plugin-copy": "^3.5.0",
"rollup-plugin-filesize": "^10.0.0", "rollup-plugin-filesize": "^10.0.0",
"rollup-plugin-postcss": "^4.0.2", "rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-progress": "^1.1.2", "rollup-plugin-progress": "^1.1.2",
"sass": "^1.80.4", "sass": "^1.83.4",
"ts-node": "^10.9.2", "ts-node": "^10.9.2",
"tslib": "^2.8.0", "tslib": "^2.8.1",
"typescript": "^5.6.3" "typescript": "^5.7.3"
} }
} }
+1 -1
View File
@@ -52,7 +52,7 @@ class NotyPlugin extends AbstractPlugin {
const options = Object.assign({ text: envelope.message, type: envelope.type }, envelope.options); const options = Object.assign({ text: envelope.message, type: envelope.type }, envelope.options);
const noty = new Noty(options); const noty = new Noty(options);
noty.show(); noty.show();
(_a = noty.layoutDom) === null || _a === void 0 ? void 0 : _a.dataset.turboTemporary = ''; (_a = noty.layoutDom) === null || _a === undefined ? undefined : _a.dataset.turboTemporary = '';
}); });
} }
renderOptions(options) { renderOptions(options) {
+1 -1
View File
@@ -55,7 +55,7 @@
const options = Object.assign({ text: envelope.message, type: envelope.type }, envelope.options); const options = Object.assign({ text: envelope.message, type: envelope.type }, envelope.options);
const noty = new Noty(options); const noty = new Noty(options);
noty.show(); noty.show();
(_a = noty.layoutDom) === null || _a === void 0 ? void 0 : _a.dataset.turboTemporary = ''; (_a = noty.layoutDom) === null || _a === undefined ? undefined : _a.dataset.turboTemporary = '';
}); });
} }
renderOptions(options) { renderOptions(options) {
+7 -7
View File
@@ -217,11 +217,11 @@ var NotyfView = function () {
}; };
NotyfView.prototype.getXPosition = function (options) { NotyfView.prototype.getXPosition = function (options) {
var _a; var _a;
return ((_a = options === null || options === void 0 ? void 0 : options.position) === null || _a === void 0 ? void 0 : _a.x) || 'right'; return ((_a = options === null || options === undefined ? undefined : options.position) === null || _a === undefined ? undefined : _a.x) || 'right';
}; };
NotyfView.prototype.getYPosition = function (options) { NotyfView.prototype.getYPosition = function (options) {
var _a; var _a;
return ((_a = options === null || options === void 0 ? void 0 : options.position) === null || _a === void 0 ? void 0 : _a.y) || 'bottom'; return ((_a = options === null || options === undefined ? undefined : options.position) === null || _a === undefined ? undefined : _a.y) || 'bottom';
}; };
NotyfView.prototype.adjustContainerAlignment = function (options) { NotyfView.prototype.adjustContainerAlignment = function (options) {
var align = this.X_POSITION_FLEX_MAP[this.getXPosition(options)]; var align = this.X_POSITION_FLEX_MAP[this.getXPosition(options)];
@@ -261,11 +261,11 @@ var NotyfView = function () {
if (typeof iconOpts === 'string' || iconOpts instanceof String) iconContainer.innerHTML = new String(iconOpts).valueOf(); if (typeof iconOpts === 'string' || iconOpts instanceof String) iconContainer.innerHTML = new String(iconOpts).valueOf();
if (typeof iconOpts === 'object') { if (typeof iconOpts === 'object') {
var _a = iconOpts.tagName, var _a = iconOpts.tagName,
tagName = _a === void 0 ? 'i' : _a, tagName = _a === undefined ? 'i' : _a,
className_1 = iconOpts.className, className_1 = iconOpts.className,
text = iconOpts.text, text = iconOpts.text,
_b = iconOpts.color, _b = iconOpts.color,
color = _b === void 0 ? mainColor : _b; color = _b === undefined ? mainColor : _b;
var iconElement = this._createHTMLElement({ var iconElement = this._createHTMLElement({
tagName: tagName, tagName: tagName,
className: className_1, className: className_1,
@@ -300,7 +300,7 @@ var NotyfView = function () {
notificationElem.classList.add("notyf__toast--dismissible"); notificationElem.classList.add("notyf__toast--dismissible");
dismissButton.addEventListener('click', function (event) { dismissButton.addEventListener('click', function (event) {
var _a, _b; var _a, _b;
(_b = (_a = _this.events)[NotyfEvent.Dismiss]) === null || _b === void 0 ? void 0 : _b.call(_a, { (_b = (_a = _this.events)[NotyfEvent.Dismiss]) === null || _b === undefined ? undefined : _b.call(_a, {
target: notification, target: notification,
event: event event: event
}); });
@@ -309,7 +309,7 @@ var NotyfView = function () {
} }
notificationElem.addEventListener('click', function (event) { notificationElem.addEventListener('click', function (event) {
var _a, _b; var _a, _b;
return (_b = (_a = _this.events)[NotyfEvent.Click]) === null || _b === void 0 ? void 0 : _b.call(_a, { return (_b = (_a = _this.events)[NotyfEvent.Click]) === null || _b === undefined ? undefined : _b.call(_a, {
target: notification, target: notification,
event: event event: event
}); });
@@ -472,7 +472,7 @@ class NotyfPlugin extends AbstractPlugin {
envelopes.forEach((envelope) => { envelopes.forEach((envelope) => {
var _a; var _a;
const options = Object.assign(Object.assign({}, envelope), envelope.options); const options = Object.assign(Object.assign({}, envelope), envelope.options);
(_a = this.notyf) === null || _a === void 0 ? void 0 : _a.open(options); (_a = this.notyf) === null || _a === undefined ? undefined : _a.open(options);
}); });
this.notyf.view.container.dataset.turboTemporary = ''; this.notyf.view.container.dataset.turboTemporary = '';
this.notyf.view.a11yContainer.dataset.turboTemporary = ''; this.notyf.view.a11yContainer.dataset.turboTemporary = '';
+7 -7
View File
@@ -221,11 +221,11 @@
}; };
NotyfView.prototype.getXPosition = function (options) { NotyfView.prototype.getXPosition = function (options) {
var _a; var _a;
return ((_a = options === null || options === void 0 ? void 0 : options.position) === null || _a === void 0 ? void 0 : _a.x) || 'right'; return ((_a = options === null || options === undefined ? undefined : options.position) === null || _a === undefined ? undefined : _a.x) || 'right';
}; };
NotyfView.prototype.getYPosition = function (options) { NotyfView.prototype.getYPosition = function (options) {
var _a; var _a;
return ((_a = options === null || options === void 0 ? void 0 : options.position) === null || _a === void 0 ? void 0 : _a.y) || 'bottom'; return ((_a = options === null || options === undefined ? undefined : options.position) === null || _a === undefined ? undefined : _a.y) || 'bottom';
}; };
NotyfView.prototype.adjustContainerAlignment = function (options) { NotyfView.prototype.adjustContainerAlignment = function (options) {
var align = this.X_POSITION_FLEX_MAP[this.getXPosition(options)]; var align = this.X_POSITION_FLEX_MAP[this.getXPosition(options)];
@@ -265,11 +265,11 @@
if (typeof iconOpts === 'string' || iconOpts instanceof String) iconContainer.innerHTML = new String(iconOpts).valueOf(); if (typeof iconOpts === 'string' || iconOpts instanceof String) iconContainer.innerHTML = new String(iconOpts).valueOf();
if (typeof iconOpts === 'object') { if (typeof iconOpts === 'object') {
var _a = iconOpts.tagName, var _a = iconOpts.tagName,
tagName = _a === void 0 ? 'i' : _a, tagName = _a === undefined ? 'i' : _a,
className_1 = iconOpts.className, className_1 = iconOpts.className,
text = iconOpts.text, text = iconOpts.text,
_b = iconOpts.color, _b = iconOpts.color,
color = _b === void 0 ? mainColor : _b; color = _b === undefined ? mainColor : _b;
var iconElement = this._createHTMLElement({ var iconElement = this._createHTMLElement({
tagName: tagName, tagName: tagName,
className: className_1, className: className_1,
@@ -304,7 +304,7 @@
notificationElem.classList.add("notyf__toast--dismissible"); notificationElem.classList.add("notyf__toast--dismissible");
dismissButton.addEventListener('click', function (event) { dismissButton.addEventListener('click', function (event) {
var _a, _b; var _a, _b;
(_b = (_a = _this.events)[NotyfEvent.Dismiss]) === null || _b === void 0 ? void 0 : _b.call(_a, { (_b = (_a = _this.events)[NotyfEvent.Dismiss]) === null || _b === undefined ? undefined : _b.call(_a, {
target: notification, target: notification,
event: event event: event
}); });
@@ -313,7 +313,7 @@
} }
notificationElem.addEventListener('click', function (event) { notificationElem.addEventListener('click', function (event) {
var _a, _b; var _a, _b;
return (_b = (_a = _this.events)[NotyfEvent.Click]) === null || _b === void 0 ? void 0 : _b.call(_a, { return (_b = (_a = _this.events)[NotyfEvent.Click]) === null || _b === undefined ? undefined : _b.call(_a, {
target: notification, target: notification,
event: event event: event
}); });
@@ -476,7 +476,7 @@
envelopes.forEach((envelope) => { envelopes.forEach((envelope) => {
var _a; var _a;
const options = Object.assign(Object.assign({}, envelope), envelope.options); const options = Object.assign(Object.assign({}, envelope), envelope.options);
(_a = this.notyf) === null || _a === void 0 ? void 0 : _a.open(options); (_a = this.notyf) === null || _a === undefined ? undefined : _a.open(options);
}); });
this.notyf.view.container.dataset.turboTemporary = ''; this.notyf.view.container.dataset.turboTemporary = '';
this.notyf.view.a11yContainer.dataset.turboTemporary = ''; this.notyf.view.a11yContainer.dataset.turboTemporary = '';
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+9 -9
View File
@@ -99,8 +99,8 @@ class FlasherPlugin extends AbstractPlugin {
renderEnvelopes(envelopes) { renderEnvelopes(envelopes) {
const render = () => envelopes.forEach((envelope) => { const render = () => envelopes.forEach((envelope) => {
var _a, _b, _c, _d; var _a, _b, _c, _d;
const typeTimeout = (_b = (_a = this.options.timeout) !== null && _a !== void 0 ? _a : this.options.timeouts[envelope.type]) !== null && _b !== void 0 ? _b : 5000; const typeTimeout = (_b = (_a = this.options.timeout) !== null && _a !== undefined ? _a : this.options.timeouts[envelope.type]) !== null && _b !== undefined ? _b : 5000;
const options = Object.assign(Object.assign(Object.assign({}, this.options), envelope.options), { timeout: (_c = envelope.options.timeout) !== null && _c !== void 0 ? _c : typeTimeout, escapeHtml: ((_d = envelope.options.escapeHtml) !== null && _d !== void 0 ? _d : this.options.escapeHtml) }); const options = Object.assign(Object.assign(Object.assign({}, this.options), envelope.options), { timeout: (_c = envelope.options.timeout) !== null && _c !== undefined ? _c : typeTimeout, escapeHtml: ((_d = envelope.options.escapeHtml) !== null && _d !== undefined ? _d : this.options.escapeHtml) });
this.addToContainer(this.createContainer(options), envelope, options); this.addToContainer(this.createContainer(options), envelope, options);
}); });
document.readyState === 'loading' ? document.addEventListener('DOMContentLoaded', render) : render(); document.readyState === 'loading' ? document.addEventListener('DOMContentLoaded', render) : render();
@@ -130,7 +130,7 @@ class FlasherPlugin extends AbstractPlugin {
notification.classList.add(...`fl-container${options.rtl ? ' fl-rtl' : ''}`.split(' ')); notification.classList.add(...`fl-container${options.rtl ? ' fl-rtl' : ''}`.split(' '));
options.direction === 'bottom' ? container.append(notification) : container.prepend(notification); options.direction === 'bottom' ? container.append(notification) : container.prepend(notification);
requestAnimationFrame(() => notification.classList.add('fl-show')); requestAnimationFrame(() => notification.classList.add('fl-show'));
(_a = notification.querySelector('.fl-close')) === null || _a === void 0 ? void 0 : _a.addEventListener('click', (event) => { (_a = notification.querySelector('.fl-close')) === null || _a === undefined ? undefined : _a.addEventListener('click', (event) => {
event.stopPropagation(); event.stopPropagation();
this.removeNotification(notification); this.removeNotification(notification);
}); });
@@ -166,7 +166,7 @@ class FlasherPlugin extends AbstractPlugin {
notification.classList.remove('fl-show'); notification.classList.remove('fl-show');
notification.ontransitionend = () => { notification.ontransitionend = () => {
var _a, _b; var _a, _b;
!((_a = notification.parentElement) === null || _a === void 0 ? void 0 : _a.hasChildNodes()) && ((_b = notification.parentElement) === null || _b === void 0 ? void 0 : _b.remove()); !((_a = notification.parentElement) === null || _a === undefined ? undefined : _a.hasChildNodes()) && ((_b = notification.parentElement) === null || _b === undefined ? undefined : _b.remove());
notification.remove(); notification.remove();
}; };
} }
@@ -202,7 +202,7 @@ class Flasher extends AbstractPlugin {
this.themes = new Map(); this.themes = new Map();
} }
render(response) { render(response) {
return __awaiter(this, void 0, void 0, function* () { return __awaiter(this, undefined, undefined, function* () {
const resolved = this.resolveResponse(response); const resolved = this.resolveResponse(response);
yield this.addAssets([ yield this.addAssets([
{ {
@@ -287,7 +287,7 @@ class Flasher extends AbstractPlugin {
if (!match) { if (!match) {
return func; return func;
} }
const args = (_b = (_a = match[2]) === null || _a === void 0 ? void 0 : _a.split(',').map((arg) => arg.trim())) !== null && _b !== void 0 ? _b : []; const args = (_b = (_a = match[2]) === null || _a === undefined ? undefined : _a.split(',').map((arg) => arg.trim())) !== null && _b !== undefined ? _b : [];
let body = match[3].trim(); let body = match[3].trim();
if (!body.startsWith('{')) { if (!body.startsWith('{')) {
body = `{ return ${body}; }`; body = `{ return ${body}; }`;
@@ -316,7 +316,7 @@ class Flasher extends AbstractPlugin {
return alias === 'flasher' ? 'theme.flasher' : alias; return alias === 'flasher' ? 'theme.flasher' : alias;
} }
addAssets(assets) { addAssets(assets) {
return __awaiter(this, void 0, void 0, function* () { return __awaiter(this, undefined, undefined, function* () {
for (const { urls, nonce, type } of assets) { for (const { urls, nonce, type } of assets) {
for (const url of urls) { for (const url of urls) {
yield this.loadAsset(url, nonce, type); yield this.loadAsset(url, nonce, type);
@@ -325,7 +325,7 @@ class Flasher extends AbstractPlugin {
}); });
} }
loadAsset(url, nonce, type) { loadAsset(url, nonce, type) {
return __awaiter(this, void 0, void 0, function* () { return __awaiter(this, undefined, undefined, function* () {
if (document.querySelector(`${type === 'style' ? 'link' : 'script'}[src="${url}"]`)) { if (document.querySelector(`${type === 'style' ? 'link' : 'script'}[src="${url}"]`)) {
return; return;
} }
@@ -354,7 +354,7 @@ class Flasher extends AbstractPlugin {
return; return;
} }
plugin = plugin.replace('theme.', ''); plugin = plugin.replace('theme.', '');
const styles = ((_a = this.themes.get(plugin)) === null || _a === void 0 ? void 0 : _a.styles) || []; const styles = ((_a = this.themes.get(plugin)) === null || _a === undefined ? undefined : _a.styles) || [];
response.styles = Array.from(new Set([...response.styles, ...styles])); response.styles = Array.from(new Set([...response.styles, ...styles]));
} }
} }
+9 -9
View File
@@ -105,8 +105,8 @@
renderEnvelopes(envelopes) { renderEnvelopes(envelopes) {
const render = () => envelopes.forEach((envelope) => { const render = () => envelopes.forEach((envelope) => {
var _a, _b, _c, _d; var _a, _b, _c, _d;
const typeTimeout = (_b = (_a = this.options.timeout) !== null && _a !== void 0 ? _a : this.options.timeouts[envelope.type]) !== null && _b !== void 0 ? _b : 5000; const typeTimeout = (_b = (_a = this.options.timeout) !== null && _a !== undefined ? _a : this.options.timeouts[envelope.type]) !== null && _b !== undefined ? _b : 5000;
const options = Object.assign(Object.assign(Object.assign({}, this.options), envelope.options), { timeout: (_c = envelope.options.timeout) !== null && _c !== void 0 ? _c : typeTimeout, escapeHtml: ((_d = envelope.options.escapeHtml) !== null && _d !== void 0 ? _d : this.options.escapeHtml) }); const options = Object.assign(Object.assign(Object.assign({}, this.options), envelope.options), { timeout: (_c = envelope.options.timeout) !== null && _c !== undefined ? _c : typeTimeout, escapeHtml: ((_d = envelope.options.escapeHtml) !== null && _d !== undefined ? _d : this.options.escapeHtml) });
this.addToContainer(this.createContainer(options), envelope, options); this.addToContainer(this.createContainer(options), envelope, options);
}); });
document.readyState === 'loading' ? document.addEventListener('DOMContentLoaded', render) : render(); document.readyState === 'loading' ? document.addEventListener('DOMContentLoaded', render) : render();
@@ -136,7 +136,7 @@
notification.classList.add(...`fl-container${options.rtl ? ' fl-rtl' : ''}`.split(' ')); notification.classList.add(...`fl-container${options.rtl ? ' fl-rtl' : ''}`.split(' '));
options.direction === 'bottom' ? container.append(notification) : container.prepend(notification); options.direction === 'bottom' ? container.append(notification) : container.prepend(notification);
requestAnimationFrame(() => notification.classList.add('fl-show')); requestAnimationFrame(() => notification.classList.add('fl-show'));
(_a = notification.querySelector('.fl-close')) === null || _a === void 0 ? void 0 : _a.addEventListener('click', (event) => { (_a = notification.querySelector('.fl-close')) === null || _a === undefined ? undefined : _a.addEventListener('click', (event) => {
event.stopPropagation(); event.stopPropagation();
this.removeNotification(notification); this.removeNotification(notification);
}); });
@@ -172,7 +172,7 @@
notification.classList.remove('fl-show'); notification.classList.remove('fl-show');
notification.ontransitionend = () => { notification.ontransitionend = () => {
var _a, _b; var _a, _b;
!((_a = notification.parentElement) === null || _a === void 0 ? void 0 : _a.hasChildNodes()) && ((_b = notification.parentElement) === null || _b === void 0 ? void 0 : _b.remove()); !((_a = notification.parentElement) === null || _a === undefined ? undefined : _a.hasChildNodes()) && ((_b = notification.parentElement) === null || _b === undefined ? undefined : _b.remove());
notification.remove(); notification.remove();
}; };
} }
@@ -208,7 +208,7 @@
this.themes = new Map(); this.themes = new Map();
} }
render(response) { render(response) {
return __awaiter(this, void 0, void 0, function* () { return __awaiter(this, undefined, undefined, function* () {
const resolved = this.resolveResponse(response); const resolved = this.resolveResponse(response);
yield this.addAssets([ yield this.addAssets([
{ {
@@ -293,7 +293,7 @@
if (!match) { if (!match) {
return func; return func;
} }
const args = (_b = (_a = match[2]) === null || _a === void 0 ? void 0 : _a.split(',').map((arg) => arg.trim())) !== null && _b !== void 0 ? _b : []; const args = (_b = (_a = match[2]) === null || _a === undefined ? undefined : _a.split(',').map((arg) => arg.trim())) !== null && _b !== undefined ? _b : [];
let body = match[3].trim(); let body = match[3].trim();
if (!body.startsWith('{')) { if (!body.startsWith('{')) {
body = `{ return ${body}; }`; body = `{ return ${body}; }`;
@@ -322,7 +322,7 @@
return alias === 'flasher' ? 'theme.flasher' : alias; return alias === 'flasher' ? 'theme.flasher' : alias;
} }
addAssets(assets) { addAssets(assets) {
return __awaiter(this, void 0, void 0, function* () { return __awaiter(this, undefined, undefined, function* () {
for (const { urls, nonce, type } of assets) { for (const { urls, nonce, type } of assets) {
for (const url of urls) { for (const url of urls) {
yield this.loadAsset(url, nonce, type); yield this.loadAsset(url, nonce, type);
@@ -331,7 +331,7 @@
}); });
} }
loadAsset(url, nonce, type) { loadAsset(url, nonce, type) {
return __awaiter(this, void 0, void 0, function* () { return __awaiter(this, undefined, undefined, function* () {
if (document.querySelector(`${type === 'style' ? 'link' : 'script'}[src="${url}"]`)) { if (document.querySelector(`${type === 'style' ? 'link' : 'script'}[src="${url}"]`)) {
return; return;
} }
@@ -360,7 +360,7 @@
return; return;
} }
plugin = plugin.replace('theme.', ''); plugin = plugin.replace('theme.', '');
const styles = ((_a = this.themes.get(plugin)) === null || _a === void 0 ? void 0 : _a.styles) || []; const styles = ((_a = this.themes.get(plugin)) === null || _a === undefined ? undefined : _a.styles) || [];
response.styles = Array.from(new Set([...response.styles, ...styles])); response.styles = Array.from(new Set([...response.styles, ...styles]));
} }
} }
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -79,7 +79,7 @@ class AbstractPlugin {
class SweetAlertPlugin extends AbstractPlugin { class SweetAlertPlugin extends AbstractPlugin {
renderEnvelopes(envelopes) { renderEnvelopes(envelopes) {
return __awaiter(this, void 0, void 0, function* () { return __awaiter(this, undefined, undefined, function* () {
for (const envelope of envelopes) { for (const envelope of envelopes) {
yield this.renderEnvelope(envelope); yield this.renderEnvelope(envelope);
} }
@@ -90,17 +90,17 @@ class SweetAlertPlugin extends AbstractPlugin {
document.addEventListener('turbo:before-cache', () => { document.addEventListener('turbo:before-cache', () => {
var _a; var _a;
if (Swal.isVisible()) { if (Swal.isVisible()) {
(_a = Swal.getPopup()) === null || _a === void 0 ? void 0 : _a.style.setProperty('animation-duration', '0ms'); (_a = Swal.getPopup()) === null || _a === undefined ? undefined : _a.style.setProperty('animation-duration', '0ms');
Swal.close(); Swal.close();
} }
}); });
} }
renderEnvelope(envelope) { renderEnvelope(envelope) {
return __awaiter(this, void 0, void 0, function* () { return __awaiter(this, undefined, undefined, function* () {
var _a; var _a;
let { options } = envelope; let { options } = envelope;
options = Object.assign(Object.assign({}, options), { icon: ((options === null || options === void 0 ? void 0 : options.icon) || envelope.type), text: ((options === null || options === void 0 ? void 0 : options.text) || envelope.message) }); options = Object.assign(Object.assign({}, options), { icon: ((options === null || options === undefined ? undefined : options.icon) || envelope.type), text: ((options === null || options === undefined ? undefined : options.text) || envelope.message) });
yield ((_a = this.sweetalert) === null || _a === void 0 ? void 0 : _a.fire(options).then((promise) => { yield ((_a = this.sweetalert) === null || _a === undefined ? undefined : _a.fire(options).then((promise) => {
window.dispatchEvent(new CustomEvent('flasher:sweetalert:promise', { detail: { window.dispatchEvent(new CustomEvent('flasher:sweetalert:promise', { detail: {
promise, promise,
envelope, envelope,
+5 -5
View File
@@ -82,7 +82,7 @@
class SweetAlertPlugin extends AbstractPlugin { class SweetAlertPlugin extends AbstractPlugin {
renderEnvelopes(envelopes) { renderEnvelopes(envelopes) {
return __awaiter(this, void 0, void 0, function* () { return __awaiter(this, undefined, undefined, function* () {
for (const envelope of envelopes) { for (const envelope of envelopes) {
yield this.renderEnvelope(envelope); yield this.renderEnvelope(envelope);
} }
@@ -93,17 +93,17 @@
document.addEventListener('turbo:before-cache', () => { document.addEventListener('turbo:before-cache', () => {
var _a; var _a;
if (Swal.isVisible()) { if (Swal.isVisible()) {
(_a = Swal.getPopup()) === null || _a === void 0 ? void 0 : _a.style.setProperty('animation-duration', '0ms'); (_a = Swal.getPopup()) === null || _a === undefined ? undefined : _a.style.setProperty('animation-duration', '0ms');
Swal.close(); Swal.close();
} }
}); });
} }
renderEnvelope(envelope) { renderEnvelope(envelope) {
return __awaiter(this, void 0, void 0, function* () { return __awaiter(this, undefined, undefined, function* () {
var _a; var _a;
let { options } = envelope; let { options } = envelope;
options = Object.assign(Object.assign({}, options), { icon: ((options === null || options === void 0 ? void 0 : options.icon) || envelope.type), text: ((options === null || options === void 0 ? void 0 : options.text) || envelope.message) }); options = Object.assign(Object.assign({}, options), { icon: ((options === null || options === undefined ? undefined : options.icon) || envelope.type), text: ((options === null || options === undefined ? undefined : options.text) || envelope.message) });
yield ((_a = this.sweetalert) === null || _a === void 0 ? void 0 : _a.fire(options).then((promise) => { yield ((_a = this.sweetalert) === null || _a === undefined ? undefined : _a.fire(options).then((promise) => {
window.dispatchEvent(new CustomEvent('flasher:sweetalert:promise', { detail: { window.dispatchEvent(new CustomEvent('flasher:sweetalert:promise', { detail: {
promise, promise,
envelope, envelope,