Skip to content

Commit

Permalink
Bump esbuild from 0.8.57 to 0.9.2 (#859)
Browse files Browse the repository at this point in the history
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Huayang Guo <huayang@coda.io>
  • Loading branch information
dependabot[bot] and huayang-codaio authored Mar 17, 2021
1 parent b03c476 commit 5d589d9
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ compile:
--bundle \
--outfile=${ROOTDIR}/dist/testing/bundle_execution_helper_bundle.js \
--format=cjs \
--banner="'use strict';"
--banner:js="'use strict';"

.PHONY: docs
docs:
Expand Down
2 changes: 1 addition & 1 deletion cli/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export async function build(manifestFile: string, compiler?: string): Promise<st

export async function compilePackBundleESBuild(bundleFilename: string, entrypoint: string) {
const options: esbuild.BuildOptions = {
banner: "'use strict';",
banner: {js: "'use strict';"},
bundle: true,
entryPoints: [entrypoint],
outfile: bundleFilename,
Expand Down
2 changes: 1 addition & 1 deletion dist/cli/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ async function build(manifestFile, compiler) {
exports.build = build;
async function compilePackBundleESBuild(bundleFilename, entrypoint) {
const options = {
banner: "'use strict';",
banner: { js: "'use strict';" },
bundle: true,
entryPoints: [entrypoint],
outfile: bundleFilename,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"client-oauth2": "^4.3.3",
"clone": "^2.1.2",
"es6-promise": "^4.2.8",
"esbuild": "^0.8.57",
"esbuild": "^0.9.2",
"express": "4.17.1",
"isolated-vm": "^3.3.10",
"isomorphic-fetch": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion test/bundle_execution_helper_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ describe('Bundle Execution Helper', () => {
it('should bundle and run in an IVM context', async () => {
const outputFilePath = 'dist/test/bundle_execution_helper_bundle.js';
const options: esbuild.BuildOptions = {
banner: "'use strict';",
banner: {js: "'use strict';"},
bundle: true,
entryPoints: [`./testing/bundle_execution_helper.js`],
outfile: outputFilePath,
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1134,10 +1134,10 @@ es6-promise@^4.2.8:
resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-4.2.8.tgz#4eb21594c972bc40553d276e510539143db53e0a"
integrity sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w==

esbuild@^0.8.57:
version "0.8.57"
resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.8.57.tgz#a42d02bc2b57c70bcd0ef897fe244766bb6dd926"
integrity sha512-j02SFrUwFTRUqiY0Kjplwjm1psuzO1d6AjaXKuOR9hrY0HuPsT6sV42B6myW34h1q4CRy+Y3g4RU/cGJeI/nNA==
esbuild@^0.9.2:
version "0.9.2"
resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.9.2.tgz#7e9fde247c913ed8ee059e2648b0c53f7d00abe5"
integrity sha512-xE3oOILjnmN8PSjkG3lT9NBbd1DbxNqolJ5qNyrLhDWsFef3yTp/KTQz1C/x7BYFKbtrr9foYtKA6KA1zuNAUQ==

escalade@^3.1.1:
version "3.1.1"
Expand Down

0 comments on commit 5d589d9

Please sign in to comment.