chore: update repo references

This commit is contained in:
Evan You
2022-01-18 16:43:59 +08:00
parent 9c304bfe79
commit ae4b0783d7
35 changed files with 1464 additions and 1555 deletions

View File

@@ -1015,7 +1015,7 @@ describe('compiler: parse', () => {
})
})
// https://github.com/vuejs/vue-next/issues/4251
// https://github.com/vuejs/core/issues/4251
test('class attribute should ignore whitespace when parsed', () => {
const ast = baseParse('<div class=" \n\t c \t\n "></div>')
const element = ast.children[0] as ElementNode

View File

@@ -19,7 +19,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/vuejs/vue-next.git",
"url": "git+https://github.com/vuejs/core.git",
"directory": "packages/compiler-core"
},
"keywords": [
@@ -28,9 +28,9 @@
"author": "Evan You",
"license": "MIT",
"bugs": {
"url": "https://github.com/vuejs/vue-next/issues"
"url": "https://github.com/vuejs/core/issues"
},
"homepage": "https://github.com/vuejs/vue-next/tree/master/packages/compiler-core#readme",
"homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-core#readme",
"dependencies": {
"@vue/shared": "3.2.27",
"@babel/parser": "^7.16.4",

View File

@@ -719,7 +719,7 @@ function parseAttributes(
const attr = parseAttribute(context, attributeNames)
// Trim whitespace between class
// https://github.com/vuejs/vue-next/issues/4251
// https://github.com/vuejs/core/issues/4251
if (
attr.type === NodeTypes.ATTRIBUTE &&
attr.value &&