[TS] Upgrade dependencies

This commit is contained in:
Björn Harrtell 2024-09-07 09:31:21 +02:00
parent c7a8102b12
commit 48e57cdb0f
5 changed files with 940 additions and 857 deletions

View File

@ -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',
]
};

10
eslint.config.mjs Normal file
View File

@ -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,
];

View File

@ -35,11 +35,14 @@
},
"homepage": "https://google.github.io/flatbuffers/",
"devDependencies": {
"@types/node": "^20.10.4",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"@typescript-eslint/parser": "^6.13.2",
"esbuild": "^0.19.8",
"eslint": "^8.55.0",
"typescript": "5.3.3"
"@eslint/js": "^9.10.0",
"@types/node": "^20.16.5",
"@typescript-eslint/eslint-plugin": "^8.4.0",
"@typescript-eslint/parser": "^8.4.0",
"esbuild": "^0.23.1",
"eslint": "^9.10.0",
"globals": "^15.9.0",
"typescript": "5.5.4",
"typescript-eslint": "^8.4.0"
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,3 @@
/* eslint-disable @typescript-eslint/no-namespace */
import { Builder } from './flexbuffers/builder.js'
import { toReference } from './flexbuffers/reference.js'
export { toReference } from './flexbuffers/reference.js'