11/*!
2- * Vue.js v2.6.7
2+ * Vue.js v2.6.8
33 * (c) 2014-2019 Evan You
44 * Released under the MIT License.
55 */
@@ -475,7 +475,7 @@ var config = ({
475475 * using https://www.w3.org/TR/html53/semantics-scripting.html#potentialcustomelementname
476476 * skipping \u10000-\uEFFFF due to it freezing up PhantomJS
477477 */
478- var unicodeLetters = ' a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD' ;
478+ var unicodeRegExp = / a - z A - Z \u00B7 \u00C0 - \u00D6 \u00D8 - \u00F6 \u00F8 - \u037D \u037F - \u1FFF \u200C - \u200D \u203F - \u2040 \u2070 - \u218F \u2C00 - \u2FEF \u3001 - \uD7FF \uF900 - \uFDCF \uFDF0 - \uFFFD / ;
479479
480480/**
481481 * Check if a string starts with $ or _
@@ -500,7 +500,7 @@ function def (obj, key, val, enumerable) {
500500/**
501501 * Parse simple path.
502502 */
503- var bailRE = new RegExp ( ( "[^" + unicodeLetters + ".$_\\d]" ) ) ;
503+ var bailRE = new RegExp ( ( "[^" + ( unicodeRegExp . source ) + ".$_\\d]" ) ) ;
504504function parsePath ( path ) {
505505 if ( bailRE . test ( path ) ) {
506506 return
@@ -1406,7 +1406,7 @@ function checkComponents (options) {
14061406}
14071407
14081408function validateComponentName ( name ) {
1409- if ( ! new RegExp ( ( "^[a-zA-Z][\\-\\.0-9_" + unicodeLetters + "]*$" ) ) . test ( name ) ) {
1409+ if ( ! new RegExp ( ( "^[a-zA-Z][\\-\\.0-9_" + ( unicodeRegExp . source ) + "]*$" ) ) . test ( name ) ) {
14101410 warn (
14111411 'Invalid component name: "' + name + '". Component names ' +
14121412 'should conform to valid custom element name in html5 specification.'
@@ -3620,17 +3620,21 @@ function resolveAsyncComponent (
36203620 return factory . resolved
36213621 }
36223622
3623+ var owner = currentRenderingInstance ;
3624+ if ( isDef ( factory . owners ) && factory . owners . indexOf ( owner ) === - 1 ) {
3625+ // already pending
3626+ factory . owners . push ( owner ) ;
3627+ }
3628+
36233629 if ( isTrue ( factory . loading ) && isDef ( factory . loadingComp ) ) {
36243630 return factory . loadingComp
36253631 }
36263632
3627- var owner = currentRenderingInstance ;
3628- if ( isDef ( factory . owners ) ) {
3629- // already pending
3630- factory . owners . push ( owner ) ;
3631- } else {
3633+ if ( ! isDef ( factory . owners ) ) {
36323634 var owners = factory . owners = [ owner ] ;
3633- var sync = true ;
3635+ var sync = true
3636+
3637+ ; ( owner ) . $on ( 'hook:destroyed' , function ( ) { return remove ( owners , owner ) ; } ) ;
36343638
36353639 var forceRender = function ( renderCompleted ) {
36363640 for ( var i = 0 , l = owners . length ; i < l ; i ++ ) {
@@ -5420,7 +5424,7 @@ Object.defineProperty(Vue, 'FunctionalRenderContext', {
54205424 value : FunctionalRenderContext
54215425} ) ;
54225426
5423- Vue . version = '2.6.7 ' ;
5427+ Vue . version = '2.6.8 ' ;
54245428
54255429/* */
54265430
@@ -9230,7 +9234,7 @@ var isNonPhrasingTag = makeMap(
92309234// Regular Expressions for parsing tags and attributes
92319235var attribute = / ^ \s * ( [ ^ \s " ' < > \/ = ] + ) (?: \s * ( = ) \s * (?: " ( [ ^ " ] * ) " + | ' ( [ ^ ' ] * ) ' + | ( [ ^ \s " ' = < > ` ] + ) ) ) ? / ;
92329236var dynamicArgAttribute = / ^ \s * ( (?: v - [ \w - ] + : | @ | : | # ) \[ [ ^ = ] + \] [ ^ \s " ' < > \/ = ] * ) (?: \s * ( = ) \s * (?: " ( [ ^ " ] * ) " + | ' ( [ ^ ' ] * ) ' + | ( [ ^ \s " ' = < > ` ] + ) ) ) ? / ;
9233- var ncname = "[a-zA-Z_][\\-\\.0-9_a-zA-Z" + unicodeLetters + "]*" ;
9237+ var ncname = "[a-zA-Z_][\\-\\.0-9_a-zA-Z" + ( unicodeRegExp . source ) + "]*" ;
92349238var qnameCapture = "((?:" + ncname + "\\:)?" + ncname + ")" ;
92359239var startTagOpen = new RegExp ( ( "^<" + qnameCapture ) ) ;
92369240var startTagClose = / ^ \s * ( \/ ? ) > / ;
@@ -9493,7 +9497,7 @@ function parseHTML (html, options) {
94939497 ) {
94949498 options . warn (
94959499 ( "tag <" + ( stack [ i ] . tag ) + "> has no matching end tag." ) ,
9496- { start : stack [ i ] . start }
9500+ { start : stack [ i ] . start , end : stack [ i ] . end }
94979501 ) ;
94989502 }
94999503 if ( options . end ) {
@@ -9530,7 +9534,7 @@ var dynamicArgRE = /^\[.*\]$/;
95309534
95319535var argRE = / : ( .* ) $ / ;
95329536var bindRE = / ^ : | ^ \. | ^ v - b i n d : / ;
9533- var modifierRE = / \. [ ^ . ] + / g;
9537+ var modifierRE = / \. [ ^ . \] ] + (? = [ ^ \] ] * $ ) / g;
95349538
95359539var slotRE = / ^ v - s l o t ( : | $ ) | ^ # / ;
95369540
@@ -9707,7 +9711,7 @@ function parse (
97079711 shouldDecodeNewlinesForHref : options . shouldDecodeNewlinesForHref ,
97089712 shouldKeepComment : options . comments ,
97099713 outputSourceRange : options . outputSourceRange ,
9710- start : function start ( tag , attrs , unary , start$1 ) {
9714+ start : function start ( tag , attrs , unary , start$1 , end ) {
97119715 // check namespace.
97129716 // inherit parent ns if there is one
97139717 var ns = ( currentParent && currentParent . ns ) || platformGetTagNamespace ( tag ) ;
@@ -9726,6 +9730,7 @@ function parse (
97269730 if ( process . env . NODE_ENV !== 'production' ) {
97279731 if ( options . outputSourceRange ) {
97289732 element . start = start$1 ;
9733+ element . end = end ;
97299734 element . rawAttrsMap = element . attrsList . reduce ( function ( cumulated , attr ) {
97309735 cumulated [ attr . name ] = attr ;
97319736 return cumulated
@@ -11215,7 +11220,7 @@ function genScopedSlots (
1121511220 // components with only scoped slots to skip forced updates from parent.
1121611221 // but in some cases we have to bail-out of this optimization
1121711222 // for example if the slot contains dynamic names, has v-if or v-for on them...
11218- var needsForceUpdate = Object . keys ( slots ) . some ( function ( key ) {
11223+ var needsForceUpdate = el . for || Object . keys ( slots ) . some ( function ( key ) {
1121911224 var slot = slots [ key ] ;
1122011225 return (
1122111226 slot . slotTargetDynamic ||
0 commit comments