chore: bump dependencies (#4444)
This commit is contained in:
@@ -21,10 +21,22 @@ module.exports = {
|
||||
],
|
||||
rules: {
|
||||
semi: [2, "never"],
|
||||
"prettier/prettier": ["warn", { semi: false }],
|
||||
"prettier/prettier": ["warn", { semi: false, trailingComma: "es5" }],
|
||||
"import/no-named-as-default": "off",
|
||||
"no-undef": "off",
|
||||
"@typescript-eslint/no-explicit-any": "off",
|
||||
"@typescript-eslint/no-non-null-assertion": "off",
|
||||
"@typescript-eslint/no-unused-vars": [
|
||||
"error",
|
||||
{
|
||||
args: "all",
|
||||
argsIgnorePattern: "^_",
|
||||
caughtErrors: "all",
|
||||
caughtErrorsIgnorePattern: "^_",
|
||||
destructuredArrayIgnorePattern: "^_",
|
||||
varsIgnorePattern: "^_",
|
||||
ignoreRestSiblings: true,
|
||||
},
|
||||
],
|
||||
},
|
||||
}
|
||||
|
||||
@@ -12,14 +12,14 @@
|
||||
"types": "./dist/types/index.d.ts"
|
||||
},
|
||||
"./web": {
|
||||
"types": "./dist/web.d.ts",
|
||||
"import": "./dist/web.js",
|
||||
"require": "./dist/web.cjs",
|
||||
"types": "./dist/web.d.ts"
|
||||
"require": "./dist/web.cjs"
|
||||
},
|
||||
"./node": {
|
||||
"types": "./dist/node.d.ts",
|
||||
"import": "./dist/node.js",
|
||||
"require": "./dist/node.cjs",
|
||||
"types": "./dist/node.d.ts"
|
||||
"require": "./dist/node.cjs"
|
||||
}
|
||||
},
|
||||
"types": "./index.d.ts",
|
||||
@@ -53,34 +53,33 @@
|
||||
"dependencies": {
|
||||
"@hoppscotch/data": "workspace:^",
|
||||
"@types/lodash-es": "4.17.12",
|
||||
"fp-ts": "2.12.1",
|
||||
"fp-ts": "2.16.9",
|
||||
"lodash": "4.17.21",
|
||||
"lodash-es": "4.17.21"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@digitak/esrun": "3.2.8",
|
||||
"@relmify/jest-fp-ts": "2.0.2",
|
||||
"@types/jest": "27.5.2",
|
||||
"@types/lodash": "4.14.182",
|
||||
"@types/node": "17.0.45",
|
||||
"@typescript-eslint/eslint-plugin": "5.30.6",
|
||||
"@typescript-eslint/parser": "5.30.6",
|
||||
"eslint": "8.19.0",
|
||||
"eslint-config-prettier": "8.6.0",
|
||||
"eslint-plugin-prettier": "4.2.1",
|
||||
"io-ts": "2.2.16",
|
||||
"prettier": "2.8.4",
|
||||
"ts-jest": "27.1.5",
|
||||
"typescript": "4.9.5",
|
||||
"vite": "5.0.5",
|
||||
"vitest": "0.34.6"
|
||||
"@digitak/esrun": "3.2.26",
|
||||
"@relmify/jest-fp-ts": "2.1.1",
|
||||
"@types/jest": "29.5.13",
|
||||
"@types/lodash": "4.17.10",
|
||||
"@types/node": "22.7.5",
|
||||
"@typescript-eslint/eslint-plugin": "8.9.0",
|
||||
"@typescript-eslint/parser": "8.9.0",
|
||||
"eslint": "8.57.0",
|
||||
"eslint-config-prettier": "9.1.0",
|
||||
"eslint-plugin-prettier": "5.2.1",
|
||||
"io-ts": "2.2.21",
|
||||
"prettier": "3.3.3",
|
||||
"typescript": "5.5.4",
|
||||
"vite": "5.4.9",
|
||||
"vitest": "2.1.3"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"isolated-vm": "4.7.2"
|
||||
"isolated-vm": "5.0.1"
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
"isolated-vm": {
|
||||
"optional": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -44,7 +44,6 @@ const setEnv = (
|
||||
}
|
||||
} else if (indexInGlobal >= 0) {
|
||||
if ("value" in global[indexInGlobal]) {
|
||||
// eslint-disable-next-line @typescript-eslint/no-extra-semi
|
||||
;(global[indexInGlobal] as { value: string }).value = envValue
|
||||
}
|
||||
} else {
|
||||
@@ -219,14 +218,14 @@ export function preventCyclicObjects(
|
||||
|
||||
try {
|
||||
jsonString = JSON.stringify(obj)
|
||||
} catch (e) {
|
||||
} catch (_) {
|
||||
return E.left("Stringification failed")
|
||||
}
|
||||
|
||||
try {
|
||||
const parsedJson = JSON.parse(jsonString)
|
||||
return E.right(parsedJson)
|
||||
} catch (err) {
|
||||
} catch (_) {
|
||||
return E.left("Parsing failed")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user