mirror of
https://github.com/searxng/searxng.git
synced 2026-08-10 17:21:26 +00:00
Compare commits
3 Commits
master
...
2497b94187
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2497b94187 | ||
|
|
76f423785d | ||
|
|
7e30ec47bf |
@@ -1,2 +1,4 @@
|
|||||||
python 3.12.0
|
nodejs 23.5.0
|
||||||
shellcheck 0.9.0
|
python 3.13.1
|
||||||
|
shellcheck 0.10.0
|
||||||
|
sqlite 3.47.2
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"eslint": "^9.0.0",
|
"eslint": "^9.17.0",
|
||||||
"pyright": "^1.1.329"
|
"pyright": "^1.1.391"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"clean": "rm -Rf node_modules package-lock.json"
|
"clean": "rm -Rf node_modules package-lock.json"
|
||||||
|
|||||||
@@ -1,28 +0,0 @@
|
|||||||
{
|
|
||||||
"env": {
|
|
||||||
"browser": true,
|
|
||||||
"es2021": true,
|
|
||||||
"node": true
|
|
||||||
},
|
|
||||||
"extends": "eslint:recommended",
|
|
||||||
"parserOptions": {
|
|
||||||
"ecmaVersion": 12
|
|
||||||
},
|
|
||||||
"rules": {
|
|
||||||
"indent": ["error", 2],
|
|
||||||
"keyword-spacing": ["error", { "before": true, "after": true }],
|
|
||||||
"no-trailing-spaces": 2,
|
|
||||||
"space-before-function-paren": ["error", "always"],
|
|
||||||
"space-infix-ops": "error",
|
|
||||||
"comma-spacing": ["error", { "before": false, "after": true }],
|
|
||||||
"brace-style": ["error", "1tbs", { "allowSingleLine": true }],
|
|
||||||
"curly": ["error", "multi-line"],
|
|
||||||
"block-spacing": ["error", "always"],
|
|
||||||
"dot-location": ["error", "property"],
|
|
||||||
"key-spacing": ["error", { "beforeColon": false, "afterColon": true }],
|
|
||||||
"spaced-comment": ["error", "always", {
|
|
||||||
"line": { "markers": ["*package", "!", "/", ",", "="] },
|
|
||||||
"block": { "balanced": true, "markers": ["*package", "!", ",", ":", "::", "flow-include"], "exceptions": ["*"] }
|
|
||||||
}]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
1
searx/static/themes/simple/.gitignore
vendored
1
searx/static/themes/simple/.gitignore
vendored
@@ -1,2 +1 @@
|
|||||||
/node_modules
|
/node_modules
|
||||||
package-lock.json
|
|
||||||
|
|||||||
68
searx/static/themes/simple/eslint.config.mjs
Normal file
68
searx/static/themes/simple/eslint.config.mjs
Normal file
@@ -0,0 +1,68 @@
|
|||||||
|
import globals from "globals";
|
||||||
|
import path from "node:path";
|
||||||
|
import { fileURLToPath } from "node:url";
|
||||||
|
import js from "@eslint/js";
|
||||||
|
import { FlatCompat } from "@eslint/eslintrc";
|
||||||
|
|
||||||
|
const __filename = fileURLToPath(import.meta.url);
|
||||||
|
const __dirname = path.dirname(__filename);
|
||||||
|
const compat = new FlatCompat({
|
||||||
|
baseDirectory: __dirname,
|
||||||
|
recommendedConfig: js.configs.recommended,
|
||||||
|
allConfig: js.configs.all
|
||||||
|
});
|
||||||
|
|
||||||
|
export default [...compat.extends("eslint:recommended"), {
|
||||||
|
languageOptions: {
|
||||||
|
globals: {
|
||||||
|
...globals.browser,
|
||||||
|
...globals.node,
|
||||||
|
},
|
||||||
|
|
||||||
|
ecmaVersion: 12,
|
||||||
|
sourceType: "commonjs",
|
||||||
|
},
|
||||||
|
|
||||||
|
rules: {
|
||||||
|
indent: ["error", 2],
|
||||||
|
|
||||||
|
"keyword-spacing": ["error", {
|
||||||
|
before: true,
|
||||||
|
after: true,
|
||||||
|
}],
|
||||||
|
|
||||||
|
"no-trailing-spaces": 2,
|
||||||
|
"space-before-function-paren": ["error", "always"],
|
||||||
|
"space-infix-ops": "error",
|
||||||
|
|
||||||
|
"comma-spacing": ["error", {
|
||||||
|
before: false,
|
||||||
|
after: true,
|
||||||
|
}],
|
||||||
|
|
||||||
|
"brace-style": ["error", "1tbs", {
|
||||||
|
allowSingleLine: true,
|
||||||
|
}],
|
||||||
|
|
||||||
|
curly: ["error", "multi-line"],
|
||||||
|
"block-spacing": ["error", "always"],
|
||||||
|
"dot-location": ["error", "property"],
|
||||||
|
|
||||||
|
"key-spacing": ["error", {
|
||||||
|
beforeColon: false,
|
||||||
|
afterColon: true,
|
||||||
|
}],
|
||||||
|
|
||||||
|
"spaced-comment": ["error", "always", {
|
||||||
|
line: {
|
||||||
|
markers: ["*package", "!", "/", ",", "="],
|
||||||
|
},
|
||||||
|
|
||||||
|
block: {
|
||||||
|
balanced: true,
|
||||||
|
markers: ["*package", "!", ",", ":", "::", "flow-include"],
|
||||||
|
exceptions: ["*"],
|
||||||
|
},
|
||||||
|
}],
|
||||||
|
},
|
||||||
|
}];
|
||||||
@@ -35,7 +35,7 @@ module.exports = function (grunt) {
|
|||||||
},
|
},
|
||||||
eslint: {
|
eslint: {
|
||||||
options: {
|
options: {
|
||||||
overrideConfigFile: '.eslintrc.json',
|
overrideConfigFile: 'eslint.config.mjs',
|
||||||
failOnError: true,
|
failOnError: true,
|
||||||
fix: grunt.option('fix')
|
fix: grunt.option('fix')
|
||||||
},
|
},
|
||||||
|
|||||||
9619
searx/static/themes/simple/package-lock.json
generated
Normal file
9619
searx/static/themes/simple/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,28 +1,28 @@
|
|||||||
{
|
{
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint": "^9.0.0",
|
"eslint": "^9.17.0",
|
||||||
"grunt": "~1.6.1",
|
"grunt": "^1.6.1",
|
||||||
"grunt-contrib-copy": "^1.0.0",
|
"grunt-contrib-copy": "^1.0.0",
|
||||||
"grunt-contrib-cssmin": "^5.0.0",
|
"grunt-contrib-cssmin": "^5.0.0",
|
||||||
"grunt-contrib-less": "~3.0.0",
|
"grunt-contrib-less": "^3.0.0",
|
||||||
"grunt-contrib-uglify": "~5.2.1",
|
"grunt-contrib-uglify": "^5.2.2",
|
||||||
"grunt-xmlmin": "~0.1.8",
|
"grunt-xmlmin": "^0.1.8",
|
||||||
"grunt-contrib-watch": "~1.1.0",
|
"grunt-contrib-watch": "^1.1.0",
|
||||||
"grunt-eslint": "^24.0.0",
|
"grunt-eslint": "^25.0.0",
|
||||||
"grunt-stylelint": "^0.16.0",
|
"grunt-stylelint": "^0.20.1",
|
||||||
"grunt-image": "^6.4.0",
|
"grunt-image": "^6.4.0",
|
||||||
"ionicons": "^7.1.0",
|
"ionicons": "^7.4.0",
|
||||||
"less": "^4.1.3",
|
"less": "^4.2.1",
|
||||||
"less-plugin-clean-css": "^1.5.1",
|
"less-plugin-clean-css": "^1.6.0",
|
||||||
"sharp": "^0.33.0",
|
"sharp": "^0.33.5",
|
||||||
"stylelint": "^13.13.1",
|
"stylelint": "^16.12.0",
|
||||||
"stylelint-config-standard": "^22.0.0",
|
"stylelint-config-standard": "^36.0.0",
|
||||||
"ejs": "^3.1.8",
|
"ejs": "^3.1.10",
|
||||||
"svgo": "^3.0.0"
|
"svgo": "^3.3.2"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"autocomplete-js": "2.7.1",
|
"autocomplete-js": "^2.7.1",
|
||||||
"leaflet": "^1.8.0",
|
"leaflet": "^1.9.4",
|
||||||
"normalize.css": "^8.0.1"
|
"normalize.css": "^8.0.1"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@@ -32,7 +32,7 @@
|
|||||||
"eslint": "grunt eslint",
|
"eslint": "grunt eslint",
|
||||||
"eslint-fix": "grunt eslint --fix",
|
"eslint-fix": "grunt eslint --fix",
|
||||||
"watch": "grunt watch",
|
"watch": "grunt watch",
|
||||||
"clean": "rm -Rf node_modules package-lock.json",
|
"clean": "rm -Rf node_modules",
|
||||||
"stylelint": "grunt stylelint",
|
"stylelint": "grunt stylelint",
|
||||||
"stylelint-fix": "grunt stylelint --fix"
|
"stylelint-fix": "grunt stylelint --fix"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,33 +14,16 @@
|
|||||||
border-right: 1.1em solid var(--color-loading-indicator);
|
border-right: 1.1em solid var(--color-loading-indicator);
|
||||||
border-bottom: 1.1em solid var(--color-loading-indicator);
|
border-bottom: 1.1em solid var(--color-loading-indicator);
|
||||||
border-left: 1.1em solid var(--color-loading-indicator-gap);
|
border-left: 1.1em solid var(--color-loading-indicator-gap);
|
||||||
-webkit-transform: translateZ(0);
|
|
||||||
-ms-transform: translateZ(0);
|
|
||||||
transform: translateZ(0);
|
transform: translateZ(0);
|
||||||
-webkit-animation: load8 1.1s infinite linear;
|
|
||||||
animation: load8 1.1s infinite linear;
|
animation: load8 1.1s infinite linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
@-webkit-keyframes load8 {
|
|
||||||
0% {
|
|
||||||
-webkit-transform: rotate(0deg);
|
|
||||||
transform: rotate(0deg);
|
|
||||||
}
|
|
||||||
|
|
||||||
100% {
|
|
||||||
-webkit-transform: rotate(360deg);
|
|
||||||
transform: rotate(360deg);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes load8 {
|
@keyframes load8 {
|
||||||
0% {
|
0% {
|
||||||
-webkit-transform: rotate(0deg);
|
|
||||||
transform: rotate(0deg);
|
transform: rotate(0deg);
|
||||||
}
|
}
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
-webkit-transform: rotate(360deg);
|
|
||||||
transform: rotate(360deg);
|
transform: rotate(360deg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user