Skip to content

Commit

Permalink
chore(deps): update dependency @types/node to v18.17.0 (#3513)
Browse files Browse the repository at this point in the history
* chore(deps): update dependency @types/node to v18.17.0

* chore: use correct URL type

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Håkon Flatval <hakon.flatval@cognite.com>
  • Loading branch information
renovate[bot] and haakonflatval-cognite authored Jul 27, 2023
1 parent f24bc83 commit 2027ec3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion viewer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"@types/jsdom": "21.1.1",
"@types/lodash": "4.14.195",
"@types/mixpanel-browser": "2.47.1",
"@types/node": "18.16.19",
"@types/node": "18.17.0",
"@types/random-seed": "0.3.3",
"@types/skmeans": "0.11.4",
"@types/stats": "0.16.30",
Expand Down
2 changes: 1 addition & 1 deletion viewer/packages/sector-loader/tests/mockSectorUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const modelIdentifier = 'some_model_identifier';

// https://blog.logrocket.com/alternatives-dirname-node-js-es-modules/
import url from 'url';
const __dirname = url.fileURLToPath(new URL('.', import.meta.url));
const __dirname = url.fileURLToPath(new url.URL('.', import.meta.url));

export function createWantedSectorMock(id: number = 1): IMock<WantedSector> {
const wantedFile = 'wanted_file.glb';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { RevealGeometryCollectionType } from '../src/types';

// https://blog.logrocket.com/alternatives-dirname-node-js-es-modules/
import url from 'url';
const __dirname = url.fileURLToPath(new URL('.', import.meta.url));
const __dirname = url.fileURLToPath(new url.URL('.', import.meta.url));

describe(GltfSectorParser.name, () => {
let parsedPrimitivesResult: { type: RevealGeometryCollectionType; geometryBuffer: THREE.BufferGeometry }[];
Expand Down
10 changes: 5 additions & 5 deletions viewer/yarn.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2027ec3

Please sign in to comment.