Ticket #45145: package-update-4.6.1.patch
| File package-update-4.6.1.patch, 9.8 KB (added by , 7 years ago) |
|---|
-
package-lock.json
280 280 } 281 281 }, 282 282 "@wordpress/block-library": { 283 "version": "2.2. 8",284 "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-2.2. 8.tgz",285 "integrity": "sha512- 86DiBPFQwGDWf/s4OwmTp2q+VoeNhmW1OQXu/on+c5MHgJh7W2uFasO4bhmz31+U9KwAFHQr3pCcxaasdP17vQ==",283 "version": "2.2.9", 284 "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-2.2.9.tgz", 285 "integrity": "sha512-Do/3f1S6uPOywSSiCyeLW6//DEIy7cAyBIdtxcl1CssfpwCPiDbXq5OpyRf94FKV4J1C0qwJfF604IdcsCmsjw==", 286 286 "requires": { 287 287 "@babel/runtime": "^7.0.0", 288 288 "@wordpress/autop": "^2.0.2", 289 289 "@wordpress/blob": "^2.1.0", 290 "@wordpress/blocks": "^6.0. 2",290 "@wordpress/blocks": "^6.0.3", 291 291 "@wordpress/components": "^7.0.3", 292 292 "@wordpress/compose": "^3.0.0", 293 293 "@wordpress/core-data": "^2.0.14", 294 294 "@wordpress/data": "^4.0.1", 295 295 "@wordpress/deprecated": "^2.0.3", 296 "@wordpress/editor": "^9.0. 3",296 "@wordpress/editor": "^9.0.4", 297 297 "@wordpress/element": "^2.1.8", 298 298 "@wordpress/html-entities": "^2.0.3", 299 299 "@wordpress/i18n": "^3.1.0", … … 309 309 } 310 310 }, 311 311 "@wordpress/block-serialization-default-parser": { 312 "version": "2.0. 0",313 "resolved": "https://registry.npmjs.org/@wordpress/block-serialization-default-parser/-/block-serialization-default-parser-2.0. 0.tgz",314 "integrity": "sha512-W PQuQ2IsUOG9wMTst8CYW8c5NMM3iatTW2FinfZrHtH9R1g9qdQPt5Wv56U7eMeDACVOj35jG2oJtZCRaDyL7A==",312 "version": "2.0.1", 313 "resolved": "https://registry.npmjs.org/@wordpress/block-serialization-default-parser/-/block-serialization-default-parser-2.0.1.tgz", 314 "integrity": "sha512-Wd4yC9NgakDv39bPskA56GSGprZ5kXuhDff3hLR2HpOYS2TPHgT06UsfVfO1tJBOxrqcS/AHVj7FEFZqyyKPNg==", 315 315 "requires": { 316 316 "@babel/runtime": "^7.0.0" 317 317 } 318 318 }, 319 319 "@wordpress/block-serialization-spec-parser": { 320 "version": "2.0. 0",321 "resolved": "https://registry.npmjs.org/@wordpress/block-serialization-spec-parser/-/block-serialization-spec-parser-2.0. 0.tgz",322 "integrity": "sha512- l5N0o2Tkc4IcDhhMfX2W3KuEV/4F7TeitJEDtBpLYf7eRMIn3Uh6l5rPDmmuTDv7UFlMWTiA8z/oCpl13ZyBOw=="320 "version": "2.0.1", 321 "resolved": "https://registry.npmjs.org/@wordpress/block-serialization-spec-parser/-/block-serialization-spec-parser-2.0.1.tgz", 322 "integrity": "sha512-9bhi2/hThAH8MbFAalI3UMZiKmUih8Az5ZFRzZy9E+EO4BYW479DFU5l/jSelDh3fPhsPza9UZ0so3IrqqoCzg==" 323 323 }, 324 324 "@wordpress/blocks": { 325 "version": "6.0. 2",326 "resolved": "https://registry.npmjs.org/@wordpress/blocks/-/blocks-6.0. 2.tgz",327 "integrity": "sha512- Y9cIbxXnATT6NPBbT969awm/5iLL/fRYoQ2a0xoqqHdcI8kxPbMv2TdAE8RaM8eeYL17t6CmWdfP+jkAIVGMGg==",325 "version": "6.0.3", 326 "resolved": "https://registry.npmjs.org/@wordpress/blocks/-/blocks-6.0.3.tgz", 327 "integrity": "sha512-jBk9xa87b9xgizVXBBnCYMDju0Q871JyeSCwJyUvd77flrym7BjfNIIWVnwOlLxUYc6BeHxZCAi+JzybHLlvFA==", 328 328 "requires": { 329 329 "@babel/runtime": "^7.0.0", 330 330 "@wordpress/autop": "^2.0.2", 331 331 "@wordpress/blob": "^2.1.0", 332 "@wordpress/block-serialization-default-parser": "^2.0. 0",333 "@wordpress/block-serialization-spec-parser": "^2.0. 0",332 "@wordpress/block-serialization-default-parser": "^2.0.1", 333 "@wordpress/block-serialization-spec-parser": "^2.0.1", 334 334 "@wordpress/data": "^4.0.1", 335 335 "@wordpress/dom": "^2.0.7", 336 336 "@wordpress/element": "^2.1.8", … … 470 470 } 471 471 }, 472 472 "@wordpress/edit-post": { 473 "version": "3.1. 3",474 "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-3.1. 3.tgz",475 "integrity": "sha512- bA9OIkzInCLvf2YB4b6H0Ubghmv+AjOrCpZcp/5sdWLAg7hE6ZzZZ5Pz/2o5bBd+mTkalALJFMxgy7DKvH3WgQ==",473 "version": "3.1.4", 474 "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-3.1.4.tgz", 475 "integrity": "sha512-xZZ1x+JfMLTgCZkkdaJeYdsdEVQ+MkbRtweSdqfm4p4zdyId8wTg/n/ccqAAhFnQjoTufEkkchzRmmnoHozrcg==", 476 476 "requires": { 477 477 "@babel/runtime": "^7.0.0", 478 478 "@wordpress/a11y": "^2.0.2", 479 479 "@wordpress/api-fetch": "^2.2.5", 480 "@wordpress/block-library": "^2.2. 8",481 "@wordpress/blocks": "^6.0. 2",480 "@wordpress/block-library": "^2.2.9", 481 "@wordpress/blocks": "^6.0.3", 482 482 "@wordpress/components": "^7.0.3", 483 483 "@wordpress/compose": "^3.0.0", 484 484 "@wordpress/core-data": "^2.0.14", 485 485 "@wordpress/data": "^4.0.1", 486 "@wordpress/editor": "^9.0. 3",486 "@wordpress/editor": "^9.0.4", 487 487 "@wordpress/element": "^2.1.8", 488 "@wordpress/format-library": "^1.2. 6",488 "@wordpress/format-library": "^1.2.7", 489 489 "@wordpress/hooks": "^2.0.3", 490 490 "@wordpress/i18n": "^3.1.0", 491 491 "@wordpress/keycodes": "^2.0.5", … … 499 499 } 500 500 }, 501 501 "@wordpress/editor": { 502 "version": "9.0. 3",503 "resolved": "https://registry.npmjs.org/@wordpress/editor/-/editor-9.0. 3.tgz",504 "integrity": "sha512- Iz2B2JccsluiV0CdIkeH7sdl+3JcM7u9OqQSRC+0G2gfq8c09c98BE9myRUN16EVvL6zf025DzRU3hSx9r3AbQ==",502 "version": "9.0.4", 503 "resolved": "https://registry.npmjs.org/@wordpress/editor/-/editor-9.0.4.tgz", 504 "integrity": "sha512-adLq0C0DZFz5R1TNzqRttmcEHXz9Nv4VIBxyqFQbubfMAzq6LKv44YxNw0t9Pg2cZQr4V5gbu214H/0C67PFTQ==", 505 505 "requires": { 506 506 "@babel/runtime": "^7.0.0", 507 507 "@wordpress/a11y": "^2.0.2", 508 508 "@wordpress/api-fetch": "^2.2.5", 509 509 "@wordpress/blob": "^2.1.0", 510 "@wordpress/blocks": "^6.0. 2",510 "@wordpress/blocks": "^6.0.3", 511 511 "@wordpress/components": "^7.0.3", 512 512 "@wordpress/compose": "^3.0.0", 513 513 "@wordpress/core-data": "^2.0.14", … … 597 597 } 598 598 }, 599 599 "@wordpress/format-library": { 600 "version": "1.2. 6",601 "resolved": "https://registry.npmjs.org/@wordpress/format-library/-/format-library-1.2. 6.tgz",602 "integrity": "sha512- 8GkrMRSZ287qotsYzJh0kzDRjDAYJLicwbSRSv4AR2+4dSW6ZX1CK2jt/ihxg5cbqxMitPPTqRA0PmUk+AtdDA==",600 "version": "1.2.7", 601 "resolved": "https://registry.npmjs.org/@wordpress/format-library/-/format-library-1.2.7.tgz", 602 "integrity": "sha512-lVsltV1vS9BW+rHxb0ue+/z5ghvytAixVKCkwMaEEnc4qYYo4nzfsXTNCqpgxyQkpgH34j96psPD/34+os0ALg==", 603 603 "requires": { 604 604 "@babel/runtime": "^7.0.0", 605 605 "@wordpress/components": "^7.0.3", 606 606 "@wordpress/dom": "^2.0.7", 607 "@wordpress/editor": "^9.0. 3",607 "@wordpress/editor": "^9.0.4", 608 608 "@wordpress/element": "^2.1.8", 609 609 "@wordpress/i18n": "^3.1.0", 610 610 "@wordpress/keycodes": "^2.0.5", -
package.json
55 55 "@wordpress/api-fetch": "^2.2.5", 56 56 "@wordpress/autop": "^2.0.2", 57 57 "@wordpress/blob": "^2.1.0", 58 "@wordpress/block-library": "^2.2. 8",59 "@wordpress/block-serialization-default-parser": "^2.0. 0",60 "@wordpress/blocks": "^6.0. 2",58 "@wordpress/block-library": "^2.2.9", 59 "@wordpress/block-serialization-default-parser": "^2.0.1", 60 "@wordpress/blocks": "^6.0.3", 61 61 "@wordpress/components": "^7.0.3", 62 62 "@wordpress/compose": "^3.0.0", 63 63 "@wordpress/core-data": "^2.0.14", … … 66 66 "@wordpress/deprecated": "^2.0.3", 67 67 "@wordpress/dom": "^2.0.7", 68 68 "@wordpress/dom-ready": "^2.0.2", 69 "@wordpress/edit-post": "^3.1. 3",70 "@wordpress/editor": "^9.0. 3",69 "@wordpress/edit-post": "^3.1.4", 70 "@wordpress/editor": "^9.0.4", 71 71 "@wordpress/element": "^2.1.8", 72 72 "@wordpress/escape-html": "^1.0.1", 73 "@wordpress/format-library": "^1.2. 6",73 "@wordpress/format-library": "^1.2.7", 74 74 "@wordpress/hooks": "^2.0.3", 75 75 "@wordpress/html-entities": "^2.0.3", 76 76 "@wordpress/i18n": "^3.1.0", -
src/wp-includes/class-wp-block-parser.php
359 359 * 360 360 * @internal 361 361 * @since 3.8.0 362 * @since 4.6.1 fixed a bug in attribute parsing which caused catastrophic backtracking on invalid block comments 362 363 * @return array 363 364 */ 364 365 function next_token() { … … 373 374 * match back in PHP to see which one it was. 374 375 */ 375 376 $has_match = preg_match( 376 '/<!--\s+(?<closer>\/)?wp:(?<namespace>[a-z][a-z0-9_-]*\/)?(?<name>[a-z][a-z0-9_-]*)\s+(?<attrs>{(?: [^}]+|}+(?=})|(?!}\s+-->).)*?}\s+)?(?<void>\/)?-->/s',377 '/<!--\s+(?<closer>\/)?wp:(?<namespace>[a-z][a-z0-9_-]*\/)?(?<name>[a-z][a-z0-9_-]*)\s+(?<attrs>{(?:(?:[^}]+|}+(?=})|(?!}\s+\/?-->).)*+)?}\s+)?(?<void>\/)?-->/s', 377 378 $this->document, 378 379 $matches, 379 380 PREG_OFFSET_CAPTURE, … … 380 381 $this->offset 381 382 ); 382 383 384 // if we get here we probably have catastrophic backtracking or out-of-memory in the PCRE 385 if ( false === $has_match ) { 386 return array( 'no-more-tokens', null, null, null, null ); 387 } 388 383 389 // we have no more tokens 384 390 if ( 0 === $has_match ) { 385 391 return array( 'no-more-tokens', null, null, null, null ); -
src/wp-includes/script-loader.php
212 212 'annotations' => '1.0.3', 213 213 'autop' => '2.0.2', 214 214 'blob' => '2.1.0', 215 'block-library' => '2.2. 8',216 'block-serialization-default-parser' => '2.0. 0',217 'blocks' => '6.0. 2',215 'block-library' => '2.2.9', 216 'block-serialization-default-parser' => '2.0.1', 217 'blocks' => '6.0.3', 218 218 'components' => '7.0.3', 219 219 'compose' => '3.0.0', 220 220 'core-data' => '2.0.14', … … 223 223 'deprecated' => '2.0.3', 224 224 'dom' => '2.0.7', 225 225 'dom-ready' => '2.0.2', 226 'edit-post' => '3.1. 3',227 'editor' => '9.0. 3',226 'edit-post' => '3.1.4', 227 'editor' => '9.0.4', 228 228 'element' => '2.1.8', 229 229 'escape-html' => '1.0.1', 230 'format-library' => '1.2. 6',230 'format-library' => '1.2.7', 231 231 'hooks' => '2.0.3', 232 232 'html-entities' => '2.0.3', 233 233 'i18n' => '3.1.0',