From 4345fc5a649cbd1893bf280990c7a84929aeb993 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" Date: Mon, 27 May 2019 02:17:19 +0000 Subject: [PATCH 1/2] chore(deps): bump chrome-trace-event from 1.0.0 to 1.0.2 Bumps [chrome-trace-event](https://github.com/samccone/chrome-trace-event) from 1.0.0 to 1.0.2. - [Release notes](https://github.com/samccone/chrome-trace-event/releases) - [Changelog](https://github.com/samccone/chrome-trace-event/blob/master/CHANGES.md) - [Commits](https://github.com/samccone/chrome-trace-event/compare/1.0.0...v1.0.2) --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 46756beab84..06cd66c113e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1357,9 +1357,9 @@ chownr@^1.1.1: integrity sha512-j38EvO5+LHX84jlo6h4UzmOwi0UgW61WRyPtJz4qaadK5eY3BTS5TY/S1Stc3Uk2lIM6TPevAlULiEJwie860g== chrome-trace-event@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/chrome-trace-event/-/chrome-trace-event-1.0.0.tgz#45a91bd2c20c9411f0963b5aaeb9a1b95e09cc48" - integrity sha512-xDbVgyfDTT2piup/h8dK/y4QZfJRSa73bw1WZ8b4XM1o7fsFubUVGYcE+1ANtOzJJELGpYoG2961z0Z6OAld9A== + version "1.0.2" + resolved "https://registry.yarnpkg.com/chrome-trace-event/-/chrome-trace-event-1.0.2.tgz#234090ee97c7d4ad1a2c4beae27505deffc608a4" + integrity sha512-9e/zx1jw7B4CO+c/RXoCsfg/x1AfUBioy4owYH0bJprEYAx5hRFLRhWBqHAG57D0ZM4H7vxbP7bPe0VwhQRYDQ== dependencies: tslib "^1.9.0" From 96b97b559a8c8361301bfd65e00f42a26d1b6628 Mon Sep 17 00:00:00 2001 From: Tobias Koppers Date: Tue, 4 Jun 2019 12:09:09 +0200 Subject: [PATCH 2/2] Downstream bug fixed and we can remove workaround --- test/configCases/plugins/profiling-plugin/index.js | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/test/configCases/plugins/profiling-plugin/index.js b/test/configCases/plugins/profiling-plugin/index.js index c7b9eae8332..0e6426628c8 100644 --- a/test/configCases/plugins/profiling-plugin/index.js +++ b/test/configCases/plugins/profiling-plugin/index.js @@ -1,19 +1,21 @@ import "./test.json"; it("should generate a events.json file", () => { - var fs = require("fs"), - path = require("path"), + var fs = require("fs"), + path = require("path"), os = require("os"); expect(fs.existsSync(path.join(__dirname, "events.json"))).toBe(true); }); it("should have proper setup record inside of the json stream", () => { - var fs = require("fs"), - path = require("path"), - os = require("os"); + var fs = require("fs"), + path = require("path"), + os = require("os"); // convert json stream to valid - var source = JSON.parse(fs.readFileSync(path.join(__dirname, "events.json"), "utf-8").toString() + "{}]"); + var source = JSON.parse( + fs.readFileSync(path.join(__dirname, "events.json"), "utf-8") + ); expect(source[0].id).toEqual(1); });