Skip to content

Commit

Permalink
Replaced deprecated "assert" with "with". (#2654)
Browse files Browse the repository at this point in the history
- The "assert" was removed in NodeJS 22. Instead "with" should be used. This was added in v17.1.0, v16.14.0.
Signed-off-by: Sergey Markov <mar.ser.dlx@gmail.com>
  • Loading branch information
mars-dlx authored Sep 12, 2024
1 parent fb7fd81 commit 66b7fbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/demo-app/esbuild.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import process from 'node:process';
import fs from 'node:fs';
import {spawn} from 'node:child_process';
import {join} from 'node:path';
import KeplerPackage from '../../package.json' assert {type: 'json'};
import KeplerPackage from '../../package.json' with {type: 'json'};

const args = process.argv;
const LIB_DIR = '../../';
Expand Down

0 comments on commit 66b7fbd

Please sign in to comment.