Changeset 46189 for trunk/src/wp-includes/script-loader.php
- Timestamp:
- 09/19/2019 03:17:39 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/script-loader.php
r46179 r46189 95 95 'react-dom' => '16.8.4', 96 96 'moment' => '2.22.2', 97 'lodash' => '4.17.1 1',97 'lodash' => '4.17.15', 98 98 'wp-polyfill-fetch' => '3.0.0', 99 99 'wp-polyfill-formdata' => '3.0.12', 100 100 'wp-polyfill-node-contains' => '3.26.0-0', 101 101 'wp-polyfill-element-closest' => '2.0.2', 102 'wp-polyfill' => '7. 0.0',102 'wp-polyfill' => '7.4.4', 103 103 ); 104 104 … … 225 225 226 226 $packages_versions = array( 227 'a11y' => '2.2.0', 228 'annotations' => '1.2.3', 229 'api-fetch' => '3.1.2', 230 'autop' => '2.0.0', 231 'blob' => '2.3.0', 232 'block-editor' => '2.0.3', 233 'block-library' => '2.4.6', 234 'block-serialization-default-parser' => '3.1.0', 235 'blocks' => '6.2.5', 236 'components' => '7.3.2', 237 'compose' => '3.2.0', 238 'core-data' => '2.2.2', 239 'data' => '4.4.0', 240 'date' => '3.2.0', 241 'deprecated' => '2.2.0', 242 'dom' => '2.2.5', 243 'dom-ready' => '2.2.0', 244 'edit-post' => '3.3.6', 245 'editor' => '9.2.6', 246 'element' => '2.3.0', 247 'escape-html' => '1.2.0', 248 'format-library' => '1.4.6', 249 'hooks' => '2.2.0', 250 'html-entities' => '2.2.0', 251 'i18n' => '3.3.0', 252 'is-shallow-equal' => '1.2.0', 253 'keycodes' => '2.2.0', 254 'list-reusable-blocks' => '1.3.5', 255 'notices' => '1.3.0', 256 'nux' => '3.2.5', 257 'plugins' => '2.2.0', 258 'priority-queue' => '1.1.0', 259 'redux-routine' => '3.2.0', 260 'rich-text' => '3.2.3', 261 'shortcode' => '2.2.0', 262 'token-list' => '1.2.0', 263 'url' => '2.5.0', 264 'viewport' => '2.3.0', 265 'wordcount' => '2.2.0', 227 'a11y' => '2.5.0', 228 'annotations' => '1.7.0', 229 'api-fetch' => '3.6.0', 230 'autop' => '2.5.0', 231 'blob' => '2.5.0', 232 'block-editor' => '3.2.0', 233 'block-library' => '2.9.0', 234 'block-serialization-default-parser' => '3.4.0', 235 'blocks' => '6.7.0', 236 'components' => '8.3.0', 237 'compose' => '3.7.0', 238 'core-data' => '2.7.0', 239 'data' => '4.9.0', 240 'data-controls' => '1.3.0', 241 'date' => '3.5.0', 242 'deprecated' => '2.6.0', 243 'dom' => '2.5.0', 244 'dom-ready' => '2.5.0', 245 'edit-post' => '3.8.0', 246 'editor' => '9.7.0', 247 'element' => '2.8.0', 248 'escape-html' => '1.5.0', 249 'format-library' => '1.9.0', 250 'hooks' => '2.6.0', 251 'html-entities' => '2.5.0', 252 'i18n' => '3.6.0', 253 'is-shallow-equal' => '1.6.0', 254 'keycodes' => '2.6.0', 255 'list-reusable-blocks' => '1.8.0', 256 'media-utils' => '1.2.0', 257 'notices' => '1.8.0', 258 'nux' => '3.7.0', 259 'plugins' => '2.7.0', 260 'priority-queue' => '1.3.0', 261 'redux-routine' => '3.6.0', 262 'rich-text' => '3.7.0', 263 'shortcode' => '2.4.0', 264 'server-side-render' => '1.3.0', 265 'token-list' => '1.6.0', 266 'url' => '2.8.0', 267 'viewport' => '2.8.0', 268 'wordcount' => '2.6.0', 266 269 ); 267 270 268 271 $packages_dependencies = array( 269 'api-fetch' => array( 'wp-polyfill', 'wp-i18n', 'wp-url' ), 270 'a11y' => array( 'wp-dom-ready', 'wp-polyfill' ), 272 'a11y' => array( 273 'wp-dom-ready', 274 'wp-polyfill', 275 ), 271 276 'annotations' => array( 277 'lodash', 272 278 'wp-data', 273 279 'wp-hooks', … … 276 282 'wp-rich-text', 277 283 ), 278 'autop' => array( 'wp-polyfill' ), 279 'blob' => array( 'wp-polyfill' ), 280 'blocks' => array( 281 'wp-autop', 284 'api-fetch' => array( 285 'wp-i18n', 286 'wp-polyfill', 287 'wp-url', 288 ), 289 'autop' => array( 290 'wp-polyfill', 291 ), 292 'blob' => array( 293 'wp-polyfill', 294 ), 295 'block-editor' => array( 296 'lodash', 297 'wp-a11y', 282 298 'wp-blob', 283 'wp-block-serialization-default-parser', 299 'wp-blocks', 300 'wp-components', 301 'wp-compose', 284 302 'wp-data', 303 'wp-deprecated', 285 304 'wp-dom', 286 305 'wp-element', … … 289 308 'wp-i18n', 290 309 'wp-is-shallow-equal', 291 'wp-polyfill', 292 'wp-shortcode', 293 'lodash', 310 'wp-keycodes', 311 'wp-polyfill', 312 'wp-rich-text', 313 'wp-token-list', 314 'wp-url', 315 'wp-viewport', 316 'wp-wordcount', 294 317 ), 295 318 'block-library' => array( 296 319 'editor', 297 320 'lodash', 321 'moment', 322 'wp-a11y', 298 323 'wp-api-fetch', 299 324 'wp-autop', … … 306 331 'wp-data', 307 332 'wp-date', 333 'wp-deprecated', 308 334 'wp-editor', 309 335 'wp-element', 310 'wp-html-entities',311 336 'wp-i18n', 337 'wp-is-shallow-equal', 312 338 'wp-keycodes', 313 339 'wp-polyfill', 340 'wp-rich-text', 341 'wp-server-side-render', 314 342 'wp-url', 315 343 'wp-viewport', 316 'wp-rich-text', 317 ), 318 'block-serialization-default-parser' => array(), 319 'block-editor' => array( 344 ), 345 'block-serialization-default-parser' => array( 346 'wp-polyfill', 347 ), 348 'blocks' => array( 320 349 'lodash', 321 'wp-a 11y',350 'wp-autop', 322 351 'wp-blob', 323 'wp-blocks', 324 'wp-components', 352 'wp-block-serialization-default-parser', 325 353 'wp-compose', 326 'wp-core-data',327 354 'wp-data', 328 355 'wp-dom', … … 332 359 'wp-i18n', 333 360 'wp-is-shallow-equal', 334 'wp-keycodes', 335 'wp-rich-text', 336 'wp-token-list', 337 'wp-url', 338 'wp-viewport', 339 'wp-wordcount', 361 'wp-polyfill', 362 'wp-shortcode', 340 363 ), 341 364 'components' => array( … … 343 366 'moment', 344 367 'wp-a11y', 345 'wp-api-fetch',346 368 'wp-compose', 369 'wp-deprecated', 347 370 'wp-dom', 348 371 'wp-element', 349 372 'wp-hooks', 350 'wp-html-entities',351 373 'wp-i18n', 352 374 'wp-is-shallow-equal', … … 354 376 'wp-polyfill', 355 377 'wp-rich-text', 356 'wp-url',357 378 ), 358 379 'compose' => array( … … 367 388 'wp-data', 368 389 'wp-deprecated', 390 'wp-is-shallow-equal', 369 391 'wp-polyfill', 370 392 'wp-url', … … 373 395 'lodash', 374 396 'wp-compose', 397 'wp-deprecated', 375 398 'wp-element', 376 399 'wp-is-shallow-equal', … … 379 402 'wp-redux-routine', 380 403 ), 381 'date' => array( 'moment', 'wp-polyfill' ), 382 'deprecated' => array( 'wp-polyfill', 'wp-hooks' ), 383 'dom' => array( 'lodash', 'wp-polyfill' ), 384 'dom-ready' => array( 'wp-polyfill' ), 404 'data-controls' => array( 405 'wp-api-fetch', 406 'wp-data', 407 'wp-polyfill', 408 ), 409 'date' => array( 410 'moment', 411 'wp-polyfill', 412 ), 413 'deprecated' => array( 414 'wp-hooks', 415 'wp-polyfill', 416 ), 417 'dom' => array( 418 'lodash', 419 'wp-polyfill', 420 ), 421 'dom-ready' => array( 422 'wp-polyfill', 423 ), 385 424 'edit-post' => array( 386 'jquery',387 425 'lodash', 388 426 'postbox', … … 401 439 'wp-editor', 402 440 'wp-element', 403 'wp- embed',441 'wp-hooks', 404 442 'wp-i18n', 405 443 'wp-keycodes', 444 'wp-media-utils', 406 445 'wp-notices', 407 446 'wp-nux', … … 414 453 'lodash', 415 454 'wp-api-fetch', 416 'wp- blob',455 'wp-autop', 417 456 'wp-block-editor', 418 457 'wp-blocks', … … 421 460 'wp-core-data', 422 461 'wp-data', 462 'wp-data-controls', 423 463 'wp-date', 424 464 'wp-deprecated', … … 427 467 'wp-html-entities', 428 468 'wp-i18n', 469 'wp-is-shallow-equal', 429 470 'wp-keycodes', 471 'wp-media-utils', 430 472 'wp-notices', 431 473 'wp-nux', 432 474 'wp-polyfill', 475 'wp-rich-text', 476 'wp-server-side-render', 433 477 'wp-url', 434 478 'wp-viewport', 435 479 'wp-wordcount', 436 480 ), 437 'element' => array( 'wp-polyfill', 'react', 'react-dom', 'lodash', 'wp-escape-html' ), 438 'escape-html' => array( 'wp-polyfill' ), 481 'element' => array( 482 'lodash', 483 'react', 484 'react-dom', 485 'wp-escape-html', 486 'wp-polyfill', 487 ), 488 'escape-html' => array( 489 'wp-polyfill', 490 ), 439 491 'format-library' => array( 492 'lodash', 440 493 'wp-block-editor', 441 494 'wp-components', 442 'wp- editor',495 'wp-dom', 443 496 'wp-element', 497 'wp-html-entities', 444 498 'wp-i18n', 445 499 'wp-keycodes', … … 448 502 'wp-url', 449 503 ), 450 'hooks' => array( 'wp-polyfill' ), 451 'html-entities' => array( 'wp-polyfill' ), 452 'i18n' => array( 'wp-polyfill' ), 453 'is-shallow-equal' => array( 'wp-polyfill' ), 454 'keycodes' => array( 'lodash', 'wp-polyfill', 'wp-i18n' ), 504 'hooks' => array( 505 'wp-polyfill', 506 ), 507 'html-entities' => array( 508 'wp-polyfill', 509 ), 510 'i18n' => array( 511 'wp-polyfill', 512 ), 513 'is-shallow-equal' => array( 514 'wp-polyfill', 515 ), 516 'keycodes' => array( 517 'lodash', 518 'wp-i18n', 519 'wp-polyfill', 520 ), 455 521 'list-reusable-blocks' => array( 456 522 'lodash', … … 462 528 'wp-polyfill', 463 529 ), 530 'media-utils' => array( 531 'lodash', 532 'wp-api-fetch', 533 'wp-blob', 534 'wp-element', 535 'wp-i18n', 536 'wp-polyfill', 537 ), 464 538 'notices' => array( 465 539 'lodash', … … 469 543 ), 470 544 'nux' => array( 471 'wp-element',472 545 'lodash', 473 546 'wp-components', 474 547 'wp-compose', 475 548 'wp-data', 549 'wp-element', 476 550 'wp-i18n', 477 551 'wp-polyfill', 552 ), 553 'plugins' => array( 478 554 'lodash', 479 ), 480 'plugins' => array( 'lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill' ), 481 'priority-queue' => array(), 482 'redux-routine' => array( 'wp-polyfill' ), 555 'wp-compose', 556 'wp-element', 557 'wp-hooks', 558 'wp-polyfill', 559 ), 560 'priority-queue' => array( 561 'wp-polyfill', 562 ), 563 'redux-routine' => array( 564 'lodash', 565 'wp-polyfill', 566 ), 483 567 'rich-text' => array( 484 568 'lodash', 569 'wp-compose', 485 570 'wp-data', 571 'wp-element', 486 572 'wp-escape-html', 487 'wp-polyfill', 488 ), 489 'shortcode' => array( 'wp-polyfill', 'lodash' ), 490 'token-list' => array( 'lodash', 'wp-polyfill' ), 491 'url' => array( 'wp-polyfill' ), 492 'viewport' => array( 'wp-polyfill', 'wp-element', 'wp-data', 'wp-compose', 'lodash' ), 493 'wordcount' => array( 'wp-polyfill' ), 573 'wp-hooks', 574 'wp-is-shallow-equal', 575 'wp-keycodes', 576 'wp-polyfill', 577 ), 578 'server-side-render' => array( 579 'lodash', 580 'wp-api-fetch', 581 'wp-components', 582 'wp-data', 583 'wp-deprecated', 584 'wp-element', 585 'wp-i18n', 586 'wp-polyfill', 587 'wp-url', 588 ), 589 'shortcode' => array( 590 'lodash', 591 'wp-polyfill', 592 ), 593 'token-list' => array( 594 'lodash', 595 'wp-polyfill', 596 ), 597 'url' => array( 598 'wp-polyfill', 599 ), 600 'viewport' => array( 601 'lodash', 602 'wp-compose', 603 'wp-data', 604 'wp-polyfill', 605 ), 606 'wordcount' => array( 607 'lodash', 608 'wp-polyfill', 609 ), 494 610 ); 495 611 … … 577 693 ' var storageKey = "WP_DATA_USER_" + userId;', 578 694 ' wp.data', 579 ' .use( wp.data.plugins.persistence, { storageKey: storageKey } )', 580 ' .use( wp.data.plugins.controls );', 695 ' .use( wp.data.plugins.persistence, { storageKey: storageKey } );', 581 696 ' wp.data.plugins.persistence.__unstableMigrate( { storageKey: storageKey } );', 582 697 '} )();',
Note: See TracChangeset
for help on using the changeset viewer.