[TS] Upgrade dependencies
This commit is contained in:
parent
c7a8102b12
commit
48e57cdb0f
13
.eslintrc.js
13
.eslintrc.js
|
@ -1,13 +0,0 @@
|
||||||
/* eslint-env node */
|
|
||||||
|
|
||||||
module.exports = {
|
|
||||||
root: true,
|
|
||||||
parser: '@typescript-eslint/parser',
|
|
||||||
plugins: [
|
|
||||||
'@typescript-eslint',
|
|
||||||
],
|
|
||||||
extends: [
|
|
||||||
'eslint:recommended',
|
|
||||||
'plugin:@typescript-eslint/recommended',
|
|
||||||
]
|
|
||||||
};
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
import globals from "globals";
|
||||||
|
import pluginJs from "@eslint/js";
|
||||||
|
import tseslint from "typescript-eslint";
|
||||||
|
|
||||||
|
export default [
|
||||||
|
{files: ["**/*.{js,mjs,cjs,ts}"]},
|
||||||
|
{languageOptions: { globals: {...globals.browser, ...globals.node} }},
|
||||||
|
pluginJs.configs.recommended,
|
||||||
|
...tseslint.configs.recommended,
|
||||||
|
];
|
15
package.json
15
package.json
|
@ -35,11 +35,14 @@
|
||||||
},
|
},
|
||||||
"homepage": "https://google.github.io/flatbuffers/",
|
"homepage": "https://google.github.io/flatbuffers/",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^20.10.4",
|
"@eslint/js": "^9.10.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^6.13.2",
|
"@types/node": "^20.16.5",
|
||||||
"@typescript-eslint/parser": "^6.13.2",
|
"@typescript-eslint/eslint-plugin": "^8.4.0",
|
||||||
"esbuild": "^0.19.8",
|
"@typescript-eslint/parser": "^8.4.0",
|
||||||
"eslint": "^8.55.0",
|
"esbuild": "^0.23.1",
|
||||||
"typescript": "5.3.3"
|
"eslint": "^9.10.0",
|
||||||
|
"globals": "^15.9.0",
|
||||||
|
"typescript": "5.5.4",
|
||||||
|
"typescript-eslint": "^8.4.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
1746
pnpm-lock.yaml
1746
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
|
@ -1,4 +1,3 @@
|
||||||
/* eslint-disable @typescript-eslint/no-namespace */
|
|
||||||
import { Builder } from './flexbuffers/builder.js'
|
import { Builder } from './flexbuffers/builder.js'
|
||||||
import { toReference } from './flexbuffers/reference.js'
|
import { toReference } from './flexbuffers/reference.js'
|
||||||
export { toReference } from './flexbuffers/reference.js'
|
export { toReference } from './flexbuffers/reference.js'
|
||||||
|
|
Loading…
Reference in New Issue