Skip to content

Commit c33c6d2

Browse files
committed
Upgrade FlatBuffers to v25.9.23. Use flatc --ts and then transpile to JS
1 parent 1c3bbed commit c33c6d2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+3315
-3995
lines changed

eslint.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ import { Linter } from 'eslint';
22

33
/** @type {Linter.Config} */
44
const config = [
5+
{
6+
ignores: ['node_modules/', 'build/', 'dist/', 'coverage/', 'features/support/osrm/'],
7+
},
58
{
69
files: ["**/*.js"],
710
languageOptions: {
@@ -25,7 +28,6 @@ const config = [
2528
'prefer-template': 'error',
2629
'prefer-arrow-callback': 'error',
2730
},
28-
ignores: ['node_modules/', 'build/', 'dist/', 'coverage/', 'features/support/fbresult_generated.js'],
2931
},
3032
];
3133

features/step_definitions/distance_matrix.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import util from 'util';
33

44
import flatbuffers from 'flatbuffers';
5-
import { osrm } from '../support/fbresult_generated.js';
5+
import * as osrm from '../support/osrm/engine/api/fbresult.js';
66
const FBResult = osrm.engine.api.fbresult.FBResult;
77
import { When } from '@cucumber/cucumber';
88

features/step_definitions/nearest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import util from 'util';
33

44
import flatbuffers from 'flatbuffers';
5-
import { osrm } from '../support/fbresult_generated.js';
5+
import * as osrm from '../support/osrm/engine/api/fbresult.js';
66
const FBResult = osrm.engine.api.fbresult.FBResult;
77
import { When } from '@cucumber/cucumber';
88

0 commit comments

Comments
 (0)