Created
May 18, 2020 17:10
-
-
Save senadir/1231ee39cb08ab0a84e9beabbb1a79b9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const fs = require('fs').promises; | |
| const { readFileSync } = require('fs'); | |
| const gzipSize = require('gzip-size'); | |
| const { filesize } = require('humanize'); | |
| const wpDeps = require('./wp-deps.json'); | |
| const filesFolder = './files' | |
| const handleExternal = (dep, ext) => { | |
| const wcHandleMap = { | |
| 'polyfill': 'wp-polyfill', | |
| 'wc-blocks-data-store': 'wc-blocks-data', | |
| }; | |
| if (dep.match(/wp-/)) { | |
| dep = dep.replace(/wp-/, ''); | |
| } | |
| if (wcHandleMap[dep]) { | |
| dep = wcHandleMap[dep]; | |
| } | |
| if (dep.match(/^wc-/)) { | |
| return dep + '.js'; | |
| } | |
| return dep + ext; | |
| } | |
| const handleInternal = (dep) => { | |
| const wcHandleMap = { | |
| 'wp-polyfill': 'wp-polyfill', | |
| 'wc-blocks-data-store': 'wc-blocks-data', | |
| }; | |
| if (wcHandleMap[dep]) { | |
| return wcHandleMap[dep]; | |
| } | |
| if (dep.match(/^wp-/)) { | |
| return dep.replace(/^wp-/, ''); | |
| } | |
| return dep; | |
| } | |
| fs.readdir(filesFolder) | |
| .then(files => files.filter(file => file.match('frontend.js'))) | |
| .then(blocks => blocks.map( | |
| block => { | |
| return fs | |
| .readFile(`${filesFolder}/${block.replace('.js', '.asset.json')}`) | |
| .then(dep => (JSON.parse(dep)).dependencies) | |
| .then(deps => deps.map(dep => { | |
| if (dep.match(/^wc-/)) { | |
| return fs.readFile(`${filesFolder}/${handleInternal(dep)}.asset.json`) | |
| .then(d => (JSON.parse(d)).dependencies) | |
| .then(d => [dep, ...d]) | |
| } | |
| if (dep.match(/^wp-/)) { | |
| return wpDeps[`${handleInternal(dep)}.js`] ? [dep, ...wpDeps[`${handleInternal(dep)}.js`].dependencies] : dep | |
| } | |
| return dep; | |
| } | |
| )) | |
| .then(m => Promise.all(m)) | |
| .then(m => m.flat(Infinity)) | |
| .then(deps => deps.map(dep => { | |
| if (dep.match(/^wc-/)) { | |
| return fs.readFile(`${filesFolder}/${handleInternal(dep)}.asset.json`) | |
| .then(d => (JSON.parse(d)).dependencies) | |
| .then(d => [dep, ...d]) | |
| } | |
| if (dep.match(/^wp-/)) { | |
| return wpDeps[`${handleInternal(dep)}.js`] ? [dep, ...wpDeps[`${handleInternal(dep)}.js`].dependencies] : dep | |
| } | |
| return dep; | |
| } | |
| )) | |
| .then(m => Promise.all(m)) | |
| .then(e => [block, e]) | |
| })) | |
| .then(m => Promise.all(m)) | |
| .then(m => m.map(([key, value]) => [key, value.flat(Infinity)])) | |
| .then(m => m.map(([key, value]) => [key, [...new Set(value)]])) | |
| .then(m => m.map(([key, value]) => { | |
| const values = value.map(f => { | |
| const fileSize = gzipSize.sync(readFileSync(`${filesFolder}/${handleExternal(f, '.min.js')}`)) | |
| return [f, fileSize, filesize(fileSize)] | |
| }) | |
| .sort((f1, f2) => f2[1] - f1[1]) | |
| return [key, values]; | |
| })) | |
| .then(e => e.sort((f1, f2) => f2[1][1] - f1[1][1])) | |
| .then(m => Object.fromEntries(m)) | |
| .then(e => console.log(e)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "dep-analytics", | |
| "version": "1.0.0", | |
| "description": "", | |
| "main": "index.js", | |
| "scripts": { | |
| "test": "echo \"Error: no test specified\" && exit 1" | |
| }, | |
| "keywords": [], | |
| "author": "", | |
| "license": "ISC", | |
| "dependencies": { | |
| "gzip-size": "^5.1.1", | |
| "humanize": "^0.0.9" | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "active-filters-frontend.js": [ | |
| [ "react-dom", 36702, "35.84 KB" ], | |
| [ "wp-polyfill", 33765, "32.97 KB" ], | |
| [ "lodash", 24343, "23.77 KB" ], | |
| [ "wp-data", 8654, "8.45 KB" ], | |
| [ "wc-blocks-data-store", 7080, "6.91 KB" ], | |
| [ "wp-compose", 6699, "6.54 KB" ], | |
| [ "react", 5177, "5.06 KB" ], | |
| [ "wp-url", 4679, "4.57 KB" ], | |
| [ "wp-element", 4667, "4.56 KB" ], | |
| [ "wp-i18n", 3554, "3.47 KB" ], | |
| [ "wp-api-fetch", 3417, "3.34 KB" ], | |
| [ "wp-redux-routine", 2861, "2.79 KB" ], | |
| [ "wp-hooks", 2152, "2.10 KB" ], | |
| [ "wc-settings", 2140, "2.09 KB" ], | |
| [ "wp-notices", 1824, "1.78 KB" ], | |
| [ "wp-data-controls", 1275, "1.25 KB" ], | |
| [ "wp-priority-queue", 808, "808 bytes" ], | |
| [ "wp-deprecated", 797, "797 bytes" ], | |
| [ "wp-escape-html", 759, "759 bytes" ], | |
| [ "wp-is-shallow-equal", 737, "737 bytes" ], | |
| [ "wp-html-entities", 649, "649 bytes" ] | |
| ], | |
| "all-products-frontend.js": [ | |
| [ "react-dom", 36702, "35.84 KB" ], | |
| [ "wp-polyfill", 33765, "32.97 KB" ], | |
| [ "lodash", 24343, "23.77 KB" ], | |
| [ "wp-data", 8654, "8.45 KB" ], | |
| [ "wc-blocks-data-store", 7080, "6.91 KB" ], | |
| [ "wp-compose", 6699, "6.54 KB" ], | |
| [ "react", 5177, "5.06 KB" ], | |
| [ "wp-url", 4679, "4.57 KB" ], | |
| [ "wp-element", 4667, "4.56 KB" ], | |
| [ "wp-i18n", 3554, "3.47 KB" ], | |
| [ "wp-api-fetch", 3417, "3.34 KB" ], | |
| [ "wp-dom", 3091, "3.02 KB" ], | |
| [ "wp-redux-routine", 2861, "2.79 KB" ], | |
| [ "wp-autop", 2840, "2.77 KB" ], | |
| [ "wp-hooks", 2152, "2.10 KB" ], | |
| [ "wc-settings", 2140, "2.09 KB" ], | |
| [ "wp-keycodes", 1921, "1.88 KB" ], | |
| [ "wp-notices", 1824, "1.78 KB" ], | |
| [ "wc-blocks-registry", 1788, "1.75 KB" ], | |
| [ "wp-data-controls", 1275, "1.25 KB" ], | |
| [ "wp-wordcount", 1202, "1.17 KB" ], | |
| [ "wp-a11y", 1032, "1.01 KB" ], | |
| [ "wp-priority-queue", 808, "808 bytes" ], | |
| [ "wp-deprecated", 797, "797 bytes" ], | |
| [ "wp-escape-html", 759, "759 bytes" ], | |
| [ "wp-is-shallow-equal", 737, "737 bytes" ], | |
| [ "wp-html-entities", 649, "649 bytes" ], | |
| [ "wp-dom-ready", 596, "596 bytes" ] | |
| ], | |
| "attribute-filter-frontend.js": [ | |
| [ "react-dom", 36702, "35.84 KB" ], | |
| [ "wp-polyfill", 33765, "32.97 KB" ], | |
| [ "lodash", 24343, "23.77 KB" ], | |
| [ "wp-data", 8654, "8.45 KB" ], | |
| [ "wc-blocks-data-store", 7080, "6.91 KB" ], | |
| [ "wp-compose", 6699, "6.54 KB" ], | |
| [ "react", 5177, "5.06 KB" ], | |
| [ "wp-url", 4679, "4.57 KB" ], | |
| [ "wp-element", 4667, "4.56 KB" ], | |
| [ "wp-i18n", 3554, "3.47 KB" ], | |
| [ "wp-api-fetch", 3417, "3.34 KB" ], | |
| [ "wp-redux-routine", 2861, "2.79 KB" ], | |
| [ "wp-hooks", 2152, "2.10 KB" ], | |
| [ "wc-settings", 2140, "2.09 KB" ], | |
| [ "wp-notices", 1824, "1.78 KB" ], | |
| [ "wp-data-controls", 1275, "1.25 KB" ], | |
| [ "wp-a11y", 1032, "1.01 KB" ], | |
| [ "wp-priority-queue", 808, "808 bytes" ], | |
| [ "wp-deprecated", 797, "797 bytes" ], | |
| [ "wp-escape-html", 759, "759 bytes" ], | |
| [ "wp-is-shallow-equal", 737, "737 bytes" ], | |
| [ "wp-html-entities", 649, "649 bytes" ], | |
| [ "wp-dom-ready", 596, "596 bytes" ] | |
| ], | |
| "cart-frontend.js": [ | |
| [ "react-dom", 36702, "35.84 KB" ], | |
| [ "wp-polyfill", 33765, "32.97 KB" ], | |
| [ "lodash", 24343, "23.77 KB" ], | |
| [ "wp-data", 8654, "8.45 KB" ], | |
| [ "wc-blocks-data-store", 7080, "6.91 KB" ], | |
| [ "wp-compose", 6699, "6.54 KB" ], | |
| [ "react", 5177, "5.06 KB" ], | |
| [ "wp-url", 4679, "4.57 KB" ], | |
| [ "wp-element", 4667, "4.56 KB" ], | |
| [ "wp-i18n", 3554, "3.47 KB" ], | |
| [ "wp-api-fetch", 3417, "3.34 KB" ], | |
| [ "wp-dom", 3091, "3.02 KB" ], | |
| [ "wp-redux-routine", 2861, "2.79 KB" ], | |
| [ "wp-autop", 2840, "2.77 KB" ], | |
| [ "wp-hooks", 2152, "2.10 KB" ], | |
| [ "wc-settings", 2140, "2.09 KB" ], | |
| [ "wp-keycodes", 1921, "1.88 KB" ], | |
| [ "wp-notices", 1824, "1.78 KB" ], | |
| [ "wc-blocks-registry", 1788, "1.75 KB" ], | |
| [ "wp-data-controls", 1275, "1.25 KB" ], | |
| [ "wp-wordcount", 1202, "1.17 KB" ], | |
| [ "wp-a11y", 1032, "1.01 KB" ], | |
| [ "wp-priority-queue", 808, "808 bytes" ], | |
| [ "wp-deprecated", 797, "797 bytes" ], | |
| [ "wp-escape-html", 759, "759 bytes" ], | |
| [ "wp-is-shallow-equal", 737, "737 bytes" ], | |
| [ "wp-html-entities", 649, "649 bytes" ], | |
| [ "wp-dom-ready", 596, "596 bytes" ] | |
| ], | |
| "checkout-frontend.js": [ | |
| [ "react-dom", 36702, "35.84 KB" ], | |
| [ "wp-polyfill", 33765, "32.97 KB" ], | |
| [ "lodash", 24343, "23.77 KB" ], | |
| [ "wp-data", 8654, "8.45 KB" ], | |
| [ "wc-blocks-data-store", 7080, "6.91 KB" ], | |
| [ "wp-compose", 6699, "6.54 KB" ], | |
| [ "react", 5177, "5.06 KB" ], | |
| [ "wp-url", 4679, "4.57 KB" ], | |
| [ "wp-element", 4667, "4.56 KB" ], | |
| [ "wp-i18n", 3554, "3.47 KB" ], | |
| [ "wp-api-fetch", 3417, "3.34 KB" ], | |
| [ "wp-dom", 3091, "3.02 KB" ], | |
| [ "wp-redux-routine", 2861, "2.79 KB" ], | |
| [ "wp-autop", 2840, "2.77 KB" ], | |
| [ "wp-hooks", 2152, "2.10 KB" ], | |
| [ "wc-settings", 2140, "2.09 KB" ], | |
| [ "wp-keycodes", 1921, "1.88 KB" ], | |
| [ "wp-notices", 1824, "1.78 KB" ], | |
| [ "wc-blocks-registry", 1788, "1.75 KB" ], | |
| [ "wp-data-controls", 1275, "1.25 KB" ], | |
| [ "wp-wordcount", 1202, "1.17 KB" ], | |
| [ "wp-a11y", 1032, "1.01 KB" ], | |
| [ "wp-priority-queue", 808, "808 bytes" ], | |
| [ "wp-deprecated", 797, "797 bytes" ], | |
| [ "wp-escape-html", 759, "759 bytes" ], | |
| [ "wp-is-shallow-equal", 737, "737 bytes" ], | |
| [ "wp-html-entities", 649, "649 bytes" ], | |
| [ "wp-dom-ready", 596, "596 bytes" ] | |
| ], | |
| "price-filter-frontend.js": [ | |
| [ "react-dom", 36702, "35.84 KB" ], | |
| [ "wp-polyfill", 33765, "32.97 KB" ], | |
| [ "lodash", 24343, "23.77 KB" ], | |
| [ "wp-data", 8654, "8.45 KB" ], | |
| [ "wc-blocks-data-store", 7080, "6.91 KB" ], | |
| [ "wp-compose", 6699, "6.54 KB" ], | |
| [ "react", 5177, "5.06 KB" ], | |
| [ "wp-url", 4679, "4.57 KB" ], | |
| [ "wp-element", 4667, "4.56 KB" ], | |
| [ "wp-i18n", 3554, "3.47 KB" ], | |
| [ "wp-api-fetch", 3417, "3.34 KB" ], | |
| [ "wp-redux-routine", 2861, "2.79 KB" ], | |
| [ "wp-hooks", 2152, "2.10 KB" ], | |
| [ "wc-settings", 2140, "2.09 KB" ], | |
| [ "wp-notices", 1824, "1.78 KB" ], | |
| [ "wp-data-controls", 1275, "1.25 KB" ], | |
| [ "wp-priority-queue", 808, "808 bytes" ], | |
| [ "wp-deprecated", 797, "797 bytes" ], | |
| [ "wp-escape-html", 759, "759 bytes" ], | |
| [ "wp-is-shallow-equal", 737, "737 bytes" ] | |
| ], | |
| "reviews-frontend.js": [ | |
| [ "react-dom", 36702, "35.84 KB" ], | |
| [ "wp-polyfill", 33765, "32.97 KB" ], | |
| [ "lodash", 24343, "23.77 KB" ], | |
| [ "react", 5177, "5.06 KB" ], | |
| [ "wp-url", 4679, "4.57 KB" ], | |
| [ "wp-element", 4667, "4.56 KB" ], | |
| [ "wp-i18n", 3554, "3.47 KB" ], | |
| [ "wp-api-fetch", 3417, "3.34 KB" ], | |
| [ "wc-settings", 2140, "2.09 KB" ], | |
| [ "wp-a11y", 1032, "1.01 KB" ], | |
| [ "wp-escape-html", 759, "759 bytes" ], | |
| [ "wp-is-shallow-equal", 737, "737 bytes" ], | |
| [ "wp-dom-ready", 596, "596 bytes" ] | |
| ] | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "a11y.js": { | |
| "dependencies": [ | |
| "wp-dom-ready", | |
| "wp-polyfill" | |
| ], | |
| "version": "b101cdd7bb3ce7e41a50dabcc7a7a01c" | |
| }, | |
| "annotations.js": { | |
| "dependencies": [ | |
| "lodash", | |
| "wp-data", | |
| "wp-hooks", | |
| "wp-i18n", | |
| "wp-polyfill", | |
| "wp-rich-text" | |
| ], | |
| "version": "c32d429d3012d9d46c0b1874fa1b6560" | |
| }, | |
| "api-fetch.js": { | |
| "dependencies": [ | |
| "wp-i18n", | |
| "wp-polyfill", | |
| "wp-url" | |
| ], | |
| "version": "b437dd9d1118e698b1b85961e759bf03" | |
| }, | |
| "autop.js": { | |
| "dependencies": [ | |
| "wp-polyfill" | |
| ], | |
| "version": "aa8f88d2344416fcd2f7946cac4d5dd4" | |
| }, | |
| "blob.js": { | |
| "dependencies": [ | |
| "wp-polyfill" | |
| ], | |
| "version": "60ed48227f0a303ddf818dc8dc3e16fd" | |
| }, | |
| "block-directory.js": { | |
| "dependencies": [ | |
| "lodash", | |
| "wp-api-fetch", | |
| "wp-block-editor", | |
| "wp-blocks", | |
| "wp-components", | |
| "wp-compose", | |
| "wp-data", | |
| "wp-element", | |
| "wp-i18n", | |
| "wp-plugins", | |
| "wp-polyfill", | |
| "wp-primitives" | |
| ], | |
| "version": "51d7097d8f9501396fc6f2299bdd61f9" | |
| }, | |
| "block-editor.js": { | |
| "dependencies": [ | |
| "lodash", | |
| "react", | |
| "wp-a11y", | |
| "wp-blob", | |
| "wp-blocks", | |
| "wp-components", | |
| "wp-compose", | |
| "wp-data", | |
| "wp-deprecated", | |
| "wp-dom", | |
| "wp-element", | |
| "wp-hooks", | |
| "wp-html-entities", | |
| "wp-i18n", | |
| "wp-is-shallow-equal", | |
| "wp-keyboard-shortcuts", | |
| "wp-keycodes", | |
| "wp-polyfill", | |
| "wp-primitives", | |
| "wp-rich-text", | |
| "wp-token-list", | |
| "wp-url", | |
| "wp-viewport", | |
| "wp-wordcount" | |
| ], | |
| "version": "aacb5c07c68e448af6536df79db8f400" | |
| }, | |
| "block-library.js": { | |
| "dependencies": [ | |
| "lodash", | |
| "moment", | |
| "wp-api-fetch", | |
| "wp-autop", | |
| "wp-blob", | |
| "wp-block-editor", | |
| "wp-blocks", | |
| "wp-components", | |
| "wp-compose", | |
| "wp-core-data", | |
| "wp-data", | |
| "wp-date", | |
| "wp-deprecated", | |
| "wp-element", | |
| "wp-escape-html", | |
| "wp-i18n", | |
| "wp-keycodes", | |
| "wp-polyfill", | |
| "wp-primitives", | |
| "wp-rich-text", | |
| "wp-server-side-render", | |
| "wp-url", | |
| "wp-viewport" | |
| ], | |
| "version": "067800bc020babb22719c7a030bf65d9" | |
| }, | |
| "block-serialization-default-parser.js": { | |
| "dependencies": [ | |
| "wp-polyfill" | |
| ], | |
| "version": "30e97d4a87a3a28bd9052050ce276b47" | |
| }, | |
| "blocks.js": { | |
| "dependencies": [ | |
| "lodash", | |
| "wp-autop", | |
| "wp-blob", | |
| "wp-block-serialization-default-parser", | |
| "wp-compose", | |
| "wp-data", | |
| "wp-dom", | |
| "wp-element", | |
| "wp-hooks", | |
| "wp-html-entities", | |
| "wp-i18n", | |
| "wp-is-shallow-equal", | |
| "wp-polyfill", | |
| "wp-shortcode" | |
| ], | |
| "version": "423068d7079f57cf9f02458ccb4a6131" | |
| }, | |
| "components.js": { | |
| "dependencies": [ | |
| "lodash", | |
| "moment", | |
| "react", | |
| "react-dom", | |
| "wp-a11y", | |
| "wp-compose", | |
| "wp-deprecated", | |
| "wp-dom", | |
| "wp-element", | |
| "wp-hooks", | |
| "wp-i18n", | |
| "wp-is-shallow-equal", | |
| "wp-keycodes", | |
| "wp-polyfill", | |
| "wp-primitives", | |
| "wp-rich-text", | |
| "wp-warning" | |
| ], | |
| "version": "90861a4430fed183d94d6750cb7ae6f4" | |
| }, | |
| "compose.js": { | |
| "dependencies": [ | |
| "lodash", | |
| "wp-element", | |
| "wp-is-shallow-equal", | |
| "wp-polyfill" | |
| ], | |
| "version": "3c7f1e5a90aa3c9e9b0f65014efccb35" | |
| }, | |
| "core-data.js": { | |
| "dependencies": [ | |
| "lodash", | |
| "wp-api-fetch", | |
| "wp-blocks", | |
| "wp-data", | |
| "wp-deprecated", | |
| "wp-element", | |
| "wp-is-shallow-equal", | |
| "wp-polyfill", | |
| "wp-url" | |
| ], | |
| "version": "30bbd0e8996befdf7ce081c737c9c75c" | |
| }, | |
| "data.js": { | |
| "dependencies": [ | |
| "lodash", | |
| "react", | |
| "wp-compose", | |
| "wp-deprecated", | |
| "wp-element", | |
| "wp-is-shallow-equal", | |
| "wp-polyfill", | |
| "wp-priority-queue", | |
| "wp-redux-routine" | |
| ], | |
| "version": "e80048e7b309581a40e44b8bd8aaba41" | |
| }, | |
| "data-controls.js": { | |
| "dependencies": [ | |
| "wp-api-fetch", | |
| "wp-data", | |
| "wp-polyfill" | |
| ], | |
| "version": "01499e0a61256afb555131b4ed614fed" | |
| }, | |
| "date.js": { | |
| "dependencies": [ | |
| "moment", | |
| "wp-polyfill" | |
| ], | |
| "version": "87f9d64d7050eeeffa6a6f670f0c546e" | |
| }, | |
| "deprecated.js": { | |
| "dependencies": [ | |
| "wp-hooks", | |
| "wp-polyfill" | |
| ], | |
| "version": "cd9e35508705772fbc5e2d9736bde31b" | |
| }, | |
| "dom.js": { | |
| "dependencies": [ | |
| "lodash", | |
| "wp-polyfill" | |
| ], | |
| "version": "d5a855959d05b829ed293851a9f6c034" | |
| }, | |
| "dom-ready.js": { | |
| "dependencies": [ | |
| "wp-polyfill" | |
| ], | |
| "version": "91fc8f05178d5c6365aec778f840ae17" | |
| }, | |
| "edit-post.js": { | |
| "dependencies": [ | |
| "lodash", | |
| "wp-a11y", | |
| "wp-api-fetch", | |
| "wp-block-editor", | |
| "wp-block-library", | |
| "wp-blocks", | |
| "wp-components", | |
| "wp-compose", | |
| "wp-core-data", | |
| "wp-data", | |
| "wp-editor", | |
| "wp-element", | |
| "wp-hooks", | |
| "wp-i18n", | |
| "wp-keyboard-shortcuts", | |
| "wp-keycodes", | |
| "wp-media-utils", | |
| "wp-notices", | |
| "wp-plugins", | |
| "wp-polyfill", | |
| "wp-primitives", | |
| "wp-url", | |
| "wp-viewport" | |
| ], | |
| "version": "99ca111a562584048ddeb818a39c18f6" | |
| }, | |
| "editor.js": { | |
| "dependencies": [ | |
| "lodash", | |
| "react", | |
| "wp-api-fetch", | |
| "wp-autop", | |
| "wp-block-editor", | |
| "wp-blocks", | |
| "wp-components", | |
| "wp-compose", | |
| "wp-core-data", | |
| "wp-data", | |
| "wp-data-controls", | |
| "wp-date", | |
| "wp-deprecated", | |
| "wp-element", | |
| "wp-hooks", | |
| "wp-html-entities", | |
| "wp-i18n", | |
| "wp-keyboard-shortcuts", | |
| "wp-keycodes", | |
| "wp-media-utils", | |
| "wp-notices", | |
| "wp-polyfill", | |
| "wp-primitives", | |
| "wp-rich-text", | |
| "wp-server-side-render", | |
| "wp-url", | |
| "wp-viewport", | |
| "wp-wordcount" | |
| ], | |
| "version": "bb928f624169f992ec79a4889c7abf35" | |
| }, | |
| "element.js": { | |
| "dependencies": [ | |
| "lodash", | |
| "react", | |
| "react-dom", | |
| "wp-escape-html", | |
| "wp-polyfill" | |
| ], | |
| "version": "2b503827a5d3cc1e71097a6e9622fed4" | |
| }, | |
| "escape-html.js": { | |
| "dependencies": [ | |
| "wp-polyfill" | |
| ], | |
| "version": "df3aea46fc6e3563882bc8891b21101d" | |
| }, | |
| "format-library.js": { | |
| "dependencies": [ | |
| "lodash", | |
| "wp-block-editor", | |
| "wp-components", | |
| "wp-data", | |
| "wp-dom", | |
| "wp-element", | |
| "wp-html-entities", | |
| "wp-i18n", | |
| "wp-keycodes", | |
| "wp-polyfill", | |
| "wp-primitives", | |
| "wp-rich-text", | |
| "wp-url" | |
| ], | |
| "version": "1cceafc98ef77eb54f1da78b10949b4b" | |
| }, | |
| "hooks.js": { | |
| "dependencies": [ | |
| "wp-polyfill" | |
| ], | |
| "version": "b33812efb363979cc606e6c29a1deb61" | |
| }, | |
| "html-entities.js": { | |
| "dependencies": [ | |
| "wp-polyfill" | |
| ], | |
| "version": "81efc2ce02f13b864d66666c7bec2136" | |
| }, | |
| "i18n.js": { | |
| "dependencies": [ | |
| "wp-polyfill" | |
| ], | |
| "version": "61a2b8dda6efb2e1a0a5b0c383f14c79" | |
| }, | |
| "is-shallow-equal.js": { | |
| "dependencies": [ | |
| "wp-polyfill" | |
| ], | |
| "version": "a4b6079b15ec86d646a9228996f79cf7" | |
| }, | |
| "keyboard-shortcuts.js": { | |
| "dependencies": [ | |
| "lodash", | |
| "wp-compose", | |
| "wp-data", | |
| "wp-keycodes", | |
| "wp-polyfill" | |
| ], | |
| "version": "3a13034743b117d721933003bb9ec038" | |
| }, | |
| "keycodes.js": { | |
| "dependencies": [ | |
| "lodash", | |
| "wp-i18n", | |
| "wp-polyfill" | |
| ], | |
| "version": "b826ff410cc2fc12e0f380ba44c0640e" | |
| }, | |
| "list-reusable-blocks.js": { | |
| "dependencies": [ | |
| "lodash", | |
| "wp-api-fetch", | |
| "wp-components", | |
| "wp-compose", | |
| "wp-element", | |
| "wp-i18n", | |
| "wp-polyfill" | |
| ], | |
| "version": "9d0a3503da5d5c98d8e6b09c0f01e94b" | |
| }, | |
| "media-utils.js": { | |
| "dependencies": [ | |
| "lodash", | |
| "wp-api-fetch", | |
| "wp-blob", | |
| "wp-element", | |
| "wp-i18n", | |
| "wp-polyfill" | |
| ], | |
| "version": "591443ff969b73a6db3bc4d8cc57722d" | |
| }, | |
| "notices.js": { | |
| "dependencies": [ | |
| "lodash", | |
| "wp-data", | |
| "wp-polyfill" | |
| ], | |
| "version": "74c8f15ff58eb236879fb3c4bcc0b9e2" | |
| }, | |
| "nux.js": { | |
| "dependencies": [ | |
| "lodash", | |
| "wp-components", | |
| "wp-compose", | |
| "wp-data", | |
| "wp-deprecated", | |
| "wp-element", | |
| "wp-i18n", | |
| "wp-polyfill", | |
| "wp-primitives" | |
| ], | |
| "version": "d5dfc71a7f3850546418d63523c830cd" | |
| }, | |
| "plugins.js": { | |
| "dependencies": [ | |
| "lodash", | |
| "wp-compose", | |
| "wp-element", | |
| "wp-hooks", | |
| "wp-polyfill" | |
| ], | |
| "version": "b1050e54f3a934a1c06648c984d141ed" | |
| }, | |
| "primitives.js": { | |
| "dependencies": [ | |
| "wp-element", | |
| "wp-polyfill" | |
| ], | |
| "version": "ecfd167b66d8272c99af2b0220535f33" | |
| }, | |
| "priority-queue.js": { | |
| "dependencies": [ | |
| "wp-polyfill" | |
| ], | |
| "version": "8d7738a3dac3e69a70c11e046ecfd5ff" | |
| }, | |
| "redux-routine.js": { | |
| "dependencies": [ | |
| "lodash", | |
| "wp-polyfill" | |
| ], | |
| "version": "7b7d8224ca3d5f24509583833d71c388" | |
| }, | |
| "rich-text.js": { | |
| "dependencies": [ | |
| "lodash", | |
| "wp-compose", | |
| "wp-data", | |
| "wp-deprecated", | |
| "wp-element", | |
| "wp-escape-html", | |
| "wp-is-shallow-equal", | |
| "wp-keycodes", | |
| "wp-polyfill" | |
| ], | |
| "version": "942ff14b26cac991c71bdc5fd907ea4b" | |
| }, | |
| "server-side-render.js": { | |
| "dependencies": [ | |
| "lodash", | |
| "wp-api-fetch", | |
| "wp-components", | |
| "wp-data", | |
| "wp-deprecated", | |
| "wp-element", | |
| "wp-i18n", | |
| "wp-polyfill", | |
| "wp-url" | |
| ], | |
| "version": "0982eea1efaf70db5d7a28a18b7f8bfa" | |
| }, | |
| "shortcode.js": { | |
| "dependencies": [ | |
| "lodash", | |
| "wp-polyfill" | |
| ], | |
| "version": "6b07711152e32e32d3fc082cc7dd632c" | |
| }, | |
| "token-list.js": { | |
| "dependencies": [ | |
| "lodash", | |
| "wp-polyfill" | |
| ], | |
| "version": "f2fd25ef34512e2ebba30cfede36f1da" | |
| }, | |
| "url.js": { | |
| "dependencies": [ | |
| "lodash", | |
| "wp-polyfill" | |
| ], | |
| "version": "b7106409bea2c78aabddc45249f7c1fc" | |
| }, | |
| "viewport.js": { | |
| "dependencies": [ | |
| "lodash", | |
| "wp-compose", | |
| "wp-data", | |
| "wp-element", | |
| "wp-polyfill" | |
| ], | |
| "version": "bd1f26c406a930c6d96f1b5687719a53" | |
| }, | |
| "warning.js": { | |
| "dependencies": [ | |
| "wp-polyfill" | |
| ], | |
| "version": "98c469cb6d86983eb5fa9fc7a8dfa0c4" | |
| }, | |
| "wordcount.js": { | |
| "dependencies": [ | |
| "lodash", | |
| "wp-polyfill" | |
| ], | |
| "version": "9150aaeb7f6f1fa5807a8a9190af7ece" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment