Skip to content

Commit

Permalink
Task 14447552: Fix Component Governance vulnerabilities (#1839)
Browse files Browse the repository at this point in the history
  • Loading branch information
MSNev committed May 20, 2022
1 parent fd33bde commit 1622d0a
Show file tree
Hide file tree
Showing 29 changed files with 954 additions and 857 deletions.
2 changes: 1 addition & 1 deletion AISKU/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"sinon": "^7.3.1",
"@microsoft/api-extractor": "^7.18.1",
"finalhandler": "^1.1.1",
"grunt": "^1.4.1",
"grunt": "^1.5.3",
"grunt-cli": "^1.4.3",
"grunt-contrib-qunit": "^5.0.1",
"@nevware21/grunt-ts-plugin": "^0.4.3",
Expand Down
14 changes: 13 additions & 1 deletion AISKU/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ const browserRollupConfigFactory = (isProduction, libVersion = '2', format = 'um
freeze: false,
sourcemap: true
},
treeshake: {
propertyReadSideEffects: false,
moduleSideEffects: false,
tryCatchDeoptimization: false,
correctVarValueBeforeDeclaration: false
},
plugins: [
dynamicRemove(),
replace({
Expand Down Expand Up @@ -94,7 +100,13 @@ const nodeUmdRollupConfigFactory = (isProduction) => {
name: "Microsoft.ApplicationInsights",
extend: true,
freeze: false,
sourcemap: true,
sourcemap: true
},
treeshake: {
propertyReadSideEffects: false,
moduleSideEffects: false,
tryCatchDeoptimization: false,
correctVarValueBeforeDeclaration: false
},
plugins: [
dynamicRemove(),
Expand Down
2 changes: 1 addition & 1 deletion AISKULight/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@microsoft/applicationinsights-rollup-plugin-uglify3-js": "1.0.0",
"@microsoft/applicationinsights-rollup-es3": "1.1.3",
"@microsoft/api-extractor": "^7.18.1",
"grunt": "^1.4.1",
"grunt": "^1.5.3",
"grunt-cli": "^1.4.3",
"grunt-contrib-qunit": "^5.0.1",
"@nevware21/grunt-ts-plugin": "^0.4.3",
Expand Down
2 changes: 1 addition & 1 deletion channels/applicationinsights-channel-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"@microsoft/applicationinsights-rollup-es3": "1.1.3",
"@microsoft/api-extractor": "^7.18.1",
"@types/sinon": "4.3.3",
"grunt": "^1.4.1",
"grunt": "^1.5.3",
"grunt-cli": "^1.4.3",
"@nevware21/grunt-ts-plugin": "^0.4.3",
"@nevware21/grunt-eslint-ts": "^0.2.2",
Expand Down
2 changes: 1 addition & 1 deletion common/Tests/Framework/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"devDependencies": {
"@types/qunit": "^2.5.3",
"@types/sinon": "4.3.3",
"grunt": "^1.4.1",
"grunt": "^1.5.3",
"grunt-contrib-qunit": "^5.0.1",
"@nevware21/grunt-ts-plugin": "^0.4.3",
"@rollup/plugin-commonjs": "^18.0.0",
Expand Down
1,634 changes: 833 additions & 801 deletions common/config/rush/npm-shrinkwrap.json

Large diffs are not rendered by default.

41 changes: 33 additions & 8 deletions common/scripts/install-run-rush.js

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

47 changes: 26 additions & 21 deletions common/scripts/install-run.js

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

2 changes: 1 addition & 1 deletion extensions/applicationinsights-analytics-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@rollup/plugin-replace": "^2.3.3",
"rollup-plugin-cleanup": "^3.2.1",
"rollup": "^2.32.0",
"grunt": "^1.4.1",
"grunt": "^1.5.3",
"grunt-cli": "^1.4.3",
"grunt-contrib-qunit": "^5.0.1",
"@nevware21/grunt-ts-plugin": "^0.4.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"@rollup/plugin-replace": "^2.3.3",
"rollup-plugin-cleanup": "^3.2.1",
"rollup": "^2.32.0",
"grunt": "^1.4.1",
"grunt": "^1.5.3",
"grunt-cli": "^1.4.3",
"grunt-contrib-qunit": "^5.0.1",
"@nevware21/grunt-ts-plugin": "^0.4.3",
Expand Down
2 changes: 1 addition & 1 deletion extensions/applicationinsights-debugplugin-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@microsoft/api-extractor": "^7.18.1",
"typescript": "^4.3.4",
"tslib": "^2.0.0",
"grunt": "^1.4.1",
"grunt": "^1.5.3",
"grunt-cli": "^1.4.3",
"grunt-contrib-qunit": "^5.0.1",
"@nevware21/grunt-ts-plugin": "^0.4.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@microsoft/api-extractor": "^7.18.1",
"typescript": "^4.3.4",
"tslib": "^2.0.0",
"grunt": "^1.4.1",
"grunt": "^1.5.3",
"grunt-cli": "^1.4.3",
"grunt-contrib-qunit": "^5.0.1",
"@nevware21/grunt-ts-plugin": "^0.4.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@microsoft/api-extractor": "^7.18.1",
"typescript": "^4.3.4",
"tslib": "^2.0.0",
"grunt": "^1.4.1",
"grunt": "^1.5.3",
"grunt-cli": "^1.4.3",
"@nevware21/grunt-ts-plugin": "^0.4.3",
"@nevware21/grunt-eslint-ts": "^0.2.2",
Expand Down
2 changes: 1 addition & 1 deletion extensions/applicationinsights-properties-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@microsoft/api-extractor": "^7.18.1",
"typescript": "^4.3.4",
"tslib": "^2.0.0",
"grunt": "^1.4.1",
"grunt": "^1.5.3",
"grunt-cli": "^1.4.3",
"grunt-contrib-qunit": "^5.0.1",
"@nevware21/grunt-ts-plugin": "^0.4.3",
Expand Down
2 changes: 1 addition & 1 deletion extensions/applicationinsights-react-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@types/react": "^16.9.11",
"@types/react-dom": "^16.9.4",
"csstype": "~2.6.7",
"grunt": "^1.4.1",
"grunt": "^1.5.3",
"grunt-cli": "^1.4.3",
"jest": "^27.3.1",
"react": "^17.0.2",
Expand Down
2 changes: 1 addition & 1 deletion extensions/applicationinsights-react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@microsoft/ai-test-framework": "0.0.1",
"@microsoft/applicationinsights-rollup-es3": "1.1.3",
"@microsoft/api-extractor": "^7.18.1",
"grunt": "^1.4.1",
"grunt": "^1.5.3",
"grunt-cli": "^1.4.3",
"grunt-contrib-qunit": "^5.0.1",
"grunt-contrib-uglify": "^5.0.1",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
},
"homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
"devDependencies": {
"@microsoft/rush": "^5.63.0",
"@microsoft/rush": "^5.70.0",
"@nevware21/grunt-eslint-ts": "^0.2.2",
"@nevware21/grunt-ts-plugin": "^0.4.3",
"@typescript-eslint/eslint-plugin": "^4.28.0",
Expand All @@ -50,7 +50,7 @@
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-security": "^1.4.0",
"grunt": "^1.4.1",
"grunt": "^1.5.3",
"grunt-cli": "^1.4.3",
"grunt-contrib-connect": "^3.0.0",
"grunt-contrib-qunit": "^5.0.1",
Expand Down
4 changes: 2 additions & 2 deletions rush.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/rush/v5/rush.schema.json",

"npmVersion": "8.5.5",
"rushVersion": "5.63.0",
"npmVersion": "8.10.0",
"rushVersion": "5.70.0",
"projectFolderMaxDepth": 4,
"projects": [
{
Expand Down
2 changes: 1 addition & 1 deletion shared/AppInsightsCommon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@microsoft/applicationinsights-rollup-plugin-uglify3-js": "1.0.0",
"@microsoft/applicationinsights-rollup-es3": "1.1.3",
"@microsoft/api-extractor": "^7.18.1",
"grunt": "^1.4.1",
"grunt": "^1.5.3",
"grunt-cli": "^1.4.3",
"grunt-contrib-qunit": "^5.0.1",
"@nevware21/grunt-ts-plugin": "^0.4.3",
Expand Down
Loading

0 comments on commit 1622d0a

Please sign in to comment.