diff --git a/package.json b/package.json index ea2fc0d964..b045a2db2e 100644 --- a/package.json +++ b/package.json @@ -43,5 +43,9 @@ "globals": "^15.14.0", "jest": "^29.7.0", "prettier": "3.5.0" + }, + "engineStrict": false, + "engines": { + "node": ">=20.0.0" } } diff --git a/tools/.tool-versions b/tools/.tool-versions index 4f160b6287..2b26277022 100644 --- a/tools/.tool-versions +++ b/tools/.tool-versions @@ -1 +1,3 @@ golang 1.23.6 +nodejs 20.9.0 + diff --git a/tools/postman/Makefile b/tools/postman/Makefile index b3cc1ff450..e0c188d89c 100644 --- a/tools/postman/Makefile +++ b/tools/postman/Makefile @@ -19,7 +19,7 @@ transform_collection: .PHONY: transform_collection_js transform_collection_js: - node ./scripts/transform-postman.cjs + node ./scripts/transform-postman.js .PHONY: transform_collection_test transform_collection_test: diff --git a/tools/postman/scripts/transform-postman.cjs b/tools/postman/scripts/transform-postman.js similarity index 98% rename from tools/postman/scripts/transform-postman.cjs rename to tools/postman/scripts/transform-postman.js index 7184aaad10..97a51c0f07 100644 --- a/tools/postman/scripts/transform-postman.cjs +++ b/tools/postman/scripts/transform-postman.js @@ -1,6 +1,6 @@ -const fs = require('fs'); -const path = require('path'); -const _ = require('lodash'); +import fs from 'fs'; +import path from 'path'; +import _ from 'lodash'; /** # Prepare collection for Postman API