diff --git a/package-lock.json b/package-lock.json index f49ee82..0451cac 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2181,28 +2181,28 @@ } }, "@nodelib/fs.scandir": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.3.tgz", - "integrity": "sha512-eGmwYQn3gxo4r7jdQnkrrN6bY478C3P+a/y72IJukF8LjB6ZHeB3c+Ehacj3sYeSmUXGlnA67/PmbM9CVwL7Dw==", + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.4.tgz", + "integrity": "sha512-33g3pMJk3bg5nXbL/+CY6I2eJDzZAni49PfJnL5fghPTggPvBd/pFNSgJsdAgWptuFu7qq/ERvOYFlhvsLTCKA==", "dev": true, "requires": { - "@nodelib/fs.stat": "2.0.3", + "@nodelib/fs.stat": "2.0.4", "run-parallel": "^1.1.9" } }, "@nodelib/fs.stat": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.3.tgz", - "integrity": "sha512-bQBFruR2TAwoevBEd/NWMoAAtNGzTRgdrqnYCc7dhzfoNvqPzLyqlEQnzZ3kVnNrSp25iyxE00/3h2fqGAGArA==", + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.4.tgz", + "integrity": "sha512-IYlHJA0clt2+Vg7bccq+TzRdJvv19c2INqBSsoOLp1je7xjtr7J26+WXR72MCdvU9q1qTzIWDfhMf+DRvQJK4Q==", "dev": true }, "@nodelib/fs.walk": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.4.tgz", - "integrity": "sha512-1V9XOY4rDW0rehzbrcqAmHnz8e7SKvX27gh8Gt2WgB0+pdzdiLV83p72kZPU+jvMbS1qU5mauP2iOvO8rhmurQ==", + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.6.tgz", + "integrity": "sha512-8Broas6vTtW4GIXTAHDoE32hnN2M5ykgCpWGbuXHQ15vEMqr23pB76e/GZcYsZCHALv50ktd24qhEyKr6wBtow==", "dev": true, "requires": { - "@nodelib/fs.scandir": "2.1.3", + "@nodelib/fs.scandir": "2.1.4", "fastq": "^1.6.0" } }, @@ -2421,9 +2421,9 @@ "dev": true }, "@types/node": { - "version": "14.14.16", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.16.tgz", - "integrity": "sha512-naXYePhweTi+BMv11TgioE2/FXU4fSl29HAH1ffxVciNsH3rYXjNP2yM8wqmSm7jS20gM8TIklKiTen+1iVncw==", + "version": "14.14.20", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.20.tgz", + "integrity": "sha512-Y93R97Ouif9JEOWPIUyU+eyIdyRqQR0I8Ez1dzku4hDx34NWh4HbtIc3WNzwB1Y9ULvNGeu5B8h8bVL5cAk4/A==", "dev": true }, "@types/normalize-package-data": { @@ -2475,177 +2475,148 @@ "dev": true }, "@webassemblyjs/ast": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.9.1.tgz", - "integrity": "sha512-uMu1nCWn2Wxyy126LlGqRVlhdTOsO/bsBRI4dNq3+6SiSuRKRQX6ejjKgh82LoGAPSq72lDUiQ4FWVaf0PecYw==", + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.0.tgz", + "integrity": "sha512-kX2W49LWsbthrmIRMbQZuQDhGtjyqXfEmmHyEi4XWnSZtPmxY0+3anPIzsnRb45VH/J55zlOfWvZuY47aJZTJg==", "dev": true, "requires": { - "@webassemblyjs/helper-module-context": "1.9.1", - "@webassemblyjs/helper-wasm-bytecode": "1.9.1", - "@webassemblyjs/wast-parser": "1.9.1" + "@webassemblyjs/helper-numbers": "1.11.0", + "@webassemblyjs/helper-wasm-bytecode": "1.11.0" } }, "@webassemblyjs/floating-point-hex-parser": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.9.1.tgz", - "integrity": "sha512-5VEKu024RySmLKTTBl9q1eO/2K5jk9ZS+2HXDBLA9s9p5IjkaXxWiDb/+b7wSQp6FRdLaH1IVGIfOex58Na2pg==", + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.0.tgz", + "integrity": "sha512-Q/aVYs/VnPDVYvsCBL/gSgwmfjeCb4LW8+TMrO3cSzJImgv8lxxEPM2JA5jMrivE7LSz3V+PFqtMbls3m1exDA==", "dev": true }, "@webassemblyjs/helper-api-error": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.9.1.tgz", - "integrity": "sha512-y1lGmfm38djrScwpeL37rRR9f1D6sM8RhMpvM7CYLzOlHVboouZokXK/G88BpzW0NQBSvCCOnW5BFhten4FPfA==", + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.0.tgz", + "integrity": "sha512-baT/va95eXiXb2QflSx95QGT5ClzWpGaa8L7JnJbgzoYeaA27FCvuBXU758l+KXWRndEmUXjP0Q5fibhavIn8w==", "dev": true }, "@webassemblyjs/helper-buffer": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.9.1.tgz", - "integrity": "sha512-uS6VSgieHbk/m4GSkMU5cqe/5TekdCzQso4revCIEQ3vpGZgqSSExi4jWpTWwDpAHOIAb1Jfrs0gUB9AA4n71w==", - "dev": true - }, - "@webassemblyjs/helper-code-frame": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.9.1.tgz", - "integrity": "sha512-ZQ2ZT6Evk4DPIfD+92AraGYaFIqGm4U20e7FpXwl7WUo2Pn1mZ1v8VGH8i+Y++IQpxPbQo/UyG0Khs7eInskzA==", - "dev": true, - "requires": { - "@webassemblyjs/wast-printer": "1.9.1" - } - }, - "@webassemblyjs/helper-fsm": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-fsm/-/helper-fsm-1.9.1.tgz", - "integrity": "sha512-J32HGpveEqqcKFS0YbgicB0zAlpfIxJa5MjxDxhu3i5ltPcVfY5EPvKQ1suRguFPehxiUs+/hfkwPEXom/l0lw==", + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.0.tgz", + "integrity": "sha512-u9HPBEl4DS+vA8qLQdEQ6N/eJQ7gT7aNvMIo8AAWvAl/xMrcOSiI2M0MAnMCy3jIFke7bEee/JwdX1nUpCtdyA==", "dev": true }, - "@webassemblyjs/helper-module-context": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-module-context/-/helper-module-context-1.9.1.tgz", - "integrity": "sha512-IEH2cMmEQKt7fqelLWB5e/cMdZXf2rST1JIrzWmf4XBt3QTxGdnnLvV4DYoN8pJjOx0VYXsWg+yF16MmJtolZg==", + "@webassemblyjs/helper-numbers": { + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.0.tgz", + "integrity": "sha512-DhRQKelIj01s5IgdsOJMKLppI+4zpmcMQ3XboFPLwCpSNH6Hqo1ritgHgD0nqHeSYqofA6aBN/NmXuGjM1jEfQ==", "dev": true, "requires": { - "@webassemblyjs/ast": "1.9.1" + "@webassemblyjs/floating-point-hex-parser": "1.11.0", + "@webassemblyjs/helper-api-error": "1.11.0", + "@xtuc/long": "4.2.2" } }, "@webassemblyjs/helper-wasm-bytecode": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.9.1.tgz", - "integrity": "sha512-i2rGTBqFUcSXxyjt2K4vm/3kkHwyzG6o427iCjcIKjOqpWH8SEem+xe82jUk1iydJO250/CvE5o7hzNAMZf0dQ==", + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.0.tgz", + "integrity": "sha512-MbmhvxXExm542tWREgSFnOVo07fDpsBJg3sIl6fSp9xuu75eGz5lz31q7wTLffwL3Za7XNRCMZy210+tnsUSEA==", "dev": true }, "@webassemblyjs/helper-wasm-section": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.9.1.tgz", - "integrity": "sha512-FetqzjtXZr2d57IECK+aId3D0IcGweeM0CbAnJHkYJkcRTHP+YcMb7Wmc0j21h5UWBpwYGb9dSkK/93SRCTrGg==", + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.0.tgz", + "integrity": "sha512-3Eb88hcbfY/FCukrg6i3EH8H2UsD7x8Vy47iVJrP967A9JGqgBVL9aH71SETPx1JrGsOUVLo0c7vMCN22ytJew==", "dev": true, "requires": { - "@webassemblyjs/ast": "1.9.1", - "@webassemblyjs/helper-buffer": "1.9.1", - "@webassemblyjs/helper-wasm-bytecode": "1.9.1", - "@webassemblyjs/wasm-gen": "1.9.1" + "@webassemblyjs/ast": "1.11.0", + "@webassemblyjs/helper-buffer": "1.11.0", + "@webassemblyjs/helper-wasm-bytecode": "1.11.0", + "@webassemblyjs/wasm-gen": "1.11.0" } }, "@webassemblyjs/ieee754": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.9.1.tgz", - "integrity": "sha512-EvTG9M78zP1MmkBpUjGQHZc26DzPGZSLIPxYHCjQsBMo60Qy2W34qf8z0exRDtxBbRIoiKa5dFyWer/7r1aaSQ==", + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.0.tgz", + "integrity": "sha512-KXzOqpcYQwAfeQ6WbF6HXo+0udBNmw0iXDmEK5sFlmQdmND+tr773Ti8/5T/M6Tl/413ArSJErATd8In3B+WBA==", "dev": true, "requires": { "@xtuc/ieee754": "^1.2.0" } }, "@webassemblyjs/leb128": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.9.1.tgz", - "integrity": "sha512-Oc04ub0vFfLnF+2/+ki3AE+anmW4sv9uNBqb+79fgTaPv6xJsOT0dhphNfL3FrME84CbX/D1T9XT8tjFo0IIiw==", + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.0.tgz", + "integrity": "sha512-aqbsHa1mSQAbeeNcl38un6qVY++hh8OpCOzxhixSYgbRfNWcxJNJQwe2rezK9XEcssJbbWIkblaJRwGMS9zp+g==", "dev": true, "requires": { "@xtuc/long": "4.2.2" } }, "@webassemblyjs/utf8": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.9.1.tgz", - "integrity": "sha512-llkYtppagjCodFjo0alWOUhAkfOiQPQDIc5oA6C9sFAXz7vC9QhZf/f8ijQIX+A9ToM3c9Pq85X0EX7nx9gVhg==", + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.0.tgz", + "integrity": "sha512-A/lclGxH6SpSLSyFowMzO/+aDEPU4hvEiooCMXQPcQFPPJaYcPQNKGOCLUySJsYJ4trbpr+Fs08n4jelkVTGVw==", "dev": true }, "@webassemblyjs/wasm-edit": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.9.1.tgz", - "integrity": "sha512-S2IaD6+x9B2Xi8BCT0eGsrXXd8UxAh2LVJpg1ZMtHXnrDcsTtIX2bDjHi40Hio6Lc62dWHmKdvksI+MClCYbbw==", + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.0.tgz", + "integrity": "sha512-JHQ0damXy0G6J9ucyKVXO2j08JVJ2ntkdJlq1UTiUrIgfGMmA7Ik5VdC/L8hBK46kVJgujkBIoMtT8yVr+yVOQ==", "dev": true, "requires": { - "@webassemblyjs/ast": "1.9.1", - "@webassemblyjs/helper-buffer": "1.9.1", - "@webassemblyjs/helper-wasm-bytecode": "1.9.1", - "@webassemblyjs/helper-wasm-section": "1.9.1", - "@webassemblyjs/wasm-gen": "1.9.1", - "@webassemblyjs/wasm-opt": "1.9.1", - "@webassemblyjs/wasm-parser": "1.9.1", - "@webassemblyjs/wast-printer": "1.9.1" + "@webassemblyjs/ast": "1.11.0", + "@webassemblyjs/helper-buffer": "1.11.0", + "@webassemblyjs/helper-wasm-bytecode": "1.11.0", + "@webassemblyjs/helper-wasm-section": "1.11.0", + "@webassemblyjs/wasm-gen": "1.11.0", + "@webassemblyjs/wasm-opt": "1.11.0", + "@webassemblyjs/wasm-parser": "1.11.0", + "@webassemblyjs/wast-printer": "1.11.0" } }, "@webassemblyjs/wasm-gen": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.9.1.tgz", - "integrity": "sha512-bqWI0S4lBQsEN5FTZ35vYzfKUJvtjNnBobB1agCALH30xNk1LToZ7Z8eiaR/Z5iVECTlBndoRQV3F6mbEqE/fg==", + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.0.tgz", + "integrity": "sha512-BEUv1aj0WptCZ9kIS30th5ILASUnAPEvE3tVMTrItnZRT9tXCLW2LEXT8ezLw59rqPP9klh9LPmpU+WmRQmCPQ==", "dev": true, "requires": { - "@webassemblyjs/ast": "1.9.1", - "@webassemblyjs/helper-wasm-bytecode": "1.9.1", - "@webassemblyjs/ieee754": "1.9.1", - "@webassemblyjs/leb128": "1.9.1", - "@webassemblyjs/utf8": "1.9.1" + "@webassemblyjs/ast": "1.11.0", + "@webassemblyjs/helper-wasm-bytecode": "1.11.0", + "@webassemblyjs/ieee754": "1.11.0", + "@webassemblyjs/leb128": "1.11.0", + "@webassemblyjs/utf8": "1.11.0" } }, "@webassemblyjs/wasm-opt": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.9.1.tgz", - "integrity": "sha512-gSf7I7YWVXZ5c6XqTEqkZjVs8K1kc1k57vsB6KBQscSagDNbAdxt6MwuJoMjsE1yWY1tsuL+pga268A6u+Fdkg==", + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.0.tgz", + "integrity": "sha512-tHUSP5F4ywyh3hZ0+fDQuWxKx3mJiPeFufg+9gwTpYp324mPCQgnuVKwzLTZVqj0duRDovnPaZqDwoyhIO8kYg==", "dev": true, "requires": { - "@webassemblyjs/ast": "1.9.1", - "@webassemblyjs/helper-buffer": "1.9.1", - "@webassemblyjs/wasm-gen": "1.9.1", - "@webassemblyjs/wasm-parser": "1.9.1" + "@webassemblyjs/ast": "1.11.0", + "@webassemblyjs/helper-buffer": "1.11.0", + "@webassemblyjs/wasm-gen": "1.11.0", + "@webassemblyjs/wasm-parser": "1.11.0" } }, "@webassemblyjs/wasm-parser": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.9.1.tgz", - "integrity": "sha512-ImM4N2T1MEIond0MyE3rXvStVxEmivQrDKf/ggfh5pP6EHu3lL/YTAoSrR7shrbKNPpeKpGesW1LIK/L4kqduw==", - "dev": true, - "requires": { - "@webassemblyjs/ast": "1.9.1", - "@webassemblyjs/helper-api-error": "1.9.1", - "@webassemblyjs/helper-wasm-bytecode": "1.9.1", - "@webassemblyjs/ieee754": "1.9.1", - "@webassemblyjs/leb128": "1.9.1", - "@webassemblyjs/utf8": "1.9.1" - } - }, - "@webassemblyjs/wast-parser": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-parser/-/wast-parser-1.9.1.tgz", - "integrity": "sha512-2xVxejXSvj3ls/o2TR/zI6p28qsGupjHhnHL6URULQRcXmryn3w7G83jQMcT7PHqUfyle65fZtWLukfdLdE7qw==", + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.0.tgz", + "integrity": "sha512-6L285Sgu9gphrcpDXINvm0M9BskznnzJTE7gYkjDbxET28shDqp27wpruyx3C2S/dvEwiigBwLA1cz7lNUi0kw==", "dev": true, "requires": { - "@webassemblyjs/ast": "1.9.1", - "@webassemblyjs/floating-point-hex-parser": "1.9.1", - "@webassemblyjs/helper-api-error": "1.9.1", - "@webassemblyjs/helper-code-frame": "1.9.1", - "@webassemblyjs/helper-fsm": "1.9.1", - "@xtuc/long": "4.2.2" + "@webassemblyjs/ast": "1.11.0", + "@webassemblyjs/helper-api-error": "1.11.0", + "@webassemblyjs/helper-wasm-bytecode": "1.11.0", + "@webassemblyjs/ieee754": "1.11.0", + "@webassemblyjs/leb128": "1.11.0", + "@webassemblyjs/utf8": "1.11.0" } }, "@webassemblyjs/wast-printer": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.9.1.tgz", - "integrity": "sha512-tDV8V15wm7mmbAH6XvQRU1X+oPGmeOzYsd6h7hlRLz6QpV4Ec/KKxM8OpLtFmQPLCreGxTp+HuxtH4pRIZyL9w==", + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.11.0.tgz", + "integrity": "sha512-Fg5OX46pRdTgB7rKIUojkh9vXaVN6sGYCnEiJN1GYkb0RPwShZXp6KTDqmoMdQPKhcroOXh3fEzmkWmCYaKYhQ==", "dev": true, "requires": { - "@webassemblyjs/ast": "1.9.1", - "@webassemblyjs/wast-parser": "1.9.1", + "@webassemblyjs/ast": "1.11.0", "@xtuc/long": "4.2.2" } }, @@ -3312,16 +3283,16 @@ "dev": true }, "browserslist": { - "version": "4.16.0", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.16.0.tgz", - "integrity": "sha512-/j6k8R0p3nxOC6kx5JGAxsnhc9ixaWJfYc+TNTzxg6+ARaESAvQGV7h0uNOB4t+pLQJZWzcrMxXOxjgsCj3dqQ==", + "version": "4.16.1", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.16.1.tgz", + "integrity": "sha512-UXhDrwqsNcpTYJBTZsbGATDxZbiVDsx6UjpmRUmtnP10pr8wAYr5LgFoEFw9ixriQH2mv/NX2SfGzE/o8GndLA==", "dev": true, "requires": { - "caniuse-lite": "^1.0.30001165", + "caniuse-lite": "^1.0.30001173", "colorette": "^1.2.1", - "electron-to-chromium": "^1.3.621", + "electron-to-chromium": "^1.3.634", "escalade": "^3.1.1", - "node-releases": "^1.1.67" + "node-releases": "^1.1.69" } }, "bser": { @@ -3363,13 +3334,13 @@ } }, "call-bind": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.0.tgz", - "integrity": "sha512-AEXsYIyyDY3MCzbwdhzG3Jx1R0J2wetQyUynn6dYHAO+bg8l1k7jwZtRv4ryryFs7EP+NDlikJlVe59jr0cM2w==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.1.tgz", + "integrity": "sha512-tvAvUwNcRikl3RVF20X9lsYmmepsovzTWeJiXjO0PkJp15uy/6xKFZOQtuiSULwYW+6ToZBprphCgWXC2dSgcQ==", "dev": true, "requires": { "function-bind": "^1.1.1", - "get-intrinsic": "^1.0.0" + "get-intrinsic": "^1.0.2" } }, "callsites": { @@ -3396,9 +3367,9 @@ } }, "caniuse-lite": { - "version": "1.0.30001170", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001170.tgz", - "integrity": "sha512-Dd4d/+0tsK0UNLrZs3CvNukqalnVTRrxb5mcQm8rHL49t7V5ZaTygwXkrq+FB+dVDf++4ri8eJnFEJAB8332PA==", + "version": "1.0.30001174", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001174.tgz", + "integrity": "sha512-tqClL/4ThQq6cfFXH3oJL4rifFBeM6gTkphjao5kgwMaW9yn0tKgQLAEfKzDwj6HQWCB/aWo8kTFlSvIN8geEA==", "dev": true }, "capture-exit": { @@ -3434,15 +3405,15 @@ "dev": true }, "chokidar": { - "version": "3.4.3", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.4.3.tgz", - "integrity": "sha512-DtM3g7juCXQxFVSNPNByEC2+NImtBuxQQvWlHunpJIS5Ocr0lG306cC7FCi7cEA0fzmybPUIl4txBIobk1gGOQ==", + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.0.tgz", + "integrity": "sha512-JgQM9JS92ZbFR4P90EvmzNpSGhpPBGBSj10PILeDyYFwp4h2/D9OM03wsJ4zW1fEp4ka2DGrnUeD7FuvQ2aZ2Q==", "dev": true, "optional": true, "requires": { "anymatch": "~3.1.1", "braces": "~3.0.2", - "fsevents": "~2.1.2", + "fsevents": "~2.3.1", "glob-parent": "~5.1.0", "is-binary-path": "~2.1.0", "is-glob": "~4.0.1", @@ -3462,9 +3433,9 @@ } }, "binary-extensions": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.1.0.tgz", - "integrity": "sha512-1Yj8h9Q+QDF5FzhMs/c9+6UntbD5MkRfRwac8DoEm9ZfUBZ7tZ55YcGVAzEe4bXsdQHEk+s9S5wsOKVdZrw0tQ==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", + "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", "dev": true, "optional": true }, @@ -3787,21 +3758,21 @@ "dev": true }, "conventional-changelog": { - "version": "3.1.23", - "resolved": "https://registry.npmjs.org/conventional-changelog/-/conventional-changelog-3.1.23.tgz", - "integrity": "sha512-sScUu2NHusjRC1dPc5p8/b3kT78OYr95/Bx7Vl8CPB8tF2mG1xei5iylDTRjONV5hTlzt+Cn/tBWrKdd299b7A==", - "dev": true, - "requires": { - "conventional-changelog-angular": "^5.0.11", - "conventional-changelog-atom": "^2.0.7", - "conventional-changelog-codemirror": "^2.0.7", - "conventional-changelog-conventionalcommits": "^4.4.0", - "conventional-changelog-core": "^4.2.0", - "conventional-changelog-ember": "^2.0.8", - "conventional-changelog-eslint": "^3.0.8", - "conventional-changelog-express": "^2.0.5", - "conventional-changelog-jquery": "^3.0.10", - "conventional-changelog-jshint": "^2.0.8", + "version": "3.1.24", + "resolved": "https://registry.npmjs.org/conventional-changelog/-/conventional-changelog-3.1.24.tgz", + "integrity": "sha512-ed6k8PO00UVvhExYohroVPXcOJ/K1N0/drJHx/faTH37OIZthlecuLIRX/T6uOp682CAoVoFpu+sSEaeuH6Asg==", + "dev": true, + "requires": { + "conventional-changelog-angular": "^5.0.12", + "conventional-changelog-atom": "^2.0.8", + "conventional-changelog-codemirror": "^2.0.8", + "conventional-changelog-conventionalcommits": "^4.5.0", + "conventional-changelog-core": "^4.2.1", + "conventional-changelog-ember": "^2.0.9", + "conventional-changelog-eslint": "^3.0.9", + "conventional-changelog-express": "^2.0.6", + "conventional-changelog-jquery": "^3.0.11", + "conventional-changelog-jshint": "^2.0.9", "conventional-changelog-preset-loader": "^2.3.4" } }, @@ -3851,9 +3822,9 @@ } }, "conventional-changelog-core": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/conventional-changelog-core/-/conventional-changelog-core-4.2.1.tgz", - "integrity": "sha512-8cH8/DEoD3e5Q6aeogdR5oaaKs0+mG6+f+Om0ZYt3PNv7Zo0sQhu4bMDRsqAF+UTekTAtP1W/C41jH/fkm8Jtw==", + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/conventional-changelog-core/-/conventional-changelog-core-4.2.2.tgz", + "integrity": "sha512-7pDpRUiobQDNkwHyJG7k9f6maPo9tfPzkSWbRq97GGiZqisElhnvUZSvyQH20ogfOjntB5aadvv6NNcKL1sReg==", "dev": true, "requires": { "add-stream": "^1.0.0", @@ -3861,7 +3832,7 @@ "conventional-commits-parser": "^3.2.0", "dateformat": "^3.0.0", "get-pkg-repo": "^1.0.0", - "git-raw-commits": "2.0.0", + "git-raw-commits": "^2.0.8", "git-remote-origin-url": "^2.0.0", "git-semver-tags": "^4.1.1", "lodash": "^4.17.15", @@ -3873,32 +3844,6 @@ "through2": "^4.0.0" }, "dependencies": { - "camelcase": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", - "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=", - "dev": true - }, - "camelcase-keys": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-4.2.0.tgz", - "integrity": "sha1-oqpfsa9oh1glnDLBQUJteJI7m3c=", - "dev": true, - "requires": { - "camelcase": "^4.1.0", - "map-obj": "^2.0.0", - "quick-lru": "^1.0.0" - } - }, - "dargs": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/dargs/-/dargs-4.1.0.tgz", - "integrity": "sha1-A6nbtLXC8Tm/FK5T8LiipqhvThc=", - "dev": true, - "requires": { - "number-is-nan": "^1.0.0" - } - }, "find-up": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", @@ -3908,43 +3853,12 @@ "locate-path": "^2.0.0" } }, - "git-raw-commits": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-2.0.0.tgz", - "integrity": "sha512-w4jFEJFgKXMQJ0H0ikBk2S+4KP2VEjhCvLCNqbNRQC8BgGWgLKNCO7a9K9LI+TVT7Gfoloje502sEnctibffgg==", - "dev": true, - "requires": { - "dargs": "^4.0.1", - "lodash.template": "^4.0.2", - "meow": "^4.0.0", - "split2": "^2.0.0", - "through2": "^2.0.0" - }, - "dependencies": { - "through2": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", - "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", - "dev": true, - "requires": { - "readable-stream": "~2.3.6", - "xtend": "~4.0.1" - } - } - } - }, "hosted-git-info": { "version": "2.8.8", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.8.tgz", "integrity": "sha512-f/wzC2QaWBs7t9IYqB4T3sR1xviIViXJRJTWBlx2Gf3g0Xi5vI7Yy4koXQ1c9OYDGHN9sBy1DQ2AB8fqZBWhUg==", "dev": true }, - "indent-string": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-3.2.0.tgz", - "integrity": "sha1-Sl/W0nzDMvN+VBmlBNu4NxBckok=", - "dev": true - }, "load-json-file": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz", @@ -3967,53 +3881,6 @@ "path-exists": "^3.0.0" } }, - "map-obj": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-2.0.0.tgz", - "integrity": "sha1-plzSkIepJZi4eRJXpSPgISIqwfk=", - "dev": true - }, - "meow": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/meow/-/meow-4.0.1.tgz", - "integrity": "sha512-xcSBHD5Z86zaOc+781KrupuHAzeGXSLtiAOmBsiLDiPSaYSB6hdew2ng9EBAnZ62jagG9MHAOdxpDi/lWBFJ/A==", - "dev": true, - "requires": { - "camelcase-keys": "^4.0.0", - "decamelize-keys": "^1.0.0", - "loud-rejection": "^1.0.0", - "minimist": "^1.1.3", - "minimist-options": "^3.0.1", - "normalize-package-data": "^2.3.4", - "read-pkg-up": "^3.0.0", - "redent": "^2.0.0", - "trim-newlines": "^2.0.0" - }, - "dependencies": { - "normalize-package-data": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", - "dev": true, - "requires": { - "hosted-git-info": "^2.1.4", - "resolve": "^1.10.0", - "semver": "2 || 3 || 4 || 5", - "validate-npm-package-license": "^3.0.1" - } - } - } - }, - "minimist-options": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-3.0.2.tgz", - "integrity": "sha512-FyBrT/d0d4+uiZRbqznPXqw3IpZZG3gl3wKWiX784FycUKVwBt0uLBFkQrtE4tZOrgo78nZp2jnKz3L65T5LdQ==", - "dev": true, - "requires": { - "arrify": "^1.0.1", - "is-plain-obj": "^1.1.0" - } - }, "p-limit": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", @@ -4069,12 +3936,6 @@ "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", "dev": true }, - "quick-lru": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-1.1.0.tgz", - "integrity": "sha1-Q2CxfGETatOAeDl/8RQW4Ybc+7g=", - "dev": true - }, "read-pkg": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", @@ -4109,28 +3970,6 @@ "find-up": "^2.0.0", "read-pkg": "^3.0.0" } - }, - "redent": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/redent/-/redent-2.0.0.tgz", - "integrity": "sha1-wbIAe0LVfrE4kHmzyDM2OdXhzKo=", - "dev": true, - "requires": { - "indent-string": "^3.0.0", - "strip-indent": "^2.0.0" - } - }, - "strip-indent": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-2.0.0.tgz", - "integrity": "sha1-XvjbKV0B5u1sv3qrlpmNeCJSe2g=", - "dev": true - }, - "trim-newlines": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-2.0.0.tgz", - "integrity": "sha1-tAPQuRvlDDMd/EuC7s6yLD3hbSA=", - "dev": true } } }, @@ -4187,9 +4026,9 @@ "dev": true }, "conventional-changelog-writer": { - "version": "4.0.18", - "resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-4.0.18.tgz", - "integrity": "sha512-mAQDCKyB9HsE8Ko5cCM1Jn1AWxXPYV0v8dFPabZRkvsiWUul2YyAqbIaoMKF88Zf2ffnOPSvKhboLf3fnjo5/A==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-4.1.0.tgz", + "integrity": "sha512-WwKcUp7WyXYGQmkLsX4QmU42AZ1lqlvRW9mqoyiQzdD+rJWbTepdWoKJuwXTS+yq79XKnQNa93/roViPQrAQgw==", "dev": true, "requires": { "compare-func": "^2.0.0", @@ -4238,18 +4077,18 @@ } }, "conventional-recommended-bump": { - "version": "6.0.10", - "resolved": "https://registry.npmjs.org/conventional-recommended-bump/-/conventional-recommended-bump-6.0.10.tgz", - "integrity": "sha512-2ibrqAFMN3ZA369JgVoSbajdD/BHN6zjY7DZFKTHzyzuQejDUCjQ85S5KHxCRxNwsbDJhTPD5hOKcis/jQhRgg==", + "version": "6.0.11", + "resolved": "https://registry.npmjs.org/conventional-recommended-bump/-/conventional-recommended-bump-6.0.11.tgz", + "integrity": "sha512-FciYBMwzwwBZ1K4NS8c57rsOfSc51e1V6UVSNIosrjH+A6xXkyiA4ELwoWyRKdMhJ+m3O6ru9ZJ7F2QFjjYJdQ==", "dev": true, "requires": { "concat-stream": "^2.0.0", "conventional-changelog-preset-loader": "^2.3.4", - "conventional-commits-filter": "^2.0.6", - "conventional-commits-parser": "^3.1.0", + "conventional-commits-filter": "^2.0.7", + "conventional-commits-parser": "^3.2.0", "git-raw-commits": "2.0.0", - "git-semver-tags": "^4.1.0", - "meow": "^7.0.0", + "git-semver-tags": "^4.1.1", + "meow": "^8.0.0", "q": "^1.5.1" }, "dependencies": { @@ -4360,198 +4199,6 @@ "integrity": "sha1-plzSkIepJZi4eRJXpSPgISIqwfk=", "dev": true }, - "meow": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/meow/-/meow-7.1.1.tgz", - "integrity": "sha512-GWHvA5QOcS412WCo8vwKDlTelGLsCGBVevQB5Kva961rmNfun0PCbv5+xta2kUMFJyR8/oWnn7ddeKdosbAPbA==", - "dev": true, - "requires": { - "@types/minimist": "^1.2.0", - "camelcase-keys": "^6.2.2", - "decamelize-keys": "^1.1.0", - "hard-rejection": "^2.1.0", - "minimist-options": "4.1.0", - "normalize-package-data": "^2.5.0", - "read-pkg-up": "^7.0.1", - "redent": "^3.0.0", - "trim-newlines": "^3.0.0", - "type-fest": "^0.13.1", - "yargs-parser": "^18.1.3" - }, - "dependencies": { - "camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", - "dev": true - }, - "camelcase-keys": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz", - "integrity": "sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==", - "dev": true, - "requires": { - "camelcase": "^5.3.1", - "map-obj": "^4.0.0", - "quick-lru": "^4.0.1" - } - }, - "find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "requires": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - } - }, - "indent-string": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", - "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", - "dev": true - }, - "locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "requires": { - "p-locate": "^4.1.0" - } - }, - "map-obj": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.1.0.tgz", - "integrity": "sha512-glc9y00wgtwcDmp7GaE/0b0OnxpNJsVf3ael/An6Fe2Q51LLwN1er6sdomLRzz5h0+yMpiYLhWYF5R7HeqVd4g==", - "dev": true - }, - "minimist-options": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-4.1.0.tgz", - "integrity": "sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==", - "dev": true, - "requires": { - "arrify": "^1.0.1", - "is-plain-obj": "^1.1.0", - "kind-of": "^6.0.3" - } - }, - "p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, - "requires": { - "p-try": "^2.0.0" - } - }, - "p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "requires": { - "p-limit": "^2.2.0" - } - }, - "p-try": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", - "dev": true - }, - "parse-json": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.1.0.tgz", - "integrity": "sha512-+mi/lmVVNKFNVyLXV31ERiy2CY5E1/F6QtJFEzoChPRwwngMNXRDQ9GJ5WdE2Z2P4AujsOi0/+2qHID68KwfIQ==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.0.0", - "error-ex": "^1.3.1", - "json-parse-even-better-errors": "^2.3.0", - "lines-and-columns": "^1.1.6" - } - }, - "path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", - "dev": true - }, - "quick-lru": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz", - "integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==", - "dev": true - }, - "read-pkg": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", - "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", - "dev": true, - "requires": { - "@types/normalize-package-data": "^2.4.0", - "normalize-package-data": "^2.5.0", - "parse-json": "^5.0.0", - "type-fest": "^0.6.0" - }, - "dependencies": { - "type-fest": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", - "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", - "dev": true - } - } - }, - "read-pkg-up": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", - "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", - "dev": true, - "requires": { - "find-up": "^4.1.0", - "read-pkg": "^5.2.0", - "type-fest": "^0.8.1" - }, - "dependencies": { - "type-fest": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", - "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", - "dev": true - } - } - }, - "redent": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz", - "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==", - "dev": true, - "requires": { - "indent-string": "^4.0.0", - "strip-indent": "^3.0.0" - } - }, - "strip-indent": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", - "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==", - "dev": true, - "requires": { - "min-indent": "^1.0.0" - } - }, - "trim-newlines": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.0.tgz", - "integrity": "sha512-C4+gOpvmxaSMKuEf9Qc134F1ZuOHVXKRbtEflf4NTtuuJDEIJ9p5PXsalL8SkeRw+qit1Mo+yuvMPAKwWg/1hA==", - "dev": true - } - } - }, "minimist-options": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-3.0.2.tgz", @@ -4687,30 +4334,6 @@ "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-2.0.0.tgz", "integrity": "sha1-tAPQuRvlDDMd/EuC7s6yLD3hbSA=", "dev": true - }, - "type-fest": { - "version": "0.13.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.13.1.tgz", - "integrity": "sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg==", - "dev": true - }, - "yargs-parser": { - "version": "18.1.3", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", - "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", - "dev": true, - "requires": { - "camelcase": "^5.0.0", - "decamelize": "^1.2.0" - }, - "dependencies": { - "camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", - "dev": true - } - } } } }, @@ -4738,18 +4361,18 @@ "dev": true }, "core-js": { - "version": "3.8.1", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.8.1.tgz", - "integrity": "sha512-9Id2xHY1W7m8hCl8NkhQn5CufmF/WuR30BTRewvCXc1aZd3kMECwNZ69ndLbekKfakw9Rf2Xyc+QR6E7Gg+obg==", + "version": "3.8.2", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.8.2.tgz", + "integrity": "sha512-FfApuSRgrR6G5s58casCBd9M2k+4ikuu4wbW6pJyYU7bd9zvFc9qf7vr5xmrZOhT9nn+8uwlH1oRR9jTnFoA3A==", "dev": true }, "core-js-compat": { - "version": "3.8.1", - "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.8.1.tgz", - "integrity": "sha512-a16TLmy9NVD1rkjUGbwuyWkiDoN0FDpAwrfLONvHFQx0D9k7J9y0srwMT8QP/Z6HE3MIFaVynEeYwZwPX1o5RQ==", + "version": "3.8.2", + "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.8.2.tgz", + "integrity": "sha512-LO8uL9lOIyRRrQmZxHZFl1RV+ZbcsAkFWTktn5SmH40WgLtSNYN4m4W2v9ONT147PxBY/XrRhrWq8TlvObyUjQ==", "dev": true, "requires": { - "browserslist": "^4.15.0", + "browserslist": "^4.16.0", "semver": "7.0.0" }, "dependencies": { @@ -5337,9 +4960,9 @@ "dev": true }, "electron-to-chromium": { - "version": "1.3.633", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.633.tgz", - "integrity": "sha512-bsVCsONiVX1abkWdH7KtpuDAhsQ3N3bjPYhROSAXE78roJKet0Y5wznA14JE9pzbwSZmSMAW6KiKYf1RvbTJkA==", + "version": "1.3.635", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.635.tgz", + "integrity": "sha512-RRriZOLs9CpW6KTLmgBqyUdnY0QNqqWs0HOtuQGGEMizOTNNn1P7sGRBxARnUeLejOsgwjDyRqT3E/CSst02ZQ==", "dev": true }, "emittery": { @@ -5508,9 +5131,9 @@ } }, "eslint": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.16.0.tgz", - "integrity": "sha512-iVWPS785RuDA4dWuhhgXTNrGxHHK3a8HLSMBgbbU59ruJDubUraXN8N5rn7kb8tG6sjg74eE0RA3YWT51eusEw==", + "version": "7.17.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.17.0.tgz", + "integrity": "sha512-zJk08MiBgwuGoxes5sSQhOtibZ75pz0J35XTRlZOk9xMffhpA9BTbQZxoXZzOl5zMbleShbGwtw+1kGferfFwQ==", "dev": true, "requires": { "@babel/code-frame": "^7.0.0", @@ -6359,12 +5982,12 @@ } }, "find-versions": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/find-versions/-/find-versions-3.2.0.tgz", - "integrity": "sha512-P8WRou2S+oe222TOCHitLy8zj+SIsVJh52VP4lvXkaFVnOFFdoWv1H1Jjvel1aI6NCFOAaeAVm8qrI0odiLcww==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/find-versions/-/find-versions-4.0.0.tgz", + "integrity": "sha512-wgpWy002tA+wgmO27buH/9KzyEOQnKsG/R0yrcjPT9BOFm0zRBVQbZ95nRGXWMywS8YR5knRbpohio0bcJABxQ==", "dev": true, "requires": { - "semver-regex": "^2.0.0" + "semver-regex": "^3.1.2" } }, "flat-cache": { @@ -6461,9 +6084,9 @@ "dev": true }, "fsevents": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.1.3.tgz", - "integrity": "sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.1.tgz", + "integrity": "sha512-YR47Eg4hChJGAB1O3yEAOkGO+rlzutoICGqGo9EZ4lKWokzZRSyIW1QmTzqjtw8MJdj9srP869CuWw/hyzSiBw==", "dev": true, "optional": true }, @@ -6778,16 +6401,38 @@ } }, "git-raw-commits": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-2.0.8.tgz", - "integrity": "sha512-6Gk7tQHGMLEL1bSnrMJTCVt2AQl4EmCcJDtzs/JJacCb2+TNEyHM67Gp7Ri9faF7OcGpjGGRjHLvs/AG7QKZ2Q==", + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-2.0.9.tgz", + "integrity": "sha512-hSpNpxprVno7IOd4PZ93RQ+gNdzPAIrW0x8av6JQDJGV4k1mR9fE01dl8sEqi2P7aKmmwiGUn1BCPuf16Ae0Qw==", "dev": true, "requires": { "dargs": "^7.0.0", "lodash.template": "^4.0.2", "meow": "^8.0.0", - "split2": "^2.0.0", + "split2": "^3.0.0", "through2": "^4.0.0" + }, + "dependencies": { + "readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "dev": true, + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + }, + "split2": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/split2/-/split2-3.2.2.tgz", + "integrity": "sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg==", + "dev": true, + "requires": { + "readable-stream": "^3.0.0" + } + } } }, "git-remote-origin-url": { @@ -6904,9 +6549,9 @@ "dev": true }, "globby": { - "version": "11.0.1", - "resolved": "https://registry.npmjs.org/globby/-/globby-11.0.1.tgz", - "integrity": "sha512-iH9RmgwCmUJHi2z5o2l3eTtGBtXek1OYlHrbcxOYugyHLmAsZrPj43OtHThd62Buh/Vv6VyCBD2bdyWcGNQqoQ==", + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/globby/-/globby-11.0.2.tgz", + "integrity": "sha512-2ZThXDvvV8fYFRVIxnrMQBipZQDr7MxKAmQK1vujaj9/7eF0efG7BPUKJ7jP7G5SLF37xKDXvO4S/KKLj/Z0og==", "dev": true, "requires": { "array-union": "^2.1.0", @@ -7102,18 +6747,18 @@ "dev": true }, "husky": { - "version": "4.3.6", - "resolved": "https://registry.npmjs.org/husky/-/husky-4.3.6.tgz", - "integrity": "sha512-o6UjVI8xtlWRL5395iWq9LKDyp/9TE7XMOTvIpEVzW638UcGxTmV5cfel6fsk/jbZSTlvfGVJf2svFtybcIZag==", + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/husky/-/husky-4.3.7.tgz", + "integrity": "sha512-0fQlcCDq/xypoyYSJvEuzbDPHFf8ZF9IXKJxlrnvxABTSzK1VPT2RKYQKrcgJ+YD39swgoB6sbzywUqFxUiqjw==", "dev": true, "requires": { "chalk": "^4.0.0", "ci-info": "^2.0.0", "compare-versions": "^3.6.0", "cosmiconfig": "^7.0.0", - "find-versions": "^3.2.0", + "find-versions": "^4.0.0", "opencollective-postinstall": "^2.0.2", - "pkg-dir": "^4.2.0", + "pkg-dir": "^5.0.0", "please-upgrade-node": "^3.2.0", "slash": "^3.0.0", "which-pm-runs": "^1.0.0" @@ -7153,19 +6798,56 @@ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true }, + "find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "requires": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + } + }, "has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true }, + "locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "requires": { + "p-locate": "^5.0.0" + } + }, + "p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "requires": { + "yocto-queue": "^0.1.0" + } + }, + "p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "requires": { + "p-limit": "^3.0.2" + } + }, "pkg-dir": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", - "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-5.0.0.tgz", + "integrity": "sha512-NPE8TDbzl/3YQYY7CSS228s3g2ollTFnc+Qi3tqmqJp9Vg2ovUpixcJEo2HJScN2Ez+kEaal6y70c0ehqJBJeA==", "dev": true, "requires": { - "find-up": "^4.0.0" + "find-up": "^5.0.0" } }, "slash": { @@ -9702,9 +9384,9 @@ } }, "loader-runner": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.1.0.tgz", - "integrity": "sha512-oR4lB4WvwFoC70ocraKhn5nkKSs23t57h9udUgw8o0iH8hMXeEoRuUgfcvgUwAJ1ZpRqBvcou4N2SMvM1DwMrA==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.2.0.tgz", + "integrity": "sha512-92+huvxMvYlMzMt0iIOukcwYBFpkYJdpl2xsZ7LrlayO7E8SOv+JJUEK17B/dJIHAOLMfh2dZZ/Y18WgmGtYNw==", "dev": true }, "loader-utils": { @@ -9937,9 +9619,9 @@ "dev": true }, "meow": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/meow/-/meow-8.1.0.tgz", - "integrity": "sha512-fNWkgM1UVMey2kf24yLiccxLihc5W+6zVus3/N0b+VfnJgxV99E9u04X6NAiKdg6ED7DAQBX5sy36NM0QJZkWA==", + "version": "8.1.2", + "resolved": "https://registry.npmjs.org/meow/-/meow-8.1.2.tgz", + "integrity": "sha512-r85E3NdZ+mpYk1C6RjPFEMSE+s1iZMuHtsHAqY0DT3jZczl0diWUZ8g6oU7h0M9cD2EL+PzaYghhCLzR0ZNn5Q==", "dev": true, "requires": { "@types/minimist": "^1.2.0", @@ -9989,18 +9671,18 @@ } }, "mime-db": { - "version": "1.44.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.44.0.tgz", - "integrity": "sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg==", + "version": "1.45.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.45.0.tgz", + "integrity": "sha512-CkqLUxUk15hofLoLyljJSrukZi8mAtgd+yE5uO4tqRZsdsAJKv0O+rFMhVDRJgozy+yG6md5KwuXhD4ocIoP+w==", "dev": true }, "mime-types": { - "version": "2.1.27", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.27.tgz", - "integrity": "sha512-JIhqnCasI9yD+SsmkquHBxTSEuZdQX5BuQnS2Vc7puQQQ+8yiP5AY5uWhpdv4YL4VM5c6iliiYWPgJ/nJQLp7w==", + "version": "2.1.28", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.28.tgz", + "integrity": "sha512-0TO2yJ5YHYr7M2zzT7gDU1tbwHxEUWBCLt0lscSNpcdAfFyJOVEpRYNS7EXVcTLNj/25QO8gulHC5JtTzSE2UQ==", "dev": true, "requires": { - "mime-db": "1.44.0" + "mime-db": "1.45.0" } }, "mimic-fn": { @@ -10249,9 +9931,9 @@ } }, "node-releases": { - "version": "1.1.67", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.67.tgz", - "integrity": "sha512-V5QF9noGFl3EymEwUYzO+3NTDpGfQB4ve6Qfnzf3UNydMhjQRVPR1DZTuvWiLzaFJYw2fmDwAfnRNEVb64hSIg==", + "version": "1.1.69", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.69.tgz", + "integrity": "sha512-DGIjo79VDEyAnRlfSqYTsy+yoHd2IOjJiKUozD2MV2D85Vso6Bug56mb9tT/fY5Urt0iqk01H7x+llAruDR2zA==", "dev": true }, "normalize-package-data": { @@ -11162,9 +10844,9 @@ "dev": true }, "regjsparser": { - "version": "0.6.4", - "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.6.4.tgz", - "integrity": "sha512-64O87/dPDgfk8/RQqC4gkZoGyyWFIEUTTh80CU6CWuK5vkCGyekIx+oKcEIYtP/RAxSQltCZHCNu/mdd7fqlJw==", + "version": "0.6.6", + "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.6.6.tgz", + "integrity": "sha512-jjyuCp+IEMIm3N1H1LLTJW1EISEJV9+5oHdEyrt43Pg9cDSb6rrLZei2cVWpl0xTjmmlpec/lEQGYgM7xfpGCQ==", "dev": true, "requires": { "jsesc": "~0.5.0" @@ -11298,6 +10980,12 @@ "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", "dev": true }, + "require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "dev": true + }, "require-main-filename": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", @@ -11376,12 +11064,21 @@ } }, "rollup": { - "version": "2.35.1", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.35.1.tgz", - "integrity": "sha512-q5KxEyWpprAIcainhVy6HfRttD9kutQpHbeqDTWnqAFNJotiojetK6uqmcydNMymBEtC4I8bCYR+J3mTMqeaUA==", + "version": "2.36.1", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.36.1.tgz", + "integrity": "sha512-eAfqho8dyzuVvrGqpR0ITgEdq0zG2QJeWYh+HeuTbpcaXk8vNFc48B7bJa1xYosTCKx0CuW+447oQOW8HgBIZQ==", "dev": true, "requires": { "fsevents": "~2.1.2" + }, + "dependencies": { + "fsevents": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.1.3.tgz", + "integrity": "sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ==", + "dev": true, + "optional": true + } } }, "rollup-plugin-terser": { @@ -11497,9 +11194,9 @@ "dev": true }, "semver-regex": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/semver-regex/-/semver-regex-2.0.0.tgz", - "integrity": "sha512-mUdIBBvdn0PLOeP3TEkMH7HHeUP3GjsXCwKarjv/kGmUFOYg1VqEemKhoQpWMu6X2I8kHeuVdGibLGkVK+/5Qw==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/semver-regex/-/semver-regex-3.1.2.tgz", + "integrity": "sha512-bXWyL6EAKOJa81XG1OZ/Yyuq+oT0b2YLlxx7c+mrdYPaPbnj6WgVULXhinMIeZGufuUBu/eVRqXEhiv4imfwxA==", "dev": true }, "serialize-javascript": { @@ -11928,21 +11625,21 @@ } }, "standard-version": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/standard-version/-/standard-version-9.0.0.tgz", - "integrity": "sha512-eRR04IscMP3xW9MJTykwz13HFNYs8jS33AGuDiBKgfo5YrO0qX0Nxb4rjupVwT5HDYL/aR+MBEVLjlmVFmFEDQ==", + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/standard-version/-/standard-version-9.1.0.tgz", + "integrity": "sha512-EJcbKUGKBuHjiDSUL5XjPhT1KGVM+UCvv/ti70fHnJwJyJqTSJWl0mWj/Wj0WwsoskyvKWURESzBsZmCCMUZzg==", "dev": true, "requires": { "chalk": "^2.4.2", - "conventional-changelog": "3.1.23", + "conventional-changelog": "3.1.24", "conventional-changelog-config-spec": "2.1.0", - "conventional-changelog-conventionalcommits": "4.4.0", - "conventional-recommended-bump": "6.0.10", + "conventional-changelog-conventionalcommits": "4.5.0", + "conventional-recommended-bump": "6.0.11", "detect-indent": "^6.0.0", "detect-newline": "^3.1.0", "dotgitignore": "^2.1.0", "figures": "^3.1.0", - "find-up": "^4.1.0", + "find-up": "^5.0.0", "fs-access": "^1.0.1", "git-semver-tags": "^4.0.0", "semver": "^7.1.1", @@ -11950,23 +11647,49 @@ "yargs": "^15.3.1" }, "dependencies": { - "conventional-changelog-conventionalcommits": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-4.4.0.tgz", - "integrity": "sha512-ybvx76jTh08tpaYrYn/yd0uJNLt5yMrb1BphDe4WBredMlvPisvMghfpnJb6RmRNcqXeuhR6LfGZGewbkRm9yA==", - "dev": true, - "requires": { - "compare-func": "^2.0.0", - "lodash": "^4.17.15", - "q": "^1.5.1" - } - }, "detect-indent": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-6.0.0.tgz", "integrity": "sha512-oSyFlqaTHCItVRGK5RmrmjB+CmaMOW7IaNA/kdxqhoa6d17j/5ce9O9eWXmV/KEdRwqpQA+Vqe8a8Bsybu4YnA==", "dev": true }, + "find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "requires": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + } + }, + "locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "requires": { + "p-locate": "^5.0.0" + } + }, + "p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "requires": { + "yocto-queue": "^0.1.0" + } + }, + "p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "requires": { + "p-limit": "^3.0.2" + } + }, "semver": { "version": "7.3.4", "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.4.tgz", @@ -12196,15 +11919,35 @@ "dev": true }, "table": { - "version": "6.0.4", - "resolved": "https://registry.npmjs.org/table/-/table-6.0.4.tgz", - "integrity": "sha512-sBT4xRLdALd+NFBvwOz8bw4b15htyythha+q+DVZqy2RS08PPC8O2sZFgJYEY7bJvbCFKccs+WIZ/cd+xxTWCw==", + "version": "6.0.7", + "resolved": "https://registry.npmjs.org/table/-/table-6.0.7.tgz", + "integrity": "sha512-rxZevLGTUzWna/qBLObOe16kB2RTnnbhciwgPbMMlazz1yZGVEgnZK762xyVdVznhqxrfCeBMmMkgOOaPwjH7g==", "dev": true, "requires": { - "ajv": "^6.12.4", + "ajv": "^7.0.2", "lodash": "^4.17.20", "slice-ansi": "^4.0.0", "string-width": "^4.2.0" + }, + "dependencies": { + "ajv": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-7.0.3.tgz", + "integrity": "sha512-R50QRlXSxqXcQP5SvKUrw8VZeypvo12i2IX0EeR5PiZ7bEKeHWgzgo264LDadUsCU42lTJVhFikTqJwNeH34gQ==", + "dev": true, + "requires": { + "fast-deep-equal": "^3.1.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", + "uri-js": "^4.2.2" + } + }, + "json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true + } } }, "tapable": { @@ -12281,17 +12024,17 @@ } }, "terser-webpack-plugin": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.0.3.tgz", - "integrity": "sha512-zFdGk8Lh9ZJGPxxPE6jwysOlATWB8GMW8HcfGULWA/nPal+3VdATflQvSBSLQJRCmYZnfFJl6vkRTiwJGNgPiQ==", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.1.1.tgz", + "integrity": "sha512-5XNNXZiR8YO6X6KhSGXfY0QrGrCRlSwAEjIIrlRQR4W8nP69TaJUlh3bkuac6zzgspiGPfKEHcY295MMVExl5Q==", "dev": true, "requires": { - "jest-worker": "^26.6.1", - "p-limit": "^3.0.2", + "jest-worker": "^26.6.2", + "p-limit": "^3.1.0", "schema-utils": "^3.0.0", "serialize-javascript": "^5.0.1", "source-map": "^0.6.1", - "terser": "^5.3.8" + "terser": "^5.5.1" }, "dependencies": { "p-limit": { @@ -12535,9 +12278,9 @@ } }, "uglify-js": { - "version": "3.12.3", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.12.3.tgz", - "integrity": "sha512-feZzR+kIcSVuLi3s/0x0b2Tx4Iokwqt+8PJM7yRHKuldg4MLdam4TCFeICv+lgDtuYiCtdmrtIP+uN9LWvDasw==", + "version": "3.12.4", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.12.4.tgz", + "integrity": "sha512-L5i5jg/SHkEqzN18gQMTWsZk3KelRsfD1wUVNqtq0kzqWQqcJjyL8yc1o8hJgRrWqrAl2mUFbhfznEIoi7zi2A==", "dev": true, "optional": true }, @@ -12643,9 +12386,9 @@ "dev": true }, "uri-js": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.0.tgz", - "integrity": "sha512-B0yRTzYdUCCn9n+F4+Gh4yIDtMQcaJsmYBDsTSG8g/OejKBodLQ2IHfN3bM7jUsRXndopT7OIXWdYqc1fjmV6g==", + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", "requires": { "punycode": "^2.1.0" } @@ -12774,17 +12517,16 @@ "dev": true }, "webpack": { - "version": "5.11.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.11.0.tgz", - "integrity": "sha512-ubWv7iP54RqAC/VjixgpnLLogCFbAfSOREcSWnnOlZEU8GICC5eKmJSu6YEnph2N2amKqY9rvxSwgyHxVqpaRw==", + "version": "5.12.3", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.12.3.tgz", + "integrity": "sha512-7tiQmcTnKhZwbf7X7sEfXe0pgkGjUZjT6JfYkZHvvIb4/ZsXl1rJu5PxsJoN7W3v5sNSP/8TgBoiOdDqVdvK5w==", "dev": true, "requires": { "@types/eslint-scope": "^3.7.0", "@types/estree": "^0.0.45", - "@webassemblyjs/ast": "1.9.1", - "@webassemblyjs/helper-module-context": "1.9.1", - "@webassemblyjs/wasm-edit": "1.9.1", - "@webassemblyjs/wasm-parser": "1.9.1", + "@webassemblyjs/ast": "1.11.0", + "@webassemblyjs/wasm-edit": "1.11.0", + "@webassemblyjs/wasm-parser": "1.11.0", "acorn": "^8.0.4", "browserslist": "^4.14.5", "chrome-trace-event": "^1.0.2", @@ -12794,13 +12536,13 @@ "glob-to-regexp": "^0.4.1", "graceful-fs": "^4.2.4", "json-parse-better-errors": "^1.0.2", - "loader-runner": "^4.1.0", + "loader-runner": "^4.2.0", "mime-types": "^2.1.27", "neo-async": "^2.6.2", "pkg-dir": "^5.0.0", "schema-utils": "^3.0.0", "tapable": "^2.1.1", - "terser-webpack-plugin": "^5.0.3", + "terser-webpack-plugin": "^5.1.1", "watchpack": "^2.0.0", "webpack-sources": "^2.1.1" }, @@ -12887,9 +12629,9 @@ } }, "webpack-stats-plugin": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/webpack-stats-plugin/-/webpack-stats-plugin-1.0.2.tgz", - "integrity": "sha512-7G8gSRMtXhld6VBJ3OXoBxPeopyLM4T/QpUUudEuH9N+hhb1AGHmARYQsPMgeJBPsrBGUuQWKRh1FECfUhYkQw==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/webpack-stats-plugin/-/webpack-stats-plugin-1.0.3.tgz", + "integrity": "sha512-tV/SQHl6lKfBahJcNDmz8JG1rpWPB9NEDQSMIoL74oVAotdxYljpgIsgLzgc1N9QrtA9KEA0moJVwQtNZv2aDA==", "dev": true }, "whatwg-encoding": { @@ -13232,9 +12974,9 @@ } }, "ws": { - "version": "7.4.1", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.1.tgz", - "integrity": "sha512-pTsP8UAfhy3sk1lSk/O/s4tjD0CRwvMnzvwr4OKGX7ZvqZtUyx4KIJB5JWbkykPoc55tixMGgTNoh3k4FkNGFQ==", + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.2.tgz", + "integrity": "sha512-T4tewALS3+qsrpGI/8dqNMLIVdq/g/85U98HPMa6F0m6xTbvhXU6RCQLqPH3+SlomNV/LdY6RXEbBpMH6EOJnA==", "dev": true }, "xml-name-validator": { diff --git a/package.json b/package.json index 7a1bf0c..0ffaf37 100644 --- a/package.json +++ b/package.json @@ -57,19 +57,19 @@ "cross-env": "^7.0.2", "del": "^6.0.0", "del-cli": "^3.0.1", - "eslint": "^7.16.0", + "eslint": "^7.17.0", "eslint-config-prettier": "^7.1.0", "eslint-plugin-import": "^2.22.1", "file-loader": "^6.2.0", - "husky": "^4.3.6", + "husky": "^4.3.7", "jest": "^26.6.3", "lint-staged": "^10.5.1", "memfs": "^3.2.0", "npm-run-all": "^4.1.5", "prettier": "^2.1.2", - "standard-version": "^9.0.0", - "webpack": "^5.11.0", - "webpack-stats-plugin": "^1.0.2", + "standard-version": "^9.1.0", + "webpack": "^5.12.3", + "webpack-stats-plugin": "^1.0.3", "workbox-webpack-plugin": "^6.0.2" }, "keywords": [ diff --git a/src/index.js b/src/index.js index f5305d2..dd650a0 100644 --- a/src/index.js +++ b/src/index.js @@ -4,6 +4,7 @@ */ import path from "path"; +import crypto from "crypto"; import { validate } from "schema-utils"; import serialize from "serialize-javascript"; @@ -126,15 +127,27 @@ class CompressionPlugin { let relatedName; if (typeof this.options.algorithm === "function") { - let filenameForRelatedName = this.options.filename; - - const index = filenameForRelatedName.indexOf("?"); + if (typeof this.options.filename === "function") { + relatedName = `compression-function-${crypto + .createHash("md5") + .update(serialize(this.options.filename)) + .digest("hex")}`; + } else { + let filenameForRelatedName = this.options.filename; + + const index = filenameForRelatedName.indexOf("?"); + + if (index >= 0) { + filenameForRelatedName = filenameForRelatedName.substr( + 0, + index + ); + } - if (index >= 0) { - filenameForRelatedName = filenameForRelatedName.substr(0, index); + relatedName = `${path + .extname(filenameForRelatedName) + .slice(1)}ed`; } - - relatedName = `${path.extname(filenameForRelatedName).slice(1)}ed`; } else if (this.options.algorithm === "gzip") { relatedName = "gzipped"; } else { diff --git a/test/__snapshots__/CompressionPlugin.test.js.snap b/test/__snapshots__/CompressionPlugin.test.js.snap index fd6cdb8..42cfd27 100644 --- a/test/__snapshots__/CompressionPlugin.test.js.snap +++ b/test/__snapshots__/CompressionPlugin.test.js.snap @@ -96,21 +96,21 @@ Array [ ], Array [ "main.js", - 15893, + 15911, Object { "javascriptModule": false, "related": Object { "gzipped": "main.js.gz", }, - "size": 15893, + "size": 15911, }, ], Array [ "main.js.gz", - 3889, + 3891, Object { "compressed": true, - "size": 3889, + "size": 3891, }, ], ] @@ -166,21 +166,21 @@ Array [ ], Array [ "main.js", - 15893, + 15911, Object { "javascriptModule": false, "related": Object { "gzipped": "main.js.gz", }, - "size": 15893, + "size": 15911, }, ], Array [ "main.js.gz", - 3889, + 3891, Object { "compressed": true, - "size": 3889, + "size": 3891, }, ], ] @@ -227,20 +227,20 @@ Array [ }, ], Array [ - "async.async.27008663fa31c77100af.js", + "async.async.b97914b5d39d92c9b2db.js", 194, Object { - "contenthash": "27008663fa31c77100af", + "contenthash": "b97914b5d39d92c9b2db", "immutable": true, "javascriptModule": false, "related": Object { - "gzipped": "async.async.27008663fa31c77100af.js.gz", + "gzipped": "async.async.b97914b5d39d92c9b2db.js.gz", }, "size": 194, }, ], Array [ - "async.async.27008663fa31c77100af.js.gz", + "async.async.b97914b5d39d92c9b2db.js.gz", 134, Object { "compressed": true, @@ -249,25 +249,25 @@ Array [ }, ], Array [ - "main.8227a8be27dd4cdc00cc.js", - 15980, + "main.e31fa86361f8fe2a5bd2.js", + 15998, Object { - "contenthash": "8227a8be27dd4cdc00cc", + "contenthash": "e31fa86361f8fe2a5bd2", "immutable": true, "javascriptModule": false, "related": Object { - "gzipped": "main.8227a8be27dd4cdc00cc.js.gz", + "gzipped": "main.e31fa86361f8fe2a5bd2.js.gz", }, - "size": 15980, + "size": 15998, }, ], Array [ - "main.8227a8be27dd4cdc00cc.js.gz", - 3974, + "main.e31fa86361f8fe2a5bd2.js.gz", + 3976, Object { "compressed": true, "immutable": true, - "size": 3974, + "size": 3976, }, ], ] @@ -330,21 +330,21 @@ Array [ ], Array [ "main.js", - 15949, + 15967, Object { "javascriptModule": false, "related": Object { "gzipped": "main.js.gz", }, - "size": 15949, + "size": 15967, }, ], Array [ "main.js.gz", - 3952, + 3954, Object { "compressed": true, - "size": 3952, + "size": 3954, }, ], ] @@ -404,21 +404,21 @@ Array [ ], Array [ "main.js", - 15877, + 15895, Object { "javascriptModule": false, "related": Object { "gzipped": "main.js.gz", }, - "size": 15877, + "size": 15895, }, ], Array [ "main.js.gz", - 3886, + 3888, Object { "compressed": true, - "size": 3886, + "size": 3888, }, ], ] @@ -485,21 +485,21 @@ Array [ ], Array [ "main.js", - 15877, + 15895, Object { "javascriptModule": false, "related": Object { "gzipped": "main.js.gz", }, - "size": 15877, + "size": 15895, }, ], Array [ "main.js.gz", - 3886, + 3888, Object { "compressed": true, - "size": 3886, + "size": 3888, }, ], ] @@ -566,21 +566,21 @@ Array [ ], Array [ "main.js", - 15933, + 15951, Object { "javascriptModule": false, "related": Object { "gzipped": "main.js.gz", }, - "size": 15933, + "size": 15951, }, ], Array [ "main.js.gz", - 3949, + 3951, Object { "compressed": true, - "size": 3949, + "size": 3951, }, ], ] @@ -639,21 +639,21 @@ Array [ ], Array [ "main.js", - 15970, + 15988, Object { "javascriptModule": false, "related": Object { "gzipped": "main.js.gz", }, - "size": 15970, + "size": 15988, }, ], Array [ "main.js.gz", - 3972, + 3974, Object { "compressed": true, - "size": 3972, + "size": 3974, }, ], ] @@ -770,7 +770,7 @@ Array [ ], Array [ "main.js", - 15933, + 15951, Object { "javascriptModule": false, "related": Object { @@ -778,31 +778,31 @@ Array [ "customed": "main.js.custom", "gzipped": "main.js.gz", }, - "size": 15933, + "size": 15951, }, ], Array [ "main.js.br", - 3454, + 3455, Object { "compressed": true, - "size": 3454, + "size": 3455, }, ], Array [ "main.js.custom", - 15933, + 15951, Object { "compressed": true, - "size": 15933, + "size": 15951, }, ], Array [ "main.js.gz", - 3949, + 3951, Object { "compressed": true, - "size": 3949, + "size": 3951, }, ], ] @@ -911,7 +911,7 @@ Array [ ], Array [ "main.js", - 15933, + 15951, Object { "javascriptModule": false, "related": Object { @@ -919,31 +919,31 @@ Array [ "customed": "main.js.custom", "gzipped": "main.js.gz", }, - "size": 15933, + "size": 15951, }, ], Array [ "main.js.br", - 3454, + 3455, Object { "compressed": true, - "size": 3454, + "size": 3455, }, ], Array [ "main.js.custom", - 15933, + 15951, Object { "compressed": true, - "size": 15933, + "size": 15951, }, ], Array [ "main.js.gz", - 3949, + 3951, Object { "compressed": true, - "size": 3949, + "size": 3951, }, ], ] @@ -1010,21 +1010,21 @@ Array [ ], Array [ "main.js", - 15933, + 15951, Object { "javascriptModule": false, "related": Object { "gzipped": "main.js.gz", }, - "size": 15933, + "size": 15951, }, ], Array [ "main.js.gz", - 3949, + 3951, Object { "compressed": true, - "size": 3949, + "size": 3951, }, ], ] @@ -1083,21 +1083,21 @@ Array [ ], Array [ "main.js", - 15933, + 15951, Object { "javascriptModule": false, "related": Object { "gzipped": "main.js.gz", }, - "size": 15933, + "size": 15951, }, ], Array [ "main.js.gz", - 3949, + 3951, Object { "compressed": true, - "size": 3949, + "size": 3951, }, ], ] @@ -1144,20 +1144,20 @@ Array [ }, ], Array [ - "async.async.9325220d444b0d653c03.js", + "async.async.a48c0e93eef1aa9e4c84.js", 194, Object { - "chunkhash": "9325220d444b0d653c03", + "chunkhash": "a48c0e93eef1aa9e4c84", "immutable": true, "javascriptModule": false, "related": Object { - "gzipped": "async.async.9325220d444b0d653c03.js.gz", + "gzipped": "async.async.a48c0e93eef1aa9e4c84.js.gz", }, "size": 194, }, ], Array [ - "async.async.9325220d444b0d653c03.js.gz", + "async.async.a48c0e93eef1aa9e4c84.js.gz", 134, Object { "compressed": true, @@ -1166,25 +1166,25 @@ Array [ }, ], Array [ - "main.2acf4b87f27668ec188c.js", - 15980, + "main.cf74b442e1d11f81aa8f.js", + 15998, Object { - "chunkhash": "2acf4b87f27668ec188c", + "chunkhash": "cf74b442e1d11f81aa8f", "immutable": true, "javascriptModule": false, "related": Object { - "gzipped": "main.2acf4b87f27668ec188c.js.gz", + "gzipped": "main.cf74b442e1d11f81aa8f.js.gz", }, - "size": 15980, + "size": 15998, }, ], Array [ - "main.2acf4b87f27668ec188c.js.gz", - 3975, + "main.cf74b442e1d11f81aa8f.js.gz", + 3974, Object { "compressed": true, "immutable": true, - "size": 3975, + "size": 3974, }, ], ] @@ -1223,20 +1223,20 @@ Array [ }, ], Array [ - "async.async.9325220d444b0d653c03.js", + "async.async.a48c0e93eef1aa9e4c84.js", 194, Object { - "chunkhash": "9325220d444b0d653c03", + "chunkhash": "a48c0e93eef1aa9e4c84", "immutable": true, "javascriptModule": false, "related": Object { - "gzipped": "async.async.9325220d444b0d653c03.js.gz", + "gzipped": "async.async.a48c0e93eef1aa9e4c84.js.gz", }, "size": 194, }, ], Array [ - "async.async.9325220d444b0d653c03.js.gz", + "async.async.a48c0e93eef1aa9e4c84.js.gz", 134, Object { "compressed": true, @@ -1245,25 +1245,25 @@ Array [ }, ], Array [ - "main.2acf4b87f27668ec188c.js", - 15980, + "main.cf74b442e1d11f81aa8f.js", + 15998, Object { - "chunkhash": "2acf4b87f27668ec188c", + "chunkhash": "cf74b442e1d11f81aa8f", "immutable": true, "javascriptModule": false, "related": Object { - "gzipped": "main.2acf4b87f27668ec188c.js.gz", + "gzipped": "main.cf74b442e1d11f81aa8f.js.gz", }, - "size": 15980, + "size": 15998, }, ], Array [ - "main.2acf4b87f27668ec188c.js.gz", - 3975, + "main.cf74b442e1d11f81aa8f.js.gz", + 3974, Object { "compressed": true, "immutable": true, - "size": 3975, + "size": 3974, }, ], ] @@ -1319,10 +1319,10 @@ Array [ }, ], Array [ - "async.async.js?ver=a22e106d82ecc15288c1", + "async.async.js?ver=8fecf43e4428ac0cc929", 194, Object { - "fullhash": "a22e106d82ecc15288c1", + "fullhash": "8fecf43e4428ac0cc929", "immutable": true, "javascriptModule": false, "related": Object { @@ -1352,24 +1352,24 @@ Array [ ], Array [ "main.js.gz", - 3995, + 3998, Object { "compressed": true, "immutable": true, - "size": 3995, + "size": 3998, }, ], Array [ - "main.js?var=a22e106d82ecc15288c1", - 16136, + "main.js?var=8fecf43e4428ac0cc929", + 16154, Object { - "fullhash": "a22e106d82ecc15288c1", + "fullhash": "8fecf43e4428ac0cc929", "immutable": true, "javascriptModule": false, "related": Object { "gzipped": "main.js.gz", }, - "size": 16136, + "size": 16154, }, ], ] @@ -1412,20 +1412,20 @@ Array [ }, ], Array [ - "async.async.9325220d444b0d653c03.js", + "async.async.a48c0e93eef1aa9e4c84.js", 194, Object { - "chunkhash": "9325220d444b0d653c03", + "chunkhash": "a48c0e93eef1aa9e4c84", "immutable": true, "javascriptModule": false, "related": Object { - "gzipped": "async.async.9325220d444b0d653c03.js.gz", + "gzipped": "async.async.a48c0e93eef1aa9e4c84.js.gz", }, "size": 194, }, ], Array [ - "async.async.9325220d444b0d653c03.js.gz", + "async.async.a48c0e93eef1aa9e4c84.js.gz", 134, Object { "compressed": true, @@ -1434,25 +1434,25 @@ Array [ }, ], Array [ - "main.2acf4b87f27668ec188c.js", - 15980, + "main.cf74b442e1d11f81aa8f.js", + 15998, Object { - "chunkhash": "2acf4b87f27668ec188c", + "chunkhash": "cf74b442e1d11f81aa8f", "immutable": true, "javascriptModule": false, "related": Object { - "gzipped": "main.2acf4b87f27668ec188c.js.gz", + "gzipped": "main.cf74b442e1d11f81aa8f.js.gz", }, - "size": 15980, + "size": 15998, }, ], Array [ - "main.2acf4b87f27668ec188c.js.gz", - 3975, + "main.cf74b442e1d11f81aa8f.js.gz", + 3974, Object { "compressed": true, "immutable": true, - "size": 3975, + "size": 3974, }, ], Array [ @@ -1511,10 +1511,10 @@ Array [ }, ], Array [ - "async.async.js?ver=4a84e7c8bd64b5de6eb4", + "async.async.js?ver=b65915238e8faf4cb69c", 194, Object { - "fullhash": "4a84e7c8bd64b5de6eb4", + "fullhash": "b65915238e8faf4cb69c", "immutable": true, "javascriptModule": false, "related": Object { @@ -1544,11 +1544,11 @@ Array [ ], Array [ "main.js.gz", - 4032, + 4034, Object { "compressed": true, "immutable": true, - "size": 4032, + "size": 4034, }, ], Array [ @@ -1560,28 +1560,28 @@ Array [ }, ], Array [ - "main.js.map?var=4a84e7c8bd64b5de6eb4", - 13084, + "main.js.map?var=b65915238e8faf4cb69c", + 13102, Object { "development": true, "related": Object { "gzipped": "main.js.map.gz", }, - "size": 13084, + "size": 13102, }, ], Array [ - "main.js?var=4a84e7c8bd64b5de6eb4", - 16197, + "main.js?var=b65915238e8faf4cb69c", + 16215, Object { - "fullhash": "4a84e7c8bd64b5de6eb4", + "fullhash": "b65915238e8faf4cb69c", "immutable": true, "javascriptModule": false, "related": Object { "gzipped": "main.js.gz", - "sourceMap": "main.js.map?var=4a84e7c8bd64b5de6eb4", + "sourceMap": "main.js.map?var=b65915238e8faf4cb69c", }, - "size": 16197, + "size": 16215, }, ], ] @@ -1712,10 +1712,10 @@ Array [ }, ], Array [ - "async.async.js?ver=395794ce86cd23762ded", + "async.async.js?ver=975abbe18f7c0f04a3e0", 194, Object { - "fullhash": "395794ce86cd23762ded", + "fullhash": "975abbe18f7c0f04a3e0", "immutable": true, "javascriptModule": false, "related": Object { @@ -1729,45 +1729,45 @@ Array [ ], Array [ "main.js.br", - 3499, + 3501, Object { "compressed": true, "immutable": true, - "size": 3499, + "size": 3501, }, ], Array [ "main.js.compress", - 16139, + 16157, Object { "compressed": true, "immutable": true, - "size": 16139, + "size": 16157, }, ], Array [ "main.js.custom?foo=bar#hash", - 16139, + 16157, Object { "compressed": true, "immutable": true, - "size": 16139, + "size": 16157, }, ], Array [ "main.js.gz", - 4002, + 4003, Object { "compressed": true, "immutable": true, - "size": 4002, + "size": 4003, }, ], Array [ - "main.js?var=395794ce86cd23762ded", - 16139, + "main.js?var=975abbe18f7c0f04a3e0", + 16157, Object { - "fullhash": "395794ce86cd23762ded", + "fullhash": "975abbe18f7c0f04a3e0", "immutable": true, "javascriptModule": false, "related": Object { @@ -1776,7 +1776,7 @@ Array [ "customed": "main.js.custom?foo=bar#hash", "gzipped": "main.js.gz", }, - "size": 16139, + "size": 16157, }, ], ] @@ -1828,10 +1828,10 @@ Array [ }, ], Array [ - "async.async.js?ver=395794ce86cd23762ded", + "async.async.js?ver=975abbe18f7c0f04a3e0", 194, Object { - "fullhash": "395794ce86cd23762ded", + "fullhash": "975abbe18f7c0f04a3e0", "immutable": true, "javascriptModule": false, "related": Object { @@ -1842,24 +1842,24 @@ Array [ ], Array [ "main.js.gz", - 4002, + 4003, Object { "compressed": true, "immutable": true, - "size": 4002, + "size": 4003, }, ], Array [ - "main.js?var=395794ce86cd23762ded", - 16139, + "main.js?var=975abbe18f7c0f04a3e0", + 16157, Object { - "fullhash": "395794ce86cd23762ded", + "fullhash": "975abbe18f7c0f04a3e0", "immutable": true, "javascriptModule": false, "related": Object { "gzipped": "main.js.gz", }, - "size": 16139, + "size": 16157, }, ], ] diff --git a/test/__snapshots__/algorithm.test.js.snap b/test/__snapshots__/algorithm.test.js.snap index 9940bbf..3016158 100644 --- a/test/__snapshots__/algorithm.test.js.snap +++ b/test/__snapshots__/algorithm.test.js.snap @@ -45,20 +45,20 @@ Array [ }, ], Array [ - "async.async.9325220d444b0d653c03.js", + "async.async.a48c0e93eef1aa9e4c84.js", 194, Object { - "chunkhash": "9325220d444b0d653c03", + "chunkhash": "a48c0e93eef1aa9e4c84", "immutable": true, "javascriptModule": false, "related": Object { - "gzipped": "async.async.9325220d444b0d653c03.js.gz", + "gzipped": "async.async.a48c0e93eef1aa9e4c84.js.gz", }, "size": 194, }, ], Array [ - "async.async.9325220d444b0d653c03.js.gz", + "async.async.a48c0e93eef1aa9e4c84.js.gz", 134, Object { "compressed": true, @@ -67,25 +67,25 @@ Array [ }, ], Array [ - "main.2acf4b87f27668ec188c.js", - 15980, + "main.cf74b442e1d11f81aa8f.js", + 15998, Object { - "chunkhash": "2acf4b87f27668ec188c", + "chunkhash": "cf74b442e1d11f81aa8f", "immutable": true, "javascriptModule": false, "related": Object { - "gzipped": "main.2acf4b87f27668ec188c.js.gz", + "gzipped": "main.cf74b442e1d11f81aa8f.js.gz", }, - "size": 15980, + "size": 15998, }, ], Array [ - "main.2acf4b87f27668ec188c.js.gz", - 3975, + "main.cf74b442e1d11f81aa8f.js.gz", + 3974, Object { "compressed": true, "immutable": true, - "size": 3975, + "size": 3974, }, ], ] @@ -142,20 +142,20 @@ Array [ }, ], Array [ - "async.async.9325220d444b0d653c03.js", + "async.async.a48c0e93eef1aa9e4c84.js", 194, Object { - "chunkhash": "9325220d444b0d653c03", + "chunkhash": "a48c0e93eef1aa9e4c84", "immutable": true, "javascriptModule": false, "related": Object { - "gzed": "async.async.9325220d444b0d653c03.js.gz", + "gzed": "async.async.a48c0e93eef1aa9e4c84.js.gz", }, "size": 194, }, ], Array [ - "async.async.9325220d444b0d653c03.js.gz", + "async.async.a48c0e93eef1aa9e4c84.js.gz", 194, Object { "compressed": true, @@ -164,25 +164,25 @@ Array [ }, ], Array [ - "main.2acf4b87f27668ec188c.js", - 15980, + "main.cf74b442e1d11f81aa8f.js", + 15998, Object { - "chunkhash": "2acf4b87f27668ec188c", + "chunkhash": "cf74b442e1d11f81aa8f", "immutable": true, "javascriptModule": false, "related": Object { - "gzed": "main.2acf4b87f27668ec188c.js.gz", + "gzed": "main.cf74b442e1d11f81aa8f.js.gz", }, - "size": 15980, + "size": 15998, }, ], Array [ - "main.2acf4b87f27668ec188c.js.gz", - 15980, + "main.cf74b442e1d11f81aa8f.js.gz", + 15998, Object { "compressed": true, "immutable": true, - "size": 15980, + "size": 15998, }, ], ] @@ -221,23 +221,23 @@ Array [ }, ], Array [ - "async.async.9325220d444b0d653c03.js", + "async.async.a48c0e93eef1aa9e4c84.js", 194, Object { - "chunkhash": "9325220d444b0d653c03", + "chunkhash": "a48c0e93eef1aa9e4c84", "immutable": true, "javascriptModule": false, "size": 194, }, ], Array [ - "main.2acf4b87f27668ec188c.js", - 15980, + "main.cf74b442e1d11f81aa8f.js", + 15998, Object { - "chunkhash": "2acf4b87f27668ec188c", + "chunkhash": "cf74b442e1d11f81aa8f", "immutable": true, "javascriptModule": false, - "size": 15980, + "size": 15998, }, ], ] diff --git a/test/__snapshots__/compressionOptions-option.test.js.snap b/test/__snapshots__/compressionOptions-option.test.js.snap index 1ab3842..7da9d58 100644 --- a/test/__snapshots__/compressionOptions-option.test.js.snap +++ b/test/__snapshots__/compressionOptions-option.test.js.snap @@ -45,20 +45,20 @@ Array [ }, ], Array [ - "async.async.9325220d444b0d653c03.js", + "async.async.a48c0e93eef1aa9e4c84.js", 194, Object { - "chunkhash": "9325220d444b0d653c03", + "chunkhash": "a48c0e93eef1aa9e4c84", "immutable": true, "javascriptModule": false, "related": Object { - "gzipped": "async.async.9325220d444b0d653c03.js.gz", + "gzipped": "async.async.a48c0e93eef1aa9e4c84.js.gz", }, "size": 194, }, ], Array [ - "async.async.9325220d444b0d653c03.js.gz", + "async.async.a48c0e93eef1aa9e4c84.js.gz", 134, Object { "compressed": true, @@ -67,25 +67,25 @@ Array [ }, ], Array [ - "main.2acf4b87f27668ec188c.js", - 15980, + "main.cf74b442e1d11f81aa8f.js", + 15998, Object { - "chunkhash": "2acf4b87f27668ec188c", + "chunkhash": "cf74b442e1d11f81aa8f", "immutable": true, "javascriptModule": false, "related": Object { - "gzipped": "main.2acf4b87f27668ec188c.js.gz", + "gzipped": "main.cf74b442e1d11f81aa8f.js.gz", }, - "size": 15980, + "size": 15998, }, ], Array [ - "main.2acf4b87f27668ec188c.js.gz", - 3975, + "main.cf74b442e1d11f81aa8f.js.gz", + 3974, Object { "compressed": true, "immutable": true, - "size": 3975, + "size": 3974, }, ], ] @@ -140,20 +140,20 @@ Array [ }, ], Array [ - "async.async.9325220d444b0d653c03.js", + "async.async.a48c0e93eef1aa9e4c84.js", 194, Object { - "chunkhash": "9325220d444b0d653c03", + "chunkhash": "a48c0e93eef1aa9e4c84", "immutable": true, "javascriptModule": false, "related": Object { - "gzipped": "async.async.9325220d444b0d653c03.js.gz", + "gzipped": "async.async.a48c0e93eef1aa9e4c84.js.gz", }, "size": 194, }, ], Array [ - "async.async.9325220d444b0d653c03.js.gz", + "async.async.a48c0e93eef1aa9e4c84.js.gz", 134, Object { "compressed": true, @@ -162,25 +162,25 @@ Array [ }, ], Array [ - "main.2acf4b87f27668ec188c.js", - 15980, + "main.cf74b442e1d11f81aa8f.js", + 15998, Object { - "chunkhash": "2acf4b87f27668ec188c", + "chunkhash": "cf74b442e1d11f81aa8f", "immutable": true, "javascriptModule": false, "related": Object { - "gzipped": "main.2acf4b87f27668ec188c.js.gz", + "gzipped": "main.cf74b442e1d11f81aa8f.js.gz", }, - "size": 15980, + "size": 15998, }, ], Array [ - "main.2acf4b87f27668ec188c.js.gz", - 3975, + "main.cf74b442e1d11f81aa8f.js.gz", + 3974, Object { "compressed": true, "immutable": true, - "size": 3975, + "size": 3974, }, ], ] @@ -223,20 +223,20 @@ Array [ }, ], Array [ - "async.async.9325220d444b0d653c03.js", + "async.async.a48c0e93eef1aa9e4c84.js", 194, Object { - "chunkhash": "9325220d444b0d653c03", + "chunkhash": "a48c0e93eef1aa9e4c84", "immutable": true, "javascriptModule": false, "related": Object { - "brotliCompressed": "async.async.9325220d444b0d653c03.js.gz", + "brotliCompressed": "async.async.a48c0e93eef1aa9e4c84.js.gz", }, "size": 194, }, ], Array [ - "async.async.9325220d444b0d653c03.js.gz", + "async.async.a48c0e93eef1aa9e4c84.js.gz", 123, Object { "compressed": true, @@ -245,25 +245,25 @@ Array [ }, ], Array [ - "main.2acf4b87f27668ec188c.js", - 15980, + "main.cf74b442e1d11f81aa8f.js", + 15998, Object { - "chunkhash": "2acf4b87f27668ec188c", + "chunkhash": "cf74b442e1d11f81aa8f", "immutable": true, "javascriptModule": false, "related": Object { - "brotliCompressed": "main.2acf4b87f27668ec188c.js.gz", + "brotliCompressed": "main.cf74b442e1d11f81aa8f.js.gz", }, - "size": 15980, + "size": 15998, }, ], Array [ - "main.2acf4b87f27668ec188c.js.gz", - 3473, + "main.cf74b442e1d11f81aa8f.js.gz", + 3477, Object { "compressed": true, "immutable": true, - "size": 3473, + "size": 3477, }, ], ] @@ -306,20 +306,20 @@ Array [ }, ], Array [ - "async.async.9325220d444b0d653c03.js", + "async.async.a48c0e93eef1aa9e4c84.js", 194, Object { - "chunkhash": "9325220d444b0d653c03", + "chunkhash": "a48c0e93eef1aa9e4c84", "immutable": true, "javascriptModule": false, "related": Object { - "deflateed": "async.async.9325220d444b0d653c03.js.gz", + "deflateed": "async.async.a48c0e93eef1aa9e4c84.js.gz", }, "size": 194, }, ], Array [ - "async.async.9325220d444b0d653c03.js.gz", + "async.async.a48c0e93eef1aa9e4c84.js.gz", 122, Object { "compressed": true, @@ -328,25 +328,25 @@ Array [ }, ], Array [ - "main.2acf4b87f27668ec188c.js", - 15980, + "main.cf74b442e1d11f81aa8f.js", + 15998, Object { - "chunkhash": "2acf4b87f27668ec188c", + "chunkhash": "cf74b442e1d11f81aa8f", "immutable": true, "javascriptModule": false, "related": Object { - "deflateed": "main.2acf4b87f27668ec188c.js.gz", + "deflateed": "main.cf74b442e1d11f81aa8f.js.gz", }, - "size": 15980, + "size": 15998, }, ], Array [ - "main.2acf4b87f27668ec188c.js.gz", - 3963, + "main.cf74b442e1d11f81aa8f.js.gz", + 3962, Object { "compressed": true, "immutable": true, - "size": 3963, + "size": 3962, }, ], ] @@ -389,20 +389,20 @@ Array [ }, ], Array [ - "async.async.9325220d444b0d653c03.js", + "async.async.a48c0e93eef1aa9e4c84.js", 194, Object { - "chunkhash": "9325220d444b0d653c03", + "chunkhash": "a48c0e93eef1aa9e4c84", "immutable": true, "javascriptModule": false, "related": Object { - "deflateRawed": "async.async.9325220d444b0d653c03.js.gz", + "deflateRawed": "async.async.a48c0e93eef1aa9e4c84.js.gz", }, "size": 194, }, ], Array [ - "async.async.9325220d444b0d653c03.js.gz", + "async.async.a48c0e93eef1aa9e4c84.js.gz", 116, Object { "compressed": true, @@ -411,25 +411,25 @@ Array [ }, ], Array [ - "main.2acf4b87f27668ec188c.js", - 15980, + "main.cf74b442e1d11f81aa8f.js", + 15998, Object { - "chunkhash": "2acf4b87f27668ec188c", + "chunkhash": "cf74b442e1d11f81aa8f", "immutable": true, "javascriptModule": false, "related": Object { - "deflateRawed": "main.2acf4b87f27668ec188c.js.gz", + "deflateRawed": "main.cf74b442e1d11f81aa8f.js.gz", }, - "size": 15980, + "size": 15998, }, ], Array [ - "main.2acf4b87f27668ec188c.js.gz", - 3957, + "main.cf74b442e1d11f81aa8f.js.gz", + 3956, Object { "compressed": true, "immutable": true, - "size": 3957, + "size": 3956, }, ], ] @@ -472,20 +472,20 @@ Array [ }, ], Array [ - "async.async.9325220d444b0d653c03.js", + "async.async.a48c0e93eef1aa9e4c84.js", 194, Object { - "chunkhash": "9325220d444b0d653c03", + "chunkhash": "a48c0e93eef1aa9e4c84", "immutable": true, "javascriptModule": false, "related": Object { - "gzipped": "async.async.9325220d444b0d653c03.js.gz", + "gzipped": "async.async.a48c0e93eef1aa9e4c84.js.gz", }, "size": 194, }, ], Array [ - "async.async.9325220d444b0d653c03.js.gz", + "async.async.a48c0e93eef1aa9e4c84.js.gz", 134, Object { "compressed": true, @@ -494,25 +494,25 @@ Array [ }, ], Array [ - "main.2acf4b87f27668ec188c.js", - 15980, + "main.cf74b442e1d11f81aa8f.js", + 15998, Object { - "chunkhash": "2acf4b87f27668ec188c", + "chunkhash": "cf74b442e1d11f81aa8f", "immutable": true, "javascriptModule": false, "related": Object { - "gzipped": "main.2acf4b87f27668ec188c.js.gz", + "gzipped": "main.cf74b442e1d11f81aa8f.js.gz", }, - "size": 15980, + "size": 15998, }, ], Array [ - "main.2acf4b87f27668ec188c.js.gz", - 3975, + "main.cf74b442e1d11f81aa8f.js.gz", + 3974, Object { "compressed": true, "immutable": true, - "size": 3975, + "size": 3974, }, ], ] diff --git a/test/__snapshots__/deleteOriginalAssets.test.js.snap b/test/__snapshots__/deleteOriginalAssets.test.js.snap index 395d776..fb5cdb5 100644 --- a/test/__snapshots__/deleteOriginalAssets.test.js.snap +++ b/test/__snapshots__/deleteOriginalAssets.test.js.snap @@ -21,7 +21,7 @@ Array [ }, ], Array [ - "async.async.1c2911c7c819fc826fb7.js", + "async.async.74fe2c104c9690b3e5ee.js", 134, Object { "compressed": true, @@ -30,20 +30,20 @@ Array [ }, ], Array [ - "main.9cfd4785aad521a42b5e.js", - 4017, + "main.f188aa4153475cccbf57.js", + 4019, Object { "compressed": true, "immutable": true, - "size": 4017, + "size": 4019, }, ], Array [ - "main.9cfd4785aad521a42b5e.js.map", - 12967, + "main.f188aa4153475cccbf57.js.map", + 12985, Object { "development": true, - "size": 12967, + "size": 12985, }, ], ] @@ -74,7 +74,7 @@ Array [ }, ], Array [ - "async.async.9325220d444b0d653c03.js.gz", + "async.async.a48c0e93eef1aa9e4c84.js.gz", 134, Object { "compressed": true, @@ -83,12 +83,12 @@ Array [ }, ], Array [ - "main.2acf4b87f27668ec188c.js.gz", - 3975, + "main.cf74b442e1d11f81aa8f.js.gz", + 3974, Object { "compressed": true, "immutable": true, - "size": 3975, + "size": 3974, }, ], ] @@ -119,7 +119,7 @@ Array [ }, ], Array [ - "async.async.9325220d444b0d653c03.js", + "async.async.a48c0e93eef1aa9e4c84.js", 134, Object { "compressed": true, @@ -128,12 +128,12 @@ Array [ }, ], Array [ - "main.2acf4b87f27668ec188c.js", - 3975, + "main.cf74b442e1d11f81aa8f.js", + 3974, Object { "compressed": true, "immutable": true, - "size": 3975, + "size": 3974, }, ], ] @@ -176,20 +176,20 @@ Array [ }, ], Array [ - "async.async.9325220d444b0d653c03.js", + "async.async.a48c0e93eef1aa9e4c84.js", 194, Object { - "chunkhash": "9325220d444b0d653c03", + "chunkhash": "a48c0e93eef1aa9e4c84", "immutable": true, "javascriptModule": false, "related": Object { - "gzipped": "async.async.9325220d444b0d653c03.js.gz", + "gzipped": "async.async.a48c0e93eef1aa9e4c84.js.gz", }, "size": 194, }, ], Array [ - "async.async.9325220d444b0d653c03.js.gz", + "async.async.a48c0e93eef1aa9e4c84.js.gz", 134, Object { "compressed": true, @@ -198,25 +198,25 @@ Array [ }, ], Array [ - "main.2acf4b87f27668ec188c.js", - 15980, + "main.cf74b442e1d11f81aa8f.js", + 15998, Object { - "chunkhash": "2acf4b87f27668ec188c", + "chunkhash": "cf74b442e1d11f81aa8f", "immutable": true, "javascriptModule": false, "related": Object { - "gzipped": "main.2acf4b87f27668ec188c.js.gz", + "gzipped": "main.cf74b442e1d11f81aa8f.js.gz", }, - "size": 15980, + "size": 15998, }, ], Array [ - "main.2acf4b87f27668ec188c.js.gz", - 3975, + "main.cf74b442e1d11f81aa8f.js.gz", + 3974, Object { "compressed": true, "immutable": true, - "size": 3975, + "size": 3974, }, ], ] @@ -271,20 +271,20 @@ Array [ }, ], Array [ - "async.async.9325220d444b0d653c03.js", + "async.async.a48c0e93eef1aa9e4c84.js", 194, Object { - "chunkhash": "9325220d444b0d653c03", + "chunkhash": "a48c0e93eef1aa9e4c84", "immutable": true, "javascriptModule": false, "related": Object { - "gzipped": "async.async.9325220d444b0d653c03.js.gz", + "gzipped": "async.async.a48c0e93eef1aa9e4c84.js.gz", }, "size": 194, }, ], Array [ - "async.async.9325220d444b0d653c03.js.gz", + "async.async.a48c0e93eef1aa9e4c84.js.gz", 134, Object { "compressed": true, @@ -293,25 +293,25 @@ Array [ }, ], Array [ - "main.2acf4b87f27668ec188c.js", - 15980, + "main.cf74b442e1d11f81aa8f.js", + 15998, Object { - "chunkhash": "2acf4b87f27668ec188c", + "chunkhash": "cf74b442e1d11f81aa8f", "immutable": true, "javascriptModule": false, "related": Object { - "gzipped": "main.2acf4b87f27668ec188c.js.gz", + "gzipped": "main.cf74b442e1d11f81aa8f.js.gz", }, - "size": 15980, + "size": 15998, }, ], Array [ - "main.2acf4b87f27668ec188c.js.gz", - 3975, + "main.cf74b442e1d11f81aa8f.js.gz", + 3974, Object { "compressed": true, "immutable": true, - "size": 3975, + "size": 3974, }, ], ] @@ -342,7 +342,7 @@ Array [ }, ], Array [ - "async.async.9325220d444b0d653c03.js", + "async.async.a48c0e93eef1aa9e4c84.js", 134, Object { "compressed": true, @@ -351,12 +351,12 @@ Array [ }, ], Array [ - "main.2acf4b87f27668ec188c.js", - 3975, + "main.cf74b442e1d11f81aa8f.js", + 3974, Object { "compressed": true, "immutable": true, - "size": 3975, + "size": 3974, }, ], ] @@ -365,8 +365,8 @@ Array [ exports[`"deleteOriginalAssets" option should work and report errors on duplicate assets: errors 1`] = ` Array [ "Error: Conflict: Multiple assets emit different content to the same filename 23fc1d3ac606d117e05a140e0de79806.svg", - "Error: Conflict: Multiple assets emit different content to the same filename async.async.9325220d444b0d653c03.js", - "Error: Conflict: Multiple assets emit different content to the same filename main.2acf4b87f27668ec188c.js", + "Error: Conflict: Multiple assets emit different content to the same filename async.async.a48c0e93eef1aa9e4c84.js", + "Error: Conflict: Multiple assets emit different content to the same filename main.cf74b442e1d11f81aa8f.js", ] `; diff --git a/test/__snapshots__/exclude-option.test.js.snap b/test/__snapshots__/exclude-option.test.js.snap index b50cca1..b6db571 100644 --- a/test/__snapshots__/exclude-option.test.js.snap +++ b/test/__snapshots__/exclude-option.test.js.snap @@ -42,10 +42,10 @@ Array [ }, ], Array [ - "async.async.js?ver=395794ce86cd23762ded", + "async.async.js?ver=975abbe18f7c0f04a3e0", 194, Object { - "fullhash": "395794ce86cd23762ded", + "fullhash": "975abbe18f7c0f04a3e0", "immutable": true, "javascriptModule": false, "related": Object { @@ -56,24 +56,24 @@ Array [ ], Array [ "main.js.gz", - 4002, + 4003, Object { "compressed": true, "immutable": true, - "size": 4002, + "size": 4003, }, ], Array [ - "main.js?var=395794ce86cd23762ded", - 16139, + "main.js?var=975abbe18f7c0f04a3e0", + 16157, Object { - "fullhash": "395794ce86cd23762ded", + "fullhash": "975abbe18f7c0f04a3e0", "immutable": true, "javascriptModule": false, "related": Object { "gzipped": "main.js.gz", }, - "size": 16139, + "size": 16157, }, ], ] @@ -113,10 +113,10 @@ Array [ }, ], Array [ - "async.async.js?ver=395794ce86cd23762ded", + "async.async.js?ver=975abbe18f7c0f04a3e0", 194, Object { - "fullhash": "395794ce86cd23762ded", + "fullhash": "975abbe18f7c0f04a3e0", "immutable": true, "javascriptModule": false, "related": Object { @@ -127,24 +127,24 @@ Array [ ], Array [ "main.js.gz", - 4002, + 4003, Object { "compressed": true, "immutable": true, - "size": 4002, + "size": 4003, }, ], Array [ - "main.js?var=395794ce86cd23762ded", - 16139, + "main.js?var=975abbe18f7c0f04a3e0", + 16157, Object { - "fullhash": "395794ce86cd23762ded", + "fullhash": "975abbe18f7c0f04a3e0", "immutable": true, "javascriptModule": false, "related": Object { "gzipped": "main.js.gz", }, - "size": 16139, + "size": 16157, }, ], ] diff --git a/test/__snapshots__/filename-option.test.js.snap b/test/__snapshots__/filename-option.test.js.snap index 59c99fe..4c341cd 100644 --- a/test/__snapshots__/filename-option.test.js.snap +++ b/test/__snapshots__/filename-option.test.js.snap @@ -45,20 +45,20 @@ Array [ }, ], Array [ - "async.async.js?ver=395794ce86cd23762ded", + "async.async.js?ver=975abbe18f7c0f04a3e0", 194, Object { - "fullhash": "395794ce86cd23762ded", + "fullhash": "975abbe18f7c0f04a3e0", "immutable": true, "javascriptModule": false, "related": Object { - "gzipped": "async.async.super-compressed.js.gz?ver=395794ce86cd23762ded", + "gzipped": "async.async.super-compressed.js.gz?ver=975abbe18f7c0f04a3e0", }, "size": 194, }, ], Array [ - "async.async.super-compressed.js.gz?ver=395794ce86cd23762ded", + "async.async.super-compressed.js.gz?ver=975abbe18f7c0f04a3e0", 134, Object { "compressed": true, @@ -67,25 +67,25 @@ Array [ }, ], Array [ - "main.js?var=395794ce86cd23762ded", - 16139, + "main.js?var=975abbe18f7c0f04a3e0", + 16157, Object { - "fullhash": "395794ce86cd23762ded", + "fullhash": "975abbe18f7c0f04a3e0", "immutable": true, "javascriptModule": false, "related": Object { - "gzipped": "main.super-compressed.js.gz?var=395794ce86cd23762ded", + "gzipped": "main.super-compressed.js.gz?var=975abbe18f7c0f04a3e0", }, - "size": 16139, + "size": 16157, }, ], Array [ - "main.super-compressed.js.gz?var=395794ce86cd23762ded", - 4002, + "main.super-compressed.js.gz?var=975abbe18f7c0f04a3e0", + 4003, Object { "compressed": true, "immutable": true, - "size": 4002, + "size": 4003, }, ], ] @@ -140,7 +140,7 @@ Array [ }, ], Array [ - "assets/js/async.async.js.super-compressed.gz?ver=6968f72dc8ee787d2d14#hash", + "assets/js/async.async.js.super-compressed.gz?ver=32be0f5ca2de0b8761db#hash", 134, Object { "compressed": true, @@ -149,38 +149,38 @@ Array [ }, ], Array [ - "assets/js/async.async.js?ver=6968f72dc8ee787d2d14#hash", + "assets/js/async.async.js?ver=32be0f5ca2de0b8761db#hash", 194, Object { - "fullhash": "6968f72dc8ee787d2d14", + "fullhash": "32be0f5ca2de0b8761db", "immutable": true, "javascriptModule": false, "related": Object { - "gzipped": "assets/js/async.async.js.super-compressed.gz?ver=6968f72dc8ee787d2d14#hash", + "gzipped": "assets/js/async.async.js.super-compressed.gz?ver=32be0f5ca2de0b8761db#hash", }, "size": 194, }, ], Array [ - "assets/js/main.js.super-compressed.gz?var=6968f72dc8ee787d2d14#hash", - 4020, + "assets/js/main.js.super-compressed.gz?var=32be0f5ca2de0b8761db#hash", + 4019, Object { "compressed": true, "immutable": true, - "size": 4020, + "size": 4019, }, ], Array [ - "assets/js/main.js?var=6968f72dc8ee787d2d14#hash", - 16165, + "assets/js/main.js?var=32be0f5ca2de0b8761db#hash", + 16183, Object { - "fullhash": "6968f72dc8ee787d2d14", + "fullhash": "32be0f5ca2de0b8761db", "immutable": true, "javascriptModule": false, "related": Object { - "gzipped": "assets/js/main.js.super-compressed.gz?var=6968f72dc8ee787d2d14#hash", + "gzipped": "assets/js/main.js.super-compressed.gz?var=32be0f5ca2de0b8761db#hash", }, - "size": 16165, + "size": 16183, }, ], ] @@ -190,6 +190,101 @@ exports[`"filename" option matches snapshot for \`[path][base].super-compressed. exports[`"filename" option matches snapshot for \`[path][base].super-compressed.gz[query][fragment]\` value ({String}): warnings 1`] = `Array []`; +exports[`"filename" option matches snapshot for custom function ({Function}) and custom algorithm ({Function}): assets 1`] = ` +Array [ + Array [ + "09a1a1112c577c2794359715edfcb5ac.png", + 78117, + Object { + "immutable": true, + "related": Object { + "compression-function-b8ad1ba770111161fc52644f2d5cfb0f": "09a1a1112c577c2794359715edfcb5ac.png.gz", + }, + "size": 78117, + "sourceFilename": "icon.png", + }, + ], + Array [ + "09a1a1112c577c2794359715edfcb5ac.png.gz", + 78117, + Object { + "compressed": true, + "immutable": true, + "size": 78117, + }, + ], + Array [ + "23fc1d3ac606d117e05a140e0de79806.svg", + 672, + Object { + "immutable": true, + "related": Object { + "compression-function-b8ad1ba770111161fc52644f2d5cfb0f": "23fc1d3ac606d117e05a140e0de79806.svg.gz", + }, + "size": 672, + "sourceFilename": "icon.svg", + }, + ], + Array [ + "23fc1d3ac606d117e05a140e0de79806.svg.gz", + 672, + Object { + "compressed": true, + "immutable": true, + "size": 672, + }, + ], + Array [ + "async.async.js.gz?ver=bd2525a5d170716d0018", + 194, + Object { + "compressed": true, + "immutable": true, + "size": 194, + }, + ], + Array [ + "async.async.js?ver=bd2525a5d170716d0018#hash", + 194, + Object { + "fullhash": "bd2525a5d170716d0018", + "immutable": true, + "javascriptModule": false, + "related": Object { + "compression-function-b8ad1ba770111161fc52644f2d5cfb0f": "async.async.js.gz?ver=bd2525a5d170716d0018", + }, + "size": 194, + }, + ], + Array [ + "main.js.gz?var=bd2525a5d170716d0018", + 16162, + Object { + "compressed": true, + "immutable": true, + "size": 16162, + }, + ], + Array [ + "main.js?var=bd2525a5d170716d0018#hash", + 16162, + Object { + "fullhash": "bd2525a5d170716d0018", + "immutable": true, + "javascriptModule": false, + "related": Object { + "compression-function-b8ad1ba770111161fc52644f2d5cfb0f": "main.js.gz?var=bd2525a5d170716d0018", + }, + "size": 16162, + }, + ], +] +`; + +exports[`"filename" option matches snapshot for custom function ({Function}) and custom algorithm ({Function}): errors 1`] = `Array []`; + +exports[`"filename" option matches snapshot for custom function ({Function}) and custom algorithm ({Function}): warnings 1`] = `Array []`; + exports[`"filename" option matches snapshot for custom function ({Function}): assets 1`] = ` Array [ Array [ @@ -235,7 +330,7 @@ Array [ }, ], Array [ - "async.async.js.gz?ver=80db49a34ce93ec85abc", + "async.async.js.gz?ver=bd2525a5d170716d0018", 134, Object { "compressed": true, @@ -244,38 +339,38 @@ Array [ }, ], Array [ - "async.async.js?ver=80db49a34ce93ec85abc#hash", + "async.async.js?ver=bd2525a5d170716d0018#hash", 194, Object { - "fullhash": "80db49a34ce93ec85abc", + "fullhash": "bd2525a5d170716d0018", "immutable": true, "javascriptModule": false, "related": Object { - "gzipped": "async.async.js.gz?ver=80db49a34ce93ec85abc", + "gzipped": "async.async.js.gz?ver=bd2525a5d170716d0018", }, "size": 194, }, ], Array [ - "main.js.gz?var=80db49a34ce93ec85abc", - 4005, + "main.js.gz?var=bd2525a5d170716d0018", + 4009, Object { "compressed": true, "immutable": true, - "size": 4005, + "size": 4009, }, ], Array [ - "main.js?var=80db49a34ce93ec85abc#hash", - 16144, + "main.js?var=bd2525a5d170716d0018#hash", + 16162, Object { - "fullhash": "80db49a34ce93ec85abc", + "fullhash": "bd2525a5d170716d0018", "immutable": true, "javascriptModule": false, "related": Object { - "gzipped": "main.js.gz?var=80db49a34ce93ec85abc", + "gzipped": "main.js.gz?var=bd2525a5d170716d0018", }, - "size": 16144, + "size": 16162, }, ], ] @@ -339,10 +434,10 @@ Array [ }, ], Array [ - "assets/scripts/async.async.js?ver=5bf6448f79189f708f42#hash", + "assets/scripts/async.async.js?ver=ae8fe61a4393f8e16623#hash", 194, Object { - "fullhash": "5bf6448f79189f708f42", + "fullhash": "ae8fe61a4393f8e16623", "immutable": true, "javascriptModule": false, "related": Object { @@ -361,16 +456,16 @@ Array [ }, ], Array [ - "assets/scripts/main.js?var=5bf6448f79189f708f42#hash", - 16170, + "assets/scripts/main.js?var=ae8fe61a4393f8e16623#hash", + 16188, Object { - "fullhash": "5bf6448f79189f708f42", + "fullhash": "ae8fe61a4393f8e16623", "immutable": true, "javascriptModule": false, "related": Object { "gzipped": "assets/scripts/main.js.gz", }, - "size": 16170, + "size": 16188, }, ], ] diff --git a/test/__snapshots__/include-option.test.js.snap b/test/__snapshots__/include-option.test.js.snap index eb2c18e..edaf293 100644 --- a/test/__snapshots__/include-option.test.js.snap +++ b/test/__snapshots__/include-option.test.js.snap @@ -30,10 +30,10 @@ Array [ }, ], Array [ - "async.async.js?ver=395794ce86cd23762ded", + "async.async.js?ver=975abbe18f7c0f04a3e0", 194, Object { - "fullhash": "395794ce86cd23762ded", + "fullhash": "975abbe18f7c0f04a3e0", "immutable": true, "javascriptModule": false, "related": Object { @@ -44,24 +44,24 @@ Array [ ], Array [ "main.js.gz", - 4002, + 4003, Object { "compressed": true, "immutable": true, - "size": 4002, + "size": 4003, }, ], Array [ - "main.js?var=395794ce86cd23762ded", - 16139, + "main.js?var=975abbe18f7c0f04a3e0", + 16157, Object { - "fullhash": "395794ce86cd23762ded", + "fullhash": "975abbe18f7c0f04a3e0", "immutable": true, "javascriptModule": false, "related": Object { "gzipped": "main.js.gz", }, - "size": 16139, + "size": 16157, }, ], ] @@ -113,10 +113,10 @@ Array [ }, ], Array [ - "async.async.js?ver=395794ce86cd23762ded", + "async.async.js?ver=975abbe18f7c0f04a3e0", 194, Object { - "fullhash": "395794ce86cd23762ded", + "fullhash": "975abbe18f7c0f04a3e0", "immutable": true, "javascriptModule": false, "related": Object { @@ -127,24 +127,24 @@ Array [ ], Array [ "main.js.gz", - 4002, + 4003, Object { "compressed": true, "immutable": true, - "size": 4002, + "size": 4003, }, ], Array [ - "main.js?var=395794ce86cd23762ded", - 16139, + "main.js?var=975abbe18f7c0f04a3e0", + 16157, Object { - "fullhash": "395794ce86cd23762ded", + "fullhash": "975abbe18f7c0f04a3e0", "immutable": true, "javascriptModule": false, "related": Object { "gzipped": "main.js.gz", }, - "size": 16139, + "size": 16157, }, ], ] diff --git a/test/__snapshots__/minRatio-option.test.js.snap b/test/__snapshots__/minRatio-option.test.js.snap index 2741cad..88bcef0 100644 --- a/test/__snapshots__/minRatio-option.test.js.snap +++ b/test/__snapshots__/minRatio-option.test.js.snap @@ -21,23 +21,23 @@ Array [ }, ], Array [ - "async.async.9325220d444b0d653c03.js", + "async.async.a48c0e93eef1aa9e4c84.js", 194, Object { - "chunkhash": "9325220d444b0d653c03", + "chunkhash": "a48c0e93eef1aa9e4c84", "immutable": true, "javascriptModule": false, "size": 194, }, ], Array [ - "main.2acf4b87f27668ec188c.js", - 15980, + "main.cf74b442e1d11f81aa8f.js", + 15998, Object { - "chunkhash": "2acf4b87f27668ec188c", + "chunkhash": "cf74b442e1d11f81aa8f", "immutable": true, "javascriptModule": false, - "size": 15980, + "size": 15998, }, ], ] @@ -92,20 +92,20 @@ Array [ }, ], Array [ - "async.async.9325220d444b0d653c03.js", + "async.async.a48c0e93eef1aa9e4c84.js", 194, Object { - "chunkhash": "9325220d444b0d653c03", + "chunkhash": "a48c0e93eef1aa9e4c84", "immutable": true, "javascriptModule": false, "related": Object { - "gzipped": "async.async.9325220d444b0d653c03.js.gz", + "gzipped": "async.async.a48c0e93eef1aa9e4c84.js.gz", }, "size": 194, }, ], Array [ - "async.async.9325220d444b0d653c03.js.gz", + "async.async.a48c0e93eef1aa9e4c84.js.gz", 134, Object { "compressed": true, @@ -114,25 +114,25 @@ Array [ }, ], Array [ - "main.2acf4b87f27668ec188c.js", - 15980, + "main.cf74b442e1d11f81aa8f.js", + 15998, Object { - "chunkhash": "2acf4b87f27668ec188c", + "chunkhash": "cf74b442e1d11f81aa8f", "immutable": true, "javascriptModule": false, "related": Object { - "gzipped": "main.2acf4b87f27668ec188c.js.gz", + "gzipped": "main.cf74b442e1d11f81aa8f.js.gz", }, - "size": 15980, + "size": 15998, }, ], Array [ - "main.2acf4b87f27668ec188c.js.gz", - 3975, + "main.cf74b442e1d11f81aa8f.js.gz", + 3974, Object { "compressed": true, "immutable": true, - "size": 3975, + "size": 3974, }, ], ] diff --git a/test/__snapshots__/test-option.test.js.snap b/test/__snapshots__/test-option.test.js.snap index f04b2b2..85f6d42 100644 --- a/test/__snapshots__/test-option.test.js.snap +++ b/test/__snapshots__/test-option.test.js.snap @@ -33,23 +33,23 @@ Array [ }, ], Array [ - "async.async.js?ver=395794ce86cd23762ded", + "async.async.js?ver=975abbe18f7c0f04a3e0", 194, Object { - "fullhash": "395794ce86cd23762ded", + "fullhash": "975abbe18f7c0f04a3e0", "immutable": true, "javascriptModule": false, "size": 194, }, ], Array [ - "main.js?var=395794ce86cd23762ded", - 16139, + "main.js?var=975abbe18f7c0f04a3e0", + 16157, Object { - "fullhash": "395794ce86cd23762ded", + "fullhash": "975abbe18f7c0f04a3e0", "immutable": true, "javascriptModule": false, - "size": 16139, + "size": 16157, }, ], ] @@ -104,23 +104,23 @@ Array [ }, ], Array [ - "async.async.js?ver=395794ce86cd23762ded", + "async.async.js?ver=975abbe18f7c0f04a3e0", 194, Object { - "fullhash": "395794ce86cd23762ded", + "fullhash": "975abbe18f7c0f04a3e0", "immutable": true, "javascriptModule": false, "size": 194, }, ], Array [ - "main.js?var=395794ce86cd23762ded", - 16139, + "main.js?var=975abbe18f7c0f04a3e0", + 16157, Object { - "fullhash": "395794ce86cd23762ded", + "fullhash": "975abbe18f7c0f04a3e0", "immutable": true, "javascriptModule": false, - "size": 16139, + "size": 16157, }, ], ] @@ -184,10 +184,10 @@ Array [ }, ], Array [ - "async.async.js?ver=395794ce86cd23762ded", + "async.async.js?ver=975abbe18f7c0f04a3e0", 194, Object { - "fullhash": "395794ce86cd23762ded", + "fullhash": "975abbe18f7c0f04a3e0", "immutable": true, "javascriptModule": false, "related": Object { @@ -198,24 +198,24 @@ Array [ ], Array [ "main.js.gz", - 4002, + 4003, Object { "compressed": true, "immutable": true, - "size": 4002, + "size": 4003, }, ], Array [ - "main.js?var=395794ce86cd23762ded", - 16139, + "main.js?var=975abbe18f7c0f04a3e0", + 16157, Object { - "fullhash": "395794ce86cd23762ded", + "fullhash": "975abbe18f7c0f04a3e0", "immutable": true, "javascriptModule": false, "related": Object { "gzipped": "main.js.gz", }, - "size": 16139, + "size": 16157, }, ], ] @@ -246,23 +246,23 @@ Array [ }, ], Array [ - "async.async.js?ver=395794ce86cd23762ded", + "async.async.js?ver=975abbe18f7c0f04a3e0", 194, Object { - "fullhash": "395794ce86cd23762ded", + "fullhash": "975abbe18f7c0f04a3e0", "immutable": true, "javascriptModule": false, "size": 194, }, ], Array [ - "main.js?var=395794ce86cd23762ded", - 16139, + "main.js?var=975abbe18f7c0f04a3e0", + 16157, Object { - "fullhash": "395794ce86cd23762ded", + "fullhash": "975abbe18f7c0f04a3e0", "immutable": true, "javascriptModule": false, - "size": 16139, + "size": 16157, }, ], ] diff --git a/test/__snapshots__/threshold-option.test.js.snap b/test/__snapshots__/threshold-option.test.js.snap index 48fb2e0..48a370f 100644 --- a/test/__snapshots__/threshold-option.test.js.snap +++ b/test/__snapshots__/threshold-option.test.js.snap @@ -45,20 +45,20 @@ Array [ }, ], Array [ - "async.async.9325220d444b0d653c03.js", + "async.async.a48c0e93eef1aa9e4c84.js", 194, Object { - "chunkhash": "9325220d444b0d653c03", + "chunkhash": "a48c0e93eef1aa9e4c84", "immutable": true, "javascriptModule": false, "related": Object { - "gzipped": "async.async.9325220d444b0d653c03.js.gz", + "gzipped": "async.async.a48c0e93eef1aa9e4c84.js.gz", }, "size": 194, }, ], Array [ - "async.async.9325220d444b0d653c03.js.gz", + "async.async.a48c0e93eef1aa9e4c84.js.gz", 134, Object { "compressed": true, @@ -67,25 +67,25 @@ Array [ }, ], Array [ - "main.2acf4b87f27668ec188c.js", - 15980, + "main.cf74b442e1d11f81aa8f.js", + 15998, Object { - "chunkhash": "2acf4b87f27668ec188c", + "chunkhash": "cf74b442e1d11f81aa8f", "immutable": true, "javascriptModule": false, "related": Object { - "gzipped": "main.2acf4b87f27668ec188c.js.gz", + "gzipped": "main.cf74b442e1d11f81aa8f.js.gz", }, - "size": 15980, + "size": 15998, }, ], Array [ - "main.2acf4b87f27668ec188c.js.gz", - 3975, + "main.cf74b442e1d11f81aa8f.js.gz", + 3974, Object { "compressed": true, "immutable": true, - "size": 3975, + "size": 3974, }, ], ] @@ -128,35 +128,35 @@ Array [ }, ], Array [ - "async.async.9325220d444b0d653c03.js", + "async.async.a48c0e93eef1aa9e4c84.js", 194, Object { - "chunkhash": "9325220d444b0d653c03", + "chunkhash": "a48c0e93eef1aa9e4c84", "immutable": true, "javascriptModule": false, "size": 194, }, ], Array [ - "main.2acf4b87f27668ec188c.js", - 15980, + "main.cf74b442e1d11f81aa8f.js", + 15998, Object { - "chunkhash": "2acf4b87f27668ec188c", + "chunkhash": "cf74b442e1d11f81aa8f", "immutable": true, "javascriptModule": false, "related": Object { - "gzipped": "main.2acf4b87f27668ec188c.js.gz", + "gzipped": "main.cf74b442e1d11f81aa8f.js.gz", }, - "size": 15980, + "size": 15998, }, ], Array [ - "main.2acf4b87f27668ec188c.js.gz", - 3975, + "main.cf74b442e1d11f81aa8f.js.gz", + 3974, Object { "compressed": true, "immutable": true, - "size": 3975, + "size": 3974, }, ], ] @@ -178,20 +178,20 @@ Array [ }, ], Array [ - "main.7cc7d416a9012b0a984e.js", + "main.5e93d0a19edb5f268be9.js", 5180, Object { - "chunkhash": "7cc7d416a9012b0a984e", + "chunkhash": "5e93d0a19edb5f268be9", "immutable": true, "javascriptModule": false, "related": Object { - "gzipped": "main.7cc7d416a9012b0a984e.js.gz", + "gzipped": "main.5e93d0a19edb5f268be9.js.gz", }, "size": 5180, }, ], Array [ - "main.7cc7d416a9012b0a984e.js.gz", + "main.5e93d0a19edb5f268be9.js.gz", 1489, Object { "compressed": true, @@ -230,20 +230,20 @@ Array [ }, ], Array [ - "main.7cc7d416a9012b0a984e.js", + "main.5e93d0a19edb5f268be9.js", 5180, Object { - "chunkhash": "7cc7d416a9012b0a984e", + "chunkhash": "5e93d0a19edb5f268be9", "immutable": true, "javascriptModule": false, "related": Object { - "gzipped": "main.7cc7d416a9012b0a984e.js.gz", + "gzipped": "main.5e93d0a19edb5f268be9.js.gz", }, "size": 5180, }, ], Array [ - "main.7cc7d416a9012b0a984e.js.gz", + "main.5e93d0a19edb5f268be9.js.gz", 1489, Object { "compressed": true, diff --git a/test/filename-option.test.js b/test/filename-option.test.js index 466b3aa..dfc5bd9 100644 --- a/test/filename-option.test.js +++ b/test/filename-option.test.js @@ -113,4 +113,34 @@ describe('"filename" option', () => { expect(getWarnings(stats)).toMatchSnapshot("warnings"); expect(getErrors(stats)).toMatchSnapshot("errors"); }); + + it("matches snapshot for custom function ({Function}) and custom algorithm ({Function})", async () => { + compiler = getCompiler( + "./entry.js", + {}, + { + output: { + path: path.resolve(__dirname, "./outputs"), + filename: "[name].js?var=[hash]#hash", + chunkFilename: "[id].[name].js?ver=[hash]#hash", + }, + } + ); + + new CompressionPlugin({ + minRatio: 1, + filename(info) { + return `[name][ext].gz${info.query}`; + }, + algorithm(input, compressionOptions, callback) { + callback(null, input); + }, + }).apply(compiler); + + const stats = await compile(compiler); + + expect(getAssetsNameAndSize(stats, compiler)).toMatchSnapshot("assets"); + expect(getWarnings(stats)).toMatchSnapshot("warnings"); + expect(getErrors(stats)).toMatchSnapshot("errors"); + }); });