Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
- [email protected]
- [email protected]
- [email protected]
- [email protected]

build.js:
- Upgrade in rollup reduced unnecesary depth of bundle declaration so an update to the regex was required for our wrapping of the bundlne with an undefined check for desktopJS

Closes morganstanley#211
Closes morganstanley#212
Closes morganstanley#222
Closes morganstanley#223
  • Loading branch information
bingenito committed Feb 15, 2019
1 parent 446bf3b commit c4a09f1
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 59 deletions.
2 changes: 1 addition & 1 deletion .gulp/tasks/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module.exports = function (gulp, pkg, config, name, input, iffe, preventReload)
// Wrap umd with a condition checking if desktopJS is already defined to not overwrite it. This will allow
// preload registration of desktopJS without hosted web script includes redefining.
gulp.src(pkg.main)
.pipe(replace(/(\(function \(global, factory\)[\s\S]*}\)\)\);)([\s\S]*)/, "if (typeof desktopJS === \"undefined\") {$1}$2"))
.pipe(replace(/(\(function \(global, factory\)[\s\S]*}\)\);)([\s\S]*)/, "if (typeof desktopJS === \"undefined\") {$1}$2"))
.pipe(clean())
.pipe(gulp.dest(config.dest));
}
Expand Down
109 changes: 55 additions & 54 deletions package-lock.json

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

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,17 @@
"gulp-uglify": "^3.0.1",
"lerna": "^3.4.3",
"merge2": "^1.2.3",
"remap-istanbul": "^0.12.0",
"rollup": "^0.67.1",
"remap-istanbul": "^0.13.0",
"rollup": "^1.1.2",
"rollup-plugin-commonjs": "^9.2.0",
"rollup-plugin-replace": "^2.1.0",
"rollup-plugin-sourcemaps": "^0.4.2",
"rollup-plugin-typescript": "^1.0.0",
"run-sequence": "^2.2.1",
"tslint": "^5.11.0",
"tslint-microsoft-contrib": "^6.0.0",
"typedoc": "^0.13.0",
"typedoc-plugin-external-module-name": "^1.1.3",
"typedoc": "^0.14.2",
"typedoc-plugin-external-module-name": "^2.0.0",
"typescript": "^3.1.6"
}
}

0 comments on commit c4a09f1

Please sign in to comment.