Skip to content

Commit

Permalink
fix: replace deprecated 'assert' keywork
Browse files Browse the repository at this point in the history
to fix breakage of unitests in latest NodeJS versions ( >= 22.0.0)

Signed-off-by: Zvi Grinberg <[email protected]>
  • Loading branch information
zvigrinberg committed May 5, 2024
1 parent fabfb6e commit 15606f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {AnalysisReport} from '../generated/backend/AnalysisReport.js'
import analysis from './analysis.js'
import fs from 'node:fs'
import {getCustom} from "./tools.js";
import PackageJson from '../package.json' assert {type: 'json'};
import PackageJson from '../package.json' with { type: 'json'};

export default { AnalysisReport, componentAnalysis, stackAnalysis, validateToken }

Expand Down

0 comments on commit 15606f0

Please sign in to comment.