Skip to content

Commit f8a0a63

Browse files
committed
Merge remote-tracking branch 'origin/dev' into dev
2 parents 1a34618 + 662b1d3 commit f8a0a63

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

packages/@vue/cli-plugin-eslint/__tests__/eslintPlugin.spec.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,17 @@ test('should work', async () => {
7272
let isFirstMsg = true
7373
server.stdout.on('data', data => {
7474
data = data.toString()
75-
if (data.match(/Compiled with \d warning/)) {
75+
if (isFirstMsg) {
7676
// should fail on start
77-
expect(isFirstMsg).toBe(true)
77+
expect(data).toMatch(/Compiled with \d warning/)
7878
isFirstMsg = false
79+
7980
// fix it
8081
write('src/App.vue', app)
8182
} else if (data.match(/Compiled successfully/)) {
82-
// should compile on 2nd update
83-
expect(isFirstMsg).toBe(false)
83+
// should compile on the subsequent update
84+
// (note: in CI environment this may not be the exact 2nd update,
85+
// so we use data.match as a termination condition rather than a test case)
8486
server.stdin.write('close')
8587
done()
8688
}

packages/@vue/cli-service/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue/cli-service",
3-
"version": "3.1.2",
3+
"version": "3.1.3",
44
"description": "local service for vue-cli projects",
55
"main": "lib/Service.js",
66
"bin": {
@@ -30,7 +30,7 @@
3030
"acorn-walk": "^6.1.0",
3131
"address": "^1.0.3",
3232
"autoprefixer": "^8.6.5",
33-
"cache-loader": "1.2.2",
33+
"cache-loader": "^1.2.5",
3434
"case-sensitive-paths-webpack-plugin": "^2.1.2",
3535
"chalk": "^2.4.1",
3636
"clipboardy": "^1.2.3",
@@ -65,7 +65,7 @@
6565
"thread-loader": "^1.2.0",
6666
"url-loader": "^1.1.2",
6767
"vue-loader": "^15.4.2",
68-
"webpack": "^4.23.1",
68+
"webpack": "^4.18.1",
6969
"webpack-bundle-analyzer": "^3.0.3",
7070
"webpack-chain": "^4.11.0",
7171
"webpack-dev-server": "^3.1.10",

0 commit comments

Comments
 (0)