diff --git a/package-lock.json b/package-lock.json index 6aad6b281..fd9fa1c34 100644 --- a/package-lock.json +++ b/package-lock.json @@ -300,6 +300,15 @@ "node": ">=16" } }, + "node_modules/@azure/msal-node/node_modules/@azure/msal-common": { + "version": "14.12.0", + "resolved": "https://registry.npmjs.org/@azure/msal-common/-/msal-common-14.12.0.tgz", + "integrity": "sha512-IDDXmzfdwmDkv4SSmMEyAniJf6fDu3FJ7ncOjlxkDuT85uSnLEhZi3fGZpoR7T4XZpOMx9teM9GXBgrfJgyeBw==", + "license": "MIT", + "engines": { + "node": ">=0.8.0" + } + }, "node_modules/@azure/opentelemetry-instrumentation-azure-sdk": { "version": "1.0.0-beta.5", "resolved": "https://registry.npmjs.org/@azure/opentelemetry-instrumentation-azure-sdk/-/opentelemetry-instrumentation-azure-sdk-1.0.0-beta.5.tgz", @@ -1035,6 +1044,7 @@ "version": "4.4.2", "resolved": "https://registry.npmjs.org/@js-sdsl/ordered-map/-/ordered-map-4.4.2.tgz", "integrity": "sha512-iUKgm52T8HOE/makSxjqoWhe95ZJA1/G1sYsGev2JDKUSS14KAgg1LHb+Ba+IPow0xflbnSkOsZcO08C7w1gYw==", + "license": "MIT", "funding": { "type": "opencollective", "url": "https://opencollective.com/js-sdsl" diff --git a/test/backCompatibility/RunBackCompatTests.js b/test/backCompatibility/runBackCompatTests.js similarity index 86% rename from test/backCompatibility/RunBackCompatTests.js rename to test/backCompatibility/runBackCompatTests.js index ff08f18e5..ec5caeb8f 100644 --- a/test/backCompatibility/RunBackCompatTests.js +++ b/test/backCompatibility/runBackCompatTests.js @@ -1,6 +1,6 @@ -const fs } from 'fs'); -const path } from 'path'); -const childProcess } from 'child_process'); +const fs = require('fs'); +const path = require('path'); +const childProcess = require('child_process'); function help() { console.log( @@ -35,7 +35,7 @@ function run(cmd, workingDir) { }); return { code: proc.status, - output: proc.output.map(v => String.fromCharCode.apply(null, v)).join("") + output: proc.output ? proc.output.map(v => String.fromCharCode.apply(null, v)).join("") : "" } } @@ -71,16 +71,16 @@ function main() { // OldTSC console.info("Testing compilation in app with TSC 4.0.0 and node 8 types..."); - run("npm uninstall applicationinsights", "./OldTSC"); - if (run("npm install", "./OldTSC").code !== 0) { + run("npm uninstall applicationinsights", "./oldTSC"); + if (run("npm install", "./oldTSC").code !== 0) { console.error("Could not install OldTSC dependencies!") return 1; } - if (run("npm install --no-save " + path, "./OldTSC").code !== 0) { + if (run("npm install --no-save " + path, "./oldTSC").code !== 0) { console.error("Could not install SDK in OldTSC!"); return 1; } - if(runLive("npm run build", "./OldTSC").code !== 0) { + if(runLive("npm run build", "./oldTSC").code !== 0) { console.error("Test FAILED!") return 1; } diff --git a/test/certs/generateKey.sh b/test/certs/generateKey.sh old mode 100644 new mode 100755