From cd256a0482c26ac9aa27e27e95bae3f03401a779 Mon Sep 17 00:00:00 2001 From: Matt Wistrand Date: Fri, 30 Nov 2018 14:34:27 -0600 Subject: [PATCH] Upgrade to Webpack v4 - Update webpack-contrib to next - Replace ExtractTextPlugin with MiniCssExtractPlugin, but pin to 0.4.2 until danethurber/webpack-manifest-plugin#167 is resolved. - Replace removed CommonsChunkPlugin with `optimize.splitChunks` configuration option - Remove plugins provided by `mode` configuration option: NamedChunksPlugin, NamedModulesPlugin, and DefinePlugin - Use terser-webpack-plugin over uglifyjs-webpack-plugin-terser - Upgrade to webpack-mild-compile@3.3.1 - Force CSS splitting by entry - Filter css order warnings - Add optimize-css-assets-webpack-plugin to dist config - Update tapable typings --- package-lock.json | 7819 +++---- package.json | 55 +- src/base.config.ts | 101 +- src/dev.config.ts | 7 +- src/dist.config.ts | 46 +- src/interfaces.d.ts | 15 - src/main.ts | 16 +- src/test.config.ts | 67 +- .../unix/dev/menu-item/menu-item-1.0.0.css | 3 +- .../unix/dev/menu-item/menu-item-1.0.0.js | 1882 +- .../fixtures/unix/dev/menu/menu-1.0.0.css | 3 +- test-app/fixtures/unix/dev/menu/menu-1.0.0.js | 1882 +- .../unix/dist/menu-item/menu-item-1.0.0.css | 48 +- .../dist/menu-item/menu-item-1.0.0.css.map | 1 - .../unix/dist/menu-item/menu-item-1.0.0.js | 19 +- .../dist/menu-item/menu-item-1.0.0.js.map | 2 +- .../fixtures/unix/dist/menu/menu-1.0.0.css | 16 +- .../unix/dist/menu/menu-1.0.0.css.map | 1 - .../fixtures/unix/dist/menu/menu-1.0.0.js | 19 +- .../fixtures/unix/dist/menu/menu-1.0.0.js.map | 2 +- .../fixtures/unix/info/menu-item/report.html | 31 - .../fixtures/unix/info/menu-item/stats.json | 17371 ++++++++++++---- test-app/fixtures/unix/info/menu/report.html | 31 - test-app/fixtures/unix/info/menu/stats.json | 17351 +++++++++++---- test-app/fixtures/unix/test/functional.js | 55 +- test-app/fixtures/unix/test/unit-1.0.0.css | 68 + test-app/fixtures/unix/test/unit.js | 1259 +- .../dist/menu-item/menu-item-1.0.0.css.map | 1 - tests/functional/main.ts | 5 +- tests/unit/main.ts | 38 +- 30 files changed, 33556 insertions(+), 14658 deletions(-) delete mode 100644 src/interfaces.d.ts delete mode 100644 test-app/fixtures/unix/dist/menu-item/menu-item-1.0.0.css.map delete mode 100644 test-app/fixtures/unix/dist/menu/menu-1.0.0.css.map delete mode 100644 test-app/fixtures/unix/info/menu-item/report.html delete mode 100644 test-app/fixtures/unix/info/menu/report.html create mode 100644 test-app/fixtures/unix/test/unit-1.0.0.css delete mode 100644 test-app/fixtures/windows/dist/menu-item/menu-item-1.0.0.css.map diff --git a/package-lock.json b/package-lock.json index 2dc33c7..659343e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -104,15 +104,6 @@ "is-obj": "^1.0.0" } }, - "find-up": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", - "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", - "dev": true, - "requires": { - "locate-path": "^2.0.0" - } - }, "fs-extra": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-5.0.0.tgz", @@ -126,7 +117,7 @@ }, "globby": { "version": "6.1.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-6.1.0.tgz", + "resolved": "http://registry.npmjs.org/globby/-/globby-6.1.0.tgz", "integrity": "sha1-9abXDoOV4hyFj7BInWTfAkJNUGw=", "dev": true, "requires": { @@ -183,6 +174,12 @@ "semver": "^5.1.0" } }, + "pify": { + "version": "2.3.0", + "resolved": "http://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true + }, "string-width": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", @@ -224,9 +221,9 @@ } }, "widest-line": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-2.0.0.tgz", - "integrity": "sha1-AUKk6KJD+IgsAjOqDgKBqnYVInM=", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-2.0.1.tgz", + "integrity": "sha512-Ba5m9/Fa4Xt9eb2ELXt77JxVDV8w7qQrH0zS/TWSJdLyAwQjWoOzpzj5lwVftDz6n/EOu3tNACS84v509qwnJA==", "dev": true, "requires": { "string-width": "^2.1.1" @@ -249,6 +246,12 @@ "integrity": "sha1-SWsswQnsqNus/i3HK2A8F8WHCtQ=", "dev": true }, + "y18n": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz", + "integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE=", + "dev": true + }, "yargs": { "version": "10.1.2", "resolved": "https://registry.npmjs.org/yargs/-/yargs-10.1.2.tgz", @@ -290,9 +293,9 @@ } }, "@dojo/framework": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@dojo/framework/-/framework-4.0.0.tgz", - "integrity": "sha512-0yNtfIQVBZiI6Ipdsn9cOTsnwfj0NUflHIRqAgbhKv3vCn7rbKiTephJ271SvXn3+6DlXReDWSLJ5LvkeoAvoQ==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@dojo/framework/-/framework-4.0.2.tgz", + "integrity": "sha512-+ZdZdYS8qNcZXPd2DbtE4y5KBIwk0wCpgqEplPbrUkGFp4kb84mBrCpjRTuTrrhCDBdXCOFQx5fKgBEvJYjBCw==", "requires": { "@types/cldrjs": "0.4.20", "@types/globalize": "0.0.34", @@ -364,15 +367,6 @@ "wrap-ansi": "^2.0.0" } }, - "find-up": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", - "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", - "dev": true, - "requires": { - "locate-path": "^2.0.0" - } - }, "is-fullwidth-code-point": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", @@ -415,6 +409,12 @@ "tsutils": "^2.27.2" } }, + "y18n": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz", + "integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE=", + "dev": true + }, "yargs": { "version": "10.1.2", "resolved": "https://registry.npmjs.org/yargs/-/yargs-10.1.2.tgz", @@ -459,38 +459,64 @@ } }, "@dojo/webpack-contrib": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@dojo/webpack-contrib/-/webpack-contrib-4.0.0.tgz", - "integrity": "sha512-AGo+SejB1eDEzw+4XURfJqEgBv6IFrSaocUaK8FI9fOFlB1Y1+nUVvU1dXf0Pwp7VXyKTuyBF2YgJ1VYMjDfEg==", + "version": "5.0.0-alpha.2", + "resolved": "https://registry.npmjs.org/@dojo/webpack-contrib/-/webpack-contrib-5.0.0-alpha.2.tgz", + "integrity": "sha512-MDehW/lKMRJXPFpUz7D+VoTbt8VYsoyF0bMk2ip076AAA2kKQRZZe4PFr7onNiU6T+hYcWP0VqzBuR23vUkUpw==", "requires": { - "@dojo/framework": "^4.0.0", + "@dojo/framework": "^5.0.0-alpha.2", "acorn": "5.3.0", "acorn-dynamic-import": "3.0.0", "bfj-node4": "5.2.0", "chalk": "2.3.0", "commander": "2.13.0", - "copy-webpack-plugin": "4.0.1", + "copy-webpack-plugin": "4.6.0", "express": "4.16.2", "filesize": "3.5.11", "filter-css": "0.1.2", - "fs-extra": "^7.0.0", + "fs-extra": "7.0.0", + "get-port": "4.0.0", "glob": "^7.1.2", "gzip-size": "4.1.0", - "html-webpack-include-assets-plugin": "1.0.2", + "html-webpack-include-assets-plugin": "1.0.6", + "http-server": "0.11.1", "istanbul-lib-instrument": "1.10.1", - "jsdom": "11.6.2", "loader-utils": "1.1.0", "lodash": "4.17.4", "mkdirp": "0.5.1", "opener": "1.4.3", + "puppeteer": "1.10.0", "recast": "0.12.7", "source-map": "0.6.1", - "ts-loader": "3.1.1", - "typed-css-modules": "0.3.1", - "typescript": "~2.6.1", - "workbox-webpack-plugin": "3.2.0" - }, - "dependencies": { + "ts-loader": "5.3.0", + "typed-css-modules": "0.3.7", + "workbox-webpack-plugin": "3.6.3" + }, + "dependencies": { + "@dojo/framework": { + "version": "5.0.0-alpha.2", + "resolved": "https://registry.npmjs.org/@dojo/framework/-/framework-5.0.0-alpha.2.tgz", + "integrity": "sha512-1dL8/ObjIVW0ZgnyuXy+JKOpc5eCNjEjvIIGKSCShR8QYNvko7xfeY1CzO/Jh/yUV90pufehT0e8fxX82Gq8WQ==", + "requires": { + "@types/cldrjs": "0.4.20", + "@types/globalize": "0.0.34", + "@webcomponents/webcomponentsjs": "1.1.0", + "cldrjs": "0.4.8", + "css-select-umd": "1.3.0-rc0", + "diff": "3.5.0", + "globalize": "1.3.0", + "intersection-observer": "0.4.2", + "pepjs": "0.4.2", + "resize-observer-polyfill": "1.5.0", + "tslib": "1.8.1", + "web-animations-js": "2.3.1", + "whatwg-fetch": "2.0.4" + } + }, + "camelcase": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", + "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=" + }, "chalk": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.3.0.tgz", @@ -500,6 +526,26 @@ "escape-string-regexp": "^1.0.5", "supports-color": "^4.0.0" } + }, + "diff": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz", + "integrity": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==" + }, + "typed-css-modules": { + "version": "0.3.7", + "resolved": "https://registry.npmjs.org/typed-css-modules/-/typed-css-modules-0.3.7.tgz", + "integrity": "sha512-KR1VG/U0rgFWaiQtXKtFMgKaurs80nvlBvZ7BfuYGLldw6kss/97sd+aMG4CI73BbujvefG7DBjnsBqq2Aowcw==", + "requires": { + "camelcase": "^4.1.0", + "chalk": "^2.1.0", + "chokidar": "^2.0.3", + "css-modules-loader-core": "^1.1.0", + "glob": "^7.1.2", + "is-there": "^4.4.2", + "mkdirp": "^0.5.1", + "yargs": "^8.0.2" + } } } }, @@ -574,6 +620,11 @@ } } }, + "@types/anymatch": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@types/anymatch/-/anymatch-1.3.0.tgz", + "integrity": "sha512-7WcbyctkE8GTzogDb0ulRAEw7v8oIS54ft9mQTU7PfM0hp5e+8kpa+HeQ7IQrFbKtJXBKcZ4bh+Em9dTw5L6AQ==" + }, "@types/babel-types": { "version": "7.0.4", "resolved": "https://registry.npmjs.org/@types/babel-types/-/babel-types-7.0.4.tgz", @@ -590,22 +641,16 @@ "version": "1.17.0", "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.17.0.tgz", "integrity": "sha512-a2+YeUjPkztKJu5aIF2yArYFQQp8d51wZ7DavSHjFuY1mqVgidGyzEQ41JIVNy82fXj8yPgy2vJmfIywgESW6w==", + "dev": true, "requires": { "@types/connect": "*", "@types/node": "*" - }, - "dependencies": { - "@types/node": { - "version": "10.11.7", - "resolved": "https://registry.npmjs.org/@types/node/-/node-10.11.7.tgz", - "integrity": "sha512-yOxFfkN9xUFLyvWaeYj90mlqTJ41CsQzWKS3gXdOMOyPVacUsymejKxJ4/pMW7exouubuEeZLJawGgcNGYlTeg==" - } } }, "@types/chai": { - "version": "4.1.6", - "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.1.6.tgz", - "integrity": "sha512-CBk7KTZt3FhPsEkYioG6kuCIpWISw+YI8o+3op4+NXwTpvAPxE1ES8+PY8zfaK2L98b1z5oq03UHa4VYpeUxnw==", + "version": "4.1.7", + "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.1.7.tgz", + "integrity": "sha512-2Y8uPt0/jwjhQ6EiluT0XCri1Dbplr0ZxfFXUz+ye13gaqE8u5gL5ppao1JrUYr9cIip5S6MvQzBS7Kke7U9VA==", "dev": true }, "@types/charm": { @@ -629,9 +674,9 @@ "dev": true }, "@types/clean-webpack-plugin": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/@types/clean-webpack-plugin/-/clean-webpack-plugin-0.1.0.tgz", - "integrity": "sha512-IRBc1bH7owKMcuxb0B7pFYEAp7uqWzBjmjO0m8Feh7qiXY7ezzLL3cFOC8KWPxPOP81qyB4yoVJA1EvZ9kiLVg==", + "version": "0.1.2", + "resolved": "http://registry.npmjs.org/@types/clean-webpack-plugin/-/clean-webpack-plugin-0.1.2.tgz", + "integrity": "sha512-Io2JfBqqEB+ZpIXpLpGR6udFhmv5kjkXko6RI3j/lk2mccB5Ar+VHb7vGG3aI8XrauajNpxzajZFcsvnpj/Qkw==", "dev": true, "requires": { "@types/webpack": "*" @@ -641,27 +686,22 @@ "version": "3.4.32", "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.32.tgz", "integrity": "sha512-4r8qa0quOvh7lGD0pre62CAb1oni1OO6ecJLGCezTmhQ8Fz50Arx9RUszryR8KlgK6avuSXvviL6yWyViQABOg==", + "dev": true, "requires": { "@types/node": "*" - }, - "dependencies": { - "@types/node": { - "version": "10.11.7", - "resolved": "https://registry.npmjs.org/@types/node/-/node-10.11.7.tgz", - "integrity": "sha512-yOxFfkN9xUFLyvWaeYj90mlqTJ41CsQzWKS3gXdOMOyPVacUsymejKxJ4/pMW7exouubuEeZLJawGgcNGYlTeg==" - } } }, "@types/diff": { - "version": "3.5.1", - "resolved": "http://registry.npmjs.org/@types/diff/-/diff-3.5.1.tgz", - "integrity": "sha512-nkT7bd/YM6QRDQjww8PYf0kOj1MvwxQ/WaCinj2Hm1HlL+JqGTm4cDoQeROfiWX/B3SNI1nyLLhLAQpp5sE3hw==", + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/@types/diff/-/diff-3.5.2.tgz", + "integrity": "sha512-T1y8ed2DipuUGqgzWzBDUMlJM1bD1CG73ETOi08VURsGArjRfC4nqfeC5owrV7SFvgbeKDbonI/Es4vQgJ2IKA==", "dev": true }, "@types/events": { "version": "1.2.0", "resolved": "http://registry.npmjs.org/@types/events/-/events-1.2.0.tgz", - "integrity": "sha512-KEIlhXnIutzKwRbQkGWb/I4HFqBuUykAdHgDED6xqwXJfONCjF5VoE0cXEiurh3XauygxzeDzgtXUqvLkxFzzA==" + "integrity": "sha512-KEIlhXnIutzKwRbQkGWb/I4HFqBuUykAdHgDED6xqwXJfONCjF5VoE0cXEiurh3XauygxzeDzgtXUqvLkxFzzA==", + "dev": true }, "@types/execa": { "version": "0.8.0", @@ -687,26 +727,11 @@ "version": "4.16.0", "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.16.0.tgz", "integrity": "sha512-lTeoCu5NxJU4OD9moCgm0ESZzweAx0YqsAcab6OB0EB3+As1OaHtKnaGJvcngQxYsi9UNv0abn4/DRavrRxt4w==", + "dev": true, "requires": { "@types/events": "*", "@types/node": "*", "@types/range-parser": "*" - }, - "dependencies": { - "@types/node": { - "version": "10.11.7", - "resolved": "https://registry.npmjs.org/@types/node/-/node-10.11.7.tgz", - "integrity": "sha512-yOxFfkN9xUFLyvWaeYj90mlqTJ41CsQzWKS3gXdOMOyPVacUsymejKxJ4/pMW7exouubuEeZLJawGgcNGYlTeg==" - } - } - }, - "@types/extract-text-webpack-plugin": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@types/extract-text-webpack-plugin/-/extract-text-webpack-plugin-3.0.0.tgz", - "integrity": "sha512-QUoYLBzHsWGzfKnThJlDrjrM/plUFlEl558ixQpnXpm0J7QiVxWveGelRcVJRZoabEsUhrziFeiuAl4tOS5Muw==", - "dev": true, - "requires": { - "@types/webpack": "*" } }, "@types/glob": { @@ -758,12 +783,13 @@ } }, "@types/html-webpack-plugin": { - "version": "2.30.1", - "resolved": "https://registry.npmjs.org/@types/html-webpack-plugin/-/html-webpack-plugin-2.30.1.tgz", - "integrity": "sha512-ALdxgFyzydiRQzI/7x7zBLh7HsYJVnvjTaCse3KKleiOhxcFlShyJr1kwqwDrfcbtR/L9afABhkr7kC6NTzpGw==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@types/html-webpack-plugin/-/html-webpack-plugin-3.2.0.tgz", + "integrity": "sha512-in9rViBsTRB4ZApndZ12It68nGzSMHVK30JD7c49iLIHMFeTPbP7I7wevzMv7re2o0k5TlU6Ry/beyrmgWX7Bg==", "dev": true, "requires": { "@types/html-minifier": "*", + "@types/tapable": "*", "@types/webpack": "*" } }, @@ -773,40 +799,6 @@ "integrity": "sha512-s+RHKSGc3r0m3YEE2UXomJYrpQaY9cDmNDLU2XvG1/LAZsQ7y8emYkTLfcw/ByDtcsTyRQKwr76Bj4PkN2hfWg==", "dev": true }, - "@types/http-proxy": { - "version": "1.16.2", - "resolved": "https://registry.npmjs.org/@types/http-proxy/-/http-proxy-1.16.2.tgz", - "integrity": "sha512-GgqePmC3rlsn1nv+kx5OviPuUBU2omhnlXOaJSXFgOdsTcScNFap+OaCb2ip9Bm4m5L8EOehgT5d9M4uNB90zg==", - "requires": { - "@types/events": "*", - "@types/node": "*" - }, - "dependencies": { - "@types/node": { - "version": "10.11.7", - "resolved": "https://registry.npmjs.org/@types/node/-/node-10.11.7.tgz", - "integrity": "sha512-yOxFfkN9xUFLyvWaeYj90mlqTJ41CsQzWKS3gXdOMOyPVacUsymejKxJ4/pMW7exouubuEeZLJawGgcNGYlTeg==" - } - } - }, - "@types/http-proxy-middleware": { - "version": "0.17.5", - "resolved": "https://registry.npmjs.org/@types/http-proxy-middleware/-/http-proxy-middleware-0.17.5.tgz", - "integrity": "sha512-mUqVzfaiOknDT2QJ7g8f2c37G4ZDqDNt08QdUkFCu19Ey5+2SZ0rWHMG00GRJ7g+SgHvl/9weZYuWLXr7RgiCg==", - "requires": { - "@types/connect": "*", - "@types/http-proxy": "*", - "@types/node": "*", - "winston": "^3.0.0" - }, - "dependencies": { - "@types/node": { - "version": "10.11.7", - "resolved": "https://registry.npmjs.org/@types/node/-/node-10.11.7.tgz", - "integrity": "sha512-yOxFfkN9xUFLyvWaeYj90mlqTJ41CsQzWKS3gXdOMOyPVacUsymejKxJ4/pMW7exouubuEeZLJawGgcNGYlTeg==" - } - } - }, "@types/istanbul-lib-coverage": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-1.1.0.tgz", @@ -878,9 +870,9 @@ } }, "@types/loader-utils": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@types/loader-utils/-/loader-utils-1.1.0.tgz", - "integrity": "sha512-VR4oHG6TzhpemxtBDf0BD8xlOiPo2B6zcFEA2Jjmgf1RqSrHLAiteIksV3YvpVn0Pd4HxV1B3LQ6Mf2pGTyZ7g==", + "version": "1.1.3", + "resolved": "http://registry.npmjs.org/@types/loader-utils/-/loader-utils-1.1.3.tgz", + "integrity": "sha512-euKGFr2oCB3ASBwG39CYJMR3N9T0nanVqXdiH7Zu/Nqddt6SmFRxytq/i2w9LQYNQekEtGBz+pE3qG6fQTNvRg==", "dev": true, "requires": { "@types/node": "*", @@ -888,9 +880,9 @@ } }, "@types/lodash": { - "version": "4.14.117", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.117.tgz", - "integrity": "sha512-xyf2m6tRbz8qQKcxYZa7PA4SllYcay+eh25DN3jmNYY6gSTL7Htc/bttVdkqj2wfJGbeWlQiX8pIyJpKU+tubw==", + "version": "4.14.118", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.118.tgz", + "integrity": "sha512-iiJbKLZbhSa6FYRip/9ZDX6HXhayXLDGY2Fqws9cOkEQ6XeKfaxB0sC541mowZJueYyMnVUmmG+al5/4fCDrgw==", "dev": true }, "@types/log-symbols": { @@ -911,7 +903,8 @@ "@types/mime": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@types/mime/-/mime-2.0.0.tgz", - "integrity": "sha512-A2TAGbTFdBw9azHbpVd+/FkdW2T6msN1uct1O9bH3vTerEHKZhTXJUQXy+hNq1B0RagfU8U+KBdqiZpxjhOUQA==" + "integrity": "sha512-A2TAGbTFdBw9azHbpVd+/FkdW2T6msN1uct1O9bH3vTerEHKZhTXJUQXy+hNq1B0RagfU8U+KBdqiZpxjhOUQA==", + "dev": true }, "@types/mime-types": { "version": "2.1.0", @@ -919,6 +912,15 @@ "integrity": "sha1-nKUs2jY/aZxpRmwqbM2q2RPqenM=", "dev": true }, + "@types/mini-css-extract-plugin": { + "version": "0.2.0", + "resolved": "http://registry.npmjs.org/@types/mini-css-extract-plugin/-/mini-css-extract-plugin-0.2.0.tgz", + "integrity": "sha512-oHec+Vasp+K3C1Hb9HpwbA9Iw8ywqDgo9edWQJdBqxu05JH2AQsR56Zo5THpYbu1ieh/xJCvMRIHRdvrUBDmcA==", + "dev": true, + "requires": { + "@types/webpack": "*" + } + }, "@types/minimatch": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.3.tgz", @@ -932,9 +934,9 @@ "dev": true }, "@types/node": { - "version": "9.6.35", - "resolved": "https://registry.npmjs.org/@types/node/-/node-9.6.35.tgz", - "integrity": "sha512-h5zvHS8wXHGa+Gcqs9K8vqCgOtqjr0+NqG/DDJmQIX1wpR9HivAfgV8bjcD3mGM4bPfQw5Aneb2Pn8355L83jA==", + "version": "9.6.40", + "resolved": "https://registry.npmjs.org/@types/node/-/node-9.6.40.tgz", + "integrity": "sha512-M3HHoXXndsho/sTbQML2BJr7/uwNhMg8P0D4lb+UsM65JQZx268faiz9hKpY4FpocWqpwlLwa8vevw8hLtKjOw==", "dev": true }, "@types/optimize-css-assets-webpack-plugin": { @@ -947,9 +949,9 @@ } }, "@types/ora": { - "version": "1.3.4", - "resolved": "http://registry.npmjs.org/@types/ora/-/ora-1.3.4.tgz", - "integrity": "sha512-DrHOHEdYzRjL65n2v+NwTdhC8tACaiCDnUU1wAAbibfZOaRj3KjUb3unnAAWFZuny43qPAvB6ka+Iyj2R2XPxw==", + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@types/ora/-/ora-1.3.1.tgz", + "integrity": "sha512-K9nqHo2rzMfM1KJW5F8uGYx1dmWzF2bJyn1sQ5v+NXQO14p/+8FWQk3//sbBYlmftf83pV9HGIG9X2GtknIrGg==", "dev": true, "requires": { "@types/node": "*" @@ -964,7 +966,8 @@ "@types/range-parser": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.2.tgz", - "integrity": "sha512-HtKGu+qG1NPvYe1z7ezLsyIaXYyi8SoAVqWDZgDQ8dLrsZvSzUNCwZyfX33uhWxL/SU0ZDQZ3nwZ0nimt507Kw==" + "integrity": "sha512-HtKGu+qG1NPvYe1z7ezLsyIaXYyi8SoAVqWDZgDQ8dLrsZvSzUNCwZyfX33uhWxL/SU0ZDQZ3nwZ0nimt507Kw==", + "dev": true }, "@types/relateurl": { "version": "0.2.28", @@ -995,6 +998,7 @@ "version": "1.13.2", "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.13.2.tgz", "integrity": "sha512-/BZ4QRLpH/bNYgZgwhKEh+5AsboDBcUdlBYgzoLX0fpj3Y2gp6EApyOlM3bK53wQS/OE1SrdSYBAbux2D1528Q==", + "dev": true, "requires": { "@types/express-serve-static-core": "*", "@types/mime": "*" @@ -1025,10 +1029,9 @@ "dev": true }, "@types/tapable": { - "version": "0.2.4", - "resolved": "https://registry.npmjs.org/@types/tapable/-/tapable-0.2.4.tgz", - "integrity": "sha512-pclMAvhPnXJcJu1ZZ8bQthuUcdDWzDuxDdbSf6l1U6s4fP6EBiZpPsOZYqFOrbqDV97sXGFSsb6AUpiLfv4xIA==", - "dev": true + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@types/tapable/-/tapable-1.0.4.tgz", + "integrity": "sha512-78AdXtlhpCHT0K3EytMpn4JNxaf5tbqbLcbIRoQIHzpTIyjpxLQKRoxU55ujBXAtg3Nl2h/XWvfDa9dsMOd0pQ==" }, "@types/uglify-js": { "version": "3.0.4", @@ -1039,70 +1042,27 @@ } }, "@types/webpack": { - "version": "3.8.1", - "resolved": "https://registry.npmjs.org/@types/webpack/-/webpack-3.8.1.tgz", - "integrity": "sha512-121nghW8XJ0tFNGuQh5k+VoSMLm71c7bEmNI0MMNDtKiNUcij3nWwypQccfEQrGcmJCAMkoC5vZLtdT4fbbCzw==", + "version": "4.4.19", + "resolved": "https://registry.npmjs.org/@types/webpack/-/webpack-4.4.19.tgz", + "integrity": "sha512-vO/PuQ9iF9Gy8spN8RUUjt5reu9Z+Tb7iWxeAopCmXaIZaIsOgtY5U6UE2ELlcRUBO1HbNWhy+lQE9G92IJcmQ==", "dev": true, "requires": { + "@types/anymatch": "*", "@types/node": "*", "@types/tapable": "*", - "@types/uglify-js": "*" + "@types/uglify-js": "*", + "source-map": "^0.6.0" } }, "@types/webpack-chunk-hash": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/@types/webpack-chunk-hash/-/webpack-chunk-hash-0.4.0.tgz", - "integrity": "sha512-pOc/1z85qE+8Mz4bHmfQb/jKSdq1VSXEo3a3Bhb3yyYUu9jXh0pRRK003L10cnsnOTcgka0o2lj5S0rifnapCw==", + "version": "0.4.2", + "resolved": "http://registry.npmjs.org/@types/webpack-chunk-hash/-/webpack-chunk-hash-0.4.2.tgz", + "integrity": "sha512-362MFToHHNittYvQO5T3TjWnG1wyd8fQnVmwFOtGpq3mVx4e2M6hrkKSz8T/fT5Yxy4xk3urKLk9gvqIvC214A==", "dev": true, "requires": { "@types/webpack": "*" } }, - "@types/webpack-dev-server": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@types/webpack-dev-server/-/webpack-dev-server-3.1.1.tgz", - "integrity": "sha512-TnEQPT+OZjWV2kRyNs0RPMDQmBCiLrr/ZhKSgFNF6aM4O/moUAfo2Yu3MIMUjoi3aE/02RH1iVR+Y6mWmXOlVA==", - "requires": { - "@types/express": "*", - "@types/http-proxy-middleware": "*", - "@types/serve-static": "*", - "@types/webpack": "*" - }, - "dependencies": { - "@types/express": { - "version": "4.16.0", - "resolved": "https://registry.npmjs.org/@types/express/-/express-4.16.0.tgz", - "integrity": "sha512-TtPEYumsmSTtTetAPXlJVf3kEqb6wZK0bZojpJQrnD/djV4q1oB6QQ8aKvKqwNPACoe02GNiy5zDzcYivR5Z2w==", - "requires": { - "@types/body-parser": "*", - "@types/express-serve-static-core": "*", - "@types/serve-static": "*" - } - }, - "@types/node": { - "version": "10.11.7", - "resolved": "https://registry.npmjs.org/@types/node/-/node-10.11.7.tgz", - "integrity": "sha512-yOxFfkN9xUFLyvWaeYj90mlqTJ41CsQzWKS3gXdOMOyPVacUsymejKxJ4/pMW7exouubuEeZLJawGgcNGYlTeg==" - }, - "@types/tapable": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@types/tapable/-/tapable-1.0.4.tgz", - "integrity": "sha512-78AdXtlhpCHT0K3EytMpn4JNxaf5tbqbLcbIRoQIHzpTIyjpxLQKRoxU55ujBXAtg3Nl2h/XWvfDa9dsMOd0pQ==" - }, - "@types/webpack": { - "version": "4.4.16", - "resolved": "https://registry.npmjs.org/@types/webpack/-/webpack-4.4.16.tgz", - "integrity": "sha512-kE6elo5EaC11mB94xezvAH2vwec8+vsx9bzacIZgIWn7ITShEXE/j8KX4LJ5ssCAYPaXMZchbVmpycDwJ84gtA==", - "requires": { - "@types/node": "*", - "@types/tapable": "*", - "@types/uglify-js": "*", - "@types/webpack-dev-server": "*", - "source-map": "^0.6.0" - } - } - } - }, "@types/ws": { "version": "4.0.2", "resolved": "http://registry.npmjs.org/@types/ws/-/ws-4.0.2.tgz", @@ -1114,16 +1074,180 @@ } }, "@types/yargs": { - "version": "10.0.2", - "resolved": "http://registry.npmjs.org/@types/yargs/-/yargs-10.0.2.tgz", - "integrity": "sha512-VbsIazac1gy20qTjEZVgDUhs8uuVmGbFkSGcdHpcMoXSC4+0vn/PRHz9YBqpgxKwUi8qoxf3eHff07w7aKNBOg==", + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-10.0.0.tgz", + "integrity": "sha512-c1v82fFxticW/Iy49M8tbYy/4OTxuNAZHBVJTFlTYiW6JZrZxA0Yepj8c8qHgS3ZUxqW8M49awWaaF1DUJf/Ow==", "dev": true }, + "@webassemblyjs/ast": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.7.11.tgz", + "integrity": "sha512-ZEzy4vjvTzScC+SH8RBssQUawpaInUdMTYwYYLh54/s8TuT0gBLuyUnppKsVyZEi876VmmStKsUs28UxPgdvrA==", + "requires": { + "@webassemblyjs/helper-module-context": "1.7.11", + "@webassemblyjs/helper-wasm-bytecode": "1.7.11", + "@webassemblyjs/wast-parser": "1.7.11" + } + }, + "@webassemblyjs/floating-point-hex-parser": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.7.11.tgz", + "integrity": "sha512-zY8dSNyYcgzNRNT666/zOoAyImshm3ycKdoLsyDw/Bwo6+/uktb7p4xyApuef1dwEBo/U/SYQzbGBvV+nru2Xg==" + }, + "@webassemblyjs/helper-api-error": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.7.11.tgz", + "integrity": "sha512-7r1qXLmiglC+wPNkGuXCvkmalyEstKVwcueZRP2GNC2PAvxbLYwLLPr14rcdJaE4UtHxQKfFkuDFuv91ipqvXg==" + }, + "@webassemblyjs/helper-buffer": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.7.11.tgz", + "integrity": "sha512-MynuervdylPPh3ix+mKZloTcL06P8tenNH3sx6s0qE8SLR6DdwnfgA7Hc9NSYeob2jrW5Vql6GVlsQzKQCa13w==" + }, + "@webassemblyjs/helper-code-frame": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.7.11.tgz", + "integrity": "sha512-T8ESC9KMXFTXA5urJcyor5cn6qWeZ4/zLPyWeEXZ03hj/x9weSokGNkVCdnhSabKGYWxElSdgJ+sFa9G/RdHNw==", + "requires": { + "@webassemblyjs/wast-printer": "1.7.11" + } + }, + "@webassemblyjs/helper-fsm": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-fsm/-/helper-fsm-1.7.11.tgz", + "integrity": "sha512-nsAQWNP1+8Z6tkzdYlXT0kxfa2Z1tRTARd8wYnc/e3Zv3VydVVnaeePgqUzFrpkGUyhUUxOl5ML7f1NuT+gC0A==" + }, + "@webassemblyjs/helper-module-context": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-module-context/-/helper-module-context-1.7.11.tgz", + "integrity": "sha512-JxfD5DX8Ygq4PvXDucq0M+sbUFA7BJAv/GGl9ITovqE+idGX+J3QSzJYz+LwQmL7fC3Rs+utvWoJxDb6pmC0qg==" + }, + "@webassemblyjs/helper-wasm-bytecode": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.7.11.tgz", + "integrity": "sha512-cMXeVS9rhoXsI9LLL4tJxBgVD/KMOKXuFqYb5oCJ/opScWpkCMEz9EJtkonaNcnLv2R3K5jIeS4TRj/drde1JQ==" + }, + "@webassemblyjs/helper-wasm-section": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.7.11.tgz", + "integrity": "sha512-8ZRY5iZbZdtNFE5UFunB8mmBEAbSI3guwbrsCl4fWdfRiAcvqQpeqd5KHhSWLL5wuxo53zcaGZDBU64qgn4I4Q==", + "requires": { + "@webassemblyjs/ast": "1.7.11", + "@webassemblyjs/helper-buffer": "1.7.11", + "@webassemblyjs/helper-wasm-bytecode": "1.7.11", + "@webassemblyjs/wasm-gen": "1.7.11" + } + }, + "@webassemblyjs/ieee754": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.7.11.tgz", + "integrity": "sha512-Mmqx/cS68K1tSrvRLtaV/Lp3NZWzXtOHUW2IvDvl2sihAwJh4ACE0eL6A8FvMyDG9abes3saB6dMimLOs+HMoQ==", + "requires": { + "@xtuc/ieee754": "^1.2.0" + } + }, + "@webassemblyjs/leb128": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.7.11.tgz", + "integrity": "sha512-vuGmgZjjp3zjcerQg+JA+tGOncOnJLWVkt8Aze5eWQLwTQGNgVLcyOTqgSCxWTR4J42ijHbBxnuRaL1Rv7XMdw==", + "requires": { + "@xtuc/long": "4.2.1" + } + }, + "@webassemblyjs/utf8": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.7.11.tgz", + "integrity": "sha512-C6GFkc7aErQIAH+BMrIdVSmW+6HSe20wg57HEC1uqJP8E/xpMjXqQUxkQw07MhNDSDcGpxI9G5JSNOQCqJk4sA==" + }, + "@webassemblyjs/wasm-edit": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.7.11.tgz", + "integrity": "sha512-FUd97guNGsCZQgeTPKdgxJhBXkUbMTY6hFPf2Y4OedXd48H97J+sOY2Ltaq6WGVpIH8o/TGOVNiVz/SbpEMJGg==", + "requires": { + "@webassemblyjs/ast": "1.7.11", + "@webassemblyjs/helper-buffer": "1.7.11", + "@webassemblyjs/helper-wasm-bytecode": "1.7.11", + "@webassemblyjs/helper-wasm-section": "1.7.11", + "@webassemblyjs/wasm-gen": "1.7.11", + "@webassemblyjs/wasm-opt": "1.7.11", + "@webassemblyjs/wasm-parser": "1.7.11", + "@webassemblyjs/wast-printer": "1.7.11" + } + }, + "@webassemblyjs/wasm-gen": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.7.11.tgz", + "integrity": "sha512-U/KDYp7fgAZX5KPfq4NOupK/BmhDc5Kjy2GIqstMhvvdJRcER/kUsMThpWeRP8BMn4LXaKhSTggIJPOeYHwISA==", + "requires": { + "@webassemblyjs/ast": "1.7.11", + "@webassemblyjs/helper-wasm-bytecode": "1.7.11", + "@webassemblyjs/ieee754": "1.7.11", + "@webassemblyjs/leb128": "1.7.11", + "@webassemblyjs/utf8": "1.7.11" + } + }, + "@webassemblyjs/wasm-opt": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.7.11.tgz", + "integrity": "sha512-XynkOwQyiRidh0GLua7SkeHvAPXQV/RxsUeERILmAInZegApOUAIJfRuPYe2F7RcjOC9tW3Cb9juPvAC/sCqvg==", + "requires": { + "@webassemblyjs/ast": "1.7.11", + "@webassemblyjs/helper-buffer": "1.7.11", + "@webassemblyjs/wasm-gen": "1.7.11", + "@webassemblyjs/wasm-parser": "1.7.11" + } + }, + "@webassemblyjs/wasm-parser": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.7.11.tgz", + "integrity": "sha512-6lmXRTrrZjYD8Ng8xRyvyXQJYUQKYSXhJqXOBLw24rdiXsHAOlvw5PhesjdcaMadU/pyPQOJ5dHreMjBxwnQKg==", + "requires": { + "@webassemblyjs/ast": "1.7.11", + "@webassemblyjs/helper-api-error": "1.7.11", + "@webassemblyjs/helper-wasm-bytecode": "1.7.11", + "@webassemblyjs/ieee754": "1.7.11", + "@webassemblyjs/leb128": "1.7.11", + "@webassemblyjs/utf8": "1.7.11" + } + }, + "@webassemblyjs/wast-parser": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-parser/-/wast-parser-1.7.11.tgz", + "integrity": "sha512-lEyVCg2np15tS+dm7+JJTNhNWq9yTZvi3qEhAIIOaofcYlUp0UR5/tVqOwa/gXYr3gjwSZqw+/lS9dscyLelbQ==", + "requires": { + "@webassemblyjs/ast": "1.7.11", + "@webassemblyjs/floating-point-hex-parser": "1.7.11", + "@webassemblyjs/helper-api-error": "1.7.11", + "@webassemblyjs/helper-code-frame": "1.7.11", + "@webassemblyjs/helper-fsm": "1.7.11", + "@xtuc/long": "4.2.1" + } + }, + "@webassemblyjs/wast-printer": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.7.11.tgz", + "integrity": "sha512-m5vkAsuJ32QpkdkDOUPGSltrg8Cuk3KBx4YrmAGQwCZPRdUHXxG4phIOuuycLemHFr74sWL9Wthqss4fzdzSwg==", + "requires": { + "@webassemblyjs/ast": "1.7.11", + "@webassemblyjs/wast-parser": "1.7.11", + "@xtuc/long": "4.2.1" + } + }, "@webcomponents/webcomponentsjs": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@webcomponents/webcomponentsjs/-/webcomponentsjs-1.1.0.tgz", "integrity": "sha512-7toNyVlrl7vJnY3PU0eXIK1KWq8phfnEe1IwOdCMxkIl/BfUkUB2aaVs45R0LSx1qxHRnkqj0vlGtskUvKkNkA==" }, + "@xtuc/ieee754": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz", + "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==" + }, + "@xtuc/long": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.1.tgz", + "integrity": "sha512-FZdkNBDqBRHKQ2MEbSC17xnPFOhZxeJ2YGSfr2BKf3sujG49Qe3bB+rGCwQfIaA7WHnGeGkSijX4FuBCdrzW/g==" + }, "JSONStream": { "version": "1.3.5", "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz", @@ -1134,11 +1258,6 @@ "through": ">=2.2.7 <3" } }, - "abab": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/abab/-/abab-1.0.4.tgz", - "integrity": "sha1-X6rZwsB/YN12dw9xzwJbYqY8/U4=" - }, "accepts": { "version": "1.3.5", "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.5.tgz", @@ -1161,70 +1280,43 @@ "acorn": "^5.0.0" } }, - "acorn-globals": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-4.3.0.tgz", - "integrity": "sha512-hMtHj3s5RnuhvHPowpBYvJVj3rAar82JiDQHvGs1zO0l10ocX/xEdBShNHTJaboucJUsScghp74pH3s7EnHHQw==", - "requires": { - "acorn": "^6.0.1", - "acorn-walk": "^6.0.1" - }, - "dependencies": { - "acorn": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.0.2.tgz", - "integrity": "sha512-GXmKIvbrN3TV7aVqAzVFaMW8F8wzVX7voEBRO3bDA64+EX37YSayggRJP5Xig6HYHBkWKpFg9W5gg6orklubhg==" - } - } - }, - "acorn-walk": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-6.1.0.tgz", - "integrity": "sha512-ugTb7Lq7u4GfWSqqpwE0bGyoBZNMTok/zDBXxfEG0QM50jNlGhIWjRC1pPN7bvV1anhF+bs+/gNcRw+o55Evbg==" - }, "agent-base": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-4.2.1.tgz", "integrity": "sha512-JVwXMr9nHYTUXsBFKUqhJwvlcYU/blreOEUkhNR2eXZIvwd+c+o5V4MgDPKWnMS/56awN3TRzIP+KoPn+roQtg==", - "dev": true, "requires": { "es6-promisify": "^5.0.0" } }, "agentkeepalive": { - "version": "3.5.1", - "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-3.5.1.tgz", - "integrity": "sha512-Cte/sTY9/XcygXjJ0q58v//SnEQ7ViWExKyJpLJlLqomDbQyMLh6Is4KuWJ/wmxzhiwkGRple7Gqv1zf6Syz5w==", + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-3.5.2.tgz", + "integrity": "sha512-e0L/HNe6qkQ7H19kTlRRqUibEAwDK5AFk6y3PtMsuut2VAH6+Q4xZml1tNDJD7kSAyqmbG/K08K5WEJYtUrSlQ==", "dev": true, "requires": { "humanize-ms": "^1.2.1" } }, "ajv": { - "version": "5.5.2", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.2.tgz", - "integrity": "sha1-c7Xuyj+rZT49P5Qis0GtQiBdyWU=", + "version": "6.6.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.6.1.tgz", + "integrity": "sha512-ZoJjft5B+EJBjUyu9C9Hc0OZyPZSSlOF+plzouTrg6UlA8f+e/n8NIgBFG/9tppJtpPWfthHakK7juJdNDODww==", "requires": { - "co": "^4.6.0", - "fast-deep-equal": "^1.0.0", + "fast-deep-equal": "^2.0.1", "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.3.0" + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" } }, - "ajv-keywords": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-2.1.1.tgz", - "integrity": "sha1-YXmX/F9gV2iUxDX5QNgZ4TW4B2I=" + "ajv-errors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/ajv-errors/-/ajv-errors-1.0.0.tgz", + "integrity": "sha1-7PAh+hCP0X37Xms4Py3SM+Mf/Fk=" }, - "align-text": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/align-text/-/align-text-0.1.4.tgz", - "integrity": "sha1-DNkKVhCT810KmSVsIrcGlDP60Rc=", - "requires": { - "kind-of": "^3.0.2", - "longest": "^1.0.1", - "repeat-string": "^1.5.2" - } + "ajv-keywords": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.2.0.tgz", + "integrity": "sha1-6GuBnGAs+IIa1jdBNpjx3sAhhHo=" }, "alphanum-sort": { "version": "1.0.2", @@ -1244,9 +1336,14 @@ "string-width": "^1.0.1" } }, + "ansi-colors": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-3.2.1.tgz", + "integrity": "sha512-Xt+zb6nqgvV9SWAVp0EG3lRsHcbq5DDgqjPPz6pwgtj6RKz65zGXMNa82oJfOSBA/to6GmRP7Dr+6o+kbApTzQ==" + }, "ansi-escapes": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.1.0.tgz", + "resolved": "http://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.1.0.tgz", "integrity": "sha512-UgAb8H9D41AQnu/PbWlCofQVcnV4Gs2bBJi9eZPxfU/hgglFh3SMDMENRIqdr7H6XFnXdoknctFByVsCOotTVw==" }, "ansi-html": { @@ -1274,12 +1371,12 @@ "dev": true }, "anymatch": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-1.3.2.tgz", - "integrity": "sha512-0XNayC8lTHQ2OI8aljNCN3sSx6hsr/1+rlcDAotXJR7C1oZZHCNsfpbKwMjRA3Uqb5tF1Rae2oloTr4xpq+WjA==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz", + "integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==", "requires": { - "micromatch": "^2.1.5", - "normalize-path": "^2.0.0" + "micromatch": "^3.1.4", + "normalize-path": "^2.1.1" } }, "app-root-path": { @@ -1317,12 +1414,9 @@ "dev": true }, "arr-diff": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz", - "integrity": "sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8=", - "requires": { - "arr-flatten": "^1.0.1" - } + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", + "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=" }, "arr-flatten": { "version": "1.1.0", @@ -1334,11 +1428,6 @@ "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz", "integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=" }, - "array-equal": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/array-equal/-/array-equal-1.0.0.tgz", - "integrity": "sha1-jCpe8kcv2ep0KwTHenUJO6J1fJM=" - }, "array-filter": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/array-filter/-/array-filter-0.0.1.tgz", @@ -1387,9 +1476,9 @@ "integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=" }, "array-unique": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz", - "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=" + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", + "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=" }, "arrify": { "version": "1.0.1", @@ -1400,6 +1489,7 @@ "version": "0.2.4", "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", + "dev": true, "requires": { "safer-buffer": "~2.1.0" } @@ -1429,7 +1519,7 @@ }, "util": { "version": "0.10.3", - "resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz", + "resolved": "http://registry.npmjs.org/util/-/util-0.10.3.tgz", "integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=", "requires": { "inherits": "2.0.1" @@ -1440,7 +1530,8 @@ "assert-plus": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "dev": true }, "assertion-error": { "version": "1.1.0", @@ -1459,19 +1550,9 @@ "integrity": "sha1-sTYwDWcCZiWuFTJpgsqZGOXbc8k=" }, "async": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/async/-/async-2.6.1.tgz", - "integrity": "sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ==", - "requires": { - "lodash": "^4.17.10" - }, - "dependencies": { - "lodash": { - "version": "4.17.11", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", - "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==" - } - } + "version": "1.5.2", + "resolved": "http://registry.npmjs.org/async/-/async-1.5.2.tgz", + "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=" }, "async-each": { "version": "1.0.1", @@ -1486,7 +1567,8 @@ "asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", + "dev": true }, "atob": { "version": "2.1.2", @@ -1494,77 +1576,48 @@ "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==" }, "autoprefixer": { - "version": "6.7.7", - "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-6.7.7.tgz", - "integrity": "sha1-Hb0cg1ZY41zj+ZhAmdsAWFx4IBQ=", + "version": "8.6.5", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-8.6.5.tgz", + "integrity": "sha512-PLWJN3Xo/rycNkx+mp8iBDMTm3FeWe4VmYaZDSqL5QQB9sLsQkG5k8n+LNDFnhh9kdq2K+egL/icpctOmDHwig==", "requires": { - "browserslist": "^1.7.6", - "caniuse-db": "^1.0.30000634", + "browserslist": "^3.2.8", + "caniuse-lite": "^1.0.30000864", "normalize-range": "^0.1.2", "num2fraction": "^1.2.2", - "postcss": "^5.2.16", + "postcss": "^6.0.23", "postcss-value-parser": "^3.2.3" }, "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" + "browserslist": { + "version": "3.2.8", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-3.2.8.tgz", + "integrity": "sha512-WHVocJYavUwVgVViC0ORikPHQquXwVh939TaelZ4WDqpWgTX/FsGhl/+P4qBUAGcRvtOgDgC+xftNWWp2RUTAQ==", + "requires": { + "caniuse-lite": "^1.0.30000844", + "electron-to-chromium": "^1.3.47" + } }, - "chalk": { - "version": "1.1.3", - "resolved": "http://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "postcss": { + "version": "6.0.23", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz", + "integrity": "sha512-soOk1h6J3VMTZtVeVpv15/Hpdl2cBLX3CAw4TAbkpTJiNPk9YP/zWcD1ND+xEtvyuuvKzbxliTOIyvkSeSJ6ag==", "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" - }, - "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "^1.1.3", - "js-base64": "^2.1.9", - "source-map": "^0.5.6", - "supports-color": "^3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "http://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", - "requires": { - "ansi-regex": "^2.0.0" + "chalk": "^2.4.1", + "source-map": "^0.6.1", + "supports-color": "^5.4.0" } }, "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "requires": { - "has-flag": "^1.0.0" + "has-flag": "^3.0.0" } } } @@ -1572,12 +1625,14 @@ "aws-sign2": { "version": "0.7.0", "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", - "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=" + "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", + "dev": true }, "aws4": { "version": "1.8.0", "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz", - "integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==" + "integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==", + "dev": true }, "babel-code-frame": { "version": "6.26.0", @@ -1778,16 +1833,6 @@ "is-data-descriptor": "^1.0.0", "kind-of": "^6.0.2" } - }, - "isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=" - }, - "kind-of": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", - "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==" } } }, @@ -1800,6 +1845,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", + "dev": true, "requires": { "tweetnacl": "^0.14.3" } @@ -1845,9 +1891,9 @@ } }, "bluebird": { - "version": "3.5.2", - "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.2.tgz", - "integrity": "sha512-dhHTWMI7kMx5whMQntl7Vr9C6BvV10lFXDAasnqnrMYhXVCzzk6IO9Fo2L75jXHT07WrOngL1WDXOp+yYS91Yg==" + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.3.tgz", + "integrity": "sha512-/qKPUQlaW1OyR51WeCPBvRnAlnZFUJkCSG5HzGnuIqhgyJtF+T94lFnn33eiazjRm2LAHVy2guNnaq48X9SJuw==" }, "bn.js": { "version": "4.11.8", @@ -1933,13 +1979,30 @@ } }, "braces": { - "version": "1.8.5", - "resolved": "https://registry.npmjs.org/braces/-/braces-1.8.5.tgz", - "integrity": "sha1-uneWLhLf+WnWt2cR6RS3N4V79qc=", + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", + "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", "requires": { - "expand-range": "^1.8.1", - "preserve": "^0.2.0", - "repeat-element": "^1.1.2" + "arr-flatten": "^1.1.0", + "array-unique": "^0.3.2", + "extend-shallow": "^2.0.1", + "fill-range": "^4.0.0", + "isobject": "^3.0.1", + "repeat-element": "^1.1.2", + "snapdragon": "^0.8.1", + "snapdragon-node": "^2.0.1", + "split-string": "^3.0.2", + "to-regex": "^3.0.1" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "requires": { + "is-extendable": "^0.1.0" + } + } } }, "brorand": { @@ -1947,11 +2010,6 @@ "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=" }, - "browser-process-hrtime": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/browser-process-hrtime/-/browser-process-hrtime-0.1.3.tgz", - "integrity": "sha512-bRFnI4NnjO6cnyLmOV/7PVoDEMJChlcfN0z4s1YMBY989/SvlfMI1lgCnkFUs53e9gQF+w7qu7XdllSTiSl8Aw==" - }, "browserify-aes": { "version": "1.2.0", "resolved": "http://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", @@ -1984,13 +2042,6 @@ "des.js": "^1.0.0", "inherits": "^2.0.1", "safe-buffer": "^5.1.2" - }, - "dependencies": { - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - } } }, "browserify-rsa": { @@ -2025,12 +2076,13 @@ } }, "browserslist": { - "version": "1.7.7", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-1.7.7.tgz", - "integrity": "sha1-C9dnBCWL6CmyOYu1Dkti0aFmsLk=", + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.3.4.tgz", + "integrity": "sha512-u5iz+ijIMUlmV8blX82VGFrB9ecnUg5qEt55CMZ/YJEhha+d8qpBfOFuutJ6F/VKRXjZoD33b6uvarpPxcl3RA==", "requires": { - "caniuse-db": "^1.0.30000639", - "electron-to-chromium": "^1.2.7" + "caniuse-lite": "^1.0.30000899", + "electron-to-chromium": "^1.3.82", + "node-releases": "^1.0.1" } }, "buffer": { @@ -2104,7 +2156,7 @@ }, "cacache": { "version": "10.0.4", - "resolved": "https://registry.npmjs.org/cacache/-/cacache-10.0.4.tgz", + "resolved": "http://registry.npmjs.org/cacache/-/cacache-10.0.4.tgz", "integrity": "sha512-Dph0MzuH+rTQzGPNT9fAnrPmMmjKfST6trxJeK7NQuHRaVw24VzPRWTmg9MpcwOVQZO0E1FBICUlFeNaKPIfHA==", "requires": { "bluebird": "^3.5.1", @@ -2120,13 +2172,6 @@ "ssri": "^5.2.4", "unique-filename": "^1.1.0", "y18n": "^4.0.0" - }, - "dependencies": { - "y18n": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz", - "integrity": "sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w==" - } } }, "cache-base": { @@ -2143,13 +2188,14 @@ "to-object-path": "^0.3.0", "union-value": "^1.0.0", "unset-value": "^1.0.0" - }, - "dependencies": { - "isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=" - } + } + }, + "caller-callsite": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/caller-callsite/-/caller-callsite-2.0.0.tgz", + "integrity": "sha1-hH4PzgoiN1CpoCfFSzNzGtMVQTQ=", + "requires": { + "callsites": "^2.0.0" } }, "caller-id": { @@ -2161,6 +2207,19 @@ "stack-trace": "~0.0.7" } }, + "caller-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/caller-path/-/caller-path-2.0.0.tgz", + "integrity": "sha1-Ro+DBE42mrIBD6xfBs7uFbsssfQ=", + "requires": { + "caller-callsite": "^2.0.0" + } + }, + "callsites": { + "version": "2.0.0", + "resolved": "http://registry.npmjs.org/callsites/-/callsites-2.0.0.tgz", + "integrity": "sha1-BuuE8A7qQT2oav/vrL/7Ngk7PFA=" + }, "camel-case": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-3.0.0.tgz", @@ -2177,7 +2236,7 @@ }, "camelcase-keys": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz", + "resolved": "http://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz", "integrity": "sha1-MIvur/3ygRkFHvodkyITyRuPkuc=", "requires": { "camelcase": "^2.0.0", @@ -2185,25 +2244,20 @@ } }, "caniuse-api": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/caniuse-api/-/caniuse-api-1.6.1.tgz", - "integrity": "sha1-tTTnxzTE+B7F++isoq0kNUuWLGw=", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/caniuse-api/-/caniuse-api-3.0.0.tgz", + "integrity": "sha512-bsTwuIg/BZZK/vreVTYYbSWoe2F+71P7K5QGEX+pT250DZbfU1MQ5prOKpPR+LL6uWKK3KMwMCAS74QB3Um1uw==", "requires": { - "browserslist": "^1.3.6", - "caniuse-db": "^1.0.30000529", + "browserslist": "^4.0.0", + "caniuse-lite": "^1.0.0", "lodash.memoize": "^4.1.2", "lodash.uniq": "^4.5.0" } }, - "caniuse-db": { - "version": "1.0.30000892", - "resolved": "https://registry.npmjs.org/caniuse-db/-/caniuse-db-1.0.30000892.tgz", - "integrity": "sha512-as/DXjiFJg051+GSJLmkY0hckkVsmTB4nuDUPLwK1sMHk94XsYuocNJuU0wdOpobwI/3sqNeW5ETebvdPGvwBQ==" - }, "caniuse-lite": { - "version": "1.0.30000892", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000892.tgz", - "integrity": "sha512-X9rxMaWZNbJB5qjkDqPtNv/yfViTeUL6ILk0QJNxLV3OhKC5Acn5vxsuUvllR6B48mog8lmS+whwHq/QIYSL9w==" + "version": "1.0.30000912", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000912.tgz", + "integrity": "sha512-M3zAtV36U+xw5mMROlTXpAHClmPAor6GPKAMD5Yi7glCB5sbMPFtnQ3rGpk4XqPdUrrTIaVYSJZxREZWNy8QJg==" }, "capture-stack-trace": { "version": "1.0.1", @@ -2213,16 +2267,8 @@ "caseless": { "version": "0.12.0", "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", - "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=" - }, - "center-align": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/center-align/-/center-align-0.1.3.tgz", - "integrity": "sha1-qg0yYptu6XIgBBHL1EYckHvCt60=", - "requires": { - "align-text": "^0.1.3", - "lazy-cache": "^1.0.3" - } + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", + "dev": true }, "chai": { "version": "4.1.2", @@ -2290,34 +2336,23 @@ "integrity": "sha512-YbulWHdfP99UfZ73NcUDlNJhEIDgm9Doq9GhpyXbF+7Aegi3CVV7qqMCKTTqJxlvEvnQBp9IA+dxsGN6xK/nSg==" }, "chokidar": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-1.7.0.tgz", - "integrity": "sha1-eY5ol3gVHIB2tLNg5e3SjNortGg=", + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.0.4.tgz", + "integrity": "sha512-z9n7yt9rOvIJrMhvDtDictKrkFHeihkNl6uWMmZlmL6tJtX9Cs+87oK+teBx+JIgzvbX3yZHT3eF8vpbDxHJXQ==", "requires": { - "anymatch": "^1.3.0", + "anymatch": "^2.0.0", "async-each": "^1.0.0", - "fsevents": "^1.0.0", - "glob-parent": "^2.0.0", + "braces": "^2.3.0", + "fsevents": "^1.2.2", + "glob-parent": "^3.1.0", "inherits": "^2.0.1", "is-binary-path": "^1.0.0", - "is-glob": "^2.0.0", + "is-glob": "^4.0.0", + "lodash.debounce": "^4.0.8", + "normalize-path": "^2.1.1", "path-is-absolute": "^1.0.0", - "readdirp": "^2.0.0" - }, - "dependencies": { - "is-extglob": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", - "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=" - }, - "is-glob": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", - "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", - "requires": { - "is-extglob": "^1.0.0" - } - } + "readdirp": "^2.0.0", + "upath": "^1.0.5" } }, "chownr": { @@ -2325,6 +2360,21 @@ "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.1.tgz", "integrity": "sha512-j38EvO5+LHX84jlo6h4UzmOwi0UgW61WRyPtJz4qaadK5eY3BTS5TY/S1Stc3Uk2lIM6TPevAlULiEJwie860g==" }, + "chrome-trace-event": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.0.tgz", + "integrity": "sha512-xDbVgyfDTT2piup/h8dK/y4QZfJRSa73bw1WZ8b4XM1o7fsFubUVGYcE+1ANtOzJJELGpYoG2961z0Z6OAld9A==", + "requires": { + "tslib": "^1.9.0" + }, + "dependencies": { + "tslib": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.9.3.tgz", + "integrity": "sha512-4krF8scpejhaOgqzBEcGM7yDIEfi0/8+8zDRZhNZZ2kjmHJ4hv3zCbQWxoJGz1iw5U0Jl0nma13xzHXcncMavQ==" + } + } + }, "ci-info": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-1.6.0.tgz", @@ -2340,46 +2390,6 @@ "safe-buffer": "^5.0.1" } }, - "clap": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/clap/-/clap-1.2.3.tgz", - "integrity": "sha512-4CoL/A3hf90V3VIEjeuhSvlGFEHKzOz+Wfc2IVZc+FaUgU0ZQafJTP49fvnULipOPcAfqhyI2duwQyns6xqjYA==", - "requires": { - "chalk": "^1.1.3" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "http://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - } - }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "http://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", - "requires": { - "ansi-regex": "^2.0.0" - } - }, - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, "class-utils": { "version": "0.3.6", "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", @@ -2398,11 +2408,6 @@ "requires": { "is-descriptor": "^0.1.0" } - }, - "isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=" } } }, @@ -2420,9 +2425,9 @@ } }, "clean-webpack-plugin": { - "version": "0.1.17", - "resolved": "https://registry.npmjs.org/clean-webpack-plugin/-/clean-webpack-plugin-0.1.17.tgz", - "integrity": "sha512-Bts/V725v8Ijosp4K1cqppQXgXcrohxoMsg0CV2xL4y/vua1G5pAfHEW/eJIiKF+GNNG72mdjbipxMRFEms7yg==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/clean-webpack-plugin/-/clean-webpack-plugin-1.0.0.tgz", + "integrity": "sha512-+f96f52UIET4tOFBbCqezx7KH+w7lz/p4fA1FEjf0hC6ugxqwZedBtENzekN2FnmoTF/bn1LrlkvebOsDZuXKw==", "requires": { "rimraf": "^2.6.1" } @@ -2512,7 +2517,7 @@ "dependencies": { "slice-ansi": { "version": "0.0.4", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-0.0.4.tgz", + "resolved": "http://registry.npmjs.org/slice-ansi/-/slice-ansi-0.0.4.tgz", "integrity": "sha1-7b+JA/ZvfOL46v1s7tZeJkyDGzU=", "dev": true } @@ -2544,20 +2549,15 @@ } } }, - "clone": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", - "integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4=" - }, "co": { "version": "4.6.0", "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=" }, "coa": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/coa/-/coa-1.0.4.tgz", - "integrity": "sha1-qe8VNmDWqGqL3sAomlxoTSF0Mv0=", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/coa/-/coa-2.0.1.tgz", + "integrity": "sha512-5wfTTO8E2/ja4jFSxePXlG5nRu5bBtL/r1HCIpJW/lzT6yDtKl0u0Z4o/Vpz32IpKmBn7HerheEZQgA9N2DarQ==", "requires": { "q": "^1.1.2" } @@ -2589,13 +2589,12 @@ } }, "color": { - "version": "0.11.4", - "resolved": "http://registry.npmjs.org/color/-/color-0.11.4.tgz", - "integrity": "sha1-bXtcdPtl6EHNSHkq0e1eB7kE12Q=", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/color/-/color-3.1.0.tgz", + "integrity": "sha512-CwyopLkuRYO5ei2EpzpIh6LqJMt6Mt+jZhO5VI5f/wJLZriXQE32/SSqzmrh+QB+AZT81Cj8yv+7zwToW8ahZg==", "requires": { - "clone": "^1.0.2", - "color-convert": "^1.3.0", - "color-string": "^0.3.0" + "color-convert": "^1.9.1", + "color-string": "^1.5.2" } }, "color-convert": { @@ -2612,66 +2611,24 @@ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" }, "color-string": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/color-string/-/color-string-0.3.0.tgz", - "integrity": "sha1-J9RvtnAlxcL6JZk7+/V55HhBuZE=", - "requires": { - "color-name": "^1.0.0" - } - }, - "colormin": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/colormin/-/colormin-1.1.2.tgz", - "integrity": "sha1-6i90IKcrlogaOKrlnsEkpvcpgTM=", + "version": "1.5.3", + "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.5.3.tgz", + "integrity": "sha512-dC2C5qeWoYkxki5UAXapdjqO672AM4vZuPGRQfO8b5HKuKGBbKWpITyDYN7TOFKvRW7kOgAn3746clDBMDJyQw==", "requires": { - "color": "^0.11.0", - "css-color-names": "0.0.4", - "has": "^1.0.1" + "color-name": "^1.0.0", + "simple-swizzle": "^0.2.2" } }, - "colornames": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/colornames/-/colornames-1.1.1.tgz", - "integrity": "sha1-+IiQMGhcfE/54qVZ9Qd+t2qBb5Y=" - }, "colors": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/colors/-/colors-1.1.2.tgz", - "integrity": "sha1-FopHAXVran9RoSzgyXv6KMCE7WM=" - }, - "colorspace": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/colorspace/-/colorspace-1.1.1.tgz", - "integrity": "sha512-pI3btWyiuz7Ken0BWh9Elzsmv2bM9AhA7psXib4anUXy/orfZ/E0MbQwhSOG/9L8hLlalqrU0UhOuqxW1YjmVw==", - "requires": { - "color": "3.0.x", - "text-hex": "1.0.x" - }, - "dependencies": { - "color": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/color/-/color-3.0.0.tgz", - "integrity": "sha512-jCpd5+s0s0t7p3pHQKpnJ0TpQKKdleP71LWcA0aqiljpiuAkOSUFN/dyH8ZwF0hRmFlrIuRhufds1QyEP9EB+w==", - "requires": { - "color-convert": "^1.9.1", - "color-string": "^1.5.2" - } - }, - "color-string": { - "version": "1.5.3", - "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.5.3.tgz", - "integrity": "sha512-dC2C5qeWoYkxki5UAXapdjqO672AM4vZuPGRQfO8b5HKuKGBbKWpITyDYN7TOFKvRW7kOgAn3746clDBMDJyQw==", - "requires": { - "color-name": "^1.0.0", - "simple-swizzle": "^0.2.2" - } - } - } + "version": "1.0.3", + "resolved": "http://registry.npmjs.org/colors/-/colors-1.0.3.tgz", + "integrity": "sha1-BDP0TYCWgP3rYO0mDxsMJi6CpAs=" }, "combined-stream": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.7.tgz", "integrity": "sha512-brWl9y6vOB1xYPZcpZde3N9zDByXTosAeMDo4p1wzo6UMOX4vumB+TP1RZ76sfE6Md68Q0NJSrE/gbezd4Ul+w==", + "dev": true, "requires": { "delayed-stream": "~1.0.0" } @@ -2757,11 +2714,6 @@ "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==" }, - "content-type-parser": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/content-type-parser/-/content-type-parser-1.0.2.tgz", - "integrity": "sha512-lM4l4CnMEwOLHAHr/P6MEZwZFPJFtAAKgL6pogbXmVZggIqXhdB6RbBtPOTsw2FcXwYhehRGERJmRrjOiIB8pQ==" - }, "convert-source-map": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.6.0.tgz", @@ -2799,68 +2751,18 @@ "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=" }, "copy-webpack-plugin": { - "version": "4.0.1", - "resolved": "http://registry.npmjs.org/copy-webpack-plugin/-/copy-webpack-plugin-4.0.1.tgz", - "integrity": "sha1-lyjjg7lDFgUNDHRjlY8rhcCqggA=", + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/copy-webpack-plugin/-/copy-webpack-plugin-4.6.0.tgz", + "integrity": "sha512-Y+SQCF+0NoWQryez2zXn5J5knmr9z/9qSQt7fbL78u83rxmigOy8X5+BFn8CFSuX+nKT8gpYwJX68ekqtQt6ZA==", "requires": { - "bluebird": "^2.10.2", - "fs-extra": "^0.26.4", - "glob": "^6.0.4", - "is-glob": "^3.1.0", - "loader-utils": "^0.2.15", - "lodash": "^4.3.0", - "minimatch": "^3.0.0", - "node-dir": "^0.1.10" - }, - "dependencies": { - "bluebird": { - "version": "2.11.0", - "resolved": "http://registry.npmjs.org/bluebird/-/bluebird-2.11.0.tgz", - "integrity": "sha1-U0uQM8AiyVecVro7Plpcqvu2UOE=" - }, - "fs-extra": { - "version": "0.26.7", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-0.26.7.tgz", - "integrity": "sha1-muH92UiXeY7at20JGM9C0MMYT6k=", - "requires": { - "graceful-fs": "^4.1.2", - "jsonfile": "^2.1.0", - "klaw": "^1.0.0", - "path-is-absolute": "^1.0.0", - "rimraf": "^2.2.8" - } - }, - "glob": { - "version": "6.0.4", - "resolved": "https://registry.npmjs.org/glob/-/glob-6.0.4.tgz", - "integrity": "sha1-DwiGD2oVUSey+t1PnOJLGqtuTSI=", - "requires": { - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "2 || 3", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - } - }, - "jsonfile": { - "version": "2.4.0", - "resolved": "http://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz", - "integrity": "sha1-NzaitCi4e72gzIO1P6PWM6NcKug=", - "requires": { - "graceful-fs": "^4.1.6" - } - }, - "loader-utils": { - "version": "0.2.17", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-0.2.17.tgz", - "integrity": "sha1-+G5jdNQyBabmxg6RlvF8Apm/s0g=", - "requires": { - "big.js": "^3.1.3", - "emojis-list": "^2.0.0", - "json5": "^0.5.0", - "object-assign": "^4.0.1" - } - } + "cacache": "^10.0.4", + "find-cache-dir": "^1.0.0", + "globby": "^7.1.1", + "is-glob": "^4.0.0", + "loader-utils": "^1.1.0", + "minimatch": "^3.0.4", + "p-limit": "^1.0.0", + "serialize-javascript": "^1.4.0" } }, "core-js": { @@ -2873,20 +2775,33 @@ "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" }, + "corser": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/corser/-/corser-2.0.1.tgz", + "integrity": "sha1-jtolLsqrWEDc2XXOuQ2TcMgZ/4c=" + }, "cosmiconfig": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-2.2.2.tgz", - "integrity": "sha512-GiNXLwAFPYHy25XmTPpafYvn3CLAkJ8FLsscq78MQd1Kh0OU6Yzhn4eV2MVF4G9WEQZoWEGltatdR+ntGPMl5A==", + "version": "5.0.7", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-5.0.7.tgz", + "integrity": "sha512-PcLqxTKiDmNT6pSpy4N6KtuPwb53W+2tzNvwOZw0WH9N6O0vLIBq0x8aj8Oj75ere4YcGi48bDFCL+3fRJdlNA==", "requires": { + "import-fresh": "^2.0.0", "is-directory": "^0.3.1", - "js-yaml": "^3.4.3", - "minimist": "^1.2.0", - "object-assign": "^4.1.0", - "os-homedir": "^1.0.1", - "parse-json": "^2.2.0", - "require-from-string": "^1.1.0" - } - }, + "js-yaml": "^3.9.0", + "parse-json": "^4.0.0" + }, + "dependencies": { + "parse-json": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", + "requires": { + "error-ex": "^1.3.1", + "json-parse-better-errors": "^1.0.1" + } + } + } + }, "cpx": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/cpx/-/cpx-1.5.0.tgz", @@ -2904,6 +2819,133 @@ "safe-buffer": "^5.0.1", "shell-quote": "^1.6.1", "subarg": "^1.0.0" + }, + "dependencies": { + "anymatch": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-1.3.2.tgz", + "integrity": "sha512-0XNayC8lTHQ2OI8aljNCN3sSx6hsr/1+rlcDAotXJR7C1oZZHCNsfpbKwMjRA3Uqb5tF1Rae2oloTr4xpq+WjA==", + "dev": true, + "requires": { + "micromatch": "^2.1.5", + "normalize-path": "^2.0.0" + } + }, + "arr-diff": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz", + "integrity": "sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8=", + "dev": true, + "requires": { + "arr-flatten": "^1.0.1" + } + }, + "array-unique": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz", + "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=", + "dev": true + }, + "braces": { + "version": "1.8.5", + "resolved": "https://registry.npmjs.org/braces/-/braces-1.8.5.tgz", + "integrity": "sha1-uneWLhLf+WnWt2cR6RS3N4V79qc=", + "dev": true, + "requires": { + "expand-range": "^1.8.1", + "preserve": "^0.2.0", + "repeat-element": "^1.1.2" + } + }, + "chokidar": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-1.7.0.tgz", + "integrity": "sha1-eY5ol3gVHIB2tLNg5e3SjNortGg=", + "dev": true, + "requires": { + "anymatch": "^1.3.0", + "async-each": "^1.0.0", + "fsevents": "^1.0.0", + "glob-parent": "^2.0.0", + "inherits": "^2.0.1", + "is-binary-path": "^1.0.0", + "is-glob": "^2.0.0", + "path-is-absolute": "^1.0.0", + "readdirp": "^2.0.0" + } + }, + "expand-brackets": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-0.1.5.tgz", + "integrity": "sha1-3wcoTjQqgHzXM6xa9yQR5YHRF3s=", + "dev": true, + "requires": { + "is-posix-bracket": "^0.1.0" + } + }, + "extglob": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/extglob/-/extglob-0.3.2.tgz", + "integrity": "sha1-Lhj/PS9JqydlzskCPwEdqo2DSaE=", + "dev": true, + "requires": { + "is-extglob": "^1.0.0" + } + }, + "glob-parent": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz", + "integrity": "sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg=", + "dev": true, + "requires": { + "is-glob": "^2.0.0" + } + }, + "is-extglob": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", + "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=", + "dev": true + }, + "is-glob": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", + "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", + "dev": true, + "requires": { + "is-extglob": "^1.0.0" + } + }, + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + }, + "micromatch": { + "version": "2.3.11", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz", + "integrity": "sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU=", + "dev": true, + "requires": { + "arr-diff": "^2.0.0", + "array-unique": "^0.2.1", + "braces": "^1.8.2", + "expand-brackets": "^0.1.4", + "extglob": "^0.3.1", + "filename-regex": "^2.0.0", + "is-extglob": "^1.0.0", + "is-glob": "^2.0.1", + "kind-of": "^3.0.2", + "normalize-path": "^2.0.1", + "object.omit": "^2.0.0", + "parse-glob": "^3.0.4", + "regex-cache": "^0.4.2" + } + } } }, "create-ecdh": { @@ -2998,86 +3040,93 @@ "resolved": "http://registry.npmjs.org/css-color-names/-/css-color-names-0.0.4.tgz", "integrity": "sha1-gIrcLnnPhHOAabZGyyDsJ762KeA=" }, + "css-declaration-sorter": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/css-declaration-sorter/-/css-declaration-sorter-4.0.1.tgz", + "integrity": "sha512-BcxQSKTSEEQUftYpBVnsH4SF05NTuBokb19/sBt6asXGKZ/6VP7PLG1CBCkFDYOnhXhPh0jMhO6xZ71oYHXHBA==", + "requires": { + "postcss": "^7.0.1", + "timsort": "^0.3.0" + }, + "dependencies": { + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "postcss": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.6.tgz", + "integrity": "sha512-Nq/rNjnHFcKgCDDZYO0lNsl6YWe6U7tTy+ESN+PnLxebL8uBtYX59HZqvrj7YLK5UCyll2hqDsJOo3ndzEW8Ug==", + "requires": { + "chalk": "^2.4.1", + "source-map": "^0.6.1", + "supports-color": "^5.5.0" + } + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, "css-loader": { - "version": "0.28.7", - "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-0.28.7.tgz", - "integrity": "sha512-GxMpax8a/VgcfRrVy0gXD6yLd5ePYbXX/5zGgTVYp4wXtJklS8Z2VaUArJgc//f6/Dzil7BaJObdSv8eKKCPgg==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-1.0.1.tgz", + "integrity": "sha512-+ZHAZm/yqvJ2kDtPne3uX0C+Vr3Zn5jFn2N4HywtS5ujwvsVkyg0VArEXpl3BgczDA8anieki1FIzhchX4yrDw==", "requires": { - "babel-code-frame": "^6.11.0", + "babel-code-frame": "^6.26.0", "css-selector-tokenizer": "^0.7.0", - "cssnano": ">=2.6.1 <4", "icss-utils": "^2.1.0", "loader-utils": "^1.0.2", - "lodash.camelcase": "^4.3.0", - "object-assign": "^4.0.1", - "postcss": "^5.0.6", - "postcss-modules-extract-imports": "^1.0.0", - "postcss-modules-local-by-default": "^1.0.1", - "postcss-modules-scope": "^1.0.0", - "postcss-modules-values": "^1.1.0", + "lodash": "^4.17.11", + "postcss": "^6.0.23", + "postcss-modules-extract-imports": "^1.2.0", + "postcss-modules-local-by-default": "^1.2.0", + "postcss-modules-scope": "^1.1.0", + "postcss-modules-values": "^1.3.0", "postcss-value-parser": "^3.3.0", "source-list-map": "^2.0.0" }, "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "http://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "lodash": { + "version": "4.17.11", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", + "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==" }, "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", + "version": "6.0.23", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz", + "integrity": "sha512-soOk1h6J3VMTZtVeVpv15/Hpdl2cBLX3CAw4TAbkpTJiNPk9YP/zWcD1ND+xEtvyuuvKzbxliTOIyvkSeSJ6ag==", "requires": { - "chalk": "^1.1.3", - "js-base64": "^2.1.9", - "source-map": "^0.5.6", - "supports-color": "^3.2.3" + "chalk": "^2.4.1", + "source-map": "^0.6.1", + "supports-color": "^5.4.0" } }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "http://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "postcss-modules-extract-imports": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-1.2.1.tgz", + "integrity": "sha512-6jt9XZwUhwmRUhb/CkyJY020PYaPJsCyt3UjbaWo6XEbH/94Hmv6MP7fG2C5NDU/BcHzyGYxNtHvM+LTf9HrYw==", "requires": { - "ansi-regex": "^2.0.0" + "postcss": "^6.0.1" } }, "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "requires": { - "has-flag": "^1.0.0" + "has-flag": "^3.0.0" } } } @@ -3097,7 +3146,7 @@ }, "css-select": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/css-select/-/css-select-1.2.0.tgz", + "resolved": "http://registry.npmjs.org/css-select/-/css-select-1.2.0.tgz", "integrity": "sha1-KzoRBTnFNV8c2NMUYj6HCxIeyFg=", "requires": { "boolbase": "~1.0.0", @@ -3106,6 +3155,11 @@ "nth-check": "~1.0.1" } }, + "css-select-base-adapter": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/css-select-base-adapter/-/css-select-base-adapter-0.1.1.tgz", + "integrity": "sha512-jQVeeRG70QI08vSTwf1jHxp74JoZsr2XSgETae8/xC8ovSnL2WF87GTLO86Sbwdt2lK4Umg4HnnwMO4YF3Ce7w==" + }, "css-select-umd": { "version": "1.3.0-rc0", "resolved": "https://registry.npmjs.org/css-select-umd/-/css-select-umd-1.3.0-rc0.tgz", @@ -3119,19 +3173,45 @@ } }, "css-selector-tokenizer": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/css-selector-tokenizer/-/css-selector-tokenizer-0.7.0.tgz", - "integrity": "sha1-5piEdK6MlTR3v15+/s/OzNnPTIY=", + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/css-selector-tokenizer/-/css-selector-tokenizer-0.7.1.tgz", + "integrity": "sha512-xYL0AMZJ4gFzJQsHUKa5jiWWi2vH77WVNg7JYRyewwj6oPh4yb/y6Y9ZCw9dsj/9UauMhtuxR+ogQd//EdEVNA==", "requires": { "cssesc": "^0.1.0", "fastparse": "^1.1.1", "regexpu-core": "^1.0.0" } }, + "css-tree": { + "version": "1.0.0-alpha.28", + "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.0.0-alpha.28.tgz", + "integrity": "sha512-joNNW1gCp3qFFzj4St6zk+Wh/NBv0vM5YbEreZk0SD4S23S+1xBKb6cLDg2uj4P4k/GUMlIm6cKIDqIG+vdt0w==", + "requires": { + "mdn-data": "~1.1.0", + "source-map": "^0.5.3" + }, + "dependencies": { + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" + } + } + }, + "css-unit-converter": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/css-unit-converter/-/css-unit-converter-1.1.1.tgz", + "integrity": "sha1-2bkoGtz9jO2TW9urqDeGiX9k6ZY=" + }, + "css-url-regex": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/css-url-regex/-/css-url-regex-1.1.0.tgz", + "integrity": "sha1-g4NCMMyfdMRX3lnuvRVD/uuDt+w=" + }, "css-what": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/css-what/-/css-what-2.1.0.tgz", - "integrity": "sha1-lGfQMsOM+u+58teVASUwYvh/ob0=" + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/css-what/-/css-what-2.1.2.tgz", + "integrity": "sha512-wan8dMWQ0GUeF7DGEPVjhHemVW/vy6xUYmFzRY8RYqgA0JtXC9rJmbScBjqSu6dg9q0lwPQy6ZAmJVr3PPTvqQ==" }, "cssdb": { "version": "3.2.1", @@ -3144,116 +3224,168 @@ "integrity": "sha1-yBSQPkViM3GgR3tAEJqq++6t27Q=" }, "cssnano": { - "version": "3.10.0", - "resolved": "http://registry.npmjs.org/cssnano/-/cssnano-3.10.0.tgz", - "integrity": "sha1-Tzj2zqK5sX+gFJDyPx3GjqZcHDg=", + "version": "4.1.7", + "resolved": "https://registry.npmjs.org/cssnano/-/cssnano-4.1.7.tgz", + "integrity": "sha512-AiXL90l+MDuQmRNyypG2P7ux7K4XklxYzNNUd5HXZCNcH8/N9bHPcpN97v8tXgRVeFL/Ed8iP8mVmAAu0ZpT7A==", "requires": { - "autoprefixer": "^6.3.1", - "decamelize": "^1.1.2", - "defined": "^1.0.0", - "has": "^1.0.1", - "object-assign": "^4.0.1", - "postcss": "^5.0.14", - "postcss-calc": "^5.2.0", - "postcss-colormin": "^2.1.8", - "postcss-convert-values": "^2.3.4", - "postcss-discard-comments": "^2.0.4", - "postcss-discard-duplicates": "^2.0.1", - "postcss-discard-empty": "^2.0.1", - "postcss-discard-overridden": "^0.1.1", - "postcss-discard-unused": "^2.2.1", - "postcss-filter-plugins": "^2.0.0", - "postcss-merge-idents": "^2.1.5", - "postcss-merge-longhand": "^2.0.1", - "postcss-merge-rules": "^2.0.3", - "postcss-minify-font-values": "^1.0.2", - "postcss-minify-gradients": "^1.0.1", - "postcss-minify-params": "^1.0.4", - "postcss-minify-selectors": "^2.0.4", - "postcss-normalize-charset": "^1.1.0", - "postcss-normalize-url": "^3.0.7", - "postcss-ordered-values": "^2.1.0", - "postcss-reduce-idents": "^2.2.2", - "postcss-reduce-initial": "^1.0.0", - "postcss-reduce-transforms": "^1.0.3", - "postcss-svgo": "^2.1.1", - "postcss-unique-selectors": "^2.0.2", - "postcss-value-parser": "^3.2.3", - "postcss-zindex": "^2.0.1" + "cosmiconfig": "^5.0.0", + "cssnano-preset-default": "^4.0.5", + "is-resolvable": "^1.0.0", + "postcss": "^7.0.0" }, "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "http://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "^1.1.3", - "js-base64": "^2.1.9", - "source-map": "^0.5.6", - "supports-color": "^3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "http://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.6.tgz", + "integrity": "sha512-Nq/rNjnHFcKgCDDZYO0lNsl6YWe6U7tTy+ESN+PnLxebL8uBtYX59HZqvrj7YLK5UCyll2hqDsJOo3ndzEW8Ug==", "requires": { - "ansi-regex": "^2.0.0" + "chalk": "^2.4.1", + "source-map": "^0.6.1", + "supports-color": "^5.5.0" } }, "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "requires": { - "has-flag": "^1.0.0" + "has-flag": "^3.0.0" } } } }, + "cssnano-preset-default": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/cssnano-preset-default/-/cssnano-preset-default-4.0.5.tgz", + "integrity": "sha512-f1uhya0ZAjPYtDD58QkBB0R+uYdzHPei7cDxJyQQIHt5acdhyGXaSXl2nDLzWHLwGFbZcHxQtkJS8mmNwnxTvw==", + "requires": { + "css-declaration-sorter": "^4.0.1", + "cssnano-util-raw-cache": "^4.0.1", + "postcss": "^7.0.0", + "postcss-calc": "^7.0.0", + "postcss-colormin": "^4.0.2", + "postcss-convert-values": "^4.0.1", + "postcss-discard-comments": "^4.0.1", + "postcss-discard-duplicates": "^4.0.2", + "postcss-discard-empty": "^4.0.1", + "postcss-discard-overridden": "^4.0.1", + "postcss-merge-longhand": "^4.0.9", + "postcss-merge-rules": "^4.0.2", + "postcss-minify-font-values": "^4.0.2", + "postcss-minify-gradients": "^4.0.1", + "postcss-minify-params": "^4.0.1", + "postcss-minify-selectors": "^4.0.1", + "postcss-normalize-charset": "^4.0.1", + "postcss-normalize-display-values": "^4.0.1", + "postcss-normalize-positions": "^4.0.1", + "postcss-normalize-repeat-style": "^4.0.1", + "postcss-normalize-string": "^4.0.1", + "postcss-normalize-timing-functions": "^4.0.1", + "postcss-normalize-unicode": "^4.0.1", + "postcss-normalize-url": "^4.0.1", + "postcss-normalize-whitespace": "^4.0.1", + "postcss-ordered-values": "^4.1.1", + "postcss-reduce-initial": "^4.0.2", + "postcss-reduce-transforms": "^4.0.1", + "postcss-svgo": "^4.0.1", + "postcss-unique-selectors": "^4.0.1" + }, + "dependencies": { + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "postcss": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.6.tgz", + "integrity": "sha512-Nq/rNjnHFcKgCDDZYO0lNsl6YWe6U7tTy+ESN+PnLxebL8uBtYX59HZqvrj7YLK5UCyll2hqDsJOo3ndzEW8Ug==", + "requires": { + "chalk": "^2.4.1", + "source-map": "^0.6.1", + "supports-color": "^5.5.0" + } + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "cssnano-util-get-arguments": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/cssnano-util-get-arguments/-/cssnano-util-get-arguments-4.0.0.tgz", + "integrity": "sha1-7ToIKZ8h11dBsg87gfGU7UnMFQ8=" + }, + "cssnano-util-get-match": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/cssnano-util-get-match/-/cssnano-util-get-match-4.0.0.tgz", + "integrity": "sha1-wOTKB/U4a7F+xeUiULT1lhNlFW0=" + }, + "cssnano-util-raw-cache": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/cssnano-util-raw-cache/-/cssnano-util-raw-cache-4.0.1.tgz", + "integrity": "sha512-qLuYtWK2b2Dy55I8ZX3ky1Z16WYsx544Q0UWViebptpwn/xDBmog2TLg4f+DBMg1rJ6JDWtn96WHbOKDWt1WQA==", + "requires": { + "postcss": "^7.0.0" + }, + "dependencies": { + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "postcss": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.6.tgz", + "integrity": "sha512-Nq/rNjnHFcKgCDDZYO0lNsl6YWe6U7tTy+ESN+PnLxebL8uBtYX59HZqvrj7YLK5UCyll2hqDsJOo3ndzEW8Ug==", + "requires": { + "chalk": "^2.4.1", + "source-map": "^0.6.1", + "supports-color": "^5.5.0" + } + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "cssnano-util-same-parent": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/cssnano-util-same-parent/-/cssnano-util-same-parent-4.0.1.tgz", + "integrity": "sha512-WcKx5OY+KoSIAxBW6UBBRay1U6vkYheCdjyVNDm85zt5K9mHoGOfsOsqIszfAqrQQFIIKgjh2+FDgIj/zsl21Q==" + }, "csso": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/csso/-/csso-2.3.2.tgz", - "integrity": "sha1-3dUsWHAz9J6Utx/FVWnyUuj/X4U=", + "version": "3.5.1", + "resolved": "https://registry.npmjs.org/csso/-/csso-3.5.1.tgz", + "integrity": "sha512-vrqULLffYU1Q2tLdJvaCYbONStnfkfimRxXNaGjxMldI0C7JPBC4rB1RyjhfdZ4m1frm8pM9uRPKH3d2knZ8gg==", "requires": { - "clap": "^1.0.9", - "source-map": "^0.5.3" + "css-tree": "1.0.0-alpha.29" }, "dependencies": { + "css-tree": { + "version": "1.0.0-alpha.29", + "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.0.0-alpha.29.tgz", + "integrity": "sha512-sRNb1XydwkW9IOci6iB2xmy8IGCj6r/fr+JWitvJ2JxQRPzN3T4AGGVWCMlVmVwM1gtgALJRmGIlWv5ppnGGkg==", + "requires": { + "mdn-data": "~1.1.0", + "source-map": "^0.5.3" + } + }, "source-map": { "version": "0.5.7", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", @@ -3261,19 +3393,6 @@ } } }, - "cssom": { - "version": "0.3.4", - "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.3.4.tgz", - "integrity": "sha512-+7prCSORpXNeR4/fUP3rL+TzqtiFfhMvTd7uEqMdgPvLPt4+uzFUeufx5RHjGTACCargg/DiEt/moMQmvnfkog==" - }, - "cssstyle": { - "version": "0.2.37", - "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-0.2.37.tgz", - "integrity": "sha1-VBCXI0yyUTyDzu06zdwn/yeYfVQ=", - "requires": { - "cssom": "0.3.x" - } - }, "currently-unhandled": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/currently-unhandled/-/currently-unhandled-0.4.1.tgz", @@ -3289,7 +3408,7 @@ }, "d": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/d/-/d-1.0.0.tgz", + "resolved": "http://registry.npmjs.org/d/-/d-1.0.0.tgz", "integrity": "sha1-dUu1v+VUUdpppYuU1F9MWwRi1Y8=", "requires": { "es5-ext": "^0.10.9" @@ -3299,6 +3418,7 @@ "version": "1.14.1", "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", + "dev": true, "requires": { "assert-plus": "^1.0.0" } @@ -3346,6 +3466,14 @@ "make-dir": "^1.0.0", "pify": "^2.3.0", "strip-dirs": "^2.0.0" + }, + "dependencies": { + "pify": { + "version": "2.3.0", + "resolved": "http://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true + } } }, "decompress-tar": { @@ -3403,6 +3531,15 @@ "yauzl": "^2.4.2" }, "dependencies": { + "fd-slicer": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz", + "integrity": "sha1-JcfInLH5B3+IkbvmHY85Dq4lbx4=", + "dev": true, + "requires": { + "pend": "~1.2.0" + } + }, "file-type": { "version": "3.9.0", "resolved": "http://registry.npmjs.org/file-type/-/file-type-3.9.0.tgz", @@ -3418,6 +3555,22 @@ "object-assign": "^4.0.1", "pinkie-promise": "^2.0.0" } + }, + "pify": { + "version": "2.3.0", + "resolved": "http://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true + }, + "yauzl": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz", + "integrity": "sha1-x+sXyT4RLLEIb6bY5R+wZnt5pfk=", + "dev": true, + "requires": { + "buffer-crc32": "~0.2.3", + "fd-slicer": "~1.1.0" + } } } }, @@ -3441,11 +3594,6 @@ "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==" }, - "deep-is": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", - "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=" - }, "default-require-extensions": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/default-require-extensions/-/default-require-extensions-1.0.0.tgz", @@ -3497,28 +3645,14 @@ "is-data-descriptor": "^1.0.0", "kind-of": "^6.0.2" } - }, - "isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=" - }, - "kind-of": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", - "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==" } } }, - "defined": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz", - "integrity": "sha1-yY2bzvdWdBiOEQlpFRGZ45sfppM=" - }, "delayed-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=" + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", + "dev": true }, "depd": { "version": "1.1.2", @@ -3547,16 +3681,6 @@ "repeating": "^2.0.0" } }, - "diagnostics": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/diagnostics/-/diagnostics-1.1.1.tgz", - "integrity": "sha512-8wn1PmdunLJ9Tqbx+Fx/ZEuHfJf4NKSN2ZBj7SJC/OWRWha843+WsTjqMe1B5E3p28jqBlp+mJ2fPVxPyNgYKQ==", - "requires": { - "colorspace": "1.1.x", - "enabled": "1.0.x", - "kuler": "1.0.x" - } - }, "diff": { "version": "3.4.0", "resolved": "https://registry.npmjs.org/diff/-/diff-3.4.0.tgz", @@ -3579,21 +3703,6 @@ "requires": { "arrify": "^1.0.1", "path-type": "^3.0.0" - }, - "dependencies": { - "path-type": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", - "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", - "requires": { - "pify": "^3.0.0" - } - }, - "pify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=" - } } }, "dom-converter": { @@ -3615,7 +3724,7 @@ "dependencies": { "domelementtype": { "version": "1.1.3", - "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.1.3.tgz", + "resolved": "http://registry.npmjs.org/domelementtype/-/domelementtype-1.1.3.tgz", "integrity": "sha1-vSh3PiZCiBrsUVRJJCmcXNgiGFs=" } } @@ -3626,17 +3735,9 @@ "integrity": "sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA==" }, "domelementtype": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.3.0.tgz", - "integrity": "sha1-sXrtguirWeUt2cGbF1bg/BhyBMI=" - }, - "domexception": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/domexception/-/domexception-1.0.1.tgz", - "integrity": "sha512-raigMkn7CJNNo6Ihro1fzG7wr3fHuYVytzquZKX5n0yizGsTcYgzdIUwj1X9pK0VvjeihV+XiclP+DjwbsSKug==", - "requires": { - "webidl-conversions": "^4.0.2" - } + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.2.1.tgz", + "integrity": "sha512-SQVCLFS2E7G5CRCMdn6K9bIhRj1bS6QBWZfF0TUPh4V/BbqrQ619IdSS3/izn0FZ+9l+uODzaZjb08fjOfablA==" }, "domhandler": { "version": "2.1.0", @@ -3697,11 +3798,35 @@ "version": "0.1.2", "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", + "dev": true, "requires": { "jsbn": "~0.1.0", "safer-buffer": "^2.1.0" } }, + "ecstatic": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/ecstatic/-/ecstatic-3.3.0.tgz", + "integrity": "sha512-EblWYTd+wPIAMQ0U4oYJZ7QBypT9ZUIwpqli0bKDjeIIQnXDBK2dXtZ9yzRCOlkW1HkO8gn7/FxLK1yPIW17pw==", + "requires": { + "he": "^1.1.1", + "mime": "^1.6.0", + "minimist": "^1.1.0", + "url-join": "^2.0.5" + }, + "dependencies": { + "mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==" + }, + "minimist": { + "version": "1.2.0", + "resolved": "http://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=" + } + } + }, "ee-first": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", @@ -3713,9 +3838,9 @@ "integrity": "sha512-0xy4A/twfrRCnkhfk8ErDi5DqdAsAqeGxht4xkCUrsvhhbQNs7E+4jV0CN7+NKIY0aHE72+XvqtBIXzD31ZbXQ==" }, "electron-to-chromium": { - "version": "1.3.79", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.79.tgz", - "integrity": "sha512-LQdY3j4PxuUl6xfxiFruTSlCniTrTrzAd8/HfsLEMi0PUpaQ0Iy+Pr4N4VllDYjs0Hyu2lkTbvzqlG+PX9NsNw==" + "version": "1.3.85", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.85.tgz", + "integrity": "sha512-kWSDVVF9t3mft2OHVZy4K85X2beP6c6mFm3teFS/mLSDJpQwuFIWHrULCX+w6H1E55ZYmFRlT+ATAFRwhrYzsw==" }, "elegant-spinner": { "version": "1.0.1", @@ -3742,14 +3867,6 @@ "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-2.1.0.tgz", "integrity": "sha1-TapNnbAPmBmIDHn6RXrlsJof04k=" }, - "enabled": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/enabled/-/enabled-1.0.2.tgz", - "integrity": "sha1-ll9lE9LC0cX0ZStkouM5ZGf8L5M=", - "requires": { - "env-variable": "0.0.x" - } - }, "encodeurl": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", @@ -3773,25 +3890,19 @@ } }, "enhanced-resolve": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-3.4.1.tgz", - "integrity": "sha1-BCHjOf1xQZs9oT0Smzl5BAIwR24=", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-4.1.0.tgz", + "integrity": "sha512-F/7vkyTtyc/llOIn8oWclcB25KdRaiPBpZYDgJHgh/UHtpgT2p2eldQgtQnLtUvfMKPKxbRaQM/hHkvLHt1Vng==", "requires": { "graceful-fs": "^4.1.2", "memory-fs": "^0.4.0", - "object-assign": "^4.0.1", - "tapable": "^0.2.7" + "tapable": "^1.0.0" } }, "entities": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.1.tgz", - "integrity": "sha1-blwtClYhtdra7O+AuQ7ftc13cvA=" - }, - "env-variable": { - "version": "0.0.5", - "resolved": "https://registry.npmjs.org/env-variable/-/env-variable-0.0.5.tgz", - "integrity": "sha512-zoB603vQReOFvTg5xMl9I1P2PnHsHQQKTEowsKKD7nseUfJq6UWzK+4YtlWUO1nhiQUxe6XMkk+JleSZD1NZFA==" + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz", + "integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==" }, "err-code": { "version": "1.1.2", @@ -3857,19 +3968,6 @@ "es6-symbol": "^3.1.1" } }, - "es6-map": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/es6-map/-/es6-map-0.1.5.tgz", - "integrity": "sha1-kTbgUD3MBqMBaQ8LsU/042TpSfA=", - "requires": { - "d": "1", - "es5-ext": "~0.10.14", - "es6-iterator": "~2.0.1", - "es6-set": "~0.1.5", - "es6-symbol": "~3.1.1", - "event-emitter": "~0.3.5" - } - }, "es6-object-assign": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/es6-object-assign/-/es6-object-assign-1.1.0.tgz", @@ -3879,14 +3977,12 @@ "es6-promise": { "version": "4.2.5", "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.5.tgz", - "integrity": "sha512-n6wvpdE43VFtJq+lUDYDBFUwV8TZbuGXLV4D6wKafg13ldznKsyEvatubnmUe31zcvelSzOHF+XbaT+Bl9ObDg==", - "dev": true + "integrity": "sha512-n6wvpdE43VFtJq+lUDYDBFUwV8TZbuGXLV4D6wKafg13ldznKsyEvatubnmUe31zcvelSzOHF+XbaT+Bl9ObDg==" }, "es6-promisify": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/es6-promisify/-/es6-promisify-5.0.0.tgz", + "resolved": "http://registry.npmjs.org/es6-promisify/-/es6-promisify-5.0.0.tgz", "integrity": "sha1-UQnWLz5W6pZ8S2NQWu8IKRyKUgM=", - "dev": true, "requires": { "es6-promise": "^4.0.3" } @@ -3912,17 +4008,6 @@ "es5-ext": "~0.10.14" } }, - "es6-weak-map": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/es6-weak-map/-/es6-weak-map-2.0.2.tgz", - "integrity": "sha1-XjqzIlH/0VOKH45f+hNXdy+S2W8=", - "requires": { - "d": "1", - "es5-ext": "^0.10.14", - "es6-iterator": "^2.0.1", - "es6-symbol": "^3.1.1" - } - }, "escape-html": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", @@ -3933,33 +4018,19 @@ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" }, - "escodegen": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.11.0.tgz", - "integrity": "sha512-IeMV45ReixHS53K/OmfKAIztN/igDHzTJUhZM3k1jMhIZWjk45SMwAtBsEXiJp3vSPmTcu6CXn7mDvFHRN66fw==", - "requires": { - "esprima": "^3.1.3", - "estraverse": "^4.2.0", - "esutils": "^2.0.2", - "optionator": "^0.8.1", - "source-map": "~0.6.1" - } - }, - "escope": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/escope/-/escope-3.6.0.tgz", - "integrity": "sha1-4Bl16BJ4GhY6ba392AOY3GTIicM=", + "eslint-scope": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.0.tgz", + "integrity": "sha512-1G6UTDi7Jc1ELFwnR58HV4fK9OQK4S6N985f166xqXxpjU6plxFISJa2Ba9KCQuFa8RCnj/lSFJbHo7UFDBnUA==", "requires": { - "es6-map": "^0.1.3", - "es6-weak-map": "^2.0.1", "esrecurse": "^4.1.0", "estraverse": "^4.1.1" } }, "esprima": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-3.1.3.tgz", - "integrity": "sha1-/cpRzuYTOJXjyI1TXOSdv/YqRjM=" + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==" }, "esrecurse": { "version": "4.2.1", @@ -3993,21 +4064,10 @@ "es5-ext": "~0.10.14" } }, - "event-stream": { - "version": "3.3.6", - "resolved": "https://registry.npmjs.org/event-stream/-/event-stream-3.3.6.tgz", - "integrity": "sha512-dGXNg4F/FgVzlApjzItL+7naHutA3fDqbV/zAZqDDlXTjiMnQmZKu+prImWKszeBM5UQeGvAl3u1wBiKeDh61g==", - "dev": true, - "requires": { - "duplexer": "^0.1.1", - "flatmap-stream": "^0.1.0", - "from": "^0.1.7", - "map-stream": "0.0.7", - "pause-stream": "^0.0.11", - "split": "^1.0.1", - "stream-combiner": "^0.2.2", - "through": "^2.3.8" - } + "eventemitter3": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-3.1.0.tgz", + "integrity": "sha512-ivIvhpq/Y0uSjcHDcOIccjmYjGLcP09MFGE7ysAwkAvkXfpZlC985pH2/ui64DKazbTW/4kN3yqozUxlXzI6cA==" }, "events": { "version": "1.1.1", @@ -4045,19 +4105,81 @@ "dev": true }, "expand-brackets": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-0.1.5.tgz", - "integrity": "sha1-3wcoTjQqgHzXM6xa9yQR5YHRF3s=", + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", + "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=", "requires": { - "is-posix-bracket": "^0.1.0" + "debug": "^2.3.3", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "posix-character-classes": "^0.1.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "requires": { + "is-descriptor": "^0.1.0" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "requires": { + "is-extendable": "^0.1.0" + } + } } }, "expand-range": { "version": "1.8.2", - "resolved": "https://registry.npmjs.org/expand-range/-/expand-range-1.8.2.tgz", + "resolved": "http://registry.npmjs.org/expand-range/-/expand-range-1.8.2.tgz", "integrity": "sha1-opnv/TNf4nIeuujiV+x5ZE/IUzc=", "requires": { "fill-range": "^2.1.0" + }, + "dependencies": { + "fill-range": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-2.2.4.tgz", + "integrity": "sha512-cnrcCbj01+j2gTG921VZPnHbjmdAf8oQV/iGeV2kZxGSyfYjjTyY79ErsK1WJWMpw6DaApEX72binqJE+/d+5Q==", + "requires": { + "is-number": "^2.1.0", + "isobject": "^2.0.0", + "randomatic": "^3.0.0", + "repeat-element": "^1.1.2", + "repeat-string": "^1.5.2" + } + }, + "is-number": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-2.1.0.tgz", + "integrity": "sha1-Afy7s5NGOlSPL0ZszhbezknbkI8=", + "requires": { + "kind-of": "^3.0.2" + } + }, + "isobject": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", + "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", + "requires": { + "isarray": "1.0.0" + } + }, + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "requires": { + "is-buffer": "^1.1.5" + } + } } }, "expand-tilde": { @@ -4104,12 +4226,20 @@ "type-is": "~1.6.15", "utils-merge": "1.0.1", "vary": "~1.1.2" + }, + "dependencies": { + "safe-buffer": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.1.tgz", + "integrity": "sha512-kKvNJn6Mm93gAczWVJg7wH+wGYWNrDHdWvpUmHyEsgCtIwwo3bqPtV4tR5tuPaUhTOo/kvhVwd8XwwOllGYkbg==" + } } }, "extend": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", - "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", + "dev": true }, "extend-shallow": { "version": "3.0.2", @@ -4142,80 +4272,108 @@ } }, "extglob": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/extglob/-/extglob-0.3.2.tgz", - "integrity": "sha1-Lhj/PS9JqydlzskCPwEdqo2DSaE=", + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", + "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", "requires": { - "is-extglob": "^1.0.0" + "array-unique": "^0.3.2", + "define-property": "^1.0.0", + "expand-brackets": "^2.1.4", + "extend-shallow": "^2.0.1", + "fragment-cache": "^0.2.1", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" }, "dependencies": { - "is-extglob": { + "define-property": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", - "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=" - } - } - }, - "extract-text-webpack-plugin": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extract-text-webpack-plugin/-/extract-text-webpack-plugin-3.0.2.tgz", - "integrity": "sha512-bt/LZ4m5Rqt/Crl2HiKuAl/oqg0psx1tsTLkvWbJen1CtD+fftkZhMaQ9HOtY2gWsl2Wq+sABmMVi9z3DhKWQQ==", - "requires": { - "async": "^2.4.1", - "loader-utils": "^1.1.0", - "schema-utils": "^0.3.0", - "webpack-sources": "^1.0.1" - } - }, - "extsprintf": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", - "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=" - }, - "fast-deep-equal": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-1.1.0.tgz", - "integrity": "sha1-wFNHeBfIa1HaqFPIHgWbcz0CNhQ=" - }, - "fast-json-stable-stringify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz", - "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I=" - }, - "fast-levenshtein": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", - "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=" - }, - "fast-safe-stringify": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.0.6.tgz", - "integrity": "sha512-q8BZ89jjc+mz08rSxROs8VsrBBcn1SIw1kq9NjolL509tkABRk9io01RAjSaEv1Xb2uFLt8VtRiZbGp5H8iDtg==" + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "requires": { + "is-descriptor": "^1.0.0" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "requires": { + "is-extendable": "^0.1.0" + } + }, + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "requires": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + } + } + } + }, + "extract-zip": { + "version": "1.6.7", + "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-1.6.7.tgz", + "integrity": "sha1-qEC0uK9kAyZMjbV/Txp0Mz74H+k=", + "requires": { + "concat-stream": "1.6.2", + "debug": "2.6.9", + "mkdirp": "0.5.1", + "yauzl": "2.4.1" + } + }, + "extsprintf": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", + "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=", + "dev": true + }, + "fast-deep-equal": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz", + "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=" + }, + "fast-json-stable-stringify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz", + "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I=" }, "fastparse": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/fastparse/-/fastparse-1.1.1.tgz", - "integrity": "sha1-0eJkOzipTXWDtHkGDmxK/8lAcfg=" + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/fastparse/-/fastparse-1.1.2.tgz", + "integrity": "sha512-483XLLxTVIwWK3QTrMGRqUfUpoOs/0hbQrl2oz4J0pAcm3A3bu84wxTFqGqkJzewCLdME38xJLJAxBABfQT8sQ==" }, "fd-slicer": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz", - "integrity": "sha1-JcfInLH5B3+IkbvmHY85Dq4lbx4=", - "dev": true, + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.0.1.tgz", + "integrity": "sha1-i1vL2ewyfFBBv5qwI/1nUPEXfmU=", "requires": { "pend": "~1.2.0" } }, - "fecha": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/fecha/-/fecha-2.3.3.tgz", - "integrity": "sha512-lUGBnIamTAwk4znq5BcqsDaxSmZ9nDVJaij6NvRt/Tg4R69gERA+otPKbS86ROw9nxVMw2/mp1fnaiWqbs6Sdg==" - }, "figgy-pudding": { "version": "3.5.1", "resolved": "https://registry.npmjs.org/figgy-pudding/-/figgy-pudding-3.5.1.tgz", - "integrity": "sha512-vNKxJHTEKNThjfrdJwHc7brvM6eVevuO5nTj6ez8ZQ1qbXTvGthucRF7S4vf2cr71QVnT70V34v0S1DyQsti0w==", - "dev": true + "integrity": "sha512-vNKxJHTEKNThjfrdJwHc7brvM6eVevuO5nTj6ez8ZQ1qbXTvGthucRF7S4vf2cr71QVnT70V34v0S1DyQsti0w==" }, "figures": { "version": "2.0.0", @@ -4227,12 +4385,12 @@ } }, "file-loader": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/file-loader/-/file-loader-1.1.5.tgz", - "integrity": "sha512-RzGHDatcVNpGISTvCpfUfOGpYuSR7HSsSg87ki+wF6rw1Hm0RALPTiAdsxAq1UwLf0RRhbe22/eHK6nhXspiOQ==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/file-loader/-/file-loader-2.0.0.tgz", + "integrity": "sha512-YCsBfd1ZGCyonOKLxPiKPdu+8ld9HAaMEvJewzz+b2eTF7uL5Zm/HdBF6FjCrpCMRq25Mi0U1gl4pwn2TlH7hQ==", "requires": { "loader-utils": "^1.0.2", - "schema-utils": "^0.3.0" + "schema-utils": "^1.0.0" } }, "file-type": { @@ -4252,15 +4410,24 @@ "integrity": "sha512-ZH7loueKBoDb7yG9esn1U+fgq7BzlzW6NRi5/rMdxIZ05dj7GFD/Xc5rq2CDt5Yq86CyfSYVyx4242QQNZbx1g==" }, "fill-range": { - "version": "2.2.4", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-2.2.4.tgz", - "integrity": "sha512-cnrcCbj01+j2gTG921VZPnHbjmdAf8oQV/iGeV2kZxGSyfYjjTyY79ErsK1WJWMpw6DaApEX72binqJE+/d+5Q==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", + "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", "requires": { - "is-number": "^2.1.0", - "isobject": "^2.0.0", - "randomatic": "^3.0.0", - "repeat-element": "^1.1.2", - "repeat-string": "^1.5.2" + "extend-shallow": "^2.0.1", + "is-number": "^3.0.0", + "repeat-string": "^1.6.1", + "to-regex-range": "^2.1.0" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "requires": { + "is-extendable": "^0.1.0" + } + } } }, "filled-array": { @@ -4317,20 +4484,13 @@ "dev": true }, "find-up": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz", - "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", "requires": { - "path-exists": "^2.0.0", - "pinkie-promise": "^2.0.0" + "locate-path": "^2.0.0" } }, - "flatmap-stream": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/flatmap-stream/-/flatmap-stream-0.1.1.tgz", - "integrity": "sha512-lAq4tLbm3sidmdCN8G3ExaxH7cUCtP5mgDvrYowsx84dcYkJJ4I28N7gkxA6+YlSXzaGLJYIDEi9WGfXzMiXdw==", - "dev": true - }, "flatten": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/flatten/-/flatten-1.0.2.tgz", @@ -4345,6 +4505,24 @@ "readable-stream": "^2.0.4" } }, + "follow-redirects": { + "version": "1.5.10", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.5.10.tgz", + "integrity": "sha512-0V5l4Cizzvqt5D44aTXbFZz+FtyXV1vrDN6qrelxtfYQKW0KO0W2T/hkE8xvGa/540LkZlkaUjO4ailYTFtHVQ==", + "requires": { + "debug": "=3.1.0" + }, + "dependencies": { + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "requires": { + "ms": "2.0.0" + } + } + } + }, "for-in": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", @@ -4361,26 +4539,18 @@ "forever-agent": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", - "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=" + "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", + "dev": true }, "form-data": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.2.tgz", - "integrity": "sha1-SXBJi+YEwgwAXU9cI67NIda0kJk=", + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", + "dev": true, "requires": { "asynckit": "^0.4.0", - "combined-stream": "1.0.6", + "combined-stream": "^1.0.6", "mime-types": "^2.1.12" - }, - "dependencies": { - "combined-stream": { - "version": "1.0.6", - "resolved": "http://registry.npmjs.org/combined-stream/-/combined-stream-1.0.6.tgz", - "integrity": "sha1-cj599ugBrFYTETp+RFqbactjKBg=", - "requires": { - "delayed-stream": "~1.0.0" - } - } } }, "forwarded": { @@ -4401,12 +4571,6 @@ "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=" }, - "from": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/from/-/from-0.1.7.tgz", - "integrity": "sha1-g8YK/Fi5xWmXAH7Rp2izqzA6RP4=", - "dev": true - }, "from2": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/from2/-/from2-2.3.0.tgz", @@ -4933,9 +5097,14 @@ "dev": true }, "get-own-enumerable-property-symbols": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-2.0.1.tgz", - "integrity": "sha512-TtY/sbOemiMKPRUDDanGCSgBYe7Mf0vbRsWnBZ+9yghpZ1MvcpSpuZFjHdEeY/LZjZy0vdLjS77L6HosisFiug==" + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-3.0.0.tgz", + "integrity": "sha512-CIJYJC4GGF06TakLg8z4GQKvDsx9EMspVxOYih7LerEL/WosUnFIww45CGfxfeKHqlg3twgUrYRT1O3WQqjGCg==" + }, + "get-port": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/get-port/-/get-port-4.0.0.tgz", + "integrity": "sha512-Yy3yNI2oShgbaWg4cmPhWjkZfktEvpKI09aDX4PZzNtlU9obuYrX7x2mumQsrNxlF+Ls7OtMQW/u+X4s896bOQ==" }, "get-stdin": { "version": "5.0.1", @@ -4956,13 +5125,14 @@ "version": "0.1.7", "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", + "dev": true, "requires": { "assert-plus": "^1.0.0" } }, "git-config-path": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/git-config-path/-/git-config-path-1.0.1.tgz", + "resolved": "http://registry.npmjs.org/git-config-path/-/git-config-path-1.0.1.tgz", "integrity": "sha1-bTP37WPbDQ4RgTFQO6s6ykfVRmQ=", "dev": true, "requires": { @@ -5004,6 +5174,14 @@ "is-glob": "^2.0.0" }, "dependencies": { + "glob-parent": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz", + "integrity": "sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg=", + "requires": { + "is-glob": "^2.0.0" + } + }, "is-extglob": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", @@ -5020,24 +5198,20 @@ } }, "glob-parent": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz", - "integrity": "sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg=", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", + "integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=", "requires": { - "is-glob": "^2.0.0" + "is-glob": "^3.1.0", + "path-dirname": "^1.0.0" }, "dependencies": { - "is-extglob": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", - "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=" - }, "is-glob": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", - "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", + "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", "requires": { - "is-extglob": "^1.0.0" + "is-extglob": "^2.1.0" } } } @@ -5084,13 +5258,6 @@ "ignore": "^3.3.5", "pify": "^3.0.0", "slash": "^1.0.0" - }, - "dependencies": { - "pify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=" - } } }, "got": { @@ -5116,9 +5283,9 @@ } }, "graceful-fs": { - "version": "4.1.11", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", - "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=" + "version": "4.1.15", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.15.tgz", + "integrity": "sha512-6uHUhOPEBgQ24HM+r6b/QwWfZq+yiFcipKFrOFiBEnWdy5sdzYoi+pJeQaPI5qOLRFqWmAXUPQNsielzdLoecA==" }, "graceful-readlink": { "version": "1.0.1", @@ -5133,13 +5300,6 @@ "requires": { "duplexer": "^0.1.1", "pify": "^3.0.0" - }, - "dependencies": { - "pify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=" - } } }, "handlebars": { @@ -5152,19 +5312,38 @@ "optimist": "^0.6.1", "source-map": "^0.6.1", "uglify-js": "^3.1.4" + }, + "dependencies": { + "async": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.1.tgz", + "integrity": "sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ==", + "dev": true, + "requires": { + "lodash": "^4.17.10" + } + }, + "lodash": { + "version": "4.17.11", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", + "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==", + "dev": true + } } }, "har-schema": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", - "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=" + "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=", + "dev": true }, "har-validator": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.0.tgz", - "integrity": "sha512-+qnmNjI4OfH2ipQ9VQOw23bBd/ibtfbVdK2fYbY4acTDqKTW/YDp9McimZdDbG8iV9fZizUqQMD5xvriB146TA==", + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.3.tgz", + "integrity": "sha512-sNvOCzEQNr/qrvJgc3UG/kD4QtlHycrzwS+6mfTrrSq97BvaYcPZZI1ZSqGSPR73Cxn4LKTD4PttRwfU7jWq5g==", + "dev": true, "requires": { - "ajv": "^5.3.0", + "ajv": "^6.5.5", "har-schema": "^2.0.0" } }, @@ -5202,13 +5381,6 @@ "get-value": "^2.0.6", "has-values": "^1.0.0", "isobject": "^3.0.0" - }, - "dependencies": { - "isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=" - } } }, "has-values": { @@ -5220,24 +5392,6 @@ "kind-of": "^4.0.0" }, "dependencies": { - "is-number": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", - "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, "kind-of": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz", @@ -5267,9 +5421,14 @@ } }, "he": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/he/-/he-1.1.1.tgz", - "integrity": "sha1-k0EP0hsAlzUVH4howvJx80J+I/0=" + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", + "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==" + }, + "hex-color-regex": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/hex-color-regex/-/hex-color-regex-1.1.0.tgz", + "integrity": "sha512-l9sfDFsuqtOqKDsQdqrMRk0U85RZc0RtOR9yPI7mRVOa4FsR/BVnZ0shmQRM96Ji99kYZP/7hn1cedc1+ApsTQ==" }, "hmac-drbg": { "version": "1.0.1", @@ -5283,7 +5442,7 @@ }, "hoek": { "version": "4.2.1", - "resolved": "https://registry.npmjs.org/hoek/-/hoek-4.2.1.tgz", + "resolved": "http://registry.npmjs.org/hoek/-/hoek-4.2.1.tgz", "integrity": "sha512-QLg82fGkfnJ/4iy1xZ81/9SIJiq1NGFUMGs6ParyjBZr6jW2Ufj/snDqTHixNlHdPNwN2RLVD0Pi3igeK9+JfA==" }, "homedir-polyfill": { @@ -5300,33 +5459,35 @@ "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.7.1.tgz", "integrity": "sha512-7T/BxH19zbcCTa8XkMlbK5lTo1WtgkFi3GvdWEyNuc4Vex7/9Dqbnpsf4JMydcfj9HCg4zUWFTL3Za6lapg5/w==" }, + "hsl-regex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/hsl-regex/-/hsl-regex-1.0.0.tgz", + "integrity": "sha1-1JMwx4ntgZ4nakwNJy3/owsY/m4=" + }, + "hsla-regex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/hsla-regex/-/hsla-regex-1.0.0.tgz", + "integrity": "sha1-wc56MWjIxmFAM6S194d/OyJfnDg=" + }, "html-comment-regex": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/html-comment-regex/-/html-comment-regex-1.1.2.tgz", "integrity": "sha512-P+M65QY2JQ5Y0G9KKdlDpo0zK+/OHptU5AaBwUfAIDJZk1MYf32Frm84EcOytfJE0t5JvkAnKlmjsXDnWzCJmQ==" }, - "html-encoding-sniffer": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-1.0.2.tgz", - "integrity": "sha512-71lZziiDnsuabfdYiUeWdCVyKuqwWi23L8YeIgV9jSSZHCtb6wB1BKWooH7L3tn4/FuZJMVWyNaIDr4RGmaSYw==", - "requires": { - "whatwg-encoding": "^1.0.1" - } - }, "html-entities": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/html-entities/-/html-entities-1.2.1.tgz", "integrity": "sha1-DfKTUfByEWNRXfueVUPl9u7VFi8=" }, "html-minifier": { - "version": "3.5.20", - "resolved": "https://registry.npmjs.org/html-minifier/-/html-minifier-3.5.20.tgz", - "integrity": "sha512-ZmgNLaTp54+HFKkONyLFEfs5dd/ZOtlquKaTnqIWFmx3Av5zG6ZPcV2d0o9XM2fXOTxxIf6eDcwzFFotke/5zA==", + "version": "3.5.21", + "resolved": "https://registry.npmjs.org/html-minifier/-/html-minifier-3.5.21.tgz", + "integrity": "sha512-LKUKwuJDhxNa3uf/LPR/KVjm/l3rBqtYeCOAekvG8F1vItxMUpueGd94i/asDDr8/1u7InxzFA5EeGjhhG5mMA==", "requires": { "camel-case": "3.0.x", "clean-css": "4.2.x", "commander": "2.17.x", - "he": "1.1.x", + "he": "1.2.x", "param-case": "2.1.x", "relateurl": "0.2.x", "uglify-js": "3.4.x" @@ -5340,13 +5501,20 @@ } }, "html-webpack-include-assets-plugin": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/html-webpack-include-assets-plugin/-/html-webpack-include-assets-plugin-1.0.2.tgz", - "integrity": "sha512-e9ck8RWk+z6aV2XThCCpV/Cn8wK0SWoi8K7b1ZnOP9BSckh3z9/NFoWFc453aywCsyq8RQGhAPx/BOHpaACqkA==", + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/html-webpack-include-assets-plugin/-/html-webpack-include-assets-plugin-1.0.6.tgz", + "integrity": "sha512-UG+LE180RabNogyOVo0DTH3Ck9EOguwCSu4IfNf3v/xFjeudeYDOpu/r0VH2Xbt52cMTcEY0gZWTrIP7twPv2w==", "requires": { - "glob": "^7.1.2", + "glob": "^7.1.3", "minimatch": "^3.0.4", - "slash": "^1.0.0" + "slash": "^2.0.0" + }, + "dependencies": { + "slash": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz", + "integrity": "sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==" + } } }, "html-webpack-plugin": { @@ -5373,17 +5541,12 @@ "json5": "^0.5.0", "object-assign": "^4.0.1" } - }, - "tapable": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/tapable/-/tapable-1.1.0.tgz", - "integrity": "sha512-IlqtmLVaZA2qab8epUXbVWRn3aB1imbDMJtjB3nu4X0NqPkcY/JH9ZtCBWKHWPxs8Svi9tyo8w2dBoi07qZbBA==" } } }, "htmlparser2": { "version": "3.3.0", - "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.3.0.tgz", + "resolved": "http://registry.npmjs.org/htmlparser2/-/htmlparser2-3.3.0.tgz", "integrity": "sha1-zHDQWln2VC5D8OaFyYLhTJJKnv4=", "requires": { "domelementtype": "1", @@ -5418,7 +5581,7 @@ }, "string_decoder": { "version": "0.10.31", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "resolved": "http://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=" } } @@ -5447,6 +5610,16 @@ } } }, + "http-proxy": { + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/http-proxy/-/http-proxy-1.17.0.tgz", + "integrity": "sha512-Taqn+3nNvYRfJ3bGvKfBSRwy1v6eePlm3oc/aWVxZp57DQr5Eq3xhKJi7Z4hZpS8PC3H4qI+Yly5EmFacGuA/g==", + "requires": { + "eventemitter3": "^3.0.0", + "follow-redirects": "^1.0.0", + "requires-port": "^1.0.0" + } + }, "http-proxy-agent": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-2.1.0.tgz", @@ -5468,10 +5641,26 @@ } } }, + "http-server": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/http-server/-/http-server-0.11.1.tgz", + "integrity": "sha512-6JeGDGoujJLmhjiRGlt8yK8Z9Kl0vnl/dQoQZlc4oeqaUoAKQg94NILLfrY3oWzSyFaQCVNTcKE5PZ3cH8VP9w==", + "requires": { + "colors": "1.0.3", + "corser": "~2.0.0", + "ecstatic": "^3.0.0", + "http-proxy": "^1.8.1", + "opener": "~1.4.0", + "optimist": "0.6.x", + "portfinder": "^1.0.13", + "union": "~0.4.3" + } + }, "http-signature": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", + "dev": true, "requires": { "assert-plus": "^1.0.0", "jsprim": "^1.2.2", @@ -5487,7 +5676,6 @@ "version": "2.2.1", "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-2.2.1.tgz", "integrity": "sha512-HPCTS1LW51bcyMYbxUIOO4HEOlQ1/1qRaFWcyxvwaqUS9TY88aoEuHUY33kuAh1YhVVaDQhLZsnPd+XNARWZlQ==", - "dev": true, "requires": { "agent-base": "^4.1.0", "debug": "^3.1.0" @@ -5497,7 +5685,6 @@ "version": "3.2.6", "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", - "dev": true, "requires": { "ms": "^2.1.1" } @@ -5505,8 +5692,7 @@ "ms": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", - "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==", - "dev": true + "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==" } } }, @@ -5592,6 +5778,31 @@ "integrity": "sha1-nbHb0Pr43m++D13V5Wu2BigN5ps=", "dev": true }, + "import-cwd": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/import-cwd/-/import-cwd-2.1.0.tgz", + "integrity": "sha1-qmzzbnInYShcs3HsZRn1PiQ1sKk=", + "requires": { + "import-from": "^2.1.0" + } + }, + "import-fresh": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-2.0.0.tgz", + "integrity": "sha1-2BNVwVYS04bGH53dOSLUMEgipUY=", + "requires": { + "caller-path": "^2.0.0", + "resolve-from": "^3.0.0" + } + }, + "import-from": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/import-from/-/import-from-2.1.0.tgz", + "integrity": "sha1-M1238qev/VOqpHHUuAId7ja387E=", + "requires": { + "resolve-from": "^3.0.0" + } + }, "import-lazy": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/import-lazy/-/import-lazy-2.1.0.tgz", @@ -5599,19 +5810,12 @@ "dev": true }, "imports-loader": { - "version": "0.7.1", - "resolved": "https://registry.npmjs.org/imports-loader/-/imports-loader-0.7.1.tgz", - "integrity": "sha1-8gS180cCoywdt9SNidXoZ6BEElM=", + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/imports-loader/-/imports-loader-0.8.0.tgz", + "integrity": "sha512-kXWL7Scp8KQ4552ZcdVTeaQCZSLW+e6nJfp3cwUMB673T7Hr98Xjx5JK+ql7ADlJUvj1JS5O01RLbKoutN5QDQ==", "requires": { "loader-utils": "^1.0.2", - "source-map": "^0.5.6" - }, - "dependencies": { - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - } + "source-map": "^0.6.1" } }, "imurmurhash": { @@ -5914,12 +6118,6 @@ "path-parse": "^1.0.5" } }, - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "dev": true - }, "send": { "version": "0.16.2", "resolved": "https://registry.npmjs.org/send/-/send-0.16.2.tgz", @@ -5987,7 +6185,8 @@ "interpret": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.1.0.tgz", - "integrity": "sha1-ftGxQQxqDg94z5XTuEQMY/eLhhQ=" + "integrity": "sha1-ftGxQQxqDg94z5XTuEQMY/eLhhQ=", + "dev": true }, "intersection-observer": { "version": "0.4.2", @@ -6029,6 +6228,16 @@ "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", "requires": { "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "requires": { + "is-buffer": "^1.1.5" + } + } } }, "is-arrayish": { @@ -6071,13 +6280,36 @@ "ci-info": "^1.5.0" } }, + "is-color-stop": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-color-stop/-/is-color-stop-1.1.0.tgz", + "integrity": "sha1-z/9HGu5N1cnhWFmPvhKWe1za00U=", + "requires": { + "css-color-names": "^0.0.4", + "hex-color-regex": "^1.1.0", + "hsl-regex": "^1.0.0", + "hsla-regex": "^1.0.0", + "rgb-regex": "^1.0.1", + "rgba-regex": "^1.0.0" + } + }, "is-data-descriptor": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", "requires": { "kind-of": "^3.0.2" - } + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "requires": { + "is-buffer": "^1.1.5" + } + } + } }, "is-date-object": { "version": "1.0.1", @@ -6146,11 +6378,11 @@ } }, "is-glob": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", - "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.0.tgz", + "integrity": "sha1-lSHHaEXMJhCoUgPd8ICpWML/q8A=", "requires": { - "is-extglob": "^2.1.0" + "is-extglob": "^2.1.1" } }, "is-installed-globally": { @@ -6175,11 +6407,21 @@ "integrity": "sha1-8vtjpl5JBbQGyGBydloaTceTufQ=" }, "is-number": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-2.1.0.tgz", - "integrity": "sha1-Afy7s5NGOlSPL0ZszhbezknbkI8=", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", "requires": { "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "requires": { + "is-buffer": "^1.1.5" + } + } } }, "is-obj": { @@ -6213,24 +6455,12 @@ "path-is-inside": "^1.0.1" } }, - "is-plain-obj": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", - "integrity": "sha1-caUMhCnfync8kqOQpKA7OfzVHT4=" - }, "is-plain-object": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", "requires": { "isobject": "^3.0.1" - }, - "dependencies": { - "isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=" - } } }, "is-posix-bracket": { @@ -6267,6 +6497,11 @@ "resolved": "https://registry.npmjs.org/is-regexp/-/is-regexp-1.0.0.tgz", "integrity": "sha1-/S2INUXEa6xaYz57mgnof6LLUGk=" }, + "is-resolvable": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-resolvable/-/is-resolvable-1.1.0.tgz", + "integrity": "sha512-qgDYXFSR5WvEfuS5dMj6oTMEbrrSaM0CrFk2Yiq/gXnBvD9pMa2jGXxyhGLfvhZpuMZe18CJpFxAt3CRs42NMg==" + }, "is-retry-allowed": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-1.1.0.tgz", @@ -6278,9 +6513,9 @@ "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=" }, "is-svg": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-svg/-/is-svg-2.1.0.tgz", - "integrity": "sha1-z2EJDaDZ77yrhyLeum8DIgjbsOk=", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-svg/-/is-svg-3.0.0.tgz", + "integrity": "sha512-gi4iHK53LR2ujhLVVj+37Ykh9GLqYHX6JOVXbLAucaG/Cqw9xwdFOjDM2qeifLs1sF1npXXFvDu0r5HNgCMrzQ==", "requires": { "html-comment-regex": "^1.1.0" } @@ -6301,7 +6536,8 @@ "is-typedarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", - "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", + "dev": true }, "is-utf8": { "version": "0.2.1", @@ -6319,18 +6555,11 @@ "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" }, "isemail": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/isemail/-/isemail-3.1.4.tgz", - "integrity": "sha512-yE/W5osEWuAGSLVixV9pAexhkbZzglmuhO2CxdHu7IBh7uzuZogQ4bk0lE26HoZ6HD4ZYfKRKilkNuCnuJIBJw==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/isemail/-/isemail-3.2.0.tgz", + "integrity": "sha512-zKqkK+O+dGqevc93KNsbZ/TqTUFd46MwWjYOoMrjIMZ51eU7DtQG3Wmd9SQQT7i7RVnuTPEiYEWHU3MSbxC1Tg==", "requires": { "punycode": "2.x.x" - }, - "dependencies": { - "punycode": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", - "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==" - } } }, "isexe": { @@ -6339,17 +6568,15 @@ "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=" }, "isobject": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", - "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", - "requires": { - "isarray": "1.0.0" - } + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=" }, "isstream": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", - "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=" + "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=", + "dev": true }, "istanbul-instrumenter-loader": { "version": "3.0.1", @@ -6360,6 +6587,37 @@ "istanbul-lib-instrument": "^1.7.3", "loader-utils": "^1.1.0", "schema-utils": "^0.3.0" + }, + "dependencies": { + "ajv": { + "version": "5.5.2", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.2.tgz", + "integrity": "sha1-c7Xuyj+rZT49P5Qis0GtQiBdyWU=", + "requires": { + "co": "^4.6.0", + "fast-deep-equal": "^1.0.0", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.3.0" + } + }, + "fast-deep-equal": { + "version": "1.1.0", + "resolved": "http://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-1.1.0.tgz", + "integrity": "sha1-wFNHeBfIa1HaqFPIHgWbcz0CNhQ=" + }, + "json-schema-traverse": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz", + "integrity": "sha1-NJptRMU6Ud6JtAgFxdXlm0F9M0A=" + }, + "schema-utils": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-0.3.0.tgz", + "integrity": "sha1-9YdyIs4+kx7a4DnxfrNxbnE3+M8=", + "requires": { + "ajv": "^5.0.0" + } + } } }, "istanbul-lib-coverage": { @@ -6492,73 +6750,29 @@ "topo": "2.x.x" } }, - "js-base64": { - "version": "2.4.9", - "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.4.9.tgz", - "integrity": "sha512-xcinL3AuDJk7VSzsHgb9DvvIXayBbadtMZ4HFPx8rUszbW1MuNMlwYVC4zzCZ6e1sqZpnNS5ZFYOhXqA39T7LQ==" - }, "js-tokens": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=" }, "js-yaml": { - "version": "3.7.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.7.0.tgz", - "integrity": "sha1-XJZ93YN6m/3KXy3oQlOr6KHAO4A=", + "version": "3.12.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.12.0.tgz", + "integrity": "sha512-PIt2cnwmPfL4hKNwqeiuz4bKfnzHTBv6HyVgjahA6mPLwPDzjDWrplJBMjHUFxku/N3FlmrbyPclad+I+4mJ3A==", "requires": { "argparse": "^1.0.7", - "esprima": "^2.6.0" - }, - "dependencies": { - "esprima": { - "version": "2.7.3", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-2.7.3.tgz", - "integrity": "sha1-luO3DVd59q1JzQMmc9HDEnZ7pYE=" - } + "esprima": "^4.0.0" } }, "jsbn": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", - "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=" - }, - "jsdom": { - "version": "11.6.2", - "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-11.6.2.tgz", - "integrity": "sha512-pAeZhpbSlUp5yQcS6cBQJwkbzmv4tWFaYxHbFVSxzXefqjvtRA851Z5N2P+TguVG9YeUDcgb8pdeVQRJh0XR3Q==", - "requires": { - "abab": "^1.0.4", - "acorn": "^5.3.0", - "acorn-globals": "^4.1.0", - "array-equal": "^1.0.0", - "browser-process-hrtime": "^0.1.2", - "content-type-parser": "^1.0.2", - "cssom": ">= 0.3.2 < 0.4.0", - "cssstyle": ">= 0.2.37 < 0.3.0", - "domexception": "^1.0.0", - "escodegen": "^1.9.0", - "html-encoding-sniffer": "^1.0.2", - "left-pad": "^1.2.0", - "nwmatcher": "^1.4.3", - "parse5": "4.0.0", - "pn": "^1.1.0", - "request": "^2.83.0", - "request-promise-native": "^1.0.5", - "sax": "^1.2.4", - "symbol-tree": "^3.2.2", - "tough-cookie": "^2.3.3", - "w3c-hr-time": "^1.0.1", - "webidl-conversions": "^4.0.2", - "whatwg-encoding": "^1.0.3", - "whatwg-url": "^6.4.0", - "ws": "^4.0.0", - "xml-name-validator": "^3.0.0" - } + "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=", + "dev": true }, "jsesc": { "version": "1.3.0", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-1.3.0.tgz", + "resolved": "http://registry.npmjs.org/jsesc/-/jsesc-1.3.0.tgz", "integrity": "sha1-RsP+yMGJKxKwgz25vHYiF226s0s=" }, "json-css-module-loader": { @@ -6566,26 +6780,21 @@ "resolved": "https://registry.npmjs.org/json-css-module-loader/-/json-css-module-loader-1.0.2.tgz", "integrity": "sha512-toY6hod2C4ehC/R3jQqiUfpgBuuLcgw5KLoQhFaH93NSJ9w83RujL8tfc6gdJQR8fej5NF8UfWSBFwuEDvOBhw==" }, - "json-loader": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/json-loader/-/json-loader-0.5.7.tgz", - "integrity": "sha512-QLPs8Dj7lnf3e3QYS1zkCo+4ZwqOiF9d/nZnYozTISxXWCfNs9yuky5rJw4/W34s7POaNlbZmQGaB5NiXCbP4w==" - }, "json-parse-better-errors": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", - "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", - "dev": true + "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==" }, "json-schema": { "version": "0.2.3", "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", - "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=" + "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=", + "dev": true }, "json-schema-traverse": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz", - "integrity": "sha1-NJptRMU6Ud6JtAgFxdXlm0F9M0A=" + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" }, "json-stable-stringify": { "version": "1.0.1", @@ -6598,7 +6807,8 @@ "json-stringify-safe": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", - "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=" + "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=", + "dev": true }, "json5": { "version": "0.5.1", @@ -6634,6 +6844,7 @@ "version": "1.4.1", "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=", + "dev": true, "requires": { "assert-plus": "1.0.0", "extsprintf": "1.3.0", @@ -6656,7 +6867,7 @@ "dependencies": { "core-js": { "version": "2.3.0", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.3.0.tgz", + "resolved": "http://registry.npmjs.org/core-js/-/core-js-2.3.0.tgz", "integrity": "sha1-+rg/uwstjchfpjbEudNMdUIMbWU=", "dev": true }, @@ -6688,7 +6899,7 @@ }, "string_decoder": { "version": "0.10.31", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "resolved": "http://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=", "dev": true } @@ -6701,36 +6912,24 @@ "dev": true }, "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "requires": { - "is-buffer": "^1.1.5" - } - }, - "klaw": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/klaw/-/klaw-1.3.1.tgz", - "integrity": "sha1-QIhDO0azsbolnXh4XY6W9zugJDk=", - "requires": { - "graceful-fs": "^4.1.9" - } - }, - "kuler": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/kuler/-/kuler-1.0.1.tgz", - "integrity": "sha512-J9nVUucG1p/skKul6DU3PUZrhs0LPulNaeUOox0IyXDi8S4CztTHs1gQphhuZmzXG7VOQSf6NJfKuzteQLv9gQ==", - "requires": { - "colornames": "^1.1.1" - } + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==" }, "last-call-webpack-plugin": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/last-call-webpack-plugin/-/last-call-webpack-plugin-2.1.2.tgz", - "integrity": "sha512-CZc+m2xZm51J8qSwdODeiiNeqh8CYkKEq6Rw8IkE4i/4yqf2cJhjQPsA6BtAV970ePRNhwEOXhy2U5xc5Jwh9Q==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/last-call-webpack-plugin/-/last-call-webpack-plugin-3.0.0.tgz", + "integrity": "sha512-7KI2l2GIZa9p2spzPIVZBYyNKkN+e/SQPpnjlTiPhdbDW3F86tdKKELxKpzJ5sgU19wQWsACULZmpTPYHeWO5w==", "requires": { - "lodash": "^4.17.4", - "webpack-sources": "^1.0.1" + "lodash": "^4.17.5", + "webpack-sources": "^1.1.0" + }, + "dependencies": { + "lodash": { + "version": "4.17.11", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", + "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==" + } } }, "latest-version": { @@ -6741,11 +6940,6 @@ "package-json": "^2.0.0" } }, - "lazy-cache": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/lazy-cache/-/lazy-cache-1.0.4.tgz", - "integrity": "sha1-odePw6UEdMuAhF07O24dpJpEbo4=" - }, "lcid": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz", @@ -6754,26 +6948,12 @@ "invert-kv": "^1.0.0" } }, - "left-pad": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/left-pad/-/left-pad-1.3.0.tgz", - "integrity": "sha512-XI5MPzVNApjAyhQzphX8BkmKsKUxD4LdyK24iZeQGinBN9yTQT3bFlCBy/aVx2HrNcqQGsdot8ghrjyrvMCoEA==" - }, "leven": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/leven/-/leven-2.1.0.tgz", "integrity": "sha1-wuep93IJTe6dNCAq6KzORoeHVYA=", "dev": true }, - "levn": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", - "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=", - "requires": { - "prelude-ls": "~1.1.2", - "type-check": "~0.3.2" - } - }, "libnpmsearch": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/libnpmsearch/-/libnpmsearch-2.0.0.tgz", @@ -6864,31 +7044,6 @@ "ms": "^2.1.1" } }, - "esprima": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", - "dev": true - }, - "is-glob": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.0.tgz", - "integrity": "sha1-lSHHaEXMJhCoUgPd8ICpWML/q8A=", - "dev": true, - "requires": { - "is-extglob": "^2.1.1" - } - }, - "js-yaml": { - "version": "3.12.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.12.0.tgz", - "integrity": "sha512-PIt2cnwmPfL4hKNwqeiuz4bKfnzHTBv6HyVgjahA6mPLwPDzjDWrplJBMjHUFxku/N3FlmrbyPclad+I+4mJ3A==", - "dev": true, - "requires": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" - } - }, "ms": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", @@ -6903,18 +7058,6 @@ "requires": { "error-ex": "^1.3.1" } - }, - "pify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", - "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 } } }, @@ -6945,7 +7088,7 @@ "dependencies": { "ansi-escapes": { "version": "1.4.0", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-1.4.0.tgz", + "resolved": "http://registry.npmjs.org/ansi-escapes/-/ansi-escapes-1.4.0.tgz", "integrity": "sha1-06ioOzGapneTZisT52HHkRQiMG4=", "dev": true }, @@ -7081,7 +7224,7 @@ "dependencies": { "ansi-escapes": { "version": "1.4.0", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-1.4.0.tgz", + "resolved": "http://registry.npmjs.org/ansi-escapes/-/ansi-escapes-1.4.0.tgz", "integrity": "sha1-06ioOzGapneTZisT52HHkRQiMG4=", "dev": true }, @@ -7274,6 +7417,13 @@ "pify": "^2.0.0", "pinkie-promise": "^2.0.0", "strip-bom": "^2.0.0" + }, + "dependencies": { + "pify": { + "version": "2.3.0", + "resolved": "http://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=" + } } }, "loader-runner": { @@ -7298,13 +7448,6 @@ "requires": { "p-locate": "^2.0.0", "path-exists": "^3.0.0" - }, - "dependencies": { - "path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=" - } } }, "lodash": { @@ -7317,11 +7460,6 @@ "resolved": "https://registry.npmjs.org/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz", "integrity": "sha1-DM8tiRZq8Ds2Y8eWU4t1rG4RTZ0=" }, - "lodash.camelcase": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", - "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=" - }, "lodash.debounce": { "version": "4.0.8", "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", @@ -7338,11 +7476,6 @@ "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz", "integrity": "sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4=" }, - "lodash.sortby": { - "version": "4.7.0", - "resolved": "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz", - "integrity": "sha1-7dFMgk4sycHgsKG0K7UhBRakJDg=" - }, "lodash.template": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/lodash.template/-/lodash.template-4.4.0.tgz", @@ -7408,50 +7541,12 @@ } } }, - "logform": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/logform/-/logform-1.10.0.tgz", - "integrity": "sha512-em5ojIhU18fIMOw/333mD+ZLE2fis0EzXl1ZwHx4iQzmpQi6odNiY/t+ITNr33JZhT9/KEaH+UPIipr6a9EjWg==", - "requires": { - "colors": "^1.2.1", - "fast-safe-stringify": "^2.0.4", - "fecha": "^2.3.3", - "ms": "^2.1.1", - "triple-beam": "^1.2.0" - }, - "dependencies": { - "colors": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/colors/-/colors-1.3.2.tgz", - "integrity": "sha512-rhP0JSBGYvpcNQj4s5AdShMeE5ahMop96cTeDl/v9qQQm2fYClE2QXZRi8wLzc+GmXSxdIqqbOIAhyObEXDbfQ==" - }, - "ms": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", - "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==" - } - } - }, - "loglevelnext": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/loglevelnext/-/loglevelnext-1.0.5.tgz", - "integrity": "sha512-V/73qkPuJmx4BcBF19xPBr+0ZRVBhc4POxvZTZdMeXpJ4NItXSJ/MSwuFT0kQJlCbXvdlZoQQ/418bS1y9Jh6A==", - "requires": { - "es6-symbol": "^3.1.1", - "object.assign": "^4.1.0" - } - }, "lolex": { "version": "2.7.5", "resolved": "https://registry.npmjs.org/lolex/-/lolex-2.7.5.tgz", "integrity": "sha512-l9x0+1offnKKIzYVjyXU2SiwhXDLekRzKyhnbyldPHvC7BvLPVpdNUNR2KeMAiCN2D/kLNttZgQD5WjSxuBx3Q==", "dev": true }, - "longest": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/longest/-/longest-1.0.1.tgz", - "integrity": "sha1-MKCy2jj3N3DoKUoNIuZiXtd9AJc=" - }, "loose-envify": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", @@ -7480,9 +7575,9 @@ "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==" }, "lru-cache": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.3.tgz", - "integrity": "sha512-fFEhvcgzuIoJVUF8fYr5KR0YqxD238zgObTps31YdADwPPAp82a4M8TrckkWyx7ekNlf9aBcVn81cFwwXngrJA==", + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz", + "integrity": "sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==", "requires": { "pseudomap": "^1.0.2", "yallist": "^2.1.2" @@ -7494,13 +7589,6 @@ "integrity": "sha512-2w31R7SJtieJJnQtGc7RVL2StM2vGYVfqUOvUDxH6bC6aJTxPxTF0GnIgCyu7tjockiUWAYQRbxa7vKn34s5sQ==", "requires": { "pify": "^3.0.0" - }, - "dependencies": { - "pify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=" - } } }, "make-fetch-happen": { @@ -7523,9 +7611,9 @@ }, "dependencies": { "cacache": { - "version": "11.2.0", - "resolved": "https://registry.npmjs.org/cacache/-/cacache-11.2.0.tgz", - "integrity": "sha512-IFWl6lfK6wSeYCHUXh+N1lY72UDrpyrYQJNIVQf48paDuWbv5RbAtJYf/4gUQFObTCHZwdZ5sI8Iw7nqwP6nlQ==", + "version": "11.3.1", + "resolved": "https://registry.npmjs.org/cacache/-/cacache-11.3.1.tgz", + "integrity": "sha512-2PEw4cRRDu+iQvBTTuttQifacYjLPhET+SYO/gEFMy8uhi+jlJREDAjSF5FWSdV/Aw5h18caHA7vMTw2c+wDzA==", "dev": true, "requires": { "bluebird": "^3.5.1", @@ -7580,12 +7668,6 @@ "requires": { "figgy-pudding": "^3.5.1" } - }, - "y18n": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz", - "integrity": "sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w==", - "dev": true } } }, @@ -7599,12 +7681,6 @@ "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=" }, - "map-stream": { - "version": "0.0.7", - "resolved": "https://registry.npmjs.org/map-stream/-/map-stream-0.0.7.tgz", - "integrity": "sha1-ih8HiW2CsQkmvTdEokIACfiJdKg=", - "dev": true - }, "map-visit": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz", @@ -7613,11 +7689,6 @@ "object-visit": "^1.0.0" } }, - "math-expression-evaluator": { - "version": "1.2.17", - "resolved": "https://registry.npmjs.org/math-expression-evaluator/-/math-expression-evaluator-1.2.17.tgz", - "integrity": "sha1-3oGf282E3M2PrlnGrreWFbnSZqw=" - }, "math-random": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/math-random/-/math-random-1.0.1.tgz", @@ -7631,18 +7702,16 @@ "hash-base": "^3.0.0", "inherits": "^2.0.1", "safe-buffer": "^5.1.2" - }, - "dependencies": { - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - } } }, + "mdn-data": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-1.1.4.tgz", + "integrity": "sha512-FSYbp3lyKjyj3E7fMl6rYvUdX0FBXaluGqlFoYESWQlyUTq8R+wp0rkFxoYFqZlHCvsUXGjyJmLQSnXToYhOSA==" + }, "media-typer": { "version": "0.3.0", - "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", + "resolved": "http://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=" }, "mem": { @@ -7670,7 +7739,7 @@ }, "meow": { "version": "3.7.0", - "resolved": "https://registry.npmjs.org/meow/-/meow-3.7.0.tgz", + "resolved": "http://registry.npmjs.org/meow/-/meow-3.7.0.tgz", "integrity": "sha1-cstmi0JSKCkKu/qFaJJYcwioAfs=", "requires": { "camelcase-keys": "^2.0.0", @@ -7683,6 +7752,13 @@ "read-pkg-up": "^1.0.1", "redent": "^1.0.0", "trim-newlines": "^1.0.0" + }, + "dependencies": { + "minimist": { + "version": "1.2.0", + "resolved": "http://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=" + } } }, "merge-descriptors": { @@ -7696,38 +7772,23 @@ "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=" }, "micromatch": { - "version": "2.3.11", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz", - "integrity": "sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU=", - "requires": { - "arr-diff": "^2.0.0", - "array-unique": "^0.2.1", - "braces": "^1.8.2", - "expand-brackets": "^0.1.4", - "extglob": "^0.3.1", - "filename-regex": "^2.0.0", - "is-extglob": "^1.0.0", - "is-glob": "^2.0.1", - "kind-of": "^3.0.2", - "normalize-path": "^2.0.1", - "object.omit": "^2.0.0", - "parse-glob": "^3.0.4", - "regex-cache": "^0.4.2" - }, - "dependencies": { - "is-extglob": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", - "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=" - }, - "is-glob": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", - "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", - "requires": { - "is-extglob": "^1.0.0" - } - } + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", + "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", + "requires": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "braces": "^2.3.1", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "extglob": "^2.0.4", + "fragment-cache": "^0.2.1", + "kind-of": "^6.0.2", + "nanomatch": "^1.2.9", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.2" } }, "miller-rabin": { @@ -7745,16 +7806,16 @@ "integrity": "sha512-KI1+qOZu5DcW6wayYHSzR/tXKCDC5Om4s1z2QJjDULzLcmf3DvzS7oluY4HCTrc+9FiKmWUgeNLg7W3uIQvxtQ==" }, "mime-db": { - "version": "1.36.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.36.0.tgz", - "integrity": "sha512-L+xvyD9MkoYMXb1jAmzI/lWYAxAMCPvIBSWur0PZ5nOf5euahRLVqH//FKW9mWp2lkqUgYiXPgkzfMUFi4zVDw==" + "version": "1.37.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.37.0.tgz", + "integrity": "sha512-R3C4db6bgQhlIhPU48fUtdVmKnflq+hRdad7IyKhtFj06VPNVdk2RhiYL3UjQIlso8L+YxAtFkobT0VK+S/ybg==" }, "mime-types": { - "version": "2.1.20", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.20.tgz", - "integrity": "sha512-HrkrPaP9vGuWbLK1B1FfgAkbqNjIuy4eHlIYnFi7kamZyLLrGlo2mpcx0bBmNpKqBtYtAfGbodDddIgddSJC2A==", + "version": "2.1.21", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.21.tgz", + "integrity": "sha512-3iL6DbwpyLzjR3xHSFNFeb9Nz/M8WDkX33t1GFQnFOllWk8pOrh/LSrB5OXlnlW5P9LH73X6loW/eogc+F5lJg==", "requires": { - "mime-db": "~1.36.0" + "mime-db": "~1.37.0" } }, "mimic-fn": { @@ -7762,6 +7823,16 @@ "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz", "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==" }, + "mini-css-extract-plugin": { + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/mini-css-extract-plugin/-/mini-css-extract-plugin-0.4.2.tgz", + "integrity": "sha512-ots7URQH4wccfJq9Ssrzu2+qupbncAce4TmTzunI9CIwlQMp2XI+WNUw6xWF6MMAGAm1cbUVINrSjATaVMyKXg==", + "requires": { + "loader-utils": "^1.1.0", + "schema-utils": "^1.0.0", + "webpack-sources": "^1.1.0" + } + }, "minimalistic-assert": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", @@ -7781,9 +7852,9 @@ } }, "minimist": { - "version": "1.2.0", - "resolved": "http://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", - "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=" + "version": "0.0.8", + "resolved": "http://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", + "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=" }, "mississippi": { "version": "2.0.0", @@ -7827,13 +7898,6 @@ "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", "requires": { "minimist": "0.0.8" - }, - "dependencies": { - "minimist": { - "version": "0.0.8", - "resolved": "http://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", - "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=" - } } }, "mock-require": { @@ -7897,23 +7961,6 @@ "regex-not": "^1.0.0", "snapdragon": "^0.8.1", "to-regex": "^3.0.1" - }, - "dependencies": { - "arr-diff": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", - "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=" - }, - "array-unique": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", - "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=" - }, - "kind-of": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", - "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==" - } } }, "negotiator": { @@ -7928,7 +7975,7 @@ }, "next-tick": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.0.0.tgz", + "resolved": "http://registry.npmjs.org/next-tick/-/next-tick-1.0.0.tgz", "integrity": "sha1-yobR/ogoFpsBICCOPchCS524NCw=" }, "nice-try": { @@ -7984,14 +8031,6 @@ "lower-case": "^1.1.1" } }, - "node-dir": { - "version": "0.1.17", - "resolved": "https://registry.npmjs.org/node-dir/-/node-dir-0.1.17.tgz", - "integrity": "sha1-X1Zl2TNRM1yqvvjxxVRRbPXx5OU=", - "requires": { - "minimatch": "^3.0.2" - } - }, "node-fetch-npm": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/node-fetch-npm/-/node-fetch-npm-2.0.2.tgz", @@ -8031,11 +8070,26 @@ "url": "^0.11.0", "util": "^0.10.3", "vm-browserify": "0.0.4" + }, + "dependencies": { + "punycode": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", + "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=" + } + } + }, + "node-releases": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.0.5.tgz", + "integrity": "sha512-Ky7q0BO1BBkG/rQz6PkEZ59rwo+aSfhczHP1wwq8IowoVdN/FpiP7qp0XW0P2+BVCWe5fQUBozdbVd54q1RbCQ==", + "requires": { + "semver": "^5.3.0" } }, "node-status-codes": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/node-status-codes/-/node-status-codes-1.0.0.tgz", + "resolved": "http://registry.npmjs.org/node-status-codes/-/node-status-codes-1.0.0.tgz", "integrity": "sha1-WuVUHQJGRdMqWPzdyc7s6nrjrC8=" }, "normalize-package-data": { @@ -8063,15 +8117,9 @@ "integrity": "sha1-LRDAa9/TEuqXd2laTShDlFa3WUI=" }, "normalize-url": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-1.9.1.tgz", - "integrity": "sha1-LMDWazHqIwNkWENuNiDYWVTGbDw=", - "requires": { - "object-assign": "^4.0.1", - "prepend-http": "^1.0.0", - "query-string": "^4.1.0", - "sort-keys": "^1.0.0" - } + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-3.3.0.tgz", + "integrity": "sha512-U+JJi7duF1o+u2pynbp2zXDW2/PADgC30f0GsHZtRh+HOcXHnw137TrNlyxxRvWW5fjKd3bcLHPxofWuCjaeZg==" }, "npm-package-arg": { "version": "6.1.0", @@ -8109,17 +8157,17 @@ } }, "npm-run-all": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/npm-run-all/-/npm-run-all-4.1.3.tgz", - "integrity": "sha512-aOG0N3Eo/WW+q6sUIdzcV2COS8VnTZCmdji0VQIAZF3b+a3YWb0AD0vFIyjKec18A7beLGbaQ5jFTNI2bPt9Cg==", + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/npm-run-all/-/npm-run-all-4.1.5.tgz", + "integrity": "sha512-Oo82gJDAVcaMdi3nuoKFavkIHBRVqQ1qvMb+9LHk/cF4P6B2m8aP04hGf7oL6wZ9BuGwX1onlLhpuoofSyoQDQ==", "dev": true, "requires": { - "ansi-styles": "^3.2.0", - "chalk": "^2.1.0", - "cross-spawn": "^6.0.4", + "ansi-styles": "^3.2.1", + "chalk": "^2.4.1", + "cross-spawn": "^6.0.5", "memorystream": "^0.3.1", "minimatch": "^3.0.4", - "ps-tree": "^1.1.0", + "pidtree": "^0.3.0", "read-pkg": "^3.0.0", "shell-quote": "^1.6.1", "string.prototype.padend": "^3.0.0" @@ -8160,21 +8208,6 @@ "json-parse-better-errors": "^1.0.1" } }, - "path-type": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", - "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", - "dev": true, - "requires": { - "pify": "^3.0.0" - } - }, - "pify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", - "dev": true - }, "read-pkg": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", @@ -8214,9 +8247,9 @@ } }, "nth-check": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.1.tgz", - "integrity": "sha1-mSms32KPwsQQmN6rgqxYDPFJquQ=", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.2.tgz", + "integrity": "sha512-WeBOdju8SnzPN5vTUJYxYUxLeXpCaVP5i5e0LF8fg7WORF2Wd7wFX/pk0tYZk7s8T+J7VLy0Da6J1+wCT0AtHg==", "requires": { "boolbase": "~1.0.0" } @@ -8231,15 +8264,11 @@ "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=" }, - "nwmatcher": { - "version": "1.4.4", - "resolved": "https://registry.npmjs.org/nwmatcher/-/nwmatcher-1.4.4.tgz", - "integrity": "sha512-3iuY4N5dhgMpCUrOVnuAdGrgxVqV2cJpM+XNccjR2DKOB1RUP0aA+wGXEiNziG/UKboFyGBIoKOaNlJxx8bciQ==" - }, "oauth-sign": { "version": "0.9.0", "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", - "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==" + "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==", + "dev": true }, "object-assign": { "version": "4.1.1", @@ -8263,7 +8292,15 @@ "requires": { "is-descriptor": "^0.1.0" } - } + }, + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "requires": { + "is-buffer": "^1.1.5" + } + } } }, "object-keys": { @@ -8277,24 +8314,6 @@ "integrity": "sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=", "requires": { "isobject": "^3.0.0" - }, - "dependencies": { - "isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=" - } - } - }, - "object.assign": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz", - "integrity": "sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==", - "requires": { - "define-properties": "^1.1.2", - "function-bind": "^1.1.1", - "has-symbols": "^1.0.0", - "object-keys": "^1.0.11" } }, "object.getownpropertydescriptors": { @@ -8321,13 +8340,17 @@ "integrity": "sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=", "requires": { "isobject": "^3.0.1" - }, - "dependencies": { - "isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=" - } + } + }, + "object.values": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.0.4.tgz", + "integrity": "sha1-5STaCbT2b/Bd9FdUbscqyZ8TBpo=", + "requires": { + "define-properties": "^1.1.2", + "es-abstract": "^1.6.1", + "function-bind": "^1.1.0", + "has": "^1.0.1" } }, "on-finished": { @@ -8346,11 +8369,6 @@ "wrappy": "1" } }, - "one-time": { - "version": "0.0.4", - "resolved": "https://registry.npmjs.org/one-time/-/one-time-0.0.4.tgz", - "integrity": "sha1-+M33eISCb+Tf+T46nMN7HkSAdC4=" - }, "onetime": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz", @@ -8368,46 +8386,18 @@ "version": "0.6.1", "resolved": "https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz", "integrity": "sha1-2j6nRob6IaGaERwybpDrFaAZZoY=", - "dev": true, "requires": { "minimist": "~0.0.1", "wordwrap": "~0.0.2" - }, - "dependencies": { - "minimist": { - "version": "0.0.10", - "resolved": "http://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz", - "integrity": "sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8=", - "dev": true - }, - "wordwrap": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz", - "integrity": "sha1-o9XabNXAvAAI03I0u68b7WMFkQc=", - "dev": true - } } }, "optimize-css-assets-webpack-plugin": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/optimize-css-assets-webpack-plugin/-/optimize-css-assets-webpack-plugin-3.2.0.tgz", - "integrity": "sha512-Fjn7wyyadPAriuH2DHamDQw5B8GohEWbroBkKoPeP+vSF2PIAPI7WDihi8WieMRb/At4q7Ea7zTKaMDuSoIAAg==", - "requires": { - "cssnano": "^3.4.0", - "last-call-webpack-plugin": "^2.1.2" - } - }, - "optionator": { - "version": "0.8.2", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.2.tgz", - "integrity": "sha1-NkxeQJ0/TWMB1sC0wFu6UBgK62Q=", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/optimize-css-assets-webpack-plugin/-/optimize-css-assets-webpack-plugin-5.0.1.tgz", + "integrity": "sha512-Rqm6sSjWtx9FchdP0uzTQDc7GXDKnwVEGoSxjezPkzMewx7gEWE9IMUYKmigTRC4U3RaNSwYVnUDLuIdtTpm0A==", "requires": { - "deep-is": "~0.1.3", - "fast-levenshtein": "~2.0.4", - "levn": "~0.3.0", - "prelude-ls": "~1.1.2", - "type-check": "~0.3.2", - "wordwrap": "~1.0.0" + "cssnano": "^4.1.0", + "last-call-webpack-plugin": "^3.0.0" } }, "ora": { @@ -8468,7 +8458,7 @@ }, "os-homedir": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", + "resolved": "http://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=" }, "os-locale": { @@ -8499,7 +8489,7 @@ }, "os-tmpdir": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "resolved": "http://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=" }, "osenv": { @@ -8555,9 +8545,9 @@ } }, "pako": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.6.tgz", - "integrity": "sha512-lQe48YPsMJAig+yngZ87Lus+NF+3mtu7DVOBu6b/gHO1YpKwIj5AWjZ/TOS7i46HD/UixzWb1zeWDZfGZ3iYcg==" + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.7.tgz", + "integrity": "sha512-3HNK5tW4x8o5mO8RuHZp3Ydw9icZXx0RANAOMzlMzx7LVXhMJ4mo3MOBpzyd7r/+RUu8BmndP47LXT+vzjtWcQ==" }, "parallel-transform": { "version": "1.1.0", @@ -8640,11 +8630,6 @@ "integrity": "sha1-bVuTSkVpk7I9N/QKOC1vFmao5cY=", "dev": true }, - "parse5": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/parse5/-/parse5-4.0.0.tgz", - "integrity": "sha512-VrZ7eOd3T1Fk4XWNXMgiGBK/z0MG48BWG2uQNU4I72fkQuKUTZpl+u9k+CxEG0twMVzSmXEEz12z5Fnw1jIQFA==" - }, "parseurl": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.2.tgz", @@ -8666,16 +8651,13 @@ "integrity": "sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA=" }, "path-exists": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz", - "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=", - "requires": { - "pinkie-promise": "^2.0.0" - } + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=" }, "path-is-absolute": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "resolved": "http://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" }, "path-is-inside": { @@ -8700,13 +8682,11 @@ "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=" }, "path-type": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", - "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", + "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", "requires": { - "graceful-fs": "^4.1.2", - "pify": "^2.0.0", - "pinkie-promise": "^2.0.0" + "pify": "^3.0.0" } }, "pathval": { @@ -8715,15 +8695,6 @@ "integrity": "sha1-uULm1L3mUwBe9rcTYd74cn0GReA=", "dev": true }, - "pause-stream": { - "version": "0.0.11", - "resolved": "http://registry.npmjs.org/pause-stream/-/pause-stream-0.0.11.tgz", - "integrity": "sha1-/lo0sMvOErWqaitAPuLnO2AvFEU=", - "dev": true, - "requires": { - "through": "~2.3" - } - }, "pbkdf2": { "version": "3.0.17", "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.0.17.tgz", @@ -8739,8 +8710,7 @@ "pend": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", - "integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA=", - "dev": true + "integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA=" }, "pepjs": { "version": "0.4.2", @@ -8750,12 +8720,19 @@ "performance-now": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", - "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=" + "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=", + "dev": true + }, + "pidtree": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/pidtree/-/pidtree-0.3.0.tgz", + "integrity": "sha512-9CT4NFlDcosssyg8KVFltgokyKZIFjoBxw8CTGy+5F38Y1eQWrt8tRayiUOXE+zVKQnYu5BR8JjCtvK3BcnBhg==", + "dev": true }, "pify": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=" + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", + "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=" }, "pinkie": { "version": "2.0.4", @@ -8776,16 +8753,6 @@ "integrity": "sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s=", "requires": { "find-up": "^2.1.0" - }, - "dependencies": { - "find-up": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", - "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", - "requires": { - "locate-path": "^2.0.0" - } - } } }, "platform": { @@ -8794,10 +8761,15 @@ "integrity": "sha512-TuvHS8AOIZNAlE77WUDiR4rySV/VMptyMfcfeoMgs4P8apaZM3JrnbzBiixKUv+XR6i+BXrQh8WAnjaSPFO65Q==", "dev": true }, - "pn": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/pn/-/pn-1.1.0.tgz", - "integrity": "sha512-2qHaIQr2VLRFoxe2nASzsV6ef4yOOH+Fi9FBOVH6cqeSgUnoyySPZkxzLuzd+RYOQTRpROA0ztTMqxROKSb/nA==" + "portfinder": { + "version": "1.0.19", + "resolved": "https://registry.npmjs.org/portfinder/-/portfinder-1.0.19.tgz", + "integrity": "sha512-23aeQKW9KgHe6citUrG3r9HjeX6vls0h713TAa+CwTKZwNIr/pD2ApaxYF4Um3ZZyq4ar+Siv3+fhoHaIwSOSw==", + "requires": { + "async": "^1.5.2", + "debug": "^2.2.0", + "mkdirp": "0.5.x" + } }, "posix-character-classes": { "version": "0.1.1", @@ -8916,74 +8888,37 @@ } }, "postcss-calc": { - "version": "5.3.1", - "resolved": "http://registry.npmjs.org/postcss-calc/-/postcss-calc-5.3.1.tgz", - "integrity": "sha1-d7rnypKK2FcW4v2kLyYb98HWW14=", + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/postcss-calc/-/postcss-calc-7.0.1.tgz", + "integrity": "sha512-oXqx0m6tb4N3JGdmeMSc/i91KppbYsFZKdH0xMOqK8V1rJlzrKlTdokz8ozUXLVejydRN6u2IddxpcijRj2FqQ==", "requires": { - "postcss": "^5.0.2", - "postcss-message-helpers": "^2.0.0", - "reduce-css-calc": "^1.2.6" + "css-unit-converter": "^1.1.1", + "postcss": "^7.0.5", + "postcss-selector-parser": "^5.0.0-rc.4", + "postcss-value-parser": "^3.3.1" }, "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "http://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "^1.1.3", - "js-base64": "^2.1.9", - "source-map": "^0.5.6", - "supports-color": "^3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "http://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.6.tgz", + "integrity": "sha512-Nq/rNjnHFcKgCDDZYO0lNsl6YWe6U7tTy+ESN+PnLxebL8uBtYX59HZqvrj7YLK5UCyll2hqDsJOo3ndzEW8Ug==", "requires": { - "ansi-regex": "^2.0.0" + "chalk": "^2.4.1", + "source-map": "^0.6.1", + "supports-color": "^5.5.0" } }, "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "requires": { - "has-flag": "^1.0.0" + "has-flag": "^3.0.0" } } } @@ -9040,15 +8975,6 @@ "color-convert": "^1.8.2", "color-string": "^1.4.0" } - }, - "color-string": { - "version": "1.5.3", - "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.5.3.tgz", - "integrity": "sha512-dC2C5qeWoYkxki5UAXapdjqO672AM4vZuPGRQfO8b5HKuKGBbKWpITyDYN7TOFKvRW7kOgAn3746clDBMDJyQw==", - "requires": { - "color-name": "^1.0.0", - "simple-swizzle": "^0.2.2" - } } } }, @@ -9122,146 +9048,72 @@ } }, "postcss-colormin": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/postcss-colormin/-/postcss-colormin-2.2.2.tgz", - "integrity": "sha1-ZjFBfV8OkJo9fsJrJMio0eT5bks=", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/postcss-colormin/-/postcss-colormin-4.0.2.tgz", + "integrity": "sha512-1QJc2coIehnVFsz0otges8kQLsryi4lo19WD+U5xCWvXd0uw/Z+KKYnbiNDCnO9GP+PvErPHCG0jNvWTngk9Rw==", "requires": { - "colormin": "^1.0.5", - "postcss": "^5.0.13", - "postcss-value-parser": "^3.2.3" + "browserslist": "^4.0.0", + "color": "^3.0.0", + "has": "^1.0.0", + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0" }, "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "http://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "^1.1.3", - "js-base64": "^2.1.9", - "source-map": "^0.5.6", - "supports-color": "^3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "http://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.6.tgz", + "integrity": "sha512-Nq/rNjnHFcKgCDDZYO0lNsl6YWe6U7tTy+ESN+PnLxebL8uBtYX59HZqvrj7YLK5UCyll2hqDsJOo3ndzEW8Ug==", "requires": { - "ansi-regex": "^2.0.0" + "chalk": "^2.4.1", + "source-map": "^0.6.1", + "supports-color": "^5.5.0" } }, "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "requires": { - "has-flag": "^1.0.0" + "has-flag": "^3.0.0" } } } }, "postcss-convert-values": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/postcss-convert-values/-/postcss-convert-values-2.6.1.tgz", - "integrity": "sha1-u9hZPFwf0uPRwyK7kl3K6Nrk1i0=", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-convert-values/-/postcss-convert-values-4.0.1.tgz", + "integrity": "sha512-Kisdo1y77KUC0Jmn0OXU/COOJbzM8cImvw1ZFsBgBgMgb1iL23Zs/LXRe3r+EZqM3vGYKdQ2YJVQ5VkJI+zEJQ==", "requires": { - "postcss": "^5.0.11", - "postcss-value-parser": "^3.1.2" + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0" }, "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "http://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "^1.1.3", - "js-base64": "^2.1.9", - "source-map": "^0.5.6", - "supports-color": "^3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "http://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.6.tgz", + "integrity": "sha512-Nq/rNjnHFcKgCDDZYO0lNsl6YWe6U7tTy+ESN+PnLxebL8uBtYX59HZqvrj7YLK5UCyll2hqDsJOo3ndzEW8Ug==", "requires": { - "ansi-regex": "^2.0.0" + "chalk": "^2.4.1", + "source-map": "^0.6.1", + "supports-color": "^5.5.0" } }, "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "requires": { - "has-flag": "^1.0.0" + "has-flag": "^3.0.0" } } } @@ -9367,357 +9219,133 @@ } }, "postcss-discard-comments": { - "version": "2.0.4", - "resolved": "http://registry.npmjs.org/postcss-discard-comments/-/postcss-discard-comments-2.0.4.tgz", - "integrity": "sha1-vv6J+v1bPazlzM5Rt2uBUUvgDj0=", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-discard-comments/-/postcss-discard-comments-4.0.1.tgz", + "integrity": "sha512-Ay+rZu1Sz6g8IdzRjUgG2NafSNpp2MSMOQUb+9kkzzzP+kh07fP0yNbhtFejURnyVXSX3FYy2nVNW1QTnNjgBQ==", "requires": { - "postcss": "^5.0.14" + "postcss": "^7.0.0" }, "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "http://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "^1.1.3", - "js-base64": "^2.1.9", - "source-map": "^0.5.6", - "supports-color": "^3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "http://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.6.tgz", + "integrity": "sha512-Nq/rNjnHFcKgCDDZYO0lNsl6YWe6U7tTy+ESN+PnLxebL8uBtYX59HZqvrj7YLK5UCyll2hqDsJOo3ndzEW8Ug==", "requires": { - "ansi-regex": "^2.0.0" + "chalk": "^2.4.1", + "source-map": "^0.6.1", + "supports-color": "^5.5.0" } }, "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "requires": { - "has-flag": "^1.0.0" + "has-flag": "^3.0.0" } } } }, "postcss-discard-duplicates": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/postcss-discard-duplicates/-/postcss-discard-duplicates-2.1.0.tgz", - "integrity": "sha1-uavye4isGIFYpesSq8riAmO5GTI=", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/postcss-discard-duplicates/-/postcss-discard-duplicates-4.0.2.tgz", + "integrity": "sha512-ZNQfR1gPNAiXZhgENFfEglF93pciw0WxMkJeVmw8eF+JZBbMD7jp6C67GqJAXVZP2BWbOztKfbsdmMp/k8c6oQ==", "requires": { - "postcss": "^5.0.4" + "postcss": "^7.0.0" }, "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "http://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "^1.1.3", - "js-base64": "^2.1.9", - "source-map": "^0.5.6", - "supports-color": "^3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "http://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.6.tgz", + "integrity": "sha512-Nq/rNjnHFcKgCDDZYO0lNsl6YWe6U7tTy+ESN+PnLxebL8uBtYX59HZqvrj7YLK5UCyll2hqDsJOo3ndzEW8Ug==", "requires": { - "ansi-regex": "^2.0.0" + "chalk": "^2.4.1", + "source-map": "^0.6.1", + "supports-color": "^5.5.0" } }, "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "requires": { - "has-flag": "^1.0.0" + "has-flag": "^3.0.0" } } } }, "postcss-discard-empty": { - "version": "2.1.0", - "resolved": "http://registry.npmjs.org/postcss-discard-empty/-/postcss-discard-empty-2.1.0.tgz", - "integrity": "sha1-0rS9nVztXr2Nyt52QMfXzX9PkrU=", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-discard-empty/-/postcss-discard-empty-4.0.1.tgz", + "integrity": "sha512-B9miTzbznhDjTfjvipfHoqbWKwd0Mj+/fL5s1QOz06wufguil+Xheo4XpOnc4NqKYBCNqqEzgPv2aPBIJLox0w==", "requires": { - "postcss": "^5.0.14" + "postcss": "^7.0.0" }, "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "http://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "^1.1.3", - "js-base64": "^2.1.9", - "source-map": "^0.5.6", - "supports-color": "^3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "http://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.6.tgz", + "integrity": "sha512-Nq/rNjnHFcKgCDDZYO0lNsl6YWe6U7tTy+ESN+PnLxebL8uBtYX59HZqvrj7YLK5UCyll2hqDsJOo3ndzEW8Ug==", "requires": { - "ansi-regex": "^2.0.0" + "chalk": "^2.4.1", + "source-map": "^0.6.1", + "supports-color": "^5.5.0" } }, "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "requires": { - "has-flag": "^1.0.0" + "has-flag": "^3.0.0" } } } }, "postcss-discard-overridden": { - "version": "0.1.1", - "resolved": "http://registry.npmjs.org/postcss-discard-overridden/-/postcss-discard-overridden-0.1.1.tgz", - "integrity": "sha1-ix6vVU9ob7KIzYdMVWZ7CqNmjVg=", - "requires": { - "postcss": "^5.0.16" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "http://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" - }, - "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "^1.1.3", - "js-base64": "^2.1.9", - "source-map": "^0.5.6", - "supports-color": "^3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "http://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", - "requires": { - "ansi-regex": "^2.0.0" - } - }, - "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", - "requires": { - "has-flag": "^1.0.0" - } - } - } - }, - "postcss-discard-unused": { - "version": "2.2.3", - "resolved": "http://registry.npmjs.org/postcss-discard-unused/-/postcss-discard-unused-2.2.3.tgz", - "integrity": "sha1-vOMLLMWR/8Y0Mitfs0ZLbZNPRDM=", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-discard-overridden/-/postcss-discard-overridden-4.0.1.tgz", + "integrity": "sha512-IYY2bEDD7g1XM1IDEsUT4//iEYCxAmP5oDSFMVU/JVvT7gh+l4fmjciLqGgwjdWpQIdb0Che2VX00QObS5+cTg==", "requires": { - "postcss": "^5.0.14", - "uniqs": "^2.0.0" + "postcss": "^7.0.0" }, "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "http://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "^1.1.3", - "js-base64": "^2.1.9", - "source-map": "^0.5.6", - "supports-color": "^3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "http://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.6.tgz", + "integrity": "sha512-Nq/rNjnHFcKgCDDZYO0lNsl6YWe6U7tTy+ESN+PnLxebL8uBtYX59HZqvrj7YLK5UCyll2hqDsJOo3ndzEW8Ug==", "requires": { - "ansi-regex": "^2.0.0" + "chalk": "^2.4.1", + "source-map": "^0.6.1", + "supports-color": "^5.5.0" } }, "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "requires": { - "has-flag": "^1.0.0" + "has-flag": "^3.0.0" } } } @@ -9756,77 +9384,6 @@ } } }, - "postcss-filter-plugins": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/postcss-filter-plugins/-/postcss-filter-plugins-2.0.3.tgz", - "integrity": "sha512-T53GVFsdinJhgwm7rg1BzbeBRomOg9y5MBVhGcsV0CxurUdVj1UlPdKtn7aqYA/c/QVkzKMjq2bSV5dKG5+AwQ==", - "requires": { - "postcss": "^5.0.4" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "http://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" - }, - "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "^1.1.3", - "js-base64": "^2.1.9", - "source-map": "^0.5.6", - "supports-color": "^3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "http://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", - "requires": { - "ansi-regex": "^2.0.0" - } - }, - "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", - "requires": { - "has-flag": "^1.0.0" - } - } - } - }, "postcss-focus-visible": { "version": "3.0.0", "resolved": "http://registry.npmjs.org/postcss-focus-visible/-/postcss-focus-visible-3.0.0.tgz", @@ -9952,14 +9509,39 @@ } }, "postcss-import": { - "version": "11.0.0", - "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-11.0.0.tgz", - "integrity": "sha1-qWLi34LTvFptpqOGhBdHIE9B71s=", + "version": "12.0.0", + "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-12.0.0.tgz", + "integrity": "sha512-3KqKRZcaZAvxbY8DVLdd81tG5uKzbUQuiWIvy0o0fzEC42bKacqPYFWbfCQyw6L4LWUaqPz/idvIdbhpgQ32eQ==", "requires": { - "postcss": "^6.0.1", + "postcss": "^7.0.1", "postcss-value-parser": "^3.2.3", "read-cache": "^1.0.0", "resolve": "^1.1.7" + }, + "dependencies": { + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "postcss": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.6.tgz", + "integrity": "sha512-Nq/rNjnHFcKgCDDZYO0lNsl6YWe6U7tTy+ESN+PnLxebL8uBtYX59HZqvrj7YLK5UCyll2hqDsJOo3ndzEW8Ug==", + "requires": { + "chalk": "^2.4.1", + "source-map": "^0.6.1", + "supports-color": "^5.5.0" + } + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } } }, "postcss-initial": { @@ -10007,51 +9589,45 @@ } }, "postcss-load-config": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-1.2.0.tgz", - "integrity": "sha1-U56a/J3chiASHr+djDZz4M5Q0oo=", - "requires": { - "cosmiconfig": "^2.1.0", - "object-assign": "^4.1.0", - "postcss-load-options": "^1.2.0", - "postcss-load-plugins": "^2.3.0" - } - }, - "postcss-load-options": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/postcss-load-options/-/postcss-load-options-1.2.0.tgz", - "integrity": "sha1-sJixVZ3awt8EvAuzdfmaXP4rbYw=", - "requires": { - "cosmiconfig": "^2.1.0", - "object-assign": "^4.1.0" - } - }, - "postcss-load-plugins": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/postcss-load-plugins/-/postcss-load-plugins-2.3.0.tgz", - "integrity": "sha1-dFdoEWWZrKLwCfrUJrABdQSdjZI=", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-2.0.0.tgz", + "integrity": "sha512-V5JBLzw406BB8UIfsAWSK2KSwIJ5yoEIVFb4gVkXci0QdKgA24jLmHZ/ghe/GgX0lJ0/D1uUK1ejhzEY94MChQ==", "requires": { - "cosmiconfig": "^2.1.1", - "object-assign": "^4.1.0" + "cosmiconfig": "^4.0.0", + "import-cwd": "^2.0.0" + }, + "dependencies": { + "cosmiconfig": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-4.0.0.tgz", + "integrity": "sha512-6e5vDdrXZD+t5v0L8CrurPeybg4Fmf+FCSYxXKYVAqLUtyCSbuyqE059d0kDthTNRzKVjL7QMgNpEUlsoYH3iQ==", + "requires": { + "is-directory": "^0.3.1", + "js-yaml": "^3.9.0", + "parse-json": "^4.0.0", + "require-from-string": "^2.0.1" + } + }, + "parse-json": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", + "requires": { + "error-ex": "^1.3.1", + "json-parse-better-errors": "^1.0.1" + } + } } }, "postcss-loader": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/postcss-loader/-/postcss-loader-2.0.8.tgz", - "integrity": "sha512-KtXBiQ/r/WYW8LxTSJK7h8wLqvCMSub/BqmRnud/Mu8RzwflW9cmXxwsMwbn15TNv287Hcufdb3ZSs7xHKnG8Q==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/postcss-loader/-/postcss-loader-3.0.0.tgz", + "integrity": "sha512-cLWoDEY5OwHcAjDnkyRQzAXfs2jrKjXpO/HQFcc5b5u/r7aa471wdmChmwfnv7x2u840iat/wi0lQ5nbRgSkUA==", "requires": { "loader-utils": "^1.1.0", - "postcss": "^6.0.0", - "postcss-load-config": "^1.2.0", - "schema-utils": "^0.3.0" - } - }, - "postcss-logical": { - "version": "1.1.1", - "resolved": "http://registry.npmjs.org/postcss-logical/-/postcss-logical-1.1.1.tgz", - "integrity": "sha512-ZJgyLJlp3uPKae9+6sJKFjD06UZzb/m3M1LPeHsaBMvvyatcNWwCfOZVIq00fJdxUqa9QeuQO6RZElKmRdWMEg==", - "requires": { - "postcss": "^6.0.20" + "postcss": "^7.0.0", + "postcss-load-config": "^2.0.0", + "schema-utils": "^1.0.0" }, "dependencies": { "has-flag": { @@ -10060,13 +9636,13 @@ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, "postcss": { - "version": "6.0.23", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz", - "integrity": "sha512-soOk1h6J3VMTZtVeVpv15/Hpdl2cBLX3CAw4TAbkpTJiNPk9YP/zWcD1ND+xEtvyuuvKzbxliTOIyvkSeSJ6ag==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.6.tgz", + "integrity": "sha512-Nq/rNjnHFcKgCDDZYO0lNsl6YWe6U7tTy+ESN+PnLxebL8uBtYX59HZqvrj7YLK5UCyll2hqDsJOo3ndzEW8Ug==", "requires": { "chalk": "^2.4.1", "source-map": "^0.6.1", - "supports-color": "^5.4.0" + "supports-color": "^5.5.0" } }, "supports-color": { @@ -10079,229 +9655,135 @@ } } }, - "postcss-media-minmax": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/postcss-media-minmax/-/postcss-media-minmax-3.0.0.tgz", - "integrity": "sha1-Z1JWA3pD70C8Twdgv9BtTcadSNI=", - "requires": { - "postcss": "^6.0.1" - } - }, - "postcss-merge-idents": { - "version": "2.1.7", - "resolved": "http://registry.npmjs.org/postcss-merge-idents/-/postcss-merge-idents-2.1.7.tgz", - "integrity": "sha1-TFUwMTwI4dWzu/PSu8dH4njuonA=", + "postcss-logical": { + "version": "1.1.1", + "resolved": "http://registry.npmjs.org/postcss-logical/-/postcss-logical-1.1.1.tgz", + "integrity": "sha512-ZJgyLJlp3uPKae9+6sJKFjD06UZzb/m3M1LPeHsaBMvvyatcNWwCfOZVIq00fJdxUqa9QeuQO6RZElKmRdWMEg==", "requires": { - "has": "^1.0.1", - "postcss": "^5.0.10", - "postcss-value-parser": "^3.1.1" + "postcss": "^6.0.20" }, "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "http://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "^1.1.3", - "js-base64": "^2.1.9", - "source-map": "^0.5.6", - "supports-color": "^3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "http://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "version": "6.0.23", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz", + "integrity": "sha512-soOk1h6J3VMTZtVeVpv15/Hpdl2cBLX3CAw4TAbkpTJiNPk9YP/zWcD1ND+xEtvyuuvKzbxliTOIyvkSeSJ6ag==", "requires": { - "ansi-regex": "^2.0.0" + "chalk": "^2.4.1", + "source-map": "^0.6.1", + "supports-color": "^5.4.0" } }, "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", - "requires": { - "has-flag": "^1.0.0" - } - } - } - }, - "postcss-merge-longhand": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/postcss-merge-longhand/-/postcss-merge-longhand-2.0.2.tgz", - "integrity": "sha1-I9kM0Sewp3mUkVMyc5A0oaTz1lg=", - "requires": { - "postcss": "^5.0.4" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "http://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" - }, - "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "requires": { - "chalk": "^1.1.3", - "js-base64": "^2.1.9", - "source-map": "^0.5.6", - "supports-color": "^3.2.3" + "has-flag": "^3.0.0" } + } + } + }, + "postcss-media-minmax": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/postcss-media-minmax/-/postcss-media-minmax-3.0.0.tgz", + "integrity": "sha1-Z1JWA3pD70C8Twdgv9BtTcadSNI=", + "requires": { + "postcss": "^6.0.1" + } + }, + "postcss-merge-longhand": { + "version": "4.0.9", + "resolved": "https://registry.npmjs.org/postcss-merge-longhand/-/postcss-merge-longhand-4.0.9.tgz", + "integrity": "sha512-UVMXrXF5K/kIwUbK/crPFCytpWbNX2Q3dZSc8+nQUgfOHrCT4+MHncpdxVphUlQeZxlLXUJbDyXc5NBhTnS2tA==", + "requires": { + "css-color-names": "0.0.4", + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0", + "stylehacks": "^4.0.0" + }, + "dependencies": { + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "http://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "postcss": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.6.tgz", + "integrity": "sha512-Nq/rNjnHFcKgCDDZYO0lNsl6YWe6U7tTy+ESN+PnLxebL8uBtYX59HZqvrj7YLK5UCyll2hqDsJOo3ndzEW8Ug==", "requires": { - "ansi-regex": "^2.0.0" + "chalk": "^2.4.1", + "source-map": "^0.6.1", + "supports-color": "^5.5.0" } }, "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "requires": { - "has-flag": "^1.0.0" + "has-flag": "^3.0.0" } } } }, "postcss-merge-rules": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/postcss-merge-rules/-/postcss-merge-rules-2.1.2.tgz", - "integrity": "sha1-0d9d+qexrMO+VT8OnhDofGG19yE=", - "requires": { - "browserslist": "^1.5.2", - "caniuse-api": "^1.5.2", - "postcss": "^5.0.4", - "postcss-selector-parser": "^2.2.2", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/postcss-merge-rules/-/postcss-merge-rules-4.0.2.tgz", + "integrity": "sha512-UiuXwCCJtQy9tAIxsnurfF0mrNHKc4NnNx6NxqmzNNjXpQwLSukUxELHTRF0Rg1pAmcoKLih8PwvZbiordchag==", + "requires": { + "browserslist": "^4.0.0", + "caniuse-api": "^3.0.0", + "cssnano-util-same-parent": "^4.0.0", + "postcss": "^7.0.0", + "postcss-selector-parser": "^3.0.0", "vendors": "^1.0.0" }, "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "http://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "dot-prop": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-4.2.0.tgz", + "integrity": "sha512-tUMXrxlExSW6U2EXiiKGSBVdYgtV8qlHL+C10TsW4PURY/ic+eaysnSkwB4kA/mBlCyy/IKDJ+Lc3wbWeaXtuQ==", "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } + "is-obj": "^1.0.0" } }, "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.6.tgz", + "integrity": "sha512-Nq/rNjnHFcKgCDDZYO0lNsl6YWe6U7tTy+ESN+PnLxebL8uBtYX59HZqvrj7YLK5UCyll2hqDsJOo3ndzEW8Ug==", "requires": { - "chalk": "^1.1.3", - "js-base64": "^2.1.9", - "source-map": "^0.5.6", - "supports-color": "^3.2.3" + "chalk": "^2.4.1", + "source-map": "^0.6.1", + "supports-color": "^5.5.0" } }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "http://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "postcss-selector-parser": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-3.1.1.tgz", + "integrity": "sha1-T4dfSvsMllc9XPTXQBGu4lCn6GU=", "requires": { - "ansi-regex": "^2.0.0" + "dot-prop": "^4.1.1", + "indexes-of": "^1.0.1", + "uniq": "^1.0.1" } }, "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "requires": { - "has-flag": "^1.0.0" + "has-flag": "^3.0.0" } } } @@ -10312,294 +9794,163 @@ "integrity": "sha1-pPL0+rbk/gAvCu0ABHjN9S+bpg4=" }, "postcss-minify-font-values": { - "version": "1.0.5", - "resolved": "http://registry.npmjs.org/postcss-minify-font-values/-/postcss-minify-font-values-1.0.5.tgz", - "integrity": "sha1-S1jttWZB66fIR0qzUmyv17vey2k=", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/postcss-minify-font-values/-/postcss-minify-font-values-4.0.2.tgz", + "integrity": "sha512-j85oO6OnRU9zPf04+PZv1LYIYOprWm6IA6zkXkrJXyRveDEuQggG6tvoy8ir8ZwjLxLuGfNkCZEQG7zan+Hbtg==", "requires": { - "object-assign": "^4.0.1", - "postcss": "^5.0.4", - "postcss-value-parser": "^3.0.2" + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0" }, "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "http://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "^1.1.3", - "js-base64": "^2.1.9", - "source-map": "^0.5.6", - "supports-color": "^3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "http://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.6.tgz", + "integrity": "sha512-Nq/rNjnHFcKgCDDZYO0lNsl6YWe6U7tTy+ESN+PnLxebL8uBtYX59HZqvrj7YLK5UCyll2hqDsJOo3ndzEW8Ug==", "requires": { - "ansi-regex": "^2.0.0" + "chalk": "^2.4.1", + "source-map": "^0.6.1", + "supports-color": "^5.5.0" } }, "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "requires": { - "has-flag": "^1.0.0" + "has-flag": "^3.0.0" } } } }, "postcss-minify-gradients": { - "version": "1.0.5", - "resolved": "http://registry.npmjs.org/postcss-minify-gradients/-/postcss-minify-gradients-1.0.5.tgz", - "integrity": "sha1-Xb2hE3NwP4PPtKPqOIHY11/15uE=", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-minify-gradients/-/postcss-minify-gradients-4.0.1.tgz", + "integrity": "sha512-pySEW3E6Ly5mHm18rekbWiAjVi/Wj8KKt2vwSfVFAWdW6wOIekgqxKxLU7vJfb107o3FDNPkaYFCxGAJBFyogA==", "requires": { - "postcss": "^5.0.12", - "postcss-value-parser": "^3.3.0" + "cssnano-util-get-arguments": "^4.0.0", + "is-color-stop": "^1.0.0", + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0" }, "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "http://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "^1.1.3", - "js-base64": "^2.1.9", - "source-map": "^0.5.6", - "supports-color": "^3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "http://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.6.tgz", + "integrity": "sha512-Nq/rNjnHFcKgCDDZYO0lNsl6YWe6U7tTy+ESN+PnLxebL8uBtYX59HZqvrj7YLK5UCyll2hqDsJOo3ndzEW8Ug==", "requires": { - "ansi-regex": "^2.0.0" + "chalk": "^2.4.1", + "source-map": "^0.6.1", + "supports-color": "^5.5.0" } }, "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "requires": { - "has-flag": "^1.0.0" + "has-flag": "^3.0.0" } } } }, "postcss-minify-params": { - "version": "1.2.2", - "resolved": "http://registry.npmjs.org/postcss-minify-params/-/postcss-minify-params-1.2.2.tgz", - "integrity": "sha1-rSzgcTc7lDs9kwo/pZo1jCjW8fM=", - "requires": { - "alphanum-sort": "^1.0.1", - "postcss": "^5.0.2", - "postcss-value-parser": "^3.0.2", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-minify-params/-/postcss-minify-params-4.0.1.tgz", + "integrity": "sha512-h4W0FEMEzBLxpxIVelRtMheskOKKp52ND6rJv+nBS33G1twu2tCyurYj/YtgU76+UDCvWeNs0hs8HFAWE2OUFg==", + "requires": { + "alphanum-sort": "^1.0.0", + "browserslist": "^4.0.0", + "cssnano-util-get-arguments": "^4.0.0", + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0", "uniqs": "^2.0.0" }, "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "http://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" - }, - "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "^1.1.3", - "js-base64": "^2.1.9", - "source-map": "^0.5.6", - "supports-color": "^3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "http://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "postcss": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.6.tgz", + "integrity": "sha512-Nq/rNjnHFcKgCDDZYO0lNsl6YWe6U7tTy+ESN+PnLxebL8uBtYX59HZqvrj7YLK5UCyll2hqDsJOo3ndzEW8Ug==", "requires": { - "ansi-regex": "^2.0.0" + "chalk": "^2.4.1", + "source-map": "^0.6.1", + "supports-color": "^5.5.0" } }, "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "requires": { - "has-flag": "^1.0.0" + "has-flag": "^3.0.0" } } } }, "postcss-minify-selectors": { - "version": "2.1.1", - "resolved": "http://registry.npmjs.org/postcss-minify-selectors/-/postcss-minify-selectors-2.1.1.tgz", - "integrity": "sha1-ssapjAByz5G5MtGkllCBFDEXNb8=", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-minify-selectors/-/postcss-minify-selectors-4.0.1.tgz", + "integrity": "sha512-8+plQkomve3G+CodLCgbhAKrb5lekAnLYuL1d7Nz+/7RANpBEVdgBkPNwljfSKvZ9xkkZTZITd04KP+zeJTJqg==", "requires": { - "alphanum-sort": "^1.0.2", - "has": "^1.0.1", - "postcss": "^5.0.14", - "postcss-selector-parser": "^2.0.0" + "alphanum-sort": "^1.0.0", + "has": "^1.0.0", + "postcss": "^7.0.0", + "postcss-selector-parser": "^3.0.0" }, "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "http://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "dot-prop": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-4.2.0.tgz", + "integrity": "sha512-tUMXrxlExSW6U2EXiiKGSBVdYgtV8qlHL+C10TsW4PURY/ic+eaysnSkwB4kA/mBlCyy/IKDJ+Lc3wbWeaXtuQ==", "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } + "is-obj": "^1.0.0" } }, "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.6.tgz", + "integrity": "sha512-Nq/rNjnHFcKgCDDZYO0lNsl6YWe6U7tTy+ESN+PnLxebL8uBtYX59HZqvrj7YLK5UCyll2hqDsJOo3ndzEW8Ug==", "requires": { - "chalk": "^1.1.3", - "js-base64": "^2.1.9", - "source-map": "^0.5.6", - "supports-color": "^3.2.3" + "chalk": "^2.4.1", + "source-map": "^0.6.1", + "supports-color": "^5.5.0" } }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "http://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "postcss-selector-parser": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-3.1.1.tgz", + "integrity": "sha1-T4dfSvsMllc9XPTXQBGu4lCn6GU=", "requires": { - "ansi-regex": "^2.0.0" + "dot-prop": "^4.1.1", + "indexes-of": "^1.0.1", + "uniq": "^1.0.1" } }, "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "requires": { - "has-flag": "^1.0.0" + "has-flag": "^3.0.0" } } } @@ -10673,218 +10024,351 @@ } }, "postcss-normalize-charset": { - "version": "1.1.1", - "resolved": "http://registry.npmjs.org/postcss-normalize-charset/-/postcss-normalize-charset-1.1.1.tgz", - "integrity": "sha1-757nEhLX/nWceO0WL2HtYrXLk/E=", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-normalize-charset/-/postcss-normalize-charset-4.0.1.tgz", + "integrity": "sha512-gMXCrrlWh6G27U0hF3vNvR3w8I1s2wOBILvA87iNXaPvSNo5uZAMYsZG7XjCUf1eVxuPfyL4TJ7++SGZLc9A3g==", "requires": { - "postcss": "^5.0.5" + "postcss": "^7.0.0" }, "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, - "chalk": { - "version": "1.1.3", - "resolved": "http://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "postcss": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.6.tgz", + "integrity": "sha512-Nq/rNjnHFcKgCDDZYO0lNsl6YWe6U7tTy+ESN+PnLxebL8uBtYX59HZqvrj7YLK5UCyll2hqDsJOo3ndzEW8Ug==", "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } + "chalk": "^2.4.1", + "source-map": "^0.6.1", + "supports-color": "^5.5.0" } }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "postcss-normalize-display-values": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-normalize-display-values/-/postcss-normalize-display-values-4.0.1.tgz", + "integrity": "sha512-R5mC4vaDdvsrku96yXP7zak+O3Mm9Y8IslUobk7IMP+u/g+lXvcN4jngmHY5zeJnrQvE13dfAg5ViU05ZFDwdg==", + "requires": { + "cssnano-util-get-match": "^4.0.0", + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0" + }, + "dependencies": { "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.6.tgz", + "integrity": "sha512-Nq/rNjnHFcKgCDDZYO0lNsl6YWe6U7tTy+ESN+PnLxebL8uBtYX59HZqvrj7YLK5UCyll2hqDsJOo3ndzEW8Ug==", "requires": { - "chalk": "^1.1.3", - "js-base64": "^2.1.9", - "source-map": "^0.5.6", - "supports-color": "^3.2.3" + "chalk": "^2.4.1", + "source-map": "^0.6.1", + "supports-color": "^5.5.0" } }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "postcss-normalize-positions": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-normalize-positions/-/postcss-normalize-positions-4.0.1.tgz", + "integrity": "sha512-GNoOaLRBM0gvH+ZRb2vKCIujzz4aclli64MBwDuYGU2EY53LwiP7MxOZGE46UGtotrSnmarPPZ69l2S/uxdaWA==", + "requires": { + "cssnano-util-get-arguments": "^4.0.0", + "has": "^1.0.0", + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0" + }, + "dependencies": { + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "http://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "postcss": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.6.tgz", + "integrity": "sha512-Nq/rNjnHFcKgCDDZYO0lNsl6YWe6U7tTy+ESN+PnLxebL8uBtYX59HZqvrj7YLK5UCyll2hqDsJOo3ndzEW8Ug==", "requires": { - "ansi-regex": "^2.0.0" + "chalk": "^2.4.1", + "source-map": "^0.6.1", + "supports-color": "^5.5.0" } }, "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "postcss-normalize-repeat-style": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-normalize-repeat-style/-/postcss-normalize-repeat-style-4.0.1.tgz", + "integrity": "sha512-fFHPGIjBUyUiswY2rd9rsFcC0t3oRta4wxE1h3lpwfQZwFeFjXFSiDtdJ7APCmHQOnUZnqYBADNRPKPwFAONgA==", + "requires": { + "cssnano-util-get-arguments": "^4.0.0", + "cssnano-util-get-match": "^4.0.0", + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0" + }, + "dependencies": { + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "postcss": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.6.tgz", + "integrity": "sha512-Nq/rNjnHFcKgCDDZYO0lNsl6YWe6U7tTy+ESN+PnLxebL8uBtYX59HZqvrj7YLK5UCyll2hqDsJOo3ndzEW8Ug==", + "requires": { + "chalk": "^2.4.1", + "source-map": "^0.6.1", + "supports-color": "^5.5.0" + } + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "postcss-normalize-string": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-normalize-string/-/postcss-normalize-string-4.0.1.tgz", + "integrity": "sha512-IJoexFTkAvAq5UZVxWXAGE0yLoNN/012v7TQh5nDo6imZJl2Fwgbhy3J2qnIoaDBrtUP0H7JrXlX1jjn2YcvCQ==", + "requires": { + "has": "^1.0.0", + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0" + }, + "dependencies": { + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "postcss": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.6.tgz", + "integrity": "sha512-Nq/rNjnHFcKgCDDZYO0lNsl6YWe6U7tTy+ESN+PnLxebL8uBtYX59HZqvrj7YLK5UCyll2hqDsJOo3ndzEW8Ug==", + "requires": { + "chalk": "^2.4.1", + "source-map": "^0.6.1", + "supports-color": "^5.5.0" + } + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "postcss-normalize-timing-functions": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-normalize-timing-functions/-/postcss-normalize-timing-functions-4.0.1.tgz", + "integrity": "sha512-1nOtk7ze36+63ONWD8RCaRDYsnzorrj+Q6fxkQV+mlY5+471Qx9kspqv0O/qQNMeApg8KNrRf496zHwJ3tBZ7w==", + "requires": { + "cssnano-util-get-match": "^4.0.0", + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0" + }, + "dependencies": { + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "postcss": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.6.tgz", + "integrity": "sha512-Nq/rNjnHFcKgCDDZYO0lNsl6YWe6U7tTy+ESN+PnLxebL8uBtYX59HZqvrj7YLK5UCyll2hqDsJOo3ndzEW8Ug==", + "requires": { + "chalk": "^2.4.1", + "source-map": "^0.6.1", + "supports-color": "^5.5.0" + } + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "postcss-normalize-unicode": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-normalize-unicode/-/postcss-normalize-unicode-4.0.1.tgz", + "integrity": "sha512-od18Uq2wCYn+vZ/qCOeutvHjB5jm57ToxRaMeNuf0nWVHaP9Hua56QyMF6fs/4FSUnVIw0CBPsU0K4LnBPwYwg==", + "requires": { + "browserslist": "^4.0.0", + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0" + }, + "dependencies": { + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "postcss": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.6.tgz", + "integrity": "sha512-Nq/rNjnHFcKgCDDZYO0lNsl6YWe6U7tTy+ESN+PnLxebL8uBtYX59HZqvrj7YLK5UCyll2hqDsJOo3ndzEW8Ug==", + "requires": { + "chalk": "^2.4.1", + "source-map": "^0.6.1", + "supports-color": "^5.5.0" + } + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "requires": { - "has-flag": "^1.0.0" + "has-flag": "^3.0.0" } } } }, "postcss-normalize-url": { - "version": "3.0.8", - "resolved": "http://registry.npmjs.org/postcss-normalize-url/-/postcss-normalize-url-3.0.8.tgz", - "integrity": "sha1-EI90s/L82viRov+j6kWSJ5/HgiI=", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-normalize-url/-/postcss-normalize-url-4.0.1.tgz", + "integrity": "sha512-p5oVaF4+IHwu7VpMan/SSpmpYxcJMtkGppYf0VbdH5B6hN8YNmVyJLuY9FmLQTzY3fag5ESUUHDqM+heid0UVA==", "requires": { "is-absolute-url": "^2.0.0", - "normalize-url": "^1.4.0", - "postcss": "^5.0.14", - "postcss-value-parser": "^3.2.3" + "normalize-url": "^3.0.0", + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0" }, "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "http://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.6.tgz", + "integrity": "sha512-Nq/rNjnHFcKgCDDZYO0lNsl6YWe6U7tTy+ESN+PnLxebL8uBtYX59HZqvrj7YLK5UCyll2hqDsJOo3ndzEW8Ug==", "requires": { - "chalk": "^1.1.3", - "js-base64": "^2.1.9", - "source-map": "^0.5.6", - "supports-color": "^3.2.3" + "chalk": "^2.4.1", + "source-map": "^0.6.1", + "supports-color": "^5.5.0" } }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "postcss-normalize-whitespace": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-normalize-whitespace/-/postcss-normalize-whitespace-4.0.1.tgz", + "integrity": "sha512-U8MBODMB2L+nStzOk6VvWWjZgi5kQNShCyjRhMT3s+W9Jw93yIjOnrEkKYD3Ul7ChWbEcjDWmXq0qOL9MIAnAw==", + "requires": { + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0" + }, + "dependencies": { + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "http://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "postcss": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.6.tgz", + "integrity": "sha512-Nq/rNjnHFcKgCDDZYO0lNsl6YWe6U7tTy+ESN+PnLxebL8uBtYX59HZqvrj7YLK5UCyll2hqDsJOo3ndzEW8Ug==", "requires": { - "ansi-regex": "^2.0.0" + "chalk": "^2.4.1", + "source-map": "^0.6.1", + "supports-color": "^5.5.0" } }, "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "requires": { - "has-flag": "^1.0.0" + "has-flag": "^3.0.0" } } } }, "postcss-ordered-values": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/postcss-ordered-values/-/postcss-ordered-values-2.2.3.tgz", - "integrity": "sha1-7sbCpntsQSqNsgQud/6NpD+VwR0=", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/postcss-ordered-values/-/postcss-ordered-values-4.1.1.tgz", + "integrity": "sha512-PeJiLgJWPzkVF8JuKSBcylaU+hDJ/TX3zqAMIjlghgn1JBi6QwQaDZoDIlqWRcCAI8SxKrt3FCPSRmOgKRB97Q==", "requires": { - "postcss": "^5.0.4", - "postcss-value-parser": "^3.0.1" + "cssnano-util-get-arguments": "^4.0.0", + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0" }, "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "http://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "^1.1.3", - "js-base64": "^2.1.9", - "source-map": "^0.5.6", - "supports-color": "^3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "http://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.6.tgz", + "integrity": "sha512-Nq/rNjnHFcKgCDDZYO0lNsl6YWe6U7tTy+ESN+PnLxebL8uBtYX59HZqvrj7YLK5UCyll2hqDsJOo3ndzEW8Ug==", "requires": { - "ansi-regex": "^2.0.0" + "chalk": "^2.4.1", + "source-map": "^0.6.1", + "supports-color": "^5.5.0" } }, "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "requires": { - "has-flag": "^1.0.0" + "has-flag": "^3.0.0" } } } @@ -11029,19 +10513,6 @@ "postcss-selector-not": "^3.0.1" }, "dependencies": { - "autoprefixer": { - "version": "8.6.5", - "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-8.6.5.tgz", - "integrity": "sha512-PLWJN3Xo/rycNkx+mp8iBDMTm3FeWe4VmYaZDSqL5QQB9sLsQkG5k8n+LNDFnhh9kdq2K+egL/icpctOmDHwig==", - "requires": { - "browserslist": "^3.2.8", - "caniuse-lite": "^1.0.30000864", - "normalize-range": "^0.1.2", - "num2fraction": "^1.2.2", - "postcss": "^6.0.23", - "postcss-value-parser": "^3.2.3" - } - }, "browserslist": { "version": "3.2.8", "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-3.2.8.tgz", @@ -11116,227 +10587,83 @@ } }, "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "postcss-reduce-idents": { - "version": "2.4.0", - "resolved": "http://registry.npmjs.org/postcss-reduce-idents/-/postcss-reduce-idents-2.4.0.tgz", - "integrity": "sha1-wsbSDMlYKE9qv75j92Cb9AkFmtM=", - "requires": { - "postcss": "^5.0.4", - "postcss-value-parser": "^3.0.2" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "http://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" - }, - "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "^1.1.3", - "js-base64": "^2.1.9", - "source-map": "^0.5.6", - "supports-color": "^3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "http://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", - "requires": { - "ansi-regex": "^2.0.0" - } - }, - "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", - "requires": { - "has-flag": "^1.0.0" - } - } - } - }, - "postcss-reduce-initial": { - "version": "1.0.1", - "resolved": "http://registry.npmjs.org/postcss-reduce-initial/-/postcss-reduce-initial-1.0.1.tgz", - "integrity": "sha1-aPgGlfBF0IJjqHmtJA343WT2ROo=", - "requires": { - "postcss": "^5.0.4" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "http://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" - }, - "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "^1.1.3", - "js-base64": "^2.1.9", - "source-map": "^0.5.6", - "supports-color": "^3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "http://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", - "requires": { - "ansi-regex": "^2.0.0" - } - }, - "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "requires": { - "has-flag": "^1.0.0" + "has-flag": "^3.0.0" } } } }, - "postcss-reduce-transforms": { - "version": "1.0.4", - "resolved": "http://registry.npmjs.org/postcss-reduce-transforms/-/postcss-reduce-transforms-1.0.4.tgz", - "integrity": "sha1-/3b02CEkN7McKYpC0uFEQCV3GuE=", + "postcss-reduce-initial": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/postcss-reduce-initial/-/postcss-reduce-initial-4.0.2.tgz", + "integrity": "sha512-epUiC39NonKUKG+P3eAOKKZtm5OtAtQJL7Ye0CBN1f+UQTHzqotudp+hki7zxXm7tT0ZAKDMBj1uihpPjP25ug==", "requires": { - "has": "^1.0.1", - "postcss": "^5.0.8", - "postcss-value-parser": "^3.0.1" + "browserslist": "^4.0.0", + "caniuse-api": "^3.0.0", + "has": "^1.0.0", + "postcss": "^7.0.0" }, "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "http://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.6.tgz", + "integrity": "sha512-Nq/rNjnHFcKgCDDZYO0lNsl6YWe6U7tTy+ESN+PnLxebL8uBtYX59HZqvrj7YLK5UCyll2hqDsJOo3ndzEW8Ug==", "requires": { - "chalk": "^1.1.3", - "js-base64": "^2.1.9", - "source-map": "^0.5.6", - "supports-color": "^3.2.3" + "chalk": "^2.4.1", + "source-map": "^0.6.1", + "supports-color": "^5.5.0" } }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "postcss-reduce-transforms": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-reduce-transforms/-/postcss-reduce-transforms-4.0.1.tgz", + "integrity": "sha512-sZVr3QlGs0pjh6JAIe6DzWvBaqYw05V1t3d9Tp+VnFRT5j+rsqoWsysh/iSD7YNsULjq9IAylCznIwVd5oU/zA==", + "requires": { + "cssnano-util-get-match": "^4.0.0", + "has": "^1.0.0", + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0" + }, + "dependencies": { + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "http://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "postcss": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.6.tgz", + "integrity": "sha512-Nq/rNjnHFcKgCDDZYO0lNsl6YWe6U7tTy+ESN+PnLxebL8uBtYX59HZqvrj7YLK5UCyll2hqDsJOo3ndzEW8Ug==", "requires": { - "ansi-regex": "^2.0.0" + "chalk": "^2.4.1", + "source-map": "^0.6.1", + "supports-color": "^5.5.0" } }, "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "requires": { - "has-flag": "^1.0.0" + "has-flag": "^3.0.0" } } } @@ -11382,254 +10709,107 @@ } }, "postcss-selector-parser": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-2.2.3.tgz", - "integrity": "sha1-+UN3iGBsPJrO4W/+jYsWKX8nu5A=", + "version": "5.0.0-rc.4", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-5.0.0-rc.4.tgz", + "integrity": "sha512-0XvfYuShrKlTk1ooUrVzMCFQRcypsdEIsGqh5IxC5rdtBi4/M/tDAJeSONwC2MTqEFsmPZYAV7Dd4X8rgAfV0A==", "requires": { - "flatten": "^1.0.2", + "cssesc": "^2.0.0", "indexes-of": "^1.0.1", "uniq": "^1.0.1" - } - }, - "postcss-svgo": { - "version": "2.1.6", - "resolved": "http://registry.npmjs.org/postcss-svgo/-/postcss-svgo-2.1.6.tgz", - "integrity": "sha1-tt8YqmE7Zm4TPwittSGcJoSsEI0=", - "requires": { - "is-svg": "^2.0.0", - "postcss": "^5.0.14", - "postcss-value-parser": "^3.2.3", - "svgo": "^0.7.0" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "http://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" - }, - "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "^1.1.3", - "js-base64": "^2.1.9", - "source-map": "^0.5.6", - "supports-color": "^3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "http://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", - "requires": { - "ansi-regex": "^2.0.0" - } - }, - "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", - "requires": { - "has-flag": "^1.0.0" - } - } - } - }, - "postcss-unique-selectors": { - "version": "2.0.2", - "resolved": "http://registry.npmjs.org/postcss-unique-selectors/-/postcss-unique-selectors-2.0.2.tgz", - "integrity": "sha1-mB1X0p3csz57Hf4f1DuGSfkzyh0=", - "requires": { - "alphanum-sort": "^1.0.1", - "postcss": "^5.0.4", - "uniqs": "^2.0.0" }, "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "http://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" - }, - "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "^1.1.3", - "js-base64": "^2.1.9", - "source-map": "^0.5.6", - "supports-color": "^3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "http://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", - "requires": { - "ansi-regex": "^2.0.0" - } - }, - "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", - "requires": { - "has-flag": "^1.0.0" - } + "cssesc": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-2.0.0.tgz", + "integrity": "sha512-MsCAG1z9lPdoO/IUMLSBWBSVxVtJ1395VGIQ+Fc2gNdkQ1hNDnQdw3YhA71WJCBW1vdwA0cAnk/DnW6bqoEUYg==" } } }, - "postcss-value-parser": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", - "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==" - }, - "postcss-values-parser": { - "version": "1.5.0", - "resolved": "http://registry.npmjs.org/postcss-values-parser/-/postcss-values-parser-1.5.0.tgz", - "integrity": "sha512-3M3p+2gMp0AH3da530TlX8kiO1nxdTnc3C6vr8dMxRLIlh8UYkz0/wcwptSXjhtx2Fr0TySI7a+BHDQ8NL7LaQ==", - "requires": { - "flatten": "^1.0.2", - "indexes-of": "^1.0.1", - "uniq": "^1.0.1" - } - }, - "postcss-zindex": { - "version": "2.2.0", - "resolved": "http://registry.npmjs.org/postcss-zindex/-/postcss-zindex-2.2.0.tgz", - "integrity": "sha1-0hCd3AVbka9n/EyzsCWUZjnSryI=", + "postcss-svgo": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-svgo/-/postcss-svgo-4.0.1.tgz", + "integrity": "sha512-YD5uIk5NDRySy0hcI+ZJHwqemv2WiqqzDgtvgMzO8EGSkK5aONyX8HMVFRFJSdO8wUWTuisUFn/d7yRRbBr5Qw==", "requires": { - "has": "^1.0.1", - "postcss": "^5.0.4", - "uniqs": "^2.0.0" + "is-svg": "^3.0.0", + "postcss": "^7.0.0", + "postcss-value-parser": "^3.0.0", + "svgo": "^1.0.0" }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "http://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" + "dependencies": { + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.6.tgz", + "integrity": "sha512-Nq/rNjnHFcKgCDDZYO0lNsl6YWe6U7tTy+ESN+PnLxebL8uBtYX59HZqvrj7YLK5UCyll2hqDsJOo3ndzEW8Ug==", "requires": { - "chalk": "^1.1.3", - "js-base64": "^2.1.9", - "source-map": "^0.5.6", - "supports-color": "^3.2.3" + "chalk": "^2.4.1", + "source-map": "^0.6.1", + "supports-color": "^5.5.0" } }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "postcss-unique-selectors": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-unique-selectors/-/postcss-unique-selectors-4.0.1.tgz", + "integrity": "sha512-+JanVaryLo9QwZjKrmJgkI4Fn8SBgRO6WXQBJi7KiAVPlmxikB5Jzc4EvXMT2H0/m0RjrVVm9rGNhZddm/8Spg==", + "requires": { + "alphanum-sort": "^1.0.0", + "postcss": "^7.0.0", + "uniqs": "^2.0.0" + }, + "dependencies": { + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "http://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "postcss": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.6.tgz", + "integrity": "sha512-Nq/rNjnHFcKgCDDZYO0lNsl6YWe6U7tTy+ESN+PnLxebL8uBtYX59HZqvrj7YLK5UCyll2hqDsJOo3ndzEW8Ug==", "requires": { - "ansi-regex": "^2.0.0" + "chalk": "^2.4.1", + "source-map": "^0.6.1", + "supports-color": "^5.5.0" } }, "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "requires": { - "has-flag": "^1.0.0" + "has-flag": "^3.0.0" } } } }, - "prelude-ls": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", - "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=" + "postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==" + }, + "postcss-values-parser": { + "version": "1.5.0", + "resolved": "http://registry.npmjs.org/postcss-values-parser/-/postcss-values-parser-1.5.0.tgz", + "integrity": "sha512-3M3p+2gMp0AH3da530TlX8kiO1nxdTnc3C6vr8dMxRLIlh8UYkz0/wcwptSXjhtx2Fr0TySI7a+BHDQ8NL7LaQ==", + "requires": { + "flatten": "^1.0.2", + "indexes-of": "^1.0.1", + "uniq": "^1.0.1" + } }, "prepend-http": { "version": "1.0.4", @@ -11649,7 +10829,7 @@ }, "pretty-bytes": { "version": "4.0.2", - "resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-4.0.2.tgz", + "resolved": "http://registry.npmjs.org/pretty-bytes/-/pretty-bytes-4.0.2.tgz", "integrity": "sha1-sr+C5zUNZcbDOqlaqlpPYyf2HNk=" }, "pretty-error": { @@ -11694,6 +10874,11 @@ "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz", "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==" }, + "progress": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.1.tgz", + "integrity": "sha512-OE+a6vzqazc+K6LxJrX5UPyKFvGnL5CYmq2jFGNIBWHpc4QyE49/YOumcrpQFJpfejmvRtbJzgO1zPmMCqlbBg==" + }, "promise-inflight": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz", @@ -11718,20 +10903,16 @@ "ipaddr.js": "1.8.0" } }, + "proxy-from-env": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.0.0.tgz", + "integrity": "sha1-M8UDmPcOp+uW0h97gXYwpVeRx+4=" + }, "prr": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz", "integrity": "sha1-0/wRS6BplaRexok/SEzrHXj19HY=" }, - "ps-tree": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/ps-tree/-/ps-tree-1.1.0.tgz", - "integrity": "sha1-tCGyQUDWID8e08dplrRCewjowBQ=", - "dev": true, - "requires": { - "event-stream": "~3.3.0" - } - }, "pseudomap": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", @@ -11740,7 +10921,8 @@ "psl": { "version": "1.1.29", "resolved": "https://registry.npmjs.org/psl/-/psl-1.1.29.tgz", - "integrity": "sha512-AeUmQ0oLN02flVHXWh9sSJF7mcdFq0ppid/JkErufc3hGIV/AMa8Fo9VgDo/cT2jFdOWoFvHp90qqBH54W+gjQ==" + "integrity": "sha512-AeUmQ0oLN02flVHXWh9sSJF7mcdFq0ppid/JkErufc3hGIV/AMa8Fo9VgDo/cT2jFdOWoFvHp90qqBH54W+gjQ==", + "dev": true }, "public-encrypt": { "version": "4.0.3", @@ -11753,13 +10935,6 @@ "parse-asn1": "^5.0.0", "randombytes": "^2.0.1", "safe-buffer": "^5.1.2" - }, - "dependencies": { - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - } } }, "pump": { @@ -11782,9 +10957,44 @@ } }, "punycode": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", - "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=" + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==" + }, + "puppeteer": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-1.10.0.tgz", + "integrity": "sha512-3i28X/ucX8t3eL4TZA60FLMOQNKqudFSOGDHr0cT7T4dE027CrcS885aAqjdxNybhMPliM5yImNsKJ6SQrPzhw==", + "requires": { + "debug": "^3.1.0", + "extract-zip": "^1.6.6", + "https-proxy-agent": "^2.2.1", + "mime": "^2.0.3", + "progress": "^2.0.0", + "proxy-from-env": "^1.0.0", + "rimraf": "^2.6.1", + "ws": "^5.1.1" + }, + "dependencies": { + "debug": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", + "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", + "requires": { + "ms": "^2.1.1" + } + }, + "mime": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-2.4.0.tgz", + "integrity": "sha512-ikBcWwyqXQSHKtciCcctu9YfPbFYZ4+gbHEmE0Q8jzcTYQg5dHCr3g2wwAZjPoJfQVXZq6KXAjpXOTf5/cjT7w==" + }, + "ms": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", + "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==" + } + } }, "q": { "version": "1.5.1", @@ -11796,15 +11006,6 @@ "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.1.tgz", "integrity": "sha512-eRzhrN1WSINYCDCbrz796z37LOe3m5tmW7RQf6oBntukAG1nmovJvhnwHHRMAfeoItc1m2Hk02WER2aQ/iqs+A==" }, - "query-string": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/query-string/-/query-string-4.3.4.tgz", - "integrity": "sha1-u7aTucqRXCMlFbIosaArYJBD2+s=", - "requires": { - "object-assign": "^4.1.0", - "strict-uri-encode": "^1.0.0" - } - }, "querystring": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", @@ -11816,9 +11017,9 @@ "integrity": "sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM=" }, "randomatic": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/randomatic/-/randomatic-3.1.0.tgz", - "integrity": "sha512-KnGPVE0lo2WoXxIZ7cPR8YBpiol4gsSuOwDSg410oHh80ZMp5EiypNqL2K4Z77vJn6lB5rap7IkAmcUlalcnBQ==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/randomatic/-/randomatic-3.1.1.tgz", + "integrity": "sha512-TuDE5KxZ0J461RVjrJZCJc+J+zCkTb1MbH9AQUq68sMhOMcy9jLcb3BrZKgp9q9Ncltdg4QVqWrH02W2EFFVYw==", "requires": { "is-number": "^4.0.0", "kind-of": "^6.0.0", @@ -11829,11 +11030,6 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-4.0.0.tgz", "integrity": "sha512-rSklcAIlf1OmFdyAqbnWTLVelsQ58uvZ66S/ZyawjWqIviTWCjg2PzVGw8WUA+nNuPTqb4wgA+NszrJ+08LlgQ==" - }, - "kind-of": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", - "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==" } } }, @@ -11902,318 +11098,118 @@ "ini": "~1.3.0", "minimist": "^1.2.0", "strip-json-comments": "~2.0.1" - } - }, - "read-all-stream": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/read-all-stream/-/read-all-stream-3.1.0.tgz", - "integrity": "sha1-NcPhd/IHjveJ7kv6+kNzB06u9Po=", - "requires": { - "pinkie-promise": "^2.0.0", - "readable-stream": "^2.0.0" - } - }, - "read-cache": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz", - "integrity": "sha1-5mTvMRYRZsl1HNvo28+GtftY93Q=", - "requires": { - "pify": "^2.3.0" - } - }, - "read-pkg": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", - "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=", - "requires": { - "load-json-file": "^1.0.0", - "normalize-package-data": "^2.3.2", - "path-type": "^1.0.0" - } - }, - "read-pkg-up": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz", - "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=", - "requires": { - "find-up": "^1.0.0", - "read-pkg": "^1.0.0" - } - }, - "readable-stream": { - "version": "2.3.6", - "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", - "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "readdirp": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz", - "integrity": "sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==", - "requires": { - "graceful-fs": "^4.1.11", - "micromatch": "^3.1.10", - "readable-stream": "^2.0.2" }, - "dependencies": { - "arr-diff": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", - "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=" - }, - "array-unique": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", - "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=" - }, - "braces": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", - "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", - "requires": { - "arr-flatten": "^1.1.0", - "array-unique": "^0.3.2", - "extend-shallow": "^2.0.1", - "fill-range": "^4.0.0", - "isobject": "^3.0.1", - "repeat-element": "^1.1.2", - "snapdragon": "^0.8.1", - "snapdragon-node": "^2.0.1", - "split-string": "^3.0.2", - "to-regex": "^3.0.1" - }, - "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "requires": { - "is-extendable": "^0.1.0" - } - } - } - }, - "expand-brackets": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", - "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=", - "requires": { - "debug": "^2.3.3", - "define-property": "^0.2.5", - "extend-shallow": "^2.0.1", - "posix-character-classes": "^0.1.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" - }, - "dependencies": { - "define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "requires": { - "is-descriptor": "^0.1.0" - } - }, - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "requires": { - "is-extendable": "^0.1.0" - } - }, - "is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "requires": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" - } - }, - "kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==" - } - } - }, - "extglob": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", - "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", - "requires": { - "array-unique": "^0.3.2", - "define-property": "^1.0.0", - "expand-brackets": "^2.1.4", - "extend-shallow": "^2.0.1", - "fragment-cache": "^0.2.1", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" - }, - "dependencies": { - "define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", - "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", - "requires": { - "is-descriptor": "^1.0.0" - } - }, - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "requires": { - "is-extendable": "^0.1.0" - } - } - } - }, - "fill-range": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", - "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", - "requires": { - "extend-shallow": "^2.0.1", - "is-number": "^3.0.0", - "repeat-string": "^1.6.1", - "to-regex-range": "^2.1.0" - }, - "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "requires": { - "is-extendable": "^0.1.0" - } - } - } - }, - "is-accessor-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", - "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", - "requires": { - "kind-of": "^6.0.0" - } - }, - "is-data-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", - "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", - "requires": { - "kind-of": "^6.0.0" - } - }, - "is-descriptor": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", - "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dependencies": { + "minimist": { + "version": "1.2.0", + "resolved": "http://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=" + } + } + }, + "read-all-stream": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/read-all-stream/-/read-all-stream-3.1.0.tgz", + "integrity": "sha1-NcPhd/IHjveJ7kv6+kNzB06u9Po=", + "requires": { + "pinkie-promise": "^2.0.0", + "readable-stream": "^2.0.0" + } + }, + "read-cache": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz", + "integrity": "sha1-5mTvMRYRZsl1HNvo28+GtftY93Q=", + "requires": { + "pify": "^2.3.0" + }, + "dependencies": { + "pify": { + "version": "2.3.0", + "resolved": "http://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=" + } + } + }, + "read-pkg": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", + "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=", + "requires": { + "load-json-file": "^1.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^1.0.0" + }, + "dependencies": { + "path-type": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", + "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=", "requires": { - "is-accessor-descriptor": "^1.0.0", - "is-data-descriptor": "^1.0.0", - "kind-of": "^6.0.2" + "graceful-fs": "^4.1.2", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0" } }, - "is-number": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", - "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "pify": { + "version": "2.3.0", + "resolved": "http://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=" + } + } + }, + "read-pkg-up": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz", + "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=", + "requires": { + "find-up": "^1.0.0", + "read-pkg": "^1.0.0" + }, + "dependencies": { + "find-up": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz", + "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=", "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "requires": { - "is-buffer": "^1.1.5" - } - } + "path-exists": "^2.0.0", + "pinkie-promise": "^2.0.0" } }, - "isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=" - }, - "kind-of": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", - "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==" - }, - "micromatch": { - "version": "3.1.10", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", - "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", + "path-exists": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz", + "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=", "requires": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "braces": "^2.3.1", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "extglob": "^2.0.4", - "fragment-cache": "^0.2.1", - "kind-of": "^6.0.2", - "nanomatch": "^1.2.9", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.2" + "pinkie-promise": "^2.0.0" } } } }, + "readable-stream": { + "version": "2.3.6", + "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "readdirp": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz", + "integrity": "sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==", + "requires": { + "graceful-fs": "^4.1.11", + "micromatch": "^3.1.10", + "readable-stream": "^2.0.2" + } + }, "readline-sync": { "version": "1.4.9", "resolved": "https://registry.npmjs.org/readline-sync/-/readline-sync-1.4.9.tgz", @@ -12230,13 +11226,6 @@ "esprima": "~4.0.0", "private": "~0.1.5", "source-map": "~0.6.1" - }, - "dependencies": { - "esprima": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==" - } } }, "rechoir": { @@ -12257,38 +11246,6 @@ "strip-indent": "^1.0.1" } }, - "reduce-css-calc": { - "version": "1.3.0", - "resolved": "http://registry.npmjs.org/reduce-css-calc/-/reduce-css-calc-1.3.0.tgz", - "integrity": "sha1-dHyRTgSWFKTJz7umKYca0dKSdxY=", - "requires": { - "balanced-match": "^0.4.2", - "math-expression-evaluator": "^1.2.14", - "reduce-function-call": "^1.0.1" - }, - "dependencies": { - "balanced-match": { - "version": "0.4.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-0.4.2.tgz", - "integrity": "sha1-yz8+PHMtwPAe5wtAPzAuYddwmDg=" - } - } - }, - "reduce-function-call": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/reduce-function-call/-/reduce-function-call-1.0.2.tgz", - "integrity": "sha1-WiAL+S4ON3UXUv5FsKszD9S2vpk=", - "requires": { - "balanced-match": "^0.4.2" - }, - "dependencies": { - "balanced-match": { - "version": "0.4.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-0.4.2.tgz", - "integrity": "sha1-yz8+PHMtwPAe5wtAPzAuYddwmDg=" - } - } - }, "regenerate": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.0.tgz", @@ -12345,12 +11302,12 @@ }, "regjsgen": { "version": "0.2.0", - "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.2.0.tgz", + "resolved": "http://registry.npmjs.org/regjsgen/-/regjsgen-0.2.0.tgz", "integrity": "sha1-bAFq3qxVT3WCP+N6wFuS1aTtsfc=" }, "regjsparser": { "version": "0.1.5", - "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.1.5.tgz", + "resolved": "http://registry.npmjs.org/regjsparser/-/regjsparser-0.1.5.tgz", "integrity": "sha1-fuj4Tcb6eS0/0K4ijSS9lJ6tIFw=", "requires": { "jsesc": "~0.5.0" @@ -12358,7 +11315,7 @@ "dependencies": { "jsesc": { "version": "0.5.0", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", + "resolved": "http://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=" } } @@ -12417,6 +11374,7 @@ "version": "2.88.0", "resolved": "https://registry.npmjs.org/request/-/request-2.88.0.tgz", "integrity": "sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==", + "dev": true, "requires": { "aws-sign2": "~0.7.0", "aws4": "^1.8.0", @@ -12443,53 +11401,42 @@ "qs": { "version": "6.5.2", "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", - "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==" - }, - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==", + "dev": true }, "uuid": { "version": "3.3.2", "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz", - "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==" + "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==", + "dev": true } } }, - "request-promise-core": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/request-promise-core/-/request-promise-core-1.1.1.tgz", - "integrity": "sha1-Pu4AssWqgyOc+wTFcA2jb4HNCLY=", - "requires": { - "lodash": "^4.13.1" - } - }, - "request-promise-native": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/request-promise-native/-/request-promise-native-1.0.5.tgz", - "integrity": "sha1-UoF3D2jgyXGeUWP9P6tIIhX0/aU=", - "requires": { - "request-promise-core": "1.1.1", - "stealthy-require": "^1.1.0", - "tough-cookie": ">=2.3.3" - } - }, "require-directory": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=" }, "require-from-string": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-1.2.1.tgz", - "integrity": "sha1-UpyczvJzgK3+yaL5ZbZJu+5jZBg=" + "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==" }, "require-main-filename": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz", "integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=" }, + "requires-port": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", + "integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=" + }, + "resize-observer-polyfill": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/resize-observer-polyfill/-/resize-observer-polyfill-1.5.0.tgz", + "integrity": "sha512-M2AelyJDVR/oLnToJLtuDJRBBWUGUvvGigj1411hXhAdyFWqMaqHp7TixW3FpiLuVaikIcR1QL+zqoJoZlOgpg==" + }, "resolve": { "version": "1.8.1", "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.8.1.tgz", @@ -12498,6 +11445,11 @@ "path-parse": "^1.0.5" } }, + "resolve-from": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-3.0.0.tgz", + "integrity": "sha1-six699nWiBvItuZTM17rywoYh0g=" + }, "resolve-url": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", @@ -12523,13 +11475,15 @@ "integrity": "sha1-52OI0heZLCUnUCQdPTlW/tmNj/Q=", "dev": true }, - "right-align": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/right-align/-/right-align-0.1.3.tgz", - "integrity": "sha1-YTObci/mo1FWiSENJOFMlhSGE+8=", - "requires": { - "align-text": "^0.1.1" - } + "rgb-regex": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/rgb-regex/-/rgb-regex-1.0.1.tgz", + "integrity": "sha1-wODWiC3w4jviVKR16O3UGRX+rrE=" + }, + "rgba-regex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/rgba-regex/-/rgba-regex-1.0.0.tgz", + "integrity": "sha1-QzdOLiyglosO8VI0YLfXMP8i7rM=" }, "rimraf": { "version": "2.6.2", @@ -12590,13 +11544,13 @@ } }, "safe-buffer": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.1.tgz", - "integrity": "sha512-kKvNJn6Mm93gAczWVJg7wH+wGYWNrDHdWvpUmHyEsgCtIwwo3bqPtV4tR5tuPaUhTOo/kvhVwd8XwwOllGYkbg==" + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" }, "safe-regex": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", + "resolved": "http://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", "integrity": "sha1-QKNmnzsHfR6UPURinhV91IAjvy4=", "requires": { "ret": "~0.1.10" @@ -12605,7 +11559,8 @@ "safer-buffer": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "dev": true }, "samsam": { "version": "1.3.0", @@ -12619,11 +11574,13 @@ "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==" }, "schema-utils": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-0.3.0.tgz", - "integrity": "sha1-9YdyIs4+kx7a4DnxfrNxbnE3+M8=", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-1.0.0.tgz", + "integrity": "sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==", "requires": { - "ajv": "^5.0.0" + "ajv": "^6.1.0", + "ajv-errors": "^1.0.0", + "ajv-keywords": "^3.1.0" } }, "seek-bzip": { @@ -12679,6 +11636,11 @@ "statuses": "~1.3.1" } }, + "serialize-javascript": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-1.5.0.tgz", + "integrity": "sha512-Ga8c8NjAAp46Br4+0oZ2WxJCwIzwP60Gq1YPgU+39PiTVxyed/iKE/zyZI6+UlVYH5Q4PaQdHhcegIFPZTUfoQ==" + }, "serve-static": { "version": "1.13.1", "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.13.1.tgz", @@ -12780,6 +11742,14 @@ "es6-object-assign": "^1.0.3", "minimist": "^1.2.0", "shelljs": "^0.7.3" + }, + "dependencies": { + "minimist": { + "version": "1.2.0", + "resolved": "http://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", + "dev": true + } } }, "signal-exit": { @@ -12948,16 +11918,6 @@ "is-data-descriptor": "^1.0.0", "kind-of": "^6.0.2" } - }, - "isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=" - }, - "kind-of": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", - "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==" } } }, @@ -12967,12 +11927,22 @@ "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==", "requires": { "kind-of": "^3.2.0" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "requires": { + "is-buffer": "^1.1.5" + } + } } }, "socks": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/socks/-/socks-2.2.1.tgz", - "integrity": "sha512-0GabKw7n9mI46vcNrVfs0o6XzWzjVa3h6GaSo2UPxtWAROXUWavfJWh1M4PR5tnE0dcnQXZIDFP4yrAysLze/w==", + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/socks/-/socks-2.2.2.tgz", + "integrity": "sha512-g6wjBnnMOZpE0ym6e0uHSddz9p3a+WsBaaYQaBaSCJYvrC4IXykQR9MNGjLQf38e9iIIhp3b1/Zk8YZI3KGJ0Q==", "dev": true, "requires": { "ip": "^1.1.5", @@ -12989,14 +11959,6 @@ "socks": "~2.2.0" } }, - "sort-keys": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/sort-keys/-/sort-keys-1.1.2.tgz", - "integrity": "sha1-RBttTTRnmPG05J6JIK37oOVD+a0=", - "requires": { - "is-plain-obj": "^1.0.0" - } - }, "source-list-map": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-2.0.1.tgz", @@ -13035,7 +11997,7 @@ }, "source-map": { "version": "0.1.43", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.1.43.tgz", + "resolved": "http://registry.npmjs.org/source-map/-/source-map-0.1.43.tgz", "integrity": "sha1-wkvBRspRfBRx9drL4lcbK3+eM0Y=", "requires": { "amdefine": ">=0.0.4" @@ -13055,6 +12017,15 @@ "urix": "^0.1.0" } }, + "source-map-support": { + "version": "0.5.9", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.9.tgz", + "integrity": "sha512-gR6Rw4MvUlYy83vP0vxoVNzM6t8MUXqNuRsuBmBHQDu1Fh6X015FrLdgoDKcNdkwGubozq0P4N0Q37UyFVr1EA==", + "requires": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, "source-map-url": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.0.tgz", @@ -13084,18 +12055,9 @@ } }, "spdx-license-ids": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.1.tgz", - "integrity": "sha512-TfOfPcYGBB5sDuPn3deByxPhmfegAhpDYKSOXZQN81Oyrrif8ZCodOLzK3AesELnCx03kikhyDwh0pfvvQvF8w==" - }, - "split": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/split/-/split-1.0.1.tgz", - "integrity": "sha512-mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg==", - "dev": true, - "requires": { - "through": "2" - } + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.2.tgz", + "integrity": "sha512-qky9CVt0lVIECkEsYbNILVnPvycuEBkXoMFLRWsREkomQLevYhtRKC+R91a5TOAQ3bCMjikRwhyaRqj1VYatYg==" }, "split-string": { "version": "3.1.0", @@ -13111,9 +12073,10 @@ "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=" }, "sshpk": { - "version": "1.15.1", - "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.15.1.tgz", - "integrity": "sha512-mSdgNUaidk+dRU5MhYtN9zebdzF2iG0cNPWy8HG+W8y+fT1JnSkh0fzzpjOa0L7P8i1Rscz38t0h4gPcKz43xA==", + "version": "1.15.2", + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.15.2.tgz", + "integrity": "sha512-Ra/OXQtuh0/enyl4ETZAfTaeksa6BXks5ZcjpSUNrjBr0DvrJKX+1fsKDPpT9TBXgHAFsa4510aNVgI8g/+SzA==", + "dev": true, "requires": { "asn1": "~0.2.3", "assert-plus": "^1.0.0", @@ -13134,14 +12097,20 @@ "safe-buffer": "^5.1.1" } }, + "stable": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/stable/-/stable-0.1.8.tgz", + "integrity": "sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w==" + }, "stack-trace": { "version": "0.0.10", "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz", - "integrity": "sha1-VHxws0fo0ytOEI6hoqFZ5f3eGcA=" + "integrity": "sha1-VHxws0fo0ytOEI6hoqFZ5f3eGcA=", + "dev": true }, "staged-git-files": { "version": "0.0.4", - "resolved": "https://registry.npmjs.org/staged-git-files/-/staged-git-files-0.0.4.tgz", + "resolved": "http://registry.npmjs.org/staged-git-files/-/staged-git-files-0.0.4.tgz", "integrity": "sha1-15fhtVHKemOd7AI33G60u5vhfTU=", "dev": true }, @@ -13169,30 +12138,15 @@ "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.3.1.tgz", "integrity": "sha1-+vUbnrdKrvOzrPStX2Gr8ky3uT4=" }, - "stealthy-require": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/stealthy-require/-/stealthy-require-1.1.1.tgz", - "integrity": "sha1-NbCYdbT/SfJqd35QmzCQoyJr8ks=" - }, "stream-browserify": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.1.tgz", + "resolved": "http://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.1.tgz", "integrity": "sha1-ZiZu5fm9uZQKTkUUyvtDu3Hlyds=", "requires": { "inherits": "~2.0.1", "readable-stream": "^2.0.2" } }, - "stream-combiner": { - "version": "0.2.2", - "resolved": "http://registry.npmjs.org/stream-combiner/-/stream-combiner-0.2.2.tgz", - "integrity": "sha1-rsjLrBd7Vrb0+kec7YwZEs7lKFg=", - "dev": true, - "requires": { - "duplexer": "~0.1.1", - "through": "~2.3.4" - } - }, "stream-each": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/stream-each/-/stream-each-1.2.3.tgz", @@ -13228,11 +12182,6 @@ "any-observable": "^0.2.0" } }, - "strict-uri-encode": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz", - "integrity": "sha1-J5siXfHVgrH1TmWt3UNS4Y+qBxM=" - }, "string-width": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", @@ -13266,18 +12215,18 @@ }, "string_decoder": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "resolved": "http://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", "requires": { "safe-buffer": "~5.1.0" } }, "stringify-object": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/stringify-object/-/stringify-object-3.2.2.tgz", - "integrity": "sha512-O696NF21oLiDy8PhpWu8AEqoZHw++QW6mUv0UvKZe8gWSdSvMXkiLufK7OmnP27Dro4GU5kb9U7JIO0mBuCRQg==", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/stringify-object/-/stringify-object-3.3.0.tgz", + "integrity": "sha512-rHqiFh1elqCQ9WPLIC8I0Q/g/wj5J1eMkyoiD6eoQApWHP0FtlK7rqnhmabL5VUY9JQCcqwwvlOaSuutekgyrw==", "requires": { - "get-own-enumerable-property-symbols": "^2.0.1", + "get-own-enumerable-property-symbols": "^3.0.0", "is-obj": "^1.0.1", "is-regexp": "^1.0.0" } @@ -13325,7 +12274,7 @@ }, "strip-eof": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz", + "resolved": "http://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz", "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=" }, "strip-indent": { @@ -13343,20 +12292,64 @@ } } }, - "strip-json-comments": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", - "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=" - }, - "style-loader": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-0.19.0.tgz", - "integrity": "sha512-9mx9sC9nX1dgP96MZOODpGC6l1RzQBITI2D5WJhu+wnbrSYVKLGuy14XJSLVQih/0GFrPpjelt+s//VcZQ2Evw==", - "requires": { - "loader-utils": "^1.0.2", - "schema-utils": "^0.3.0" - } - }, + "strip-json-comments": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", + "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=" + }, + "stylehacks": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/stylehacks/-/stylehacks-4.0.1.tgz", + "integrity": "sha512-TK5zEPeD9NyC1uPIdjikzsgWxdQQN/ry1X3d1iOz1UkYDCmcr928gWD1KHgyC27F50UnE0xCTrBOO1l6KR8M4w==", + "requires": { + "browserslist": "^4.0.0", + "postcss": "^7.0.0", + "postcss-selector-parser": "^3.0.0" + }, + "dependencies": { + "dot-prop": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-4.2.0.tgz", + "integrity": "sha512-tUMXrxlExSW6U2EXiiKGSBVdYgtV8qlHL+C10TsW4PURY/ic+eaysnSkwB4kA/mBlCyy/IKDJ+Lc3wbWeaXtuQ==", + "requires": { + "is-obj": "^1.0.0" + } + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "postcss": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.6.tgz", + "integrity": "sha512-Nq/rNjnHFcKgCDDZYO0lNsl6YWe6U7tTy+ESN+PnLxebL8uBtYX59HZqvrj7YLK5UCyll2hqDsJOo3ndzEW8Ug==", + "requires": { + "chalk": "^2.4.1", + "source-map": "^0.6.1", + "supports-color": "^5.5.0" + } + }, + "postcss-selector-parser": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-3.1.1.tgz", + "integrity": "sha1-T4dfSvsMllc9XPTXQBGu4lCn6GU=", + "requires": { + "dot-prop": "^4.1.1", + "indexes-of": "^1.0.1", + "uniq": "^1.0.1" + } + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, "subarg": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/subarg/-/subarg-1.0.0.tgz", @@ -13364,6 +12357,14 @@ "dev": true, "requires": { "minimist": "^1.1.0" + }, + "dependencies": { + "minimist": { + "version": "1.2.0", + "resolved": "http://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", + "dev": true + } } }, "supports-color": { @@ -13375,17 +12376,51 @@ } }, "svgo": { - "version": "0.7.2", - "resolved": "https://registry.npmjs.org/svgo/-/svgo-0.7.2.tgz", - "integrity": "sha1-n1dyQTlSE1xv779Ar+ak+qiLS7U=", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/svgo/-/svgo-1.1.1.tgz", + "integrity": "sha512-GBkJbnTuFpM4jFbiERHDWhZc/S/kpHToqmZag3aEBjPYK44JAN2QBjvrGIxLOoCyMZjuFQIfTO2eJd8uwLY/9g==", "requires": { - "coa": "~1.0.1", + "coa": "~2.0.1", "colors": "~1.1.2", - "csso": "~2.3.1", - "js-yaml": "~3.7.0", + "css-select": "^2.0.0", + "css-select-base-adapter": "~0.1.0", + "css-tree": "1.0.0-alpha.28", + "css-url-regex": "^1.1.0", + "csso": "^3.5.0", + "js-yaml": "^3.12.0", "mkdirp": "~0.5.1", - "sax": "~1.2.1", - "whet.extend": "~0.9.9" + "object.values": "^1.0.4", + "sax": "~1.2.4", + "stable": "~0.1.6", + "unquote": "~1.1.1", + "util.promisify": "~1.0.0" + }, + "dependencies": { + "colors": { + "version": "1.1.2", + "resolved": "http://registry.npmjs.org/colors/-/colors-1.1.2.tgz", + "integrity": "sha1-FopHAXVran9RoSzgyXv6KMCE7WM=" + }, + "css-select": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/css-select/-/css-select-2.0.2.tgz", + "integrity": "sha512-dSpYaDVoWaELjvZ3mS6IKZM/y2PMPa/XYoEfYNZePL4U/XgyxZNroHEHReDx/d+VgXh9VbCTtFqLkFbmeqeaRQ==", + "requires": { + "boolbase": "^1.0.0", + "css-what": "^2.1.2", + "domutils": "^1.7.0", + "nth-check": "^1.0.2" + } + }, + "domutils": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.7.0.tgz", + "integrity": "sha512-Lgd2XcJ/NjEw+7tFvfKxOzCYKZsdct5lczQ2ZaQY8Djz7pfAD3Gbp8ySJWtreII/vDlMVmxwa6pHmdxIYgttDg==", + "requires": { + "dom-serializer": "0", + "domelementtype": "1" + } + } } }, "symbol-observable": { @@ -13394,15 +12429,10 @@ "integrity": "sha1-g0D8RwLDEi310iKI+IKD9RPT/dQ=", "dev": true }, - "symbol-tree": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.2.tgz", - "integrity": "sha1-rifbOPZgp64uHDt9G8KQgZuFGeY=" - }, "tapable": { - "version": "0.2.8", - "resolved": "https://registry.npmjs.org/tapable/-/tapable-0.2.8.tgz", - "integrity": "sha1-mTcqXJmb8t8WCvwNdL7U9HlIzSI=" + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-1.1.1.tgz", + "integrity": "sha512-9I2ydhj8Z9veORCw5PRm4u9uebCn0mcCa6scWoNcbZ6dAtoo2618u9UUzxgmsCOreJpqDDuv61LvwofW7hLcBA==" }, "tar-stream": { "version": "1.6.2", @@ -13445,17 +12475,157 @@ } } }, + "terser": { + "version": "3.10.13", + "resolved": "https://registry.npmjs.org/terser/-/terser-3.10.13.tgz", + "integrity": "sha512-AgdHqw2leuADuHiP4Kkk1i40m10RMGguPaiCw6MVD6jtDR7N94zohGqAS2lkDXIS7eIkGit3ief3eQGh/Md+GQ==", + "requires": { + "commander": "~2.17.1", + "source-map": "~0.6.1", + "source-map-support": "~0.5.6" + }, + "dependencies": { + "commander": { + "version": "2.17.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.17.1.tgz", + "integrity": "sha512-wPMUt6FnH2yzG95SA6mzjQOEKUU3aLaDEmzs1ti+1E9h+CsrZghRlqEM/EJ4KscsQVG8uNN4uVreUeT8+drlgg==" + } + } + }, + "terser-webpack-plugin": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-1.1.0.tgz", + "integrity": "sha512-61lV0DSxMAZ8AyZG7/A4a3UPlrbOBo8NIQ4tJzLPAdGOQ+yoNC7l5ijEow27lBAL2humer01KLS6bGIMYQxKoA==", + "requires": { + "cacache": "^11.0.2", + "find-cache-dir": "^2.0.0", + "schema-utils": "^1.0.0", + "serialize-javascript": "^1.4.0", + "source-map": "^0.6.1", + "terser": "^3.8.1", + "webpack-sources": "^1.1.0", + "worker-farm": "^1.5.2" + }, + "dependencies": { + "cacache": { + "version": "11.3.1", + "resolved": "https://registry.npmjs.org/cacache/-/cacache-11.3.1.tgz", + "integrity": "sha512-2PEw4cRRDu+iQvBTTuttQifacYjLPhET+SYO/gEFMy8uhi+jlJREDAjSF5FWSdV/Aw5h18caHA7vMTw2c+wDzA==", + "requires": { + "bluebird": "^3.5.1", + "chownr": "^1.0.1", + "figgy-pudding": "^3.1.0", + "glob": "^7.1.2", + "graceful-fs": "^4.1.11", + "lru-cache": "^4.1.3", + "mississippi": "^3.0.0", + "mkdirp": "^0.5.1", + "move-concurrently": "^1.0.1", + "promise-inflight": "^1.0.1", + "rimraf": "^2.6.2", + "ssri": "^6.0.0", + "unique-filename": "^1.1.0", + "y18n": "^4.0.0" + } + }, + "find-cache-dir": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.0.0.tgz", + "integrity": "sha512-LDUY6V1Xs5eFskUVYtIwatojt6+9xC9Chnlk/jYOOvn3FAFfSaWddxahDGyNHh0b2dMXa6YW2m0tk8TdVaXHlA==", + "requires": { + "commondir": "^1.0.1", + "make-dir": "^1.0.0", + "pkg-dir": "^3.0.0" + } + }, + "find-up": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", + "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", + "requires": { + "locate-path": "^3.0.0" + } + }, + "locate-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", + "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", + "requires": { + "p-locate": "^3.0.0", + "path-exists": "^3.0.0" + } + }, + "mississippi": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mississippi/-/mississippi-3.0.0.tgz", + "integrity": "sha512-x471SsVjUtBRtcvd4BzKE9kFC+/2TeWgKCgw0bZcw1b9l2X3QX5vCWgF+KaZaYm87Ss//rHnWryupDrgLvmSkA==", + "requires": { + "concat-stream": "^1.5.0", + "duplexify": "^3.4.2", + "end-of-stream": "^1.1.0", + "flush-write-stream": "^1.0.0", + "from2": "^2.1.0", + "parallel-transform": "^1.1.0", + "pump": "^3.0.0", + "pumpify": "^1.3.3", + "stream-each": "^1.1.0", + "through2": "^2.0.0" + } + }, + "p-limit": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.0.0.tgz", + "integrity": "sha512-fl5s52lI5ahKCernzzIyAP0QAZbGIovtVHGwpcu1Jr/EpzLVDI2myISHwGqK7m8uQFugVWSrbxH7XnhGtvEc+A==", + "requires": { + "p-try": "^2.0.0" + } + }, + "p-locate": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", + "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", + "requires": { + "p-limit": "^2.0.0" + } + }, + "p-try": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.0.0.tgz", + "integrity": "sha512-hMp0onDKIajHfIkdRk3P4CdCmErkYAxxDtP3Wx/4nZ3aGlau2VKh3mZpcuFkH27WQkL/3WBCPOktzA9ZOAnMQQ==" + }, + "pkg-dir": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz", + "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==", + "requires": { + "find-up": "^3.0.0" + } + }, + "pump": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", + "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "requires": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, + "ssri": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-6.0.1.tgz", + "integrity": "sha512-3Wge10hNcT1Kur4PDFwEieXSCMCJs/7WvSACcrMYrNp+b8kDL1/0wJch5Ni2WrtwEa2IO8OsVfeKIciKCDx/QA==", + "requires": { + "figgy-pudding": "^3.5.1" + } + } + } + }, "text-encoding": { "version": "0.6.4", "resolved": "http://registry.npmjs.org/text-encoding/-/text-encoding-0.6.4.tgz", "integrity": "sha1-45mpgiV6J22uQou5KEXLcb3CbRk=", "dev": true }, - "text-hex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/text-hex/-/text-hex-1.0.0.tgz", - "integrity": "sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg==" - }, "through": { "version": "2.3.8", "resolved": "http://registry.npmjs.org/through/-/through-2.3.8.tgz", @@ -13463,11 +12633,11 @@ "dev": true }, "through2": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.3.tgz", - "integrity": "sha1-AARWmzfHx0ujnEPzzteNGtlBQL4=", + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", + "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", "requires": { - "readable-stream": "^2.1.5", + "readable-stream": "~2.3.6", "xtend": "~4.0.1" } }, @@ -13484,6 +12654,11 @@ "setimmediate": "^1.0.4" } }, + "timsort": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/timsort/-/timsort-0.3.0.tgz", + "integrity": "sha1-QFQRqOfmM5/mTbmiNN4R3DHgK9Q=" + }, "tmp": { "version": "0.0.33", "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", @@ -13515,6 +12690,16 @@ "integrity": "sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68=", "requires": { "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "requires": { + "is-buffer": "^1.1.5" + } + } } }, "to-regex": { @@ -13535,21 +12720,11 @@ "requires": { "is-number": "^3.0.0", "repeat-string": "^1.6.1" - }, - "dependencies": { - "is-number": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", - "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", - "requires": { - "kind-of": "^3.0.2" - } - } } }, "topo": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/topo/-/topo-2.0.2.tgz", + "resolved": "http://registry.npmjs.org/topo/-/topo-2.0.2.tgz", "integrity": "sha1-zVYVdSU5BXwNwEkaYhw7xvvh0YI=", "requires": { "hoek": "4.x.x" @@ -13564,23 +12739,17 @@ "version": "2.4.3", "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz", "integrity": "sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ==", + "dev": true, "requires": { "psl": "^1.1.24", "punycode": "^1.4.1" - } - }, - "tr46": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-1.0.1.tgz", - "integrity": "sha1-qLE/1r/SSJUZZ0zN5VujaTtwbQk=", - "requires": { - "punycode": "^2.1.0" }, "dependencies": { "punycode": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", - "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==" + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", + "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=", + "dev": true } } }, @@ -13594,24 +12763,20 @@ "resolved": "https://registry.npmjs.org/trim-right/-/trim-right-1.0.1.tgz", "integrity": "sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=" }, - "triple-beam": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/triple-beam/-/triple-beam-1.3.0.tgz", - "integrity": "sha512-XrHUvV5HpdLmIj4uVMxHggLbFSZYIn7HEWsqePZcI50pco+MPqJ50wMGY794X7AOOhxOBAjbkqfAbEe/QMp2Lw==" - }, "tryer": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/tryer/-/tryer-1.0.1.tgz", "integrity": "sha512-c3zayb8/kWWpycWYg87P71E1S1ZL6b6IJxfb5fvsUgsf0S2MVGaDhDXXjDMpdCpfWXqptc+4mXwmiy1ypXqRAA==" }, "ts-loader": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/ts-loader/-/ts-loader-3.1.1.tgz", - "integrity": "sha512-AQmLFSIgTiR8AlS5BxqvoHpZ3OUTwHHuDZTAZ2KcKsYRz/yANGeQn4Se/DCQ4cn1/eVvN37f/caVW4+kUPNNHw==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/ts-loader/-/ts-loader-5.3.0.tgz", + "integrity": "sha512-lGSNs7szRFj/rK9T1EQuayE3QNLg6izDUxt5jpmq0RG1rU2bapAt7E7uLckLCUPeO1jwxCiet2oRaWovc53UAg==", "requires": { "chalk": "^2.3.0", - "enhanced-resolve": "^3.0.0", + "enhanced-resolve": "^4.0.0", "loader-utils": "^1.0.2", + "micromatch": "^3.1.4", "semver": "^5.0.1" } }, @@ -13648,9 +12813,9 @@ } }, "tslint-loader": { - "version": "3.5.3", - "resolved": "https://registry.npmjs.org/tslint-loader/-/tslint-loader-3.5.3.tgz", - "integrity": "sha1-ND90Ei2U81a2iUV9P1n2SmmrYG8=", + "version": "3.5.4", + "resolved": "https://registry.npmjs.org/tslint-loader/-/tslint-loader-3.5.4.tgz", + "integrity": "sha512-jBHNNppXut6SgZ7CsTBh+6oMwVum9n8azbmcYSeMlsABhWWoHwjq631vIFXef3VSd75cCdX3rc6kstsB7rSVVw==", "requires": { "loader-utils": "^1.0.2", "mkdirp": "^0.5.1", @@ -13676,6 +12841,7 @@ "version": "0.6.0", "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", + "dev": true, "requires": { "safe-buffer": "^5.0.1" } @@ -13683,15 +12849,8 @@ "tweetnacl": { "version": "0.14.5", "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", - "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=" - }, - "type-check": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", - "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=", - "requires": { - "prelude-ls": "~1.1.2" - } + "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=", + "dev": true }, "type-detect": { "version": "4.0.8", @@ -13723,10 +12882,123 @@ "yargs": "^8.0.2" }, "dependencies": { + "anymatch": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-1.3.2.tgz", + "integrity": "sha512-0XNayC8lTHQ2OI8aljNCN3sSx6hsr/1+rlcDAotXJR7C1oZZHCNsfpbKwMjRA3Uqb5tF1Rae2oloTr4xpq+WjA==", + "requires": { + "micromatch": "^2.1.5", + "normalize-path": "^2.0.0" + } + }, + "arr-diff": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz", + "integrity": "sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8=", + "requires": { + "arr-flatten": "^1.0.1" + } + }, + "array-unique": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz", + "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=" + }, + "braces": { + "version": "1.8.5", + "resolved": "https://registry.npmjs.org/braces/-/braces-1.8.5.tgz", + "integrity": "sha1-uneWLhLf+WnWt2cR6RS3N4V79qc=", + "requires": { + "expand-range": "^1.8.1", + "preserve": "^0.2.0", + "repeat-element": "^1.1.2" + } + }, "camelcase": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=" + }, + "chokidar": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-1.7.0.tgz", + "integrity": "sha1-eY5ol3gVHIB2tLNg5e3SjNortGg=", + "requires": { + "anymatch": "^1.3.0", + "async-each": "^1.0.0", + "fsevents": "^1.0.0", + "glob-parent": "^2.0.0", + "inherits": "^2.0.1", + "is-binary-path": "^1.0.0", + "is-glob": "^2.0.0", + "path-is-absolute": "^1.0.0", + "readdirp": "^2.0.0" + } + }, + "expand-brackets": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-0.1.5.tgz", + "integrity": "sha1-3wcoTjQqgHzXM6xa9yQR5YHRF3s=", + "requires": { + "is-posix-bracket": "^0.1.0" + } + }, + "extglob": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/extglob/-/extglob-0.3.2.tgz", + "integrity": "sha1-Lhj/PS9JqydlzskCPwEdqo2DSaE=", + "requires": { + "is-extglob": "^1.0.0" + } + }, + "glob-parent": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz", + "integrity": "sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg=", + "requires": { + "is-glob": "^2.0.0" + } + }, + "is-extglob": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", + "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=" + }, + "is-glob": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", + "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", + "requires": { + "is-extglob": "^1.0.0" + } + }, + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "requires": { + "is-buffer": "^1.1.5" + } + }, + "micromatch": { + "version": "2.3.11", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz", + "integrity": "sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU=", + "requires": { + "arr-diff": "^2.0.0", + "array-unique": "^0.2.1", + "braces": "^1.8.2", + "expand-brackets": "^0.1.4", + "extglob": "^0.3.1", + "filename-regex": "^2.0.0", + "is-extglob": "^1.0.0", + "is-glob": "^2.0.1", + "kind-of": "^3.0.2", + "normalize-path": "^2.0.1", + "object.omit": "^2.0.0", + "parse-glob": "^3.0.4", + "regex-cache": "^0.4.2" + } } } }, @@ -13738,7 +13010,8 @@ "typescript": { "version": "2.6.2", "resolved": "https://registry.npmjs.org/typescript/-/typescript-2.6.2.tgz", - "integrity": "sha1-PFtv1/beCRQmkCfwPAlGdY92c6Q=" + "integrity": "sha1-PFtv1/beCRQmkCfwPAlGdY92c6Q=", + "dev": true }, "uglify-js": { "version": "3.4.9", @@ -13756,26 +13029,30 @@ } } }, - "uglify-to-browserify": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz", - "integrity": "sha1-bgkk1r2mta/jSeOabWMoUKD4grc=", - "optional": true - }, "uglifyjs-webpack-plugin": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/uglifyjs-webpack-plugin/-/uglifyjs-webpack-plugin-1.1.0.tgz", - "integrity": "sha512-x5+BK4OvEZZvaoXln/Z1JMGq3Nvp5A8d7oQ7Xpyf17lqZV9NYvugfj5aTaYcxDWNoILgVdnlPWNpAWgVdwT1/g==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/uglifyjs-webpack-plugin/-/uglifyjs-webpack-plugin-1.3.0.tgz", + "integrity": "sha512-ovHIch0AMlxjD/97j9AYovZxG5wnHOPkL7T1GKochBADp/Zwc44pEWNqpKl1Loupp1WhFg7SlYmHZRUfdAacgw==", "requires": { - "cacache": "^10.0.0", + "cacache": "^10.0.4", "find-cache-dir": "^1.0.0", - "schema-utils": "^0.3.0", + "schema-utils": "^0.4.5", + "serialize-javascript": "^1.4.0", "source-map": "^0.6.1", - "uglify-es": "^3.1.3", - "webpack-sources": "^1.0.1", - "worker-farm": "^1.4.1" + "uglify-es": "^3.3.4", + "webpack-sources": "^1.1.0", + "worker-farm": "^1.5.2" }, "dependencies": { + "schema-utils": { + "version": "0.4.7", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-0.4.7.tgz", + "integrity": "sha512-v/iwU6wvwGK8HbU9yi3/nhGzP0yGSuhQMzL6ySiec1FSrZZDkhm4noOSWzrNFo/jEc+SJY6jRTwuwbSXJPDUnQ==", + "requires": { + "ajv": "^6.1.0", + "ajv-keywords": "^3.1.0" + } + }, "uglify-es": { "version": "3.3.9", "resolved": "https://registry.npmjs.org/uglify-es/-/uglify-es-3.3.9.tgz", @@ -13797,6 +13074,11 @@ "recast": "^0.11.17" }, "dependencies": { + "esprima": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-3.1.3.tgz", + "integrity": "sha1-/cpRzuYTOJXjyI1TXOSdv/YqRjM=" + }, "recast": { "version": "0.11.23", "resolved": "https://registry.npmjs.org/recast/-/recast-0.11.23.tgz", @@ -13851,6 +13133,21 @@ } } }, + "union": { + "version": "0.4.6", + "resolved": "https://registry.npmjs.org/union/-/union-0.4.6.tgz", + "integrity": "sha1-GY+9rrolTniLDvy2MLwR8kopWeA=", + "requires": { + "qs": "~2.3.3" + }, + "dependencies": { + "qs": { + "version": "2.3.3", + "resolved": "http://registry.npmjs.org/qs/-/qs-2.3.3.tgz", + "integrity": "sha1-6eha2+ddoLvkyOBHaghikPhjtAQ=" + } + } + }, "union-value": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.0.tgz", @@ -13928,6 +13225,11 @@ "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=" }, + "unquote": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/unquote/-/unquote-1.1.1.tgz", + "integrity": "sha1-j97XMk7G6IoP+LkF58CYzcCG1UQ=" + }, "unset-value": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz", @@ -13961,11 +13263,6 @@ "version": "0.1.4", "resolved": "https://registry.npmjs.org/has-values/-/has-values-0.1.4.tgz", "integrity": "sha1-bWHeldkd/Km5oCCJrThL/49it3E=" - }, - "isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=" } } }, @@ -14031,6 +13328,14 @@ "resolved": "https://registry.npmjs.org/upper-case/-/upper-case-1.1.3.tgz", "integrity": "sha1-9rRQHC7EzdJrp4vnIilh3ndiFZg=" }, + "uri-js": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz", + "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==", + "requires": { + "punycode": "^2.1.0" + } + }, "urix": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz", @@ -14145,6 +13450,7 @@ "version": "1.10.0", "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", + "dev": true, "requires": { "assert-plus": "^1.0.0", "core-util-is": "1.0.2", @@ -14159,14 +13465,6 @@ "indexof": "0.0.1" } }, - "w3c-hr-time": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/w3c-hr-time/-/w3c-hr-time-1.0.1.tgz", - "integrity": "sha1-gqwr/2PZUOqeMYmlimViX+3xkEU=", - "requires": { - "browser-process-hrtime": "^0.1.2" - } - }, "watchpack": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-1.6.0.tgz", @@ -14175,312 +13473,6 @@ "chokidar": "^2.0.2", "graceful-fs": "^4.1.2", "neo-async": "^2.5.0" - }, - "dependencies": { - "anymatch": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz", - "integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==", - "requires": { - "micromatch": "^3.1.4", - "normalize-path": "^2.1.1" - } - }, - "arr-diff": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", - "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=" - }, - "array-unique": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", - "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=" - }, - "braces": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", - "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", - "requires": { - "arr-flatten": "^1.1.0", - "array-unique": "^0.3.2", - "extend-shallow": "^2.0.1", - "fill-range": "^4.0.0", - "isobject": "^3.0.1", - "repeat-element": "^1.1.2", - "snapdragon": "^0.8.1", - "snapdragon-node": "^2.0.1", - "split-string": "^3.0.2", - "to-regex": "^3.0.1" - }, - "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "requires": { - "is-extendable": "^0.1.0" - } - } - } - }, - "chokidar": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.0.4.tgz", - "integrity": "sha512-z9n7yt9rOvIJrMhvDtDictKrkFHeihkNl6uWMmZlmL6tJtX9Cs+87oK+teBx+JIgzvbX3yZHT3eF8vpbDxHJXQ==", - "requires": { - "anymatch": "^2.0.0", - "async-each": "^1.0.0", - "braces": "^2.3.0", - "fsevents": "^1.2.2", - "glob-parent": "^3.1.0", - "inherits": "^2.0.1", - "is-binary-path": "^1.0.0", - "is-glob": "^4.0.0", - "lodash.debounce": "^4.0.8", - "normalize-path": "^2.1.1", - "path-is-absolute": "^1.0.0", - "readdirp": "^2.0.0", - "upath": "^1.0.5" - } - }, - "expand-brackets": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", - "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=", - "requires": { - "debug": "^2.3.3", - "define-property": "^0.2.5", - "extend-shallow": "^2.0.1", - "posix-character-classes": "^0.1.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" - }, - "dependencies": { - "define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "requires": { - "is-descriptor": "^0.1.0" - } - }, - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "requires": { - "is-extendable": "^0.1.0" - } - }, - "is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "requires": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" - } - }, - "kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==" - } - } - }, - "extglob": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", - "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", - "requires": { - "array-unique": "^0.3.2", - "define-property": "^1.0.0", - "expand-brackets": "^2.1.4", - "extend-shallow": "^2.0.1", - "fragment-cache": "^0.2.1", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" - }, - "dependencies": { - "define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", - "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", - "requires": { - "is-descriptor": "^1.0.0" - } - }, - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "requires": { - "is-extendable": "^0.1.0" - } - } - } - }, - "fill-range": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", - "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", - "requires": { - "extend-shallow": "^2.0.1", - "is-number": "^3.0.0", - "repeat-string": "^1.6.1", - "to-regex-range": "^2.1.0" - }, - "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "requires": { - "is-extendable": "^0.1.0" - } - } - } - }, - "glob-parent": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", - "integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=", - "requires": { - "is-glob": "^3.1.0", - "path-dirname": "^1.0.0" - }, - "dependencies": { - "is-glob": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", - "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", - "requires": { - "is-extglob": "^2.1.0" - } - } - } - }, - "is-accessor-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", - "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", - "requires": { - "kind-of": "^6.0.0" - } - }, - "is-data-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", - "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", - "requires": { - "kind-of": "^6.0.0" - } - }, - "is-descriptor": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", - "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", - "requires": { - "is-accessor-descriptor": "^1.0.0", - "is-data-descriptor": "^1.0.0", - "kind-of": "^6.0.2" - } - }, - "is-glob": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.0.tgz", - "integrity": "sha1-lSHHaEXMJhCoUgPd8ICpWML/q8A=", - "requires": { - "is-extglob": "^2.1.1" - } - }, - "is-number": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", - "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=" - }, - "kind-of": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", - "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==" - }, - "micromatch": { - "version": "3.1.10", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", - "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", - "requires": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "braces": "^2.3.1", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "extglob": "^2.0.4", - "fragment-cache": "^0.2.1", - "kind-of": "^6.0.2", - "nanomatch": "^1.2.9", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.2" - } - } } }, "web-animations-js": { @@ -14488,112 +13480,50 @@ "resolved": "https://registry.npmjs.org/web-animations-js/-/web-animations-js-2.3.1.tgz", "integrity": "sha1-Om2bwVGWN3qQ+OKAP6UmIWWwRRA=" }, - "webidl-conversions": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-4.0.2.tgz", - "integrity": "sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==" - }, "webpack": { - "version": "3.8.1", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-3.8.1.tgz", - "integrity": "sha512-5ZXLWWsMqHKFr5y0N3Eo5IIisxeEeRAajNq4mELb/WELOR7srdbQk2N5XiyNy2A/AgvlR3AmeBCZJW8lHrolbw==", - "requires": { - "acorn": "^5.0.0", - "acorn-dynamic-import": "^2.0.0", - "ajv": "^5.1.5", - "ajv-keywords": "^2.0.0", - "async": "^2.1.2", - "enhanced-resolve": "^3.4.0", - "escope": "^3.6.0", - "interpret": "^1.0.0", - "json-loader": "^0.5.4", - "json5": "^0.5.1", + "version": "4.25.1", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-4.25.1.tgz", + "integrity": "sha512-T0GU/3NRtO4tMfNzsvpdhUr8HnzA4LTdP2zd+e5zd6CdOH5vNKHnAlO+DvzccfhPdzqRrALOFcjYxx7K5DWmvA==", + "requires": { + "@webassemblyjs/ast": "1.7.11", + "@webassemblyjs/helper-module-context": "1.7.11", + "@webassemblyjs/wasm-edit": "1.7.11", + "@webassemblyjs/wasm-parser": "1.7.11", + "acorn": "^5.6.2", + "acorn-dynamic-import": "^3.0.0", + "ajv": "^6.1.0", + "ajv-keywords": "^3.1.0", + "chrome-trace-event": "^1.0.0", + "enhanced-resolve": "^4.1.0", + "eslint-scope": "^4.0.0", + "json-parse-better-errors": "^1.0.2", "loader-runner": "^2.3.0", "loader-utils": "^1.1.0", "memory-fs": "~0.4.1", + "micromatch": "^3.1.8", "mkdirp": "~0.5.0", + "neo-async": "^2.5.0", "node-libs-browser": "^2.0.0", - "source-map": "^0.5.3", - "supports-color": "^4.2.1", - "tapable": "^0.2.7", - "uglifyjs-webpack-plugin": "^0.4.6", - "watchpack": "^1.4.0", - "webpack-sources": "^1.0.1", - "yargs": "^8.0.2" + "schema-utils": "^0.4.4", + "tapable": "^1.1.0", + "uglifyjs-webpack-plugin": "^1.2.4", + "watchpack": "^1.5.0", + "webpack-sources": "^1.3.0" }, "dependencies": { - "acorn-dynamic-import": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/acorn-dynamic-import/-/acorn-dynamic-import-2.0.2.tgz", - "integrity": "sha1-x1K9IQvvZ5UBtsbLf8hPj0cVjMQ=", - "requires": { - "acorn": "^4.0.3" - }, - "dependencies": { - "acorn": { - "version": "4.0.13", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-4.0.13.tgz", - "integrity": "sha1-EFSVrlNh1pe9GVyCUZLhrX8lN4c=" - } - } - }, - "camelcase": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-1.2.1.tgz", - "integrity": "sha1-m7UwTS4LVmmLLHWLCKPqqdqlijk=" - }, - "cliui": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-2.1.0.tgz", - "integrity": "sha1-S0dXYP+AJkx2LDoXGQMukcf+oNE=", - "requires": { - "center-align": "^0.1.1", - "right-align": "^0.1.1", - "wordwrap": "0.0.2" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "uglify-js": { - "version": "2.8.29", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-2.8.29.tgz", - "integrity": "sha1-KcVzMUgFe7Th913zW3qcty5qWd0=", - "requires": { - "source-map": "~0.5.1", - "uglify-to-browserify": "~1.0.0", - "yargs": "~3.10.0" - }, - "dependencies": { - "yargs": { - "version": "3.10.0", - "resolved": "http://registry.npmjs.org/yargs/-/yargs-3.10.0.tgz", - "integrity": "sha1-9+572FfdfB0tOMDnTvvWgdFDH9E=", - "requires": { - "camelcase": "^1.0.2", - "cliui": "^2.1.0", - "decamelize": "^1.0.0", - "window-size": "0.1.0" - } - } - } + "acorn": { + "version": "5.7.3", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.7.3.tgz", + "integrity": "sha512-T/zvzYRfbVojPWahDsE5evJdHb3oJoQfFbsrKM7w5Zcs++Tr257tia3BmMP8XYVjp1S9RZXQMh7gao96BlqZOw==" }, - "uglifyjs-webpack-plugin": { - "version": "0.4.6", - "resolved": "https://registry.npmjs.org/uglifyjs-webpack-plugin/-/uglifyjs-webpack-plugin-0.4.6.tgz", - "integrity": "sha1-uVH0q7a9YX5m9j64kUmOORdj4wk=", + "schema-utils": { + "version": "0.4.7", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-0.4.7.tgz", + "integrity": "sha512-v/iwU6wvwGK8HbU9yi3/nhGzP0yGSuhQMzL6ySiec1FSrZZDkhm4noOSWzrNFo/jEc+SJY6jRTwuwbSXJPDUnQ==", "requires": { - "source-map": "^0.5.6", - "uglify-js": "^2.8.29", - "webpack-sources": "^1.0.1" + "ajv": "^6.1.0", + "ajv-keywords": "^3.1.0" } - }, - "wordwrap": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz", - "integrity": "sha1-t5Zpu0LstAn4PVg8rVLKF+qhZD8=" } } }, @@ -14660,62 +13590,54 @@ } }, "webpack-chunk-hash": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/webpack-chunk-hash/-/webpack-chunk-hash-0.5.0.tgz", - "integrity": "sha1-Hbo4ID1zwearBptoEKWjdAI5new=", + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/webpack-chunk-hash/-/webpack-chunk-hash-0.6.0.tgz", + "integrity": "sha512-FsOg1RpW2nf3nYpGTy/Qs59RZ7gYG+sI4VrCE8TIBQYh/Kogi04xD39Pj9zUEeUcNx9HeTVPGSO3mtmpLeX9eQ==", "requires": { - "@types/webpack": "^3.0.5" + "@types/webpack": "^3.0.0 || ^4.0.0" }, "dependencies": { "@types/node": { - "version": "10.11.7", - "resolved": "https://registry.npmjs.org/@types/node/-/node-10.11.7.tgz", - "integrity": "sha512-yOxFfkN9xUFLyvWaeYj90mlqTJ41CsQzWKS3gXdOMOyPVacUsymejKxJ4/pMW7exouubuEeZLJawGgcNGYlTeg==" - }, - "@types/tapable": { - "version": "0.2.5", - "resolved": "http://registry.npmjs.org/@types/tapable/-/tapable-0.2.5.tgz", - "integrity": "sha512-dEoVvo/I9QFomyhY+4Q6Qk+I+dhG59TYceZgC6Q0mCifVPErx6Y83PNTKGDS5e9h9Eti6q0S2mm16BU6iQK+3w==" + "version": "10.12.10", + "resolved": "https://registry.npmjs.org/@types/node/-/node-10.12.10.tgz", + "integrity": "sha512-8xZEYckCbUVgK8Eg7lf5Iy4COKJ5uXlnIOnePN0WUwSQggy9tolM+tDJf7wMOnT/JT/W9xDYIaYggt3mRV2O5w==" }, "@types/webpack": { - "version": "3.8.16", - "resolved": "https://registry.npmjs.org/@types/webpack/-/webpack-3.8.16.tgz", - "integrity": "sha512-+QmXgtYnFq6l1LURLydPuiKf3XXb8KN8PRXSrayBSMGnlknWZ5sIzpVJDZa2b0pJlZiNZ6DjChNhCBt4507yaQ==", + "version": "4.4.20", + "resolved": "https://registry.npmjs.org/@types/webpack/-/webpack-4.4.20.tgz", + "integrity": "sha512-uSVhicDIkh2Phkn0L49eZQb4Ory5q9opiqhjxQGu+onh9mbPEhSF5OuA68dmH240VN1+mavQTmkQ1hqnKZB0gA==", "requires": { + "@types/anymatch": "*", "@types/node": "*", - "@types/tapable": "^0", + "@types/tapable": "*", "@types/uglify-js": "*", - "@types/webpack-dev-server": "*", "source-map": "^0.6.0" } } } }, "webpack-dev-middleware": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-2.0.3.tgz", - "integrity": "sha512-8zIUzfCbpaDxKSAyC8ZhDA0P5EBvlafHcj4yoSP8lrvW0ZyWW7tsrqazI7q+zAhRi22TTE3g9sycQEZeyUbpqg==", + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-3.4.0.tgz", + "integrity": "sha512-Q9Iyc0X9dP9bAsYskAVJ/hmIZZQwf/3Sy4xCAZgL5cUkjZmUZLt4l5HpbST/Pdgjn3u6pE7u5OdGd1apgzRujA==", "requires": { - "loud-rejection": "^1.6.0", "memory-fs": "~0.4.1", - "mime": "^2.1.0", - "path-is-absolute": "^1.0.0", + "mime": "^2.3.1", "range-parser": "^1.0.3", - "url-join": "^2.0.2", - "webpack-log": "^1.0.1" + "webpack-log": "^2.0.0" }, "dependencies": { "mime": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/mime/-/mime-2.3.1.tgz", - "integrity": "sha512-OEUllcVoydBHGN1z84yfQDimn58pZNNNXgZlHXSboxMlFvgI6MXSWpWKpFRra7H1HxpVhHTkrghfRW49k6yjeg==" + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-2.4.0.tgz", + "integrity": "sha512-ikBcWwyqXQSHKtciCcctu9YfPbFYZ4+gbHEmE0Q8jzcTYQg5dHCr3g2wwAZjPoJfQVXZq6KXAjpXOTf5/cjT7w==" } } }, "webpack-hot-middleware": { - "version": "2.21.0", - "resolved": "https://registry.npmjs.org/webpack-hot-middleware/-/webpack-hot-middleware-2.21.0.tgz", - "integrity": "sha512-P6xiOLy10QlSVSO7GanU9PLxN6zLLQ7RG16MPTvmFwf2KUG7jMp6m+fmdgsR7xoaVVLA7OlX3YO6JjoZEKjCuA==", + "version": "2.24.3", + "resolved": "https://registry.npmjs.org/webpack-hot-middleware/-/webpack-hot-middleware-2.24.3.tgz", + "integrity": "sha512-pPlmcdoR2Fn6UhYjAhp1g/IJy1Yc9hD+T6O9mjRcWV2pFbBjIFoJXhP0CoD0xPOhWJuWXuZXGBga9ybbOdzXpg==", "requires": { "ansi-html": "0.0.7", "html-entities": "^1.2.0", @@ -14734,14 +13656,12 @@ } }, "webpack-log": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/webpack-log/-/webpack-log-1.2.0.tgz", - "integrity": "sha512-U9AnICnu50HXtiqiDxuli5gLB5PGBo7VvcHx36jRZHwK4vzOYLbImqT4lwWwoMHdQWwEKw736fCHEekokTEKHA==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/webpack-log/-/webpack-log-2.0.0.tgz", + "integrity": "sha512-cX8G2vR/85UYG59FgkoMamwHUIkSSlV3bBMRsbxVXVUk2j6NleCKjQ/WE9eYg9WY4w25O9w8wKP4rzNZFmUcUg==", "requires": { - "chalk": "^2.1.0", - "log-symbols": "^2.1.0", - "loglevelnext": "^1.0.1", - "uuid": "^3.1.0" + "ansi-colors": "^3.0.0", + "uuid": "^3.3.2" }, "dependencies": { "uuid": { @@ -14752,9 +13672,9 @@ } }, "webpack-mild-compile": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/webpack-mild-compile/-/webpack-mild-compile-1.0.0.tgz", - "integrity": "sha512-nMIkvPWAH7t4iCUfLMBYDv02v5bCL7ACfKed9+k+429r2gVMxy8BMEYiC3SAOun0H9xfa4b22kQCAp3/53hf9A==" + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/webpack-mild-compile/-/webpack-mild-compile-3.3.1.tgz", + "integrity": "sha512-bMwvhjvMhDxcj0u7CrE5iT2h62HIqkCP3l9/AeDleV78YUjpSK/prsCqvZxTgRMfg2RmpBfaxDoe/fncPqFOLQ==" }, "webpack-sources": { "version": "1.3.0", @@ -14765,38 +13685,10 @@ "source-map": "~0.6.1" } }, - "whatwg-encoding": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-1.0.5.tgz", - "integrity": "sha512-b5lim54JOPN9HtzvK9HFXvBma/rnfFeqsic0hSpjtDbVxR3dJKLc+KB4V6GgiGOvl7CY/KNh8rxSo9DKQrnUEw==", - "requires": { - "iconv-lite": "0.4.24" - }, - "dependencies": { - "iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", - "requires": { - "safer-buffer": ">= 2.1.2 < 3" - } - } - } - }, - "whatwg-url": { - "version": "6.5.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-6.5.0.tgz", - "integrity": "sha512-rhRZRqx/TLJQWUpQ6bmrt2UV4f0HCQ463yQuONJqC6fO2VoEb1pTYddbe59SkYq87aoM5A3bdhMZiUiVws+fzQ==", - "requires": { - "lodash.sortby": "^4.7.0", - "tr46": "^1.0.1", - "webidl-conversions": "^4.0.2" - } - }, - "whet.extend": { - "version": "0.9.9", - "resolved": "https://registry.npmjs.org/whet.extend/-/whet.extend-0.9.9.tgz", - "integrity": "sha1-+HfVv2SMl+WqVC+twW1qJZucEaE=" + "whatwg-fetch": { + "version": "2.0.4", + "resolved": "http://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-2.0.4.tgz", + "integrity": "sha512-dcQ1GWpOD/eEQ97k66aiEVpNnapVj90/+R+SXTPYGHpYBBypfKJEQjLrvMZ7YXbKm21gXd4NcuxUTjiv1YtLng==" }, "which": { "version": "1.3.1", @@ -14813,67 +13705,37 @@ }, "widest-line": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-1.0.0.tgz", + "resolved": "http://registry.npmjs.org/widest-line/-/widest-line-1.0.0.tgz", "integrity": "sha1-DAnIXCqUaD0Nfq+O4JfVZL8OEFw=", "requires": { "string-width": "^1.0.1" } }, - "window-size": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/window-size/-/window-size-0.1.0.tgz", - "integrity": "sha1-VDjNLqk7IC76Ohn+iIeu58lPnJ0=" - }, - "winston": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/winston/-/winston-3.1.0.tgz", - "integrity": "sha512-FsQfEE+8YIEeuZEYhHDk5cILo1HOcWkGwvoidLrDgPog0r4bser1lEIOco2dN9zpDJ1M88hfDgZvxe5z4xNcwg==", - "requires": { - "async": "^2.6.0", - "diagnostics": "^1.1.1", - "is-stream": "^1.1.0", - "logform": "^1.9.1", - "one-time": "0.0.4", - "readable-stream": "^2.3.6", - "stack-trace": "0.0.x", - "triple-beam": "^1.3.0", - "winston-transport": "^4.2.0" - } - }, - "winston-transport": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.2.0.tgz", - "integrity": "sha512-0R1bvFqxSlK/ZKTH86nymOuKv/cT1PQBMuDdA7k7f0S9fM44dNH6bXnuxwXPrN8lefJgtZq08BKdyZ0DZIy/rg==", - "requires": { - "readable-stream": "^2.3.6", - "triple-beam": "^1.2.0" - } - }, "wordwrap": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", - "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=" + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz", + "integrity": "sha1-o9XabNXAvAAI03I0u68b7WMFkQc=" }, "workbox-background-sync": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/workbox-background-sync/-/workbox-background-sync-3.6.2.tgz", - "integrity": "sha512-K34wiTM50gSpzJUuRmGRqbd91IpJj0vwMBSHCpixw/jiTg10uytSfnixMNGzeTK0i7LTd/bkA8ptx4HXP+MliA==", + "version": "3.6.3", + "resolved": "https://registry.npmjs.org/workbox-background-sync/-/workbox-background-sync-3.6.3.tgz", + "integrity": "sha512-ypLo0B6dces4gSpaslmDg5wuoUWrHHVJfFWwl1udvSylLdXvnrfhFfriCS42SNEe5lsZtcNZF27W/SMzBlva7Q==", "requires": { - "workbox-core": "^3.6.2" + "workbox-core": "^3.6.3" } }, "workbox-broadcast-cache-update": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/workbox-broadcast-cache-update/-/workbox-broadcast-cache-update-3.6.2.tgz", - "integrity": "sha512-wmN3k94Kv3/lYOqRy08ymp8RyTPCpgLI9UW/BrQ1XuZHJyFejWnBoy/pCKk9mRZYZX7EyvnzA4O1PLILgLC43g==", + "version": "3.6.3", + "resolved": "https://registry.npmjs.org/workbox-broadcast-cache-update/-/workbox-broadcast-cache-update-3.6.3.tgz", + "integrity": "sha512-pJl4lbClQcvp0SyTiEw0zLSsVYE1RDlCPtpKnpMjxFtu8lCFTAEuVyzxp9w7GF4/b3P4h5nyQ+q7V9mIR7YzGg==", "requires": { - "workbox-core": "^3.6.2" + "workbox-core": "^3.6.3" } }, "workbox-build": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/workbox-build/-/workbox-build-3.6.2.tgz", - "integrity": "sha512-PYw4SRbfbUE/+DDhb89zbspDLBi86hpra+l6SsX7yBqCthw4sHyH8IIQw5MMHI04HPV5ZDYru8A5SNLXVDGMcg==", + "version": "3.6.3", + "resolved": "https://registry.npmjs.org/workbox-build/-/workbox-build-3.6.3.tgz", + "integrity": "sha512-w0clZ/pVjL8VXy6GfthefxpEXs0T8uiRuopZSFVQ8ovfbH6c6kUpEh6DcYwm/Y6dyWPiCucdyAZotgjz+nRz8g==", "requires": { "babel-runtime": "^6.26.0", "common-tags": "^1.4.0", @@ -14884,19 +13746,19 @@ "pretty-bytes": "^4.0.2", "stringify-object": "^3.2.2", "strip-comments": "^1.0.2", - "workbox-background-sync": "^3.6.2", - "workbox-broadcast-cache-update": "^3.6.2", - "workbox-cache-expiration": "^3.6.2", - "workbox-cacheable-response": "^3.6.2", - "workbox-core": "^3.6.2", - "workbox-google-analytics": "^3.6.2", - "workbox-navigation-preload": "^3.6.2", - "workbox-precaching": "^3.6.2", - "workbox-range-requests": "^3.6.2", - "workbox-routing": "^3.6.2", - "workbox-strategies": "^3.6.2", - "workbox-streams": "^3.6.2", - "workbox-sw": "^3.6.2" + "workbox-background-sync": "^3.6.3", + "workbox-broadcast-cache-update": "^3.6.3", + "workbox-cache-expiration": "^3.6.3", + "workbox-cacheable-response": "^3.6.3", + "workbox-core": "^3.6.3", + "workbox-google-analytics": "^3.6.3", + "workbox-navigation-preload": "^3.6.3", + "workbox-precaching": "^3.6.3", + "workbox-range-requests": "^3.6.3", + "workbox-routing": "^3.6.3", + "workbox-strategies": "^3.6.3", + "workbox-streams": "^3.6.3", + "workbox-sw": "^3.6.3" }, "dependencies": { "fs-extra": { @@ -14912,97 +13774,98 @@ } }, "workbox-cache-expiration": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/workbox-cache-expiration/-/workbox-cache-expiration-3.6.2.tgz", - "integrity": "sha512-LJLYfqG7ItYucppun5I92fcN21kDZFEVqZ8uAOz5t8piOsHh1ThAiiLv/4ubG/d7CUgqW/1bmcX6DM4xqackzg==", + "version": "3.6.3", + "resolved": "https://registry.npmjs.org/workbox-cache-expiration/-/workbox-cache-expiration-3.6.3.tgz", + "integrity": "sha512-+ECNph/6doYx89oopO/UolYdDmQtGUgo8KCgluwBF/RieyA1ZOFKfrSiNjztxOrGJoyBB7raTIOlEEwZ1LaHoA==", "requires": { - "workbox-core": "^3.6.2" + "workbox-core": "^3.6.3" } }, "workbox-cacheable-response": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/workbox-cacheable-response/-/workbox-cacheable-response-3.6.2.tgz", - "integrity": "sha512-WvICMN3SfEi48C96KEfkLDIqnU0rkQeajdLjYXuzbUID3EX31gzUVlIbqQGrc+9xtIlvxs2+ZoaTR3Rjdtbh/Q==", + "version": "3.6.3", + "resolved": "https://registry.npmjs.org/workbox-cacheable-response/-/workbox-cacheable-response-3.6.3.tgz", + "integrity": "sha512-QpmbGA9SLcA7fklBLm06C4zFg577Dt8u3QgLM0eMnnbaVv3rhm4vbmDpBkyTqvgK/Ly8MBDQzlXDtUCswQwqqg==", "requires": { - "workbox-core": "^3.6.2" + "workbox-core": "^3.6.3" } }, "workbox-core": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/workbox-core/-/workbox-core-3.6.2.tgz", - "integrity": "sha512-5T5WBFy5nMm7zx+P2RwdzEVu5CK++bqwiEsGF+INwUxsOKpH9oXUlUdJE/KfUaMsKcZtHXEb74mMB6vvE88a/w==" + "version": "3.6.3", + "resolved": "https://registry.npmjs.org/workbox-core/-/workbox-core-3.6.3.tgz", + "integrity": "sha512-cx9cx0nscPkIWs8Pt98HGrS9/aORuUcSkWjG25GqNWdvD/pSe7/5Oh3BKs0fC+rUshCiyLbxW54q0hA+GqZeSQ==" }, "workbox-google-analytics": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/workbox-google-analytics/-/workbox-google-analytics-3.6.2.tgz", - "integrity": "sha512-NXBbo9xyHQvkHcvYoZkNJw7DB53dJUnmusKdSPg138A6HGt2ilycwTUuXNDWpkXXp3YHxcslrBMdptolwbzidg==", + "version": "3.6.3", + "resolved": "https://registry.npmjs.org/workbox-google-analytics/-/workbox-google-analytics-3.6.3.tgz", + "integrity": "sha512-RQBUo/6SXtIaQTRFj4RQZ9e1gAl7D8oS5S+Hi173Kk70/BgJjzPwXpC5A249Jv5YfkCOLMQCeF9A27BiD0b0ig==", "requires": { - "workbox-background-sync": "^3.6.2", - "workbox-core": "^3.6.2", - "workbox-routing": "^3.6.2", - "workbox-strategies": "^3.6.2" + "workbox-background-sync": "^3.6.3", + "workbox-core": "^3.6.3", + "workbox-routing": "^3.6.3", + "workbox-strategies": "^3.6.3" } }, "workbox-navigation-preload": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/workbox-navigation-preload/-/workbox-navigation-preload-3.6.2.tgz", - "integrity": "sha512-fN/CWSFZiySQH/OEJQsIizAM4ob6IgZVDfWvA58jAwiyI5QziqfFtL/EiHHNvmIa5jTdcoXfuNNv1WUdpRV18A==", + "version": "3.6.3", + "resolved": "https://registry.npmjs.org/workbox-navigation-preload/-/workbox-navigation-preload-3.6.3.tgz", + "integrity": "sha512-dd26xTX16DUu0i+MhqZK/jQXgfIitu0yATM4jhRXEmpMqQ4MxEeNvl2CgjDMOHBnCVMax+CFZQWwxMx/X/PqCw==", "requires": { - "workbox-core": "^3.6.2" + "workbox-core": "^3.6.3" } }, "workbox-precaching": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/workbox-precaching/-/workbox-precaching-3.6.2.tgz", - "integrity": "sha512-oQmBfvCzCUfLcwTokfbVhIIcyNS9aF692EhdqAz/SB2e40ehUgcctAUhQOezsedZFqBBnwphJQUhs+hD3mu72A==", + "version": "3.6.3", + "resolved": "https://registry.npmjs.org/workbox-precaching/-/workbox-precaching-3.6.3.tgz", + "integrity": "sha512-aBqT66BuMFviPTW6IpccZZHzpA8xzvZU2OM1AdhmSlYDXOJyb1+Z6blVD7z2Q8VNtV1UVwQIdImIX+hH3C3PIw==", "requires": { - "workbox-core": "^3.6.2" + "workbox-core": "^3.6.3" } }, "workbox-range-requests": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/workbox-range-requests/-/workbox-range-requests-3.6.2.tgz", - "integrity": "sha512-y1MFB97ydbT8PxBiihndLzG66sNIRzL0lkyoeaWPGfaPGWTP8ghMe4SkGqqdiY+E54rhd7lTdb7RZdv3Av1lTg==", + "version": "3.6.3", + "resolved": "https://registry.npmjs.org/workbox-range-requests/-/workbox-range-requests-3.6.3.tgz", + "integrity": "sha512-R+yLWQy7D9aRF9yJ3QzwYnGFnGDhMUij4jVBUVtkl67oaVoP1ymZ81AfCmfZro2kpPRI+vmNMfxxW531cqdx8A==", "requires": { - "workbox-core": "^3.6.2" + "workbox-core": "^3.6.3" } }, "workbox-routing": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/workbox-routing/-/workbox-routing-3.6.2.tgz", - "integrity": "sha512-rhoH1AlETUfffJXJSlc0/T5rBB6vatxpD/8IZgxgHByBnYokV+/HxO7It6wBbxIzdO31UrWVroYm0iVa5sO7Jw==", + "version": "3.6.3", + "resolved": "https://registry.npmjs.org/workbox-routing/-/workbox-routing-3.6.3.tgz", + "integrity": "sha512-bX20i95OKXXQovXhFOViOK63HYmXvsIwZXKWbSpVeKToxMrp0G/6LZXnhg82ijj/S5yhKNRf9LeGDzaqxzAwMQ==", "requires": { - "workbox-core": "^3.6.2" + "workbox-core": "^3.6.3" } }, "workbox-strategies": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/workbox-strategies/-/workbox-strategies-3.6.2.tgz", - "integrity": "sha512-4jAyL3n0Fl1BLB3QDUoUoBTzBsE8FwH0K7He1JvLzFiDtYp1ewcKjDecYCNZyTsFVgaLL7WClEQCOKSBquBfOg==", + "version": "3.6.3", + "resolved": "https://registry.npmjs.org/workbox-strategies/-/workbox-strategies-3.6.3.tgz", + "integrity": "sha512-Pg5eulqeKet2y8j73Yw6xTgLdElktcWExGkzDVCGqfV9JCvnGuEpz5eVsCIK70+k4oJcBCin9qEg3g3CwEIH3g==", "requires": { - "workbox-core": "^3.6.2" + "workbox-core": "^3.6.3" } }, "workbox-streams": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/workbox-streams/-/workbox-streams-3.6.2.tgz", - "integrity": "sha512-lKTh5fOAf+Qae7GHYXZve40ZXULCf9kxlkrWjTXqGcTh6cxeibuWl6Mnt4aroChNB8jOEbHfGOy0iaG0R159ew==", + "version": "3.6.3", + "resolved": "https://registry.npmjs.org/workbox-streams/-/workbox-streams-3.6.3.tgz", + "integrity": "sha512-rqDuS4duj+3aZUYI1LsrD2t9hHOjwPqnUIfrXSOxSVjVn83W2MisDF2Bj+dFUZv4GalL9xqErcFW++9gH+Z27w==", "requires": { - "workbox-core": "^3.6.2" + "workbox-core": "^3.6.3" } }, "workbox-sw": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/workbox-sw/-/workbox-sw-3.6.2.tgz", - "integrity": "sha512-EwQZaeGB+tEogABMj9FaEDuszaSBQgjAUEqTFiizZWSU8owZrt0BFfi69TMAhILOfWLFh3aASMzQnPMDY7id4w==" + "version": "3.6.3", + "resolved": "https://registry.npmjs.org/workbox-sw/-/workbox-sw-3.6.3.tgz", + "integrity": "sha512-IQOUi+RLhvYCiv80RP23KBW/NTtIvzvjex28B8NW1jOm+iV4VIu3VXKXTA6er5/wjjuhmtB28qEAUqADLAyOSg==" }, "workbox-webpack-plugin": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/workbox-webpack-plugin/-/workbox-webpack-plugin-3.2.0.tgz", - "integrity": "sha512-zl1/2ChVhwcpSumDd3jSUfbDIk5MtTSW5xc/h/WPkBpYi4dwvfwmQ8KAXc1qBIEoDz++R483zwYTyJQJ0g6f3w==", + "version": "3.6.3", + "resolved": "https://registry.npmjs.org/workbox-webpack-plugin/-/workbox-webpack-plugin-3.6.3.tgz", + "integrity": "sha512-RwmKjc7HFHUFHoOlKoZUq9349u0QN3F8W5tZZU0vc1qsBZDINWXRiIBCAKvo/Njgay5sWz7z4I2adnyTo97qIQ==", "requires": { + "babel-runtime": "^6.26.0", "json-stable-stringify": "^1.0.1", - "workbox-build": "^3.2.0" + "workbox-build": "^3.6.3" } }, "worker-farm": { @@ -15048,12 +13911,11 @@ } }, "ws": { - "version": "4.1.0", - "resolved": "http://registry.npmjs.org/ws/-/ws-4.1.0.tgz", - "integrity": "sha512-ZGh/8kF9rrRNffkLFV4AzhvooEclrOH0xaugmqGsIfFgOE/pIz4fMc4Ef+5HSQqTEug2S9JZIWDR47duDSLfaA==", + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/ws/-/ws-5.2.2.tgz", + "integrity": "sha512-jaHFD6PFv6UgoIVda6qZllptQsMlDEJkTQcybzzXDYM1XO9Y8em691FGMPmM46WGyLU4z9KMgQN+qrux/nhlHA==", "requires": { - "async-limiter": "~1.0.0", - "safe-buffer": "~5.1.0" + "async-limiter": "~1.0.0" } }, "xdg-basedir": { @@ -15064,20 +13926,15 @@ "os-homedir": "^1.0.0" } }, - "xml-name-validator": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-3.0.0.tgz", - "integrity": "sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw==" - }, "xtend": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz", "integrity": "sha1-pcbVMr5lbiPbgg77lDofBJmNY68=" }, "y18n": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz", - "integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE=" + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz", + "integrity": "sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w==" }, "yallist": { "version": "2.1.2", @@ -15109,14 +13966,6 @@ "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=" }, - "find-up": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", - "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", - "requires": { - "locate-path": "^2.0.0" - } - }, "is-fullwidth-code-point": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", @@ -15141,6 +13990,11 @@ "pify": "^2.0.0" } }, + "pify": { + "version": "2.3.0", + "resolved": "http://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=" + }, "read-pkg": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz", @@ -15173,6 +14027,11 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=" + }, + "y18n": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz", + "integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE=" } } }, @@ -15192,13 +14051,11 @@ } }, "yauzl": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz", - "integrity": "sha1-x+sXyT4RLLEIb6bY5R+wZnt5pfk=", - "dev": true, + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.4.1.tgz", + "integrity": "sha1-lSj0QtqxsihOWLQ3m7GU4i4MQAU=", "requires": { - "buffer-crc32": "~0.2.3", - "fd-slicer": "~1.1.0" + "fd-slicer": "~1.0.1" } } } diff --git a/package.json b/package.json index 9479bee..1acd4c3 100644 --- a/package.json +++ b/package.json @@ -49,30 +49,30 @@ "devDependencies": { "@dojo/cli": "^4.0.0", "@dojo/scripts": "~3.0.1", - "@types/clean-webpack-plugin": "0.1.0", + "@types/clean-webpack-plugin": "0.1.2", "@types/execa": "0.8.0", "@types/express": "4.11.0", - "@types/extract-text-webpack-plugin": "3.0.0", "@types/globby": "6.1.0", "@types/gzip-size": "4.0.0", - "@types/html-webpack-plugin": "2.30.1", + "@types/html-webpack-plugin": "3.2.0", "@types/jsonfile": "4.0.1", - "@types/loader-utils": "1.1.0", + "@types/loader-utils": "1.1.3", "@types/log-symbols": "2.0.0", "@types/log-update": "2.0.0", + "@types/mini-css-extract-plugin": "0.2.0", "@types/mockery": "1.4.29", "@types/node": "~9.6.5", "@types/optimize-css-assets-webpack-plugin": "1.3.1", - "@types/ora": "^1.3.1", + "@types/ora": "1.3.1", "@types/rimraf": "2.0.2", "@types/sinon": "~4.3.3", "@types/strip-ansi": "3.0.0", - "@types/tapable": "0.2.4", - "@types/webpack": "3.8.1", - "@types/webpack-chunk-hash": "0.4.0", - "@types/yargs": "^10.0.0", - "cpx": "~1.5.0", + "@types/tapable": "1.0.4", + "@types/webpack": "4.4.19", + "@types/webpack-chunk-hash": "0.4.2", + "@types/yargs": "10.0.0", "codecov": "~3.0.4", + "cpx": "~1.5.0", "execa": "0.8.0", "husky": "^0.14.3", "lint-staged": "6.0.0", @@ -86,45 +86,44 @@ }, "dependencies": { "@dojo/framework": "^4.0.0", - "@dojo/webpack-contrib": "^4.0.0", + "@dojo/webpack-contrib": "next", "chalk": "2.4.1", - "clean-webpack-plugin": "0.1.17", + "clean-webpack-plugin": "1.0.0", "cli-columns": "3.1.2", - "css-loader": "0.28.7", + "css-loader": "1.0.1", "express": "4.16.2", - "extract-text-webpack-plugin": "3.0.2", - "file-loader": "1.1.5", + "file-loader": "2.0.0", "globby": "7.1.1", "gzip-size": "4.1.0", "html-webpack-plugin": "3.2.0", - "imports-loader": "0.7.1", + "imports-loader": "0.8.0", "istanbul-instrumenter-loader": "3.0.1", "json-css-module-loader": "1.0.2", "jsonfile": "4.0.0", "loader-utils": "1.1.0", "log-symbols": "2.1.0", "log-update": "2.3.0", - "optimize-css-assets-webpack-plugin": "3.2.0", + "mini-css-extract-plugin": "0.4.2", + "optimize-css-assets-webpack-plugin": "5.0.1", "ora": "1.3.0", "pkg-dir": "2.0.0", - "postcss-import": "11.0.0", - "postcss-loader": "2.0.8", + "postcss-import": "12.0.0", + "postcss-loader": "3.0.0", "postcss-preset-env": "5.3.0", "slash": "1.0.0", "source-map-loader-cli": "0.0.1", "strip-ansi": "4.0.0", - "style-loader": "0.19.0", - "ts-loader": "3.1.1", + "terser-webpack-plugin": "1.1.0", + "ts-loader": "5.3.0", "tslint": "5.8.0", - "tslint-loader": "3.5.3", + "tslint-loader": "3.5.4", "typed-css-modules": "0.3.1", - "uglifyjs-webpack-plugin": "1.1.0", "umd-compat-loader": "2.1.1", - "webpack": "3.8.1", + "webpack": "4.25.1", "webpack-bundle-analyzer-sunburst": "1.3.0", - "webpack-chunk-hash": "0.5.0", - "webpack-dev-middleware": "2.0.3", - "webpack-hot-middleware": "2.21.0", - "webpack-mild-compile": "1.0.0" + "webpack-chunk-hash": "0.6.0", + "webpack-dev-middleware": "3.4.0", + "webpack-hot-middleware": "2.24.3", + "webpack-mild-compile": "3.3.1" } } diff --git a/src/base.config.ts b/src/base.config.ts index 7cd42b9..043e369 100644 --- a/src/base.config.ts +++ b/src/base.config.ts @@ -1,14 +1,13 @@ -import * as webpack from 'webpack'; -import * as path from 'path'; -import { existsSync } from 'fs'; import CssModulePlugin from '@dojo/webpack-contrib/css-module-plugin/CssModulePlugin'; -import * as ExtractTextPlugin from 'extract-text-webpack-plugin'; -import { WebpackConfiguration } from './interfaces'; +import { existsSync } from 'fs'; import * as loaderUtils from 'loader-utils'; +import * as MiniCssExtractPlugin from 'mini-css-extract-plugin'; +import * as path from 'path'; +import * as webpack from 'webpack'; const postcssPresetEnv = require('postcss-preset-env'); -const IgnorePlugin = require('webpack/lib/IgnorePlugin'); const slash = require('slash'); +const IgnorePlugin = require('webpack/lib/IgnorePlugin'); const basePath = process.cwd(); const srcPath = path.join(basePath, 'src'); @@ -56,11 +55,8 @@ function getLocalIdent( options: any ) { if (!options.context) { - if (loaderContext.options && typeof loaderContext.options.context === 'string') { - options.context = loaderContext.options.context; - } else { - options.context = loaderContext.context; - } + const { context, rootContext } = loaderContext; + options.context = typeof rootContext === 'string' ? rootContext : context; } const request = slash(path.relative(options.context, loaderContext.resourcePath)); options.content = `${options.hashPrefix}${request}+${localName}`; @@ -87,7 +83,7 @@ function colorToColorMod(style: CssStyle) { }); } -export default function webpackConfigFactory(args: any): WebpackConfiguration { +export default function webpackConfigFactory(args: any): webpack.Configuration { const elements = args.element ? [args.element] : args.elements; const jsonpIdent = args.element ? args.element.name : 'custom-elements'; const extensions = args.legacy ? ['.ts', '.tsx', '.js'] : ['.ts', '.tsx', '.mjs', '.js']; @@ -109,6 +105,7 @@ export default function webpackConfigFactory(args: any): WebpackConfiguration { }; const config: webpack.Configuration = { + mode: 'development', entry: elements.reduce((entry: any, element: any) => { entry[element.name] = [ `imports-loader?widgetFactory=${element.path}!${path.join(__dirname, 'template', 'custom-element.js')}` @@ -127,17 +124,32 @@ export default function webpackConfigFactory(args: any): WebpackConfiguration { modules: [basePath, path.join(basePath, 'node_modules')], extensions }, - devtool: 'source-map', + optimization: { + splitChunks: { + cacheGroups: elements.reduce((groups: { [key: string]: webpack.Options.CacheGroupsOptions }, element: any) => { + function recursiveIssuer(m: any): string | boolean { + return m.issuer ? recursiveIssuer(m.issuer) : m.name ? m.name : false; + } + groups[`${element.name}Styles`] = { + name: element.name, + test: (m: any, c: any, entry = element.name) => + m.constructor.name === 'CssModule' && recursiveIssuer(m) === entry, + chunks: 'all', + enforce: true + }; + return groups; + }, {}) + } + }, watchOptions: { ignored: /node_modules/ }, plugins: removeEmpty([ new CssModulePlugin(basePath), new webpack.BannerPlugin(banner), new IgnorePlugin(/request\/providers\/node/), - new ExtractTextPlugin({ - filename: (getPath: any) => getPath(`[name]-${packageJson.version}.css`) - } as any), - new webpack.NamedChunksPlugin(), - new webpack.NamedModulesPlugin() + new MiniCssExtractPlugin({ + filename: `[name]-${packageJson.version}.css`, + sourceMap: true + } as any) ]), module: { rules: removeEmpty([ @@ -181,6 +193,10 @@ export default function webpackConfigFactory(args: any): WebpackConfiguration { ]) }, { + // We cannot trust that all `mjs` modules use the correct import format for all dependencies + // (e.g., do not use `import from` for cjs modules). Setting the type to `javascript/auto` allows + // incorrect imports to continue working. + type: 'javascript/auto', test: /\.mjs$/, use: removeEmpty([ { @@ -212,10 +228,7 @@ export default function webpackConfigFactory(args: any): WebpackConfiguration { { test: /\.css$/, exclude: allPaths, - use: ExtractTextPlugin.extract({ - fallback: ['style-loader'], - use: ['css-loader?sourceMap'] - }) + use: [MiniCssExtractPlugin.loader, 'css-loader?sourceMap'] }, { test: /\.m\.css.js$/, @@ -225,33 +238,31 @@ export default function webpackConfigFactory(args: any): WebpackConfiguration { { include: allPaths, test: /.*\.css?$/, - use: ExtractTextPlugin.extract({ - fallback: ['style-loader'], - use: [ - '@dojo/webpack-contrib/css-module-decorator-loader', - { - loader: 'css-loader', - options: { - modules: true, - sourceMap: true, - importLoaders: 1, - localIdentName: '[name]__[local]__[hash:base64:5]', - getLocalIdent - } - }, - { - loader: 'postcss-loader?sourceMap', - options: { - ident: 'postcss', - plugins: [require('postcss-import')(), postcssPresetEnv(postcssPresetConfig)] - } + use: [ + MiniCssExtractPlugin.loader, + '@dojo/webpack-contrib/css-module-decorator-loader', + { + loader: 'css-loader', + options: { + modules: true, + sourceMap: true, + importLoaders: 1, + localIdentName: '[name]__[local]__[hash:base64:5]', + getLocalIdent } - ] - }) + }, + { + loader: 'postcss-loader?sourceMap', + options: { + ident: 'postcss', + plugins: [require('postcss-import')(), postcssPresetEnv(postcssPresetConfig)] + } + } + ] } ]) } }; - return config as WebpackConfiguration; + return config; } diff --git a/src/dev.config.ts b/src/dev.config.ts index bc65c78..036b61b 100644 --- a/src/dev.config.ts +++ b/src/dev.config.ts @@ -1,18 +1,19 @@ import baseConfigFactory from './base.config'; import * as path from 'path'; -import webpack = require('webpack'); +import * as webpack from 'webpack'; import * as CleanWebpackPlugin from 'clean-webpack-plugin'; function webpackConfig(args: any): webpack.Configuration { const config = baseConfigFactory(args); const { plugins, output } = config; const location = path.join('dev', args.element.name); + const outputPath = output!.path as string; - config.plugins = [...plugins, new CleanWebpackPlugin([location], { root: output.path, verbose: false })]; + config.plugins = [...plugins!, new CleanWebpackPlugin([location], { root: outputPath, verbose: false })]; config.output = { ...output, - path: path.join(output.path!, location) + path: path.join(outputPath, location) }; config.devtool = 'inline-source-map'; diff --git a/src/dist.config.ts b/src/dist.config.ts index 324dfcf..455d959 100644 --- a/src/dist.config.ts +++ b/src/dist.config.ts @@ -1,24 +1,36 @@ import baseConfigFactory from './base.config'; import webpack = require('webpack'); import * as path from 'path'; -import * as ExtractTextPlugin from 'extract-text-webpack-plugin'; import * as CleanWebpackPlugin from 'clean-webpack-plugin'; import * as WebpackChunkHash from 'webpack-chunk-hash'; -import { existsSync } from 'fs'; const BundleAnalyzerPlugin = require('webpack-bundle-analyzer-sunburst').BundleAnalyzerPlugin; -const UglifyJsPlugin = require('uglifyjs-webpack-plugin'); - -const packageJsonPath = path.join(process.cwd(), 'package.json'); -const packageJson = existsSync(packageJsonPath) ? require(packageJsonPath) : {}; +const OptimizeCssAssetsPlugin = require('optimize-css-assets-webpack-plugin'); +const TerserPlugin = require('terser-webpack-plugin'); function webpackConfig(args: any): webpack.Configuration { const config = baseConfigFactory(args); const { plugins, output } = config; const location = path.join('dist', args.element.name); + const outputPath = output!.path as string; + + config.mode = 'production'; + + config.optimization = { + ...config.optimization, + minimizer: [ + new TerserPlugin({ sourceMap: true, cache: true }), + new OptimizeCssAssetsPlugin({ + cssProcessor: require('cssnano'), + cssProcessorPluginOptions: { + preset: ['default', { calc: false }] + } + }) + ] + }; config.plugins = [ - ...plugins, + ...plugins!, new BundleAnalyzerPlugin({ analyzerMode: 'static', openAnalyzer: false, @@ -27,29 +39,13 @@ function webpackConfig(args: any): webpack.Configuration { reportFilename: path.join('..', '..', 'info', args.element.name, 'report.html'), statsFilename: path.join('..', '..', 'info', args.element.name, 'stats.json') }), - new UglifyJsPlugin({ sourceMap: true, cache: true }), new WebpackChunkHash(), - new CleanWebpackPlugin([location], { root: output.path, verbose: false }), - new webpack.DefinePlugin({ - 'process.env': { - NODE_ENV: '"production"' - } - }) + new CleanWebpackPlugin([location], { root: outputPath, verbose: false }) ]; - config.plugins = config.plugins.map(plugin => { - if (plugin instanceof ExtractTextPlugin) { - return new ExtractTextPlugin({ - filename: `[name]-${packageJson.version}.css`, - allChunks: true - }); - } - return plugin; - }); - config.output = { ...output, - path: path.join(output.path!, location) + path: path.join(outputPath, location) }; return config; diff --git a/src/interfaces.d.ts b/src/interfaces.d.ts deleted file mode 100644 index a26ec0b..0000000 --- a/src/interfaces.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import * as webpack from 'webpack'; - -export interface Output extends webpack.Output { - path: string; -} - -export interface Module extends webpack.NewModule { - rules: webpack.NewUseRule[]; -} - -export interface WebpackConfiguration extends webpack.Configuration { - plugins: webpack.Plugin[]; - output: Output; - module: Module; -} diff --git a/src/main.ts b/src/main.ts index 256a837..0794b95 100644 --- a/src/main.ts +++ b/src/main.ts @@ -19,18 +19,20 @@ const webpackMiddleware = require('webpack-dev-middleware'); function createCompiler(config: webpack.Configuration[]) { const compiler = webpack(config); - fixMultipleWatchTrigger(compiler); + compiler.compilers.forEach(childCompiler => { + fixMultipleWatchTrigger(childCompiler); + }); return compiler; } function createWatchCompiler(config: webpack.Configuration[]) { const compiler = createCompiler(config); const spinner = ora('building').start(); - compiler.plugin('invalid', () => { + (compiler as any).hooks.invalid.tap('invalid', () => { logUpdate(''); spinner.start(); }); - compiler.plugin('done', () => { + (compiler as any).hooks.done.tap('done', () => { spinner.stop(); }); return compiler; @@ -103,8 +105,8 @@ function memoryWatch(configs: webpack.Configuration[], args: any, app: express.A const watchOptions = configs[0].watchOptions as webpack.Compiler.WatchOptions; const compiler = createWatchCompiler(configs); - compiler.plugin('done', stats => { - logger(stats.toJson(), configs, `Listening on port ${args.port}...`); + (compiler as any).hooks.done.tap('@dojo/cli-build-widget', (stats: webpack.Stats) => { + logger(stats.toJson({ warningsFilter }), configs, `Listening on port ${args.port}...`); }); app.use( @@ -160,6 +162,10 @@ function serve(configs: webpack.Configuration[], args: any): Promise { }); } +function warningsFilter(warning: string) { + return warning.includes('[mini-css-extract-plugin]\nConflicting order between'); +} + const command: Command = { group: 'build', name: 'widget', diff --git a/src/test.config.ts b/src/test.config.ts index 7fb7ec4..978f33c 100644 --- a/src/test.config.ts +++ b/src/test.config.ts @@ -3,7 +3,6 @@ import * as path from 'path'; import * as webpack from 'webpack'; import * as globby from 'globby'; import * as CleanWebpackPlugin from 'clean-webpack-plugin'; -import * as ExtractTextPlugin from 'extract-text-webpack-plugin'; const basePath = process.cwd(); @@ -11,6 +10,7 @@ function webpackConfig(args: any): webpack.Configuration { const config = baseConfigFactory(args); const { plugins, output, module } = config; const instrumenterOptions = args.legacy ? {} : { esModules: true }; + const outputPath = output!.path as string; config.entry = () => { const unit = globby .sync([`${basePath}/tests/unit/**/*.ts`]) @@ -34,41 +34,36 @@ function webpackConfig(args: any): webpack.Configuration { }; const externals: any[] = (config.externals as any[]) || []; - config.plugins = [ - ...plugins.map(plugin => { - if (plugin instanceof ExtractTextPlugin) { - (plugin as any).options = { ...(plugin as any).options, disable: true }; - } - return plugin; - }), - new CleanWebpackPlugin(['test'], { root: output.path, verbose: false }) - ]; + config.plugins = [...plugins!, new CleanWebpackPlugin(['test'], { root: outputPath, verbose: false })]; - module.rules = module.rules.map(rule => { - if (Array.isArray(rule.use)) { - rule.use = rule.use.map(loader => { - if (typeof loader === 'string') { + if (module) { + module.rules = module.rules.map(rule => { + if (Array.isArray(rule.use)) { + rule.use = rule.use.map(loader => { + if (typeof loader === 'string') { + return loader; + } + const { loader: loaderName } = loader as webpack.RuleSetLoader; + if (loaderName === 'umd-compat-loader') { + return { + loader: loaderName, + options: {} + }; + } return loader; - } - if (loader.loader === 'umd-compat-loader') { - return { - loader: loader.loader, - options: {} - }; - } - return loader; - }); - } - return rule; - }); - module.rules.push({ - test: /src[\\\/].*\.ts(x)?$/, - use: { - loader: 'istanbul-instrumenter-loader', - options: instrumenterOptions - }, - enforce: 'post' - }); + }); + } + return rule; + }); + module.rules.push({ + test: /src[\\\/].*\.ts(x)?$/, + use: { + loader: 'istanbul-instrumenter-loader', + options: instrumenterOptions + }, + enforce: 'post' + }); + } externals.push(/^intern/); config.externals = externals; @@ -76,8 +71,8 @@ function webpackConfig(args: any): webpack.Configuration { config.output = { ...output, chunkFilename: `[name].js`, - filename: `[name].js`, - path: path.join(output.path, 'test') + filename: '[name].js', + path: path.join(outputPath, 'test') }; return config; } diff --git a/test-app/fixtures/unix/dev/menu-item/menu-item-1.0.0.css b/test-app/fixtures/unix/dev/menu-item/menu-item-1.0.0.css index d63fdc4..0456721 100644 --- a/test-app/fixtures/unix/dev/menu-item/menu-item-1.0.0.css +++ b/test-app/fixtures/unix/dev/menu-item/menu-item-1.0.0.css @@ -51,4 +51,5 @@ transform: translateY(0); } -/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvbWVudS1pdGVtL21lbnVJdGVtLm0uY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBQUE7Q0FDQyxhQUFhO0NBQ2Isc0JBQXNCO0NBQ3RCOztBQUVEO0NBQ0MsWUFBWTtDQUNaLHNCQUFzQjtDQUN0QixnQkFBZ0I7Q0FDaEIsbUJBQW1CO0NBQ25CLHFCQUFxQjtDQUNyQixxQkFBcUI7Q0FDckIsY0FBYztDQUNkLDZCQUE2QjtDQUM3Qiw4QkFBOEI7S0FDMUIsMkJBQTJCO1NBQ3ZCLHVCQUF1QjtDQUMvQix5QkFBeUI7S0FDckIsc0JBQXNCO1NBQ2xCLHdCQUF3QjtDQUNoQyxhQUFhO0NBQ2IsZ0JBQWdCO0NBQ2hCOztBQUVEO0NBQ0MsZUFBZTtDQUNmLFlBQVk7Q0FDWixpQkFBaUI7Q0FDakIsWUFBWTtDQUNaLG1CQUFtQjtDQUNuQixZQUFZO0NBQ1osVUFBVTtDQUNWLG1EQUFtRDtDQUNuRCwyQ0FBMkM7Q0FDM0MsbUNBQW1DO0NBQ25DLG1FQUFtRTtDQUNuRSxtQ0FBbUM7U0FDM0IsMkJBQTJCO0NBQ25DOztBQUVEO0NBQ0MsaUNBQWlDO1NBQ3pCLHlCQUF5QjtDQUNqQyIsImZpbGUiOiJtZW51LWl0ZW0tMS4wLjAuY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLnJvb3Qge1xuXHRoZWlnaHQ6IDEwMCU7XG5cdGRpc3BsYXk6IGlubGluZS1ibG9jaztcbn1cblxuLml0ZW0ge1xuXHRjb2xvcjogI2ZmZjtcblx0dGV4dC1kZWNvcmF0aW9uOiBub25lO1xuXHRtYXJnaW46IDAgNi40cHg7XG5cdHBvc2l0aW9uOiByZWxhdGl2ZTtcblx0ZGlzcGxheTogLXdlYmtpdC1ib3g7XG5cdGRpc3BsYXk6IC1tcy1mbGV4Ym94O1xuXHRkaXNwbGF5OiBmbGV4O1xuXHQtd2Via2l0LWJveC1vcmllbnQ6IHZlcnRpY2FsO1xuXHQtd2Via2l0LWJveC1kaXJlY3Rpb246IG5vcm1hbDtcblx0ICAgIC1tcy1mbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuXHQgICAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG5cdC13ZWJraXQtYm94LXBhY2s6IGNlbnRlcjtcblx0ICAgIC1tcy1mbGV4LXBhY2s6IGNlbnRlcjtcblx0ICAgICAgICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcblx0aGVpZ2h0OiA0OHB4O1xuXHRjdXJzb3I6IHBvaW50ZXI7XG59XG5cbi5pdGVtOjphZnRlciB7XG5cdGRpc3BsYXk6IGJsb2NrO1xuXHRjb250ZW50OiBcIlwiO1xuXHRiYWNrZ3JvdW5kOiAjZmZmO1xuXHRoZWlnaHQ6IDJweDtcblx0cG9zaXRpb246IGFic29sdXRlO1xuXHR3aWR0aDogMTAwJTtcblx0Ym90dG9tOiAwO1xuXHQtd2Via2l0LXRyYW5zaXRpb246IC13ZWJraXQtdHJhbnNmb3JtIC4zcyBlYXNlLW91dDtcblx0dHJhbnNpdGlvbjogLXdlYmtpdC10cmFuc2Zvcm0gLjNzIGVhc2Utb3V0O1xuXHR0cmFuc2l0aW9uOiB0cmFuc2Zvcm0gLjNzIGVhc2Utb3V0O1xuXHR0cmFuc2l0aW9uOiB0cmFuc2Zvcm0gLjNzIGVhc2Utb3V0LCAtd2Via2l0LXRyYW5zZm9ybSAuM3MgZWFzZS1vdXQ7XG5cdC13ZWJraXQtdHJhbnNmb3JtOiB0cmFuc2xhdGVZKDNweCk7XG5cdCAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVZKDNweCk7XG59XG5cbi5zZWxlY3RlZDo6YWZ0ZXIge1xuXHQtd2Via2l0LXRyYW5zZm9ybTogdHJhbnNsYXRlWSgwKTtcblx0ICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVkoMCk7XG59XG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9zcmMvbWVudS1pdGVtL21lbnVJdGVtLm0uY3NzIl0sInNvdXJjZVJvb3QiOiIifQ==*/ \ No newline at end of file + +/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvbWVudS1pdGVtL21lbnVJdGVtLm0uY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBQUE7Q0FDQyxhQUFhO0NBQ2Isc0JBQXNCO0NBQ3RCOztBQUVEO0NBQ0MsWUFBWTtDQUNaLHNCQUFzQjtDQUN0QixnQkFBZ0I7Q0FDaEIsbUJBQW1CO0NBQ25CLHFCQUFxQjtDQUNyQixxQkFBcUI7Q0FDckIsY0FBYztDQUNkLDZCQUE2QjtDQUM3Qiw4QkFBOEI7S0FDMUIsMkJBQTJCO1NBQ3ZCLHVCQUF1QjtDQUMvQix5QkFBeUI7S0FDckIsc0JBQXNCO1NBQ2xCLHdCQUF3QjtDQUNoQyxhQUFhO0NBQ2IsZ0JBQWdCO0NBQ2hCOztBQUVEO0NBQ0MsZUFBZTtDQUNmLFlBQVk7Q0FDWixpQkFBaUI7Q0FDakIsWUFBWTtDQUNaLG1CQUFtQjtDQUNuQixZQUFZO0NBQ1osVUFBVTtDQUNWLG1EQUFtRDtDQUNuRCwyQ0FBMkM7Q0FDM0MsbUNBQW1DO0NBQ25DLG1FQUFtRTtDQUNuRSxtQ0FBbUM7U0FDM0IsMkJBQTJCO0NBQ25DOztBQUVEO0NBQ0MsaUNBQWlDO1NBQ3pCLHlCQUF5QjtDQUNqQyIsImZpbGUiOiJtZW51LWl0ZW0tMS4wLjAuY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLnJvb3Qge1xuXHRoZWlnaHQ6IDEwMCU7XG5cdGRpc3BsYXk6IGlubGluZS1ibG9jaztcbn1cblxuLml0ZW0ge1xuXHRjb2xvcjogI2ZmZjtcblx0dGV4dC1kZWNvcmF0aW9uOiBub25lO1xuXHRtYXJnaW46IDAgNi40cHg7XG5cdHBvc2l0aW9uOiByZWxhdGl2ZTtcblx0ZGlzcGxheTogLXdlYmtpdC1ib3g7XG5cdGRpc3BsYXk6IC1tcy1mbGV4Ym94O1xuXHRkaXNwbGF5OiBmbGV4O1xuXHQtd2Via2l0LWJveC1vcmllbnQ6IHZlcnRpY2FsO1xuXHQtd2Via2l0LWJveC1kaXJlY3Rpb246IG5vcm1hbDtcblx0ICAgIC1tcy1mbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuXHQgICAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG5cdC13ZWJraXQtYm94LXBhY2s6IGNlbnRlcjtcblx0ICAgIC1tcy1mbGV4LXBhY2s6IGNlbnRlcjtcblx0ICAgICAgICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcblx0aGVpZ2h0OiA0OHB4O1xuXHRjdXJzb3I6IHBvaW50ZXI7XG59XG5cbi5pdGVtOjphZnRlciB7XG5cdGRpc3BsYXk6IGJsb2NrO1xuXHRjb250ZW50OiBcIlwiO1xuXHRiYWNrZ3JvdW5kOiAjZmZmO1xuXHRoZWlnaHQ6IDJweDtcblx0cG9zaXRpb246IGFic29sdXRlO1xuXHR3aWR0aDogMTAwJTtcblx0Ym90dG9tOiAwO1xuXHQtd2Via2l0LXRyYW5zaXRpb246IC13ZWJraXQtdHJhbnNmb3JtIC4zcyBlYXNlLW91dDtcblx0dHJhbnNpdGlvbjogLXdlYmtpdC10cmFuc2Zvcm0gLjNzIGVhc2Utb3V0O1xuXHR0cmFuc2l0aW9uOiB0cmFuc2Zvcm0gLjNzIGVhc2Utb3V0O1xuXHR0cmFuc2l0aW9uOiB0cmFuc2Zvcm0gLjNzIGVhc2Utb3V0LCAtd2Via2l0LXRyYW5zZm9ybSAuM3MgZWFzZS1vdXQ7XG5cdC13ZWJraXQtdHJhbnNmb3JtOiB0cmFuc2xhdGVZKDNweCk7XG5cdCAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVZKDNweCk7XG59XG5cbi5zZWxlY3RlZDo6YWZ0ZXIge1xuXHQtd2Via2l0LXRyYW5zZm9ybTogdHJhbnNsYXRlWSgwKTtcblx0ICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVkoMCk7XG59XG4iXSwic291cmNlUm9vdCI6IiJ9*/ \ No newline at end of file diff --git a/test-app/fixtures/unix/dev/menu-item/menu-item-1.0.0.js b/test-app/fixtures/unix/dev/menu-item/menu-item-1.0.0.js index 359c192..6ae8bf4 100644 --- a/test-app/fixtures/unix/dev/menu-item/menu-item-1.0.0.js +++ b/test-app/fixtures/unix/dev/menu-item/menu-item-1.0.0.js @@ -44,14 +44,34 @@ /******/ // define getter function for harmony exports /******/ __webpack_require__.d = function(exports, name, getter) { /******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); /******/ } /******/ }; /******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ /******/ // getDefaultExport function for compatibility with non-harmony modules /******/ __webpack_require__.n = function(module) { /******/ var getter = module && module.__esModule ? @@ -67,6 +87,7 @@ /******/ // __webpack_public_path__ /******/ __webpack_require__.p = ""; /******/ +/******/ /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = 0); /******/ }) @@ -74,18 +95,24 @@ /******/ ({ /***/ "./node_modules/@dojo/framework/core/Destroyable.mjs": +/*!***********************************************************!*\ + !*** ./node_modules/@dojo/framework/core/Destroyable.mjs ***! + \***********************************************************/ +/*! exports provided: Destroyable, default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__lang__ = __webpack_require__("./node_modules/@dojo/framework/core/lang.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__shim_Promise__ = __webpack_require__("./node_modules/@dojo/framework/shim/Promise.mjs"); +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Destroyable", function() { return Destroyable; }); +/* harmony import */ var _lang__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./lang */ "./node_modules/@dojo/framework/core/lang.mjs"); +/* harmony import */ var _shim_Promise__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../shim/Promise */ "./node_modules/@dojo/framework/shim/Promise.mjs"); /** * No operation function to replace own once instance is destoryed */ function noop() { - return __WEBPACK_IMPORTED_MODULE_1__shim_Promise__["a" /* default */].resolve(false); + return _shim_Promise__WEBPACK_IMPORTED_MODULE_1__["default"].resolve(false); } /** * No op function used to replace own, once instance has been destoryed @@ -107,7 +134,7 @@ class Destroyable { * @returns {Handle} a handle for the handle, removes the handle for the instance and calls destroy */ own(handles) { - const handle = Array.isArray(handles) ? Object(__WEBPACK_IMPORTED_MODULE_0__lang__["b" /* createCompositeHandle */])(...handles) : handles; + const handle = Array.isArray(handles) ? Object(_lang__WEBPACK_IMPORTED_MODULE_0__["createCompositeHandle"])(...handles) : handles; const { handles: _handles } = this; _handles.push(handle); return { @@ -123,7 +150,7 @@ class Destroyable { * @returns {Promise { + return new _shim_Promise__WEBPACK_IMPORTED_MODULE_1__["default"]((resolve) => { this.handles.forEach((handle) => { handle && handle.destroy && handle.destroy(); }); @@ -133,26 +160,30 @@ class Destroyable { }); } } -/* harmony export (immutable) */ __webpack_exports__["a"] = Destroyable; - -/* unused harmony default export */ var _unused_webpack_default_export = (Destroyable); +/* harmony default export */ __webpack_exports__["default"] = (Destroyable); //# sourceMappingURL=Destroyable.mjs.map /***/ }), /***/ "./node_modules/@dojo/framework/core/Evented.mjs": +/*!*******************************************************!*\ + !*** ./node_modules/@dojo/framework/core/Evented.mjs ***! + \*******************************************************/ +/*! exports provided: isGlobMatch, Evented, default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* unused harmony export isGlobMatch */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__shim_Map__ = __webpack_require__("./node_modules/@dojo/framework/shim/Map.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__Destroyable__ = __webpack_require__("./node_modules/@dojo/framework/core/Destroyable.mjs"); +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isGlobMatch", function() { return isGlobMatch; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Evented", function() { return Evented; }); +/* harmony import */ var _shim_Map__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../shim/Map */ "./node_modules/@dojo/framework/shim/Map.mjs"); +/* harmony import */ var _Destroyable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Destroyable */ "./node_modules/@dojo/framework/core/Destroyable.mjs"); /** * Map of computed regular expressions, keyed by string */ -const regexMap = new __WEBPACK_IMPORTED_MODULE_0__shim_Map__["b" /* default */](); +const regexMap = new _shim_Map__WEBPACK_IMPORTED_MODULE_0__["default"](); /** * Determines is the event type glob has been matched * @@ -177,13 +208,13 @@ function isGlobMatch(globString, targetString) { /** * Event Class */ -class Evented extends __WEBPACK_IMPORTED_MODULE_1__Destroyable__["a" /* Destroyable */] { +class Evented extends _Destroyable__WEBPACK_IMPORTED_MODULE_1__["Destroyable"] { constructor() { super(...arguments); /** * map of listeners keyed by event type */ - this.listenersMap = new __WEBPACK_IMPORTED_MODULE_0__shim_Map__["b" /* default */](); + this.listenersMap = new _shim_Map__WEBPACK_IMPORTED_MODULE_0__["default"](); } emit(event) { this.listenersMap.forEach((methods, type) => { @@ -217,29 +248,33 @@ class Evented extends __WEBPACK_IMPORTED_MODULE_1__Destroyable__["a" /* Destroya }; } } -/* harmony export (immutable) */ __webpack_exports__["a"] = Evented; - -/* unused harmony default export */ var _unused_webpack_default_export = (Evented); +/* harmony default export */ __webpack_exports__["default"] = (Evented); //# sourceMappingURL=Evented.mjs.map /***/ }), /***/ "./node_modules/@dojo/framework/core/lang.mjs": +/*!****************************************************!*\ + !*** ./node_modules/@dojo/framework/core/lang.mjs ***! + \****************************************************/ +/*! exports provided: assign, create, deepAssign, deepMixin, duplicate, isIdentical, lateBind, mixin, partial, createHandle, createCompositeHandle */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* unused harmony export create */ -/* unused harmony export deepAssign */ -/* unused harmony export deepMixin */ -/* unused harmony export duplicate */ -/* unused harmony export isIdentical */ -/* unused harmony export lateBind */ -/* unused harmony export mixin */ -/* unused harmony export partial */ -/* unused harmony export createHandle */ -/* harmony export (immutable) */ __webpack_exports__["b"] = createCompositeHandle; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__shim_object__ = __webpack_require__("./node_modules/@dojo/framework/shim/object.mjs"); -/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__shim_object__["a"]; }); +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "create", function() { return create; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "deepAssign", function() { return deepAssign; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "deepMixin", function() { return deepMixin; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "duplicate", function() { return duplicate; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isIdentical", function() { return isIdentical; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lateBind", function() { return lateBind; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "mixin", function() { return mixin; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "partial", function() { return partial; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createHandle", function() { return createHandle; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createCompositeHandle", function() { return createCompositeHandle; }); +/* harmony import */ var _shim_object__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../shim/object */ "./node_modules/@dojo/framework/shim/object.mjs"); +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "assign", function() { return _shim_object__WEBPACK_IMPORTED_MODULE_0__["assign"]; }); + const slice = Array.prototype.slice; @@ -317,7 +352,7 @@ function create(prototype, ...mixins) { } const args = mixins.slice(); args.unshift(Object.create(prototype)); - return __WEBPACK_IMPORTED_MODULE_0__shim_object__["a" /* assign */].apply(null, args); + return _shim_object__WEBPACK_IMPORTED_MODULE_0__["assign"].apply(null, args); } function deepAssign(target, ...sources) { return _mixin({ @@ -440,14 +475,21 @@ function createCompositeHandle(...handles) { /***/ }), /***/ "./node_modules/@dojo/framework/has/has.mjs": +/*!**************************************************!*\ + !*** ./node_modules/@dojo/framework/has/has.mjs ***! + \**************************************************/ +/*! exports provided: testCache, testFunctions, load, normalize, exists, add, default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* WEBPACK VAR INJECTION */(function(global, process) {/* unused harmony export load */ -/* unused harmony export normalize */ -/* unused harmony export exists */ -/* harmony export (immutable) */ __webpack_exports__["a"] = add; -/* harmony export (immutable) */ __webpack_exports__["b"] = has; +__webpack_require__.r(__webpack_exports__); +/* WEBPACK VAR INJECTION */(function(global, process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "testCache", function() { return testCache; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "testFunctions", function() { return testFunctions; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "load", function() { return load; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "normalize", function() { return normalize; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "exists", function() { return exists; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "add", function() { return add; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return has; }); function isFeatureTestThenable(value) { return value && value.then; } @@ -455,14 +497,10 @@ function isFeatureTestThenable(value) { * A cache of results of feature tests */ const testCache = {}; -/* unused harmony export testCache */ - /** * A cache of the un-resolved feature tests */ const testFunctions = {}; -/* unused harmony export testFunctions */ - /** * A cache of unresolved thenables (probably promises) * @type {{}} @@ -650,34 +688,39 @@ add('host-node', function () { } }); //# sourceMappingURL=has.mjs.map -/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__("./node_modules/webpack/buildin/global.js"), __webpack_require__("./node_modules/process/browser.js"))) +/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../webpack/buildin/global.js */ "./node_modules/webpack/buildin/global.js"), __webpack_require__(/*! ./../../../process/browser.js */ "./node_modules/process/browser.js"))) /***/ }), /***/ "./node_modules/@dojo/framework/shim/Map.mjs": +/*!***************************************************!*\ + !*** ./node_modules/@dojo/framework/shim/Map.mjs ***! + \***************************************************/ +/*! exports provided: Map, default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Map; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__iterator__ = __webpack_require__("./node_modules/@dojo/framework/shim/iterator.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__global__ = __webpack_require__("./node_modules/@dojo/framework/shim/global.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__object__ = __webpack_require__("./node_modules/@dojo/framework/shim/object.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__support_has__ = __webpack_require__("./node_modules/@dojo/framework/shim/support/has.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__Symbol__ = __webpack_require__("./node_modules/@dojo/framework/shim/Symbol.mjs"); +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Map", function() { return Map; }); +/* harmony import */ var _iterator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./iterator */ "./node_modules/@dojo/framework/shim/iterator.mjs"); +/* harmony import */ var _global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./global */ "./node_modules/@dojo/framework/shim/global.mjs"); +/* harmony import */ var _object__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./object */ "./node_modules/@dojo/framework/shim/object.mjs"); +/* harmony import */ var _support_has__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./support/has */ "./node_modules/@dojo/framework/shim/support/has.mjs"); +/* harmony import */ var _Symbol__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Symbol */ "./node_modules/@dojo/framework/shim/Symbol.mjs"); -let Map = __WEBPACK_IMPORTED_MODULE_1__global__["a" /* default */].Map; -if (false) { +let Map = _global__WEBPACK_IMPORTED_MODULE_1__["default"].Map; +if (!Object(_support_has__WEBPACK_IMPORTED_MODULE_3__["default"])('es6-map')) { Map = (_a = class Map { constructor(iterable) { this._keys = []; this._values = []; this[Symbol.toStringTag] = 'Map'; if (iterable) { - if (isArrayLike(iterable)) { + if (Object(_iterator__WEBPACK_IMPORTED_MODULE_0__["isArrayLike"])(iterable)) { for (let i = 0; i < iterable.length; i++) { const value = iterable[i]; this.set(value[0], value[1]); @@ -696,7 +739,7 @@ if (false) { */ _indexOfKey(keys, key) { for (let i = 0, length = keys.length; i < length; i++) { - if (objectIs(keys[i], key)) { + if (Object(_object__WEBPACK_IMPORTED_MODULE_2__["is"])(keys[i], key)) { return i; } } @@ -721,7 +764,7 @@ if (false) { const values = this._keys.map((key, i) => { return [key, this._values[i]]; }); - return new ShimIterator(values); + return new _iterator__WEBPACK_IMPORTED_MODULE_0__["ShimIterator"](values); } forEach(callback, context) { const keys = this._keys; @@ -738,7 +781,7 @@ if (false) { return this._indexOfKey(this._keys, key) > -1; } keys() { - return new ShimIterator(this._keys); + return new _iterator__WEBPACK_IMPORTED_MODULE_0__["ShimIterator"](this._keys); } set(key, value) { let index = this._indexOfKey(this._keys, key); @@ -748,7 +791,7 @@ if (false) { return this; } values() { - return new ShimIterator(this._values); + return new _iterator__WEBPACK_IMPORTED_MODULE_0__["ShimIterator"](this._values); } [Symbol.iterator]() { return this.entries(); @@ -757,33 +800,37 @@ if (false) { _a[Symbol.species] = _a, _a); } -/* harmony default export */ __webpack_exports__["b"] = (Map); +/* harmony default export */ __webpack_exports__["default"] = (Map); var _a; //# sourceMappingURL=Map.mjs.map /***/ }), /***/ "./node_modules/@dojo/framework/shim/Promise.mjs": +/*!*******************************************************!*\ + !*** ./node_modules/@dojo/framework/shim/Promise.mjs ***! + \*******************************************************/ +/*! exports provided: ShimPromise, isThenable, default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* unused harmony export ShimPromise */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__global__ = __webpack_require__("./node_modules/@dojo/framework/shim/global.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__support_queue__ = __webpack_require__("./node_modules/@dojo/framework/shim/support/queue.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__Symbol__ = __webpack_require__("./node_modules/@dojo/framework/shim/Symbol.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__support_has__ = __webpack_require__("./node_modules/@dojo/framework/shim/support/has.mjs"); +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ShimPromise", function() { return ShimPromise; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isThenable", function() { return isThenable; }); +/* harmony import */ var _global__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./global */ "./node_modules/@dojo/framework/shim/global.mjs"); +/* harmony import */ var _support_queue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./support/queue */ "./node_modules/@dojo/framework/shim/support/queue.mjs"); +/* harmony import */ var _Symbol__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Symbol */ "./node_modules/@dojo/framework/shim/Symbol.mjs"); +/* harmony import */ var _support_has__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./support/has */ "./node_modules/@dojo/framework/shim/support/has.mjs"); -let ShimPromise = __WEBPACK_IMPORTED_MODULE_0__global__["a" /* default */].Promise; +let ShimPromise = _global__WEBPACK_IMPORTED_MODULE_0__["default"].Promise; const isThenable = function isThenable(value) { return value && typeof value.then === 'function'; }; -/* unused harmony export isThenable */ - -if (false) { - global.Promise = ShimPromise = (_a = class Promise { +if (!Object(_support_has__WEBPACK_IMPORTED_MODULE_3__["default"])('es6-promise')) { + _global__WEBPACK_IMPORTED_MODULE_0__["default"].Promise = ShimPromise = (_a = class Promise { /** * Creates a new Promise. * @@ -838,11 +885,11 @@ if (false) { } this.state = newState; this.resolvedValue = value; - whenFinished = queueMicroTask; + whenFinished = _support_queue__WEBPACK_IMPORTED_MODULE_1__["queueMicroTask"]; // Only enqueue a callback runner if there are callbacks so that initially fulfilled Promises don't have to // wait an extra turn. if (callbacks && callbacks.length > 0) { - queueMicroTask(function () { + Object(_support_queue__WEBPACK_IMPORTED_MODULE_1__["queueMicroTask"])(function () { if (callbacks) { let count = callbacks.length; for (let i = 0; i < count; ++i) { @@ -970,26 +1017,31 @@ if (false) { _a[Symbol.species] = ShimPromise, _a); } -/* harmony default export */ __webpack_exports__["a"] = (ShimPromise); +/* harmony default export */ __webpack_exports__["default"] = (ShimPromise); var _a; //# sourceMappingURL=Promise.mjs.map /***/ }), /***/ "./node_modules/@dojo/framework/shim/Symbol.mjs": +/*!******************************************************!*\ + !*** ./node_modules/@dojo/framework/shim/Symbol.mjs ***! + \******************************************************/ +/*! exports provided: Symbol, isSymbol, default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* unused harmony export Symbol */ -/* unused harmony export isSymbol */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__support_has__ = __webpack_require__("./node_modules/@dojo/framework/shim/support/has.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__global__ = __webpack_require__("./node_modules/@dojo/framework/shim/global.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__support_util__ = __webpack_require__("./node_modules/@dojo/framework/shim/support/util.mjs"); +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Symbol", function() { return Symbol; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isSymbol", function() { return isSymbol; }); +/* harmony import */ var _support_has__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./support/has */ "./node_modules/@dojo/framework/shim/support/has.mjs"); +/* harmony import */ var _global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./global */ "./node_modules/@dojo/framework/shim/global.mjs"); +/* harmony import */ var _support_util__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./support/util */ "./node_modules/@dojo/framework/shim/support/util.mjs"); -let Symbol = __WEBPACK_IMPORTED_MODULE_1__global__["a" /* default */].Symbol; -if (false) { +let Symbol = _global__WEBPACK_IMPORTED_MODULE_1__["default"].Symbol; +if (!Object(_support_has__WEBPACK_IMPORTED_MODULE_0__["default"])('es6-symbol')) { /** * Throws if the value is not a symbol, used internally within the Shim * @param {any} value The value to check @@ -1022,7 +1074,7 @@ if (false) { if (!Object.getOwnPropertyDescriptor(objPrototype, name)) { defineProperty(objPrototype, name, { set: function (value) { - defineProperty(this, name, getValueDescriptor(value)); + defineProperty(this, name, Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(value)); } }); } @@ -1035,26 +1087,26 @@ if (false) { } return Symbol(description); }; - Symbol = global.Symbol = function Symbol(description) { + Symbol = _global__WEBPACK_IMPORTED_MODULE_1__["default"].Symbol = function Symbol(description) { if (this instanceof Symbol) { throw new TypeError('TypeError: Symbol is not a constructor'); } const sym = Object.create(InternalSymbol.prototype); description = description === undefined ? '' : String(description); return defineProperties(sym, { - __description__: getValueDescriptor(description), - __name__: getValueDescriptor(getSymbolName(description)) + __description__: Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(description), + __name__: Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(getSymbolName(description)) }); }; /* Decorate the Symbol function with the appropriate properties */ - defineProperty(Symbol, 'for', getValueDescriptor(function (key) { + defineProperty(Symbol, 'for', Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(function (key) { if (globalSymbols[key]) { return globalSymbols[key]; } return (globalSymbols[key] = Symbol(String(key))); })); defineProperties(Symbol, { - keyFor: getValueDescriptor(function (sym) { + keyFor: Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(function (sym) { let key; validateSymbol(sym); for (key in globalSymbols) { @@ -1063,41 +1115,41 @@ if (false) { } } }), - hasInstance: getValueDescriptor(Symbol.for('hasInstance'), false, false), - isConcatSpreadable: getValueDescriptor(Symbol.for('isConcatSpreadable'), false, false), - iterator: getValueDescriptor(Symbol.for('iterator'), false, false), - match: getValueDescriptor(Symbol.for('match'), false, false), - observable: getValueDescriptor(Symbol.for('observable'), false, false), - replace: getValueDescriptor(Symbol.for('replace'), false, false), - search: getValueDescriptor(Symbol.for('search'), false, false), - species: getValueDescriptor(Symbol.for('species'), false, false), - split: getValueDescriptor(Symbol.for('split'), false, false), - toPrimitive: getValueDescriptor(Symbol.for('toPrimitive'), false, false), - toStringTag: getValueDescriptor(Symbol.for('toStringTag'), false, false), - unscopables: getValueDescriptor(Symbol.for('unscopables'), false, false) + hasInstance: Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(Symbol.for('hasInstance'), false, false), + isConcatSpreadable: Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(Symbol.for('isConcatSpreadable'), false, false), + iterator: Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(Symbol.for('iterator'), false, false), + match: Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(Symbol.for('match'), false, false), + observable: Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(Symbol.for('observable'), false, false), + replace: Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(Symbol.for('replace'), false, false), + search: Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(Symbol.for('search'), false, false), + species: Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(Symbol.for('species'), false, false), + split: Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(Symbol.for('split'), false, false), + toPrimitive: Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(Symbol.for('toPrimitive'), false, false), + toStringTag: Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(Symbol.for('toStringTag'), false, false), + unscopables: Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(Symbol.for('unscopables'), false, false) }); /* Decorate the InternalSymbol object */ defineProperties(InternalSymbol.prototype, { - constructor: getValueDescriptor(Symbol), - toString: getValueDescriptor(function () { + constructor: Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(Symbol), + toString: Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(function () { return this.__name__; }, false, false) }); /* Decorate the Symbol.prototype */ defineProperties(Symbol.prototype, { - toString: getValueDescriptor(function () { + toString: Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(function () { return 'Symbol (' + validateSymbol(this).__description__ + ')'; }), - valueOf: getValueDescriptor(function () { + valueOf: Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(function () { return validateSymbol(this); }) }); - defineProperty(Symbol.prototype, Symbol.toPrimitive, getValueDescriptor(function () { + defineProperty(Symbol.prototype, Symbol.toPrimitive, Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(function () { return validateSymbol(this); })); - defineProperty(Symbol.prototype, Symbol.toStringTag, getValueDescriptor('Symbol', false, false, true)); - defineProperty(InternalSymbol.prototype, Symbol.toPrimitive, getValueDescriptor(Symbol.prototype[Symbol.toPrimitive], false, false, true)); - defineProperty(InternalSymbol.prototype, Symbol.toStringTag, getValueDescriptor(Symbol.prototype[Symbol.toStringTag], false, false, true)); + defineProperty(Symbol.prototype, Symbol.toStringTag, Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])('Symbol', false, false, true)); + defineProperty(InternalSymbol.prototype, Symbol.toPrimitive, Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(Symbol.prototype[Symbol.toPrimitive], false, false, true)); + defineProperty(InternalSymbol.prototype, Symbol.toStringTag, Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(Symbol.prototype[Symbol.toStringTag], false, false, true)); } /** * A custom guard function that determines if an object is a symbol or not @@ -1125,29 +1177,34 @@ function isSymbol(value) { 'observable' ].forEach((wellKnown) => { if (!Symbol[wellKnown]) { - Object.defineProperty(Symbol, wellKnown, Object(__WEBPACK_IMPORTED_MODULE_2__support_util__["a" /* getValueDescriptor */])(Symbol.for(wellKnown), false, false)); + Object.defineProperty(Symbol, wellKnown, Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(Symbol.for(wellKnown), false, false)); } }); -/* harmony default export */ __webpack_exports__["a"] = (Symbol); +/* harmony default export */ __webpack_exports__["default"] = (Symbol); //# sourceMappingURL=Symbol.mjs.map /***/ }), /***/ "./node_modules/@dojo/framework/shim/WeakMap.mjs": +/*!*******************************************************!*\ + !*** ./node_modules/@dojo/framework/shim/WeakMap.mjs ***! + \*******************************************************/ +/*! exports provided: WeakMap, default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* unused harmony export WeakMap */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__global__ = __webpack_require__("./node_modules/@dojo/framework/shim/global.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__iterator__ = __webpack_require__("./node_modules/@dojo/framework/shim/iterator.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__support_has__ = __webpack_require__("./node_modules/@dojo/framework/shim/support/has.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__Symbol__ = __webpack_require__("./node_modules/@dojo/framework/shim/Symbol.mjs"); +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "WeakMap", function() { return WeakMap; }); +/* harmony import */ var _global__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./global */ "./node_modules/@dojo/framework/shim/global.mjs"); +/* harmony import */ var _iterator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./iterator */ "./node_modules/@dojo/framework/shim/iterator.mjs"); +/* harmony import */ var _support_has__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./support/has */ "./node_modules/@dojo/framework/shim/support/has.mjs"); +/* harmony import */ var _Symbol__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Symbol */ "./node_modules/@dojo/framework/shim/Symbol.mjs"); -let WeakMap = __WEBPACK_IMPORTED_MODULE_0__global__["a" /* default */].WeakMap; -if (false) { +let WeakMap = _global__WEBPACK_IMPORTED_MODULE_0__["default"].WeakMap; +if (!Object(_support_has__WEBPACK_IMPORTED_MODULE_2__["default"])('es6-weakmap')) { const DELETED = {}; const getUID = function getUID() { return Math.floor(Math.random() * 100000000); @@ -1164,7 +1221,7 @@ if (false) { this._name = generateName(); this._frozenEntries = []; if (iterable) { - if (isArrayLike(iterable)) { + if (Object(_iterator__WEBPACK_IMPORTED_MODULE_1__["isArrayLike"])(iterable)) { for (let i = 0; i < iterable.length; i++) { const item = iterable[i]; this.set(item[0], item[1]); @@ -1251,27 +1308,32 @@ if (false) { } }; } -/* harmony default export */ __webpack_exports__["a"] = (WeakMap); +/* harmony default export */ __webpack_exports__["default"] = (WeakMap); //# sourceMappingURL=WeakMap.mjs.map /***/ }), /***/ "./node_modules/@dojo/framework/shim/array.mjs": +/*!*****************************************************!*\ + !*** ./node_modules/@dojo/framework/shim/array.mjs ***! + \*****************************************************/ +/*! exports provided: from, of, copyWithin, fill, find, findIndex, includes */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return from; }); -/* unused harmony export of */ -/* unused harmony export copyWithin */ -/* unused harmony export fill */ -/* unused harmony export find */ -/* unused harmony export findIndex */ -/* unused harmony export includes */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__global__ = __webpack_require__("./node_modules/@dojo/framework/shim/global.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__iterator__ = __webpack_require__("./node_modules/@dojo/framework/shim/iterator.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__number__ = __webpack_require__("./node_modules/@dojo/framework/shim/number.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__support_has__ = __webpack_require__("./node_modules/@dojo/framework/shim/support/has.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__support_util__ = __webpack_require__("./node_modules/@dojo/framework/shim/support/util.mjs"); +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "from", function() { return from; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "of", function() { return of; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "copyWithin", function() { return copyWithin; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fill", function() { return fill; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "find", function() { return find; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "findIndex", function() { return findIndex; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "includes", function() { return includes; }); +/* harmony import */ var _global__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./global */ "./node_modules/@dojo/framework/shim/global.mjs"); +/* harmony import */ var _iterator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./iterator */ "./node_modules/@dojo/framework/shim/iterator.mjs"); +/* harmony import */ var _number__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./number */ "./node_modules/@dojo/framework/shim/number.mjs"); +/* harmony import */ var _support_has__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./support/has */ "./node_modules/@dojo/framework/shim/support/has.mjs"); +/* harmony import */ var _support_util__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./support/util */ "./node_modules/@dojo/framework/shim/support/util.mjs"); @@ -1335,13 +1397,13 @@ let findIndex; * @return `true` if the array includes the element, otherwise `false` */ let includes; -if (true) { - from = __WEBPACK_IMPORTED_MODULE_0__global__["a" /* default */].Array.from; - of = __WEBPACK_IMPORTED_MODULE_0__global__["a" /* default */].Array.of; - copyWithin = Object(__WEBPACK_IMPORTED_MODULE_4__support_util__["b" /* wrapNative */])(__WEBPACK_IMPORTED_MODULE_0__global__["a" /* default */].Array.prototype.copyWithin); - fill = Object(__WEBPACK_IMPORTED_MODULE_4__support_util__["b" /* wrapNative */])(__WEBPACK_IMPORTED_MODULE_0__global__["a" /* default */].Array.prototype.fill); - find = Object(__WEBPACK_IMPORTED_MODULE_4__support_util__["b" /* wrapNative */])(__WEBPACK_IMPORTED_MODULE_0__global__["a" /* default */].Array.prototype.find); - findIndex = Object(__WEBPACK_IMPORTED_MODULE_4__support_util__["b" /* wrapNative */])(__WEBPACK_IMPORTED_MODULE_0__global__["a" /* default */].Array.prototype.findIndex); +if (Object(_support_has__WEBPACK_IMPORTED_MODULE_3__["default"])('es6-array') && Object(_support_has__WEBPACK_IMPORTED_MODULE_3__["default"])('es6-array-fill')) { + from = _global__WEBPACK_IMPORTED_MODULE_0__["default"].Array.from; + of = _global__WEBPACK_IMPORTED_MODULE_0__["default"].Array.of; + copyWithin = Object(_support_util__WEBPACK_IMPORTED_MODULE_4__["wrapNative"])(_global__WEBPACK_IMPORTED_MODULE_0__["default"].Array.prototype.copyWithin); + fill = Object(_support_util__WEBPACK_IMPORTED_MODULE_4__["wrapNative"])(_global__WEBPACK_IMPORTED_MODULE_0__["default"].Array.prototype.fill); + find = Object(_support_util__WEBPACK_IMPORTED_MODULE_4__["wrapNative"])(_global__WEBPACK_IMPORTED_MODULE_0__["default"].Array.prototype.find); + findIndex = Object(_support_util__WEBPACK_IMPORTED_MODULE_4__["wrapNative"])(_global__WEBPACK_IMPORTED_MODULE_0__["default"].Array.prototype.findIndex); } else { // It is only older versions of Safari/iOS that have a bad fill implementation and so aren't in the wild @@ -1361,7 +1423,7 @@ else { length = Math.floor(length); } // Ensure a non-negative, real, safe integer - return Math.min(Math.max(length, 0), MAX_SAFE_INTEGER); + return Math.min(Math.max(length, 0), _number__WEBPACK_IMPORTED_MODULE_2__["MAX_SAFE_INTEGER"]); }; /** * From ES6 7.1.4 ToInteger() @@ -1401,12 +1463,12 @@ else { const length = toLength(arrayLike.length); // Support extension const array = typeof Constructor === 'function' ? Object(new Constructor(length)) : new Array(length); - if (!isArrayLike(arrayLike) && !isIterable(arrayLike)) { + if (!Object(_iterator__WEBPACK_IMPORTED_MODULE_1__["isArrayLike"])(arrayLike) && !Object(_iterator__WEBPACK_IMPORTED_MODULE_1__["isIterable"])(arrayLike)) { return array; } // if this is an array and the normalized length is 0, just return an empty array. this prevents a problem // with the iteration on IE when using a NaN array length. - if (isArrayLike(arrayLike)) { + if (Object(_iterator__WEBPACK_IMPORTED_MODULE_1__["isArrayLike"])(arrayLike)) { if (length === 0) { return []; } @@ -1486,8 +1548,8 @@ else { return -1; }; } -if (true) { - includes = Object(__WEBPACK_IMPORTED_MODULE_4__support_util__["b" /* wrapNative */])(__WEBPACK_IMPORTED_MODULE_0__global__["a" /* default */].Array.prototype.includes); +if (Object(_support_has__WEBPACK_IMPORTED_MODULE_3__["default"])('es7-array')) { + includes = Object(_support_util__WEBPACK_IMPORTED_MODULE_4__["wrapNative"])(_global__WEBPACK_IMPORTED_MODULE_0__["default"].Array.prototype.includes); } else { /** @@ -1505,7 +1567,7 @@ else { length = Math.floor(length); } // Ensure a non-negative, real, safe integer - return Math.min(Math.max(length, 0), MAX_SAFE_INTEGER); + return Math.min(Math.max(length, 0), _number__WEBPACK_IMPORTED_MODULE_2__["MAX_SAFE_INTEGER"]); }; includes = function includes(target, searchElement, fromIndex = 0) { let len = toLength(target.length); @@ -1524,9 +1586,14 @@ else { /***/ }), /***/ "./node_modules/@dojo/framework/shim/global.mjs": +/*!******************************************************!*\ + !*** ./node_modules/@dojo/framework/shim/global.mjs ***! + \******************************************************/ +/*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; +__webpack_require__.r(__webpack_exports__); /* WEBPACK VAR INJECTION */(function(global) {const globalObject = (function () { // the only reliable means to get the global object is // `Function('return this')()` @@ -1541,22 +1608,28 @@ else { return global; } })(); -/* harmony default export */ __webpack_exports__["a"] = (globalObject); +/* harmony default export */ __webpack_exports__["default"] = (globalObject); //# sourceMappingURL=global.mjs.map -/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__("./node_modules/webpack/buildin/global.js"))) +/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../webpack/buildin/global.js */ "./node_modules/webpack/buildin/global.js"))) /***/ }), /***/ "./node_modules/@dojo/framework/shim/iterator.mjs": +/*!********************************************************!*\ + !*** ./node_modules/@dojo/framework/shim/iterator.mjs ***! + \********************************************************/ +/*! exports provided: ShimIterator, isIterable, isArrayLike, get, forOf */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* unused harmony export isIterable */ -/* unused harmony export isArrayLike */ -/* unused harmony export get */ -/* unused harmony export forOf */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Symbol__ = __webpack_require__("./node_modules/@dojo/framework/shim/Symbol.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__string__ = __webpack_require__("./node_modules/@dojo/framework/shim/string.mjs"); +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ShimIterator", function() { return ShimIterator; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isIterable", function() { return isIterable; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isArrayLike", function() { return isArrayLike; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "get", function() { return get; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "forOf", function() { return forOf; }); +/* harmony import */ var _Symbol__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Symbol */ "./node_modules/@dojo/framework/shim/Symbol.mjs"); +/* harmony import */ var _string__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./string */ "./node_modules/@dojo/framework/shim/string.mjs"); const staticDone = { done: true, value: undefined }; @@ -1595,8 +1668,6 @@ class ShimIterator { return this; } } -/* unused harmony export ShimIterator */ - /** * A type guard for checking if something has an Iterable interface * @@ -1645,7 +1716,7 @@ function forOf(iterable, callback, thisArg) { let char = iterable[i]; if (i + 1 < l) { const code = char.charCodeAt(0); - if (code >= __WEBPACK_IMPORTED_MODULE_1__string__["b" /* HIGH_SURROGATE_MIN */] && code <= __WEBPACK_IMPORTED_MODULE_1__string__["a" /* HIGH_SURROGATE_MAX */]) { + if (code >= _string__WEBPACK_IMPORTED_MODULE_1__["HIGH_SURROGATE_MIN"] && code <= _string__WEBPACK_IMPORTED_MODULE_1__["HIGH_SURROGATE_MAX"]) { char += iterable[++i]; } } @@ -1674,33 +1745,35 @@ function forOf(iterable, callback, thisArg) { /***/ }), /***/ "./node_modules/@dojo/framework/shim/number.mjs": +/*!******************************************************!*\ + !*** ./node_modules/@dojo/framework/shim/number.mjs ***! + \******************************************************/ +/*! exports provided: EPSILON, MAX_SAFE_INTEGER, MIN_SAFE_INTEGER, isNaN, isFinite, isInteger, isSafeInteger */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* unused harmony export isNaN */ -/* unused harmony export isFinite */ -/* unused harmony export isInteger */ -/* unused harmony export isSafeInteger */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__global__ = __webpack_require__("./node_modules/@dojo/framework/shim/global.mjs"); +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EPSILON", function() { return EPSILON; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MAX_SAFE_INTEGER", function() { return MAX_SAFE_INTEGER; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MIN_SAFE_INTEGER", function() { return MIN_SAFE_INTEGER; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isNaN", function() { return isNaN; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isFinite", function() { return isFinite; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isInteger", function() { return isInteger; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isSafeInteger", function() { return isSafeInteger; }); +/* harmony import */ var _global__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./global */ "./node_modules/@dojo/framework/shim/global.mjs"); /** * The smallest interval between two representable numbers. */ const EPSILON = 1; -/* unused harmony export EPSILON */ - /** * The maximum safe integer in JavaScript */ const MAX_SAFE_INTEGER = Math.pow(2, 53) - 1; -/* unused harmony export MAX_SAFE_INTEGER */ - /** * The minimum safe integer in JavaScript */ const MIN_SAFE_INTEGER = -MAX_SAFE_INTEGER; -/* unused harmony export MIN_SAFE_INTEGER */ - /** * Determines whether the passed value is NaN without coersion. * @@ -1708,7 +1781,7 @@ const MIN_SAFE_INTEGER = -MAX_SAFE_INTEGER; * @return true if the value is NaN, false if it is not */ function isNaN(value) { - return typeof value === 'number' && __WEBPACK_IMPORTED_MODULE_0__global__["a" /* default */].isNaN(value); + return typeof value === 'number' && _global__WEBPACK_IMPORTED_MODULE_0__["default"].isNaN(value); } /** * Determines whether the passed value is a finite number without coersion. @@ -1717,7 +1790,7 @@ function isNaN(value) { * @return true if the value is finite, false if it is not */ function isFinite(value) { - return typeof value === 'number' && __WEBPACK_IMPORTED_MODULE_0__global__["a" /* default */].isFinite(value); + return typeof value === 'number' && _global__WEBPACK_IMPORTED_MODULE_0__["default"].isFinite(value); } /** * Determines whether the passed value is an integer. @@ -1746,21 +1819,26 @@ function isSafeInteger(value) { /***/ }), /***/ "./node_modules/@dojo/framework/shim/object.mjs": +/*!******************************************************!*\ + !*** ./node_modules/@dojo/framework/shim/object.mjs ***! + \******************************************************/ +/*! exports provided: assign, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, is, keys, getOwnPropertyDescriptors, entries, values */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return assign; }); -/* unused harmony export getOwnPropertyDescriptor */ -/* unused harmony export getOwnPropertyNames */ -/* unused harmony export getOwnPropertySymbols */ -/* unused harmony export is */ -/* unused harmony export keys */ -/* unused harmony export getOwnPropertyDescriptors */ -/* unused harmony export entries */ -/* unused harmony export values */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__global__ = __webpack_require__("./node_modules/@dojo/framework/shim/global.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__support_has__ = __webpack_require__("./node_modules/@dojo/framework/shim/support/has.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__Symbol__ = __webpack_require__("./node_modules/@dojo/framework/shim/Symbol.mjs"); +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "assign", function() { return assign; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getOwnPropertyDescriptor", function() { return getOwnPropertyDescriptor; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getOwnPropertyNames", function() { return getOwnPropertyNames; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getOwnPropertySymbols", function() { return getOwnPropertySymbols; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "is", function() { return is; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "keys", function() { return keys; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getOwnPropertyDescriptors", function() { return getOwnPropertyDescriptors; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "entries", function() { return entries; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "values", function() { return values; }); +/* harmony import */ var _global__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./global */ "./node_modules/@dojo/framework/shim/global.mjs"); +/* harmony import */ var _support_has__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./support/has */ "./node_modules/@dojo/framework/shim/support/has.mjs"); +/* harmony import */ var _Symbol__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Symbol */ "./node_modules/@dojo/framework/shim/Symbol.mjs"); @@ -1799,8 +1877,8 @@ let keys; let getOwnPropertyDescriptors; let entries; let values; -if (true) { - const globalObject = __WEBPACK_IMPORTED_MODULE_0__global__["a" /* default */].Object; +if (Object(_support_has__WEBPACK_IMPORTED_MODULE_1__["default"])('es6-object')) { + const globalObject = _global__WEBPACK_IMPORTED_MODULE_0__["default"].Object; assign = globalObject.assign; getOwnPropertyDescriptor = globalObject.getOwnPropertyDescriptor; getOwnPropertyNames = globalObject.getOwnPropertyNames; @@ -1829,7 +1907,7 @@ else { return to; }; getOwnPropertyDescriptor = function getOwnPropertyDescriptor(o, prop) { - if (isSymbol(prop)) { + if (Object(_Symbol__WEBPACK_IMPORTED_MODULE_2__["isSymbol"])(prop)) { return Object.getOwnPropertyDescriptor(o, prop); } else { @@ -1851,8 +1929,8 @@ else { return value1 !== value1 && value2 !== value2; // NaN }; } -if (true) { - const globalObject = __WEBPACK_IMPORTED_MODULE_0__global__["a" /* default */].Object; +if (Object(_support_has__WEBPACK_IMPORTED_MODULE_1__["default"])('es2017-object')) { + const globalObject = _global__WEBPACK_IMPORTED_MODULE_0__["default"].Object; getOwnPropertyDescriptors = globalObject.getOwnPropertyDescriptors; entries = globalObject.entries; values = globalObject.values; @@ -1876,22 +1954,31 @@ else { /***/ }), /***/ "./node_modules/@dojo/framework/shim/string.mjs": +/*!******************************************************!*\ + !*** ./node_modules/@dojo/framework/shim/string.mjs ***! + \******************************************************/ +/*! exports provided: HIGH_SURROGATE_MIN, HIGH_SURROGATE_MAX, LOW_SURROGATE_MIN, LOW_SURROGATE_MAX, fromCodePoint, raw, codePointAt, endsWith, includes, normalize, repeat, startsWith, padEnd, padStart */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* unused harmony export fromCodePoint */ -/* unused harmony export raw */ -/* unused harmony export codePointAt */ -/* unused harmony export endsWith */ -/* unused harmony export includes */ -/* unused harmony export normalize */ -/* unused harmony export repeat */ -/* unused harmony export startsWith */ -/* unused harmony export padEnd */ -/* unused harmony export padStart */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__global__ = __webpack_require__("./node_modules/@dojo/framework/shim/global.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__support_has__ = __webpack_require__("./node_modules/@dojo/framework/shim/support/has.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__support_util__ = __webpack_require__("./node_modules/@dojo/framework/shim/support/util.mjs"); +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HIGH_SURROGATE_MIN", function() { return HIGH_SURROGATE_MIN; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HIGH_SURROGATE_MAX", function() { return HIGH_SURROGATE_MAX; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LOW_SURROGATE_MIN", function() { return LOW_SURROGATE_MIN; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LOW_SURROGATE_MAX", function() { return LOW_SURROGATE_MAX; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fromCodePoint", function() { return fromCodePoint; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "raw", function() { return raw; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "codePointAt", function() { return codePointAt; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "endsWith", function() { return endsWith; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "includes", function() { return includes; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "normalize", function() { return normalize; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "repeat", function() { return repeat; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "startsWith", function() { return startsWith; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "padEnd", function() { return padEnd; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "padStart", function() { return padStart; }); +/* harmony import */ var _global__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./global */ "./node_modules/@dojo/framework/shim/global.mjs"); +/* harmony import */ var _support_has__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./support/has */ "./node_modules/@dojo/framework/shim/support/has.mjs"); +/* harmony import */ var _support_util__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./support/util */ "./node_modules/@dojo/framework/shim/support/util.mjs"); @@ -1899,26 +1986,18 @@ else { * The minimum location of high surrogates */ const HIGH_SURROGATE_MIN = 0xd800; -/* harmony export (immutable) */ __webpack_exports__["b"] = HIGH_SURROGATE_MIN; - /** * The maximum location of high surrogates */ const HIGH_SURROGATE_MAX = 0xdbff; -/* harmony export (immutable) */ __webpack_exports__["a"] = HIGH_SURROGATE_MAX; - /** * The minimum location of low surrogates */ const LOW_SURROGATE_MIN = 0xdc00; -/* unused harmony export LOW_SURROGATE_MIN */ - /** * The maximum location of low surrogates */ const LOW_SURROGATE_MAX = 0xdfff; -/* unused harmony export LOW_SURROGATE_MAX */ - /* ES6 static methods */ /** * Return the String value whose elements are, in order, the elements in the List elements. @@ -2005,15 +2084,15 @@ let padEnd; * The default value for this parameter is " " (U+0020). */ let padStart; -if (true) { - fromCodePoint = __WEBPACK_IMPORTED_MODULE_0__global__["a" /* default */].String.fromCodePoint; - raw = __WEBPACK_IMPORTED_MODULE_0__global__["a" /* default */].String.raw; - codePointAt = Object(__WEBPACK_IMPORTED_MODULE_2__support_util__["b" /* wrapNative */])(__WEBPACK_IMPORTED_MODULE_0__global__["a" /* default */].String.prototype.codePointAt); - endsWith = Object(__WEBPACK_IMPORTED_MODULE_2__support_util__["b" /* wrapNative */])(__WEBPACK_IMPORTED_MODULE_0__global__["a" /* default */].String.prototype.endsWith); - includes = Object(__WEBPACK_IMPORTED_MODULE_2__support_util__["b" /* wrapNative */])(__WEBPACK_IMPORTED_MODULE_0__global__["a" /* default */].String.prototype.includes); - normalize = Object(__WEBPACK_IMPORTED_MODULE_2__support_util__["b" /* wrapNative */])(__WEBPACK_IMPORTED_MODULE_0__global__["a" /* default */].String.prototype.normalize); - repeat = Object(__WEBPACK_IMPORTED_MODULE_2__support_util__["b" /* wrapNative */])(__WEBPACK_IMPORTED_MODULE_0__global__["a" /* default */].String.prototype.repeat); - startsWith = Object(__WEBPACK_IMPORTED_MODULE_2__support_util__["b" /* wrapNative */])(__WEBPACK_IMPORTED_MODULE_0__global__["a" /* default */].String.prototype.startsWith); +if (Object(_support_has__WEBPACK_IMPORTED_MODULE_1__["default"])('es6-string') && Object(_support_has__WEBPACK_IMPORTED_MODULE_1__["default"])('es6-string-raw')) { + fromCodePoint = _global__WEBPACK_IMPORTED_MODULE_0__["default"].String.fromCodePoint; + raw = _global__WEBPACK_IMPORTED_MODULE_0__["default"].String.raw; + codePointAt = Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["wrapNative"])(_global__WEBPACK_IMPORTED_MODULE_0__["default"].String.prototype.codePointAt); + endsWith = Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["wrapNative"])(_global__WEBPACK_IMPORTED_MODULE_0__["default"].String.prototype.endsWith); + includes = Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["wrapNative"])(_global__WEBPACK_IMPORTED_MODULE_0__["default"].String.prototype.includes); + normalize = Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["wrapNative"])(_global__WEBPACK_IMPORTED_MODULE_0__["default"].String.prototype.normalize); + repeat = Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["wrapNative"])(_global__WEBPACK_IMPORTED_MODULE_0__["default"].String.prototype.repeat); + startsWith = Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["wrapNative"])(_global__WEBPACK_IMPORTED_MODULE_0__["default"].String.prototype.startsWith); } else { /** @@ -2151,9 +2230,9 @@ else { return text.slice(position, end) === search; }; } -if (true) { - padEnd = Object(__WEBPACK_IMPORTED_MODULE_2__support_util__["b" /* wrapNative */])(__WEBPACK_IMPORTED_MODULE_0__global__["a" /* default */].String.prototype.padEnd); - padStart = Object(__WEBPACK_IMPORTED_MODULE_2__support_util__["b" /* wrapNative */])(__WEBPACK_IMPORTED_MODULE_0__global__["a" /* default */].String.prototype.padStart); +if (Object(_support_has__WEBPACK_IMPORTED_MODULE_1__["default"])('es2017-string')) { + padEnd = Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["wrapNative"])(_global__WEBPACK_IMPORTED_MODULE_0__["default"].String.prototype.padEnd); + padStart = Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["wrapNative"])(_global__WEBPACK_IMPORTED_MODULE_0__["default"].String.prototype.padStart); } else { padEnd = function padEnd(text, maxLength, fillString = ' ') { @@ -2201,45 +2280,61 @@ else { /***/ }), /***/ "./node_modules/@dojo/framework/shim/support/has.mjs": +/*!***********************************************************!*\ + !*** ./node_modules/@dojo/framework/shim/support/has.mjs ***! + \***********************************************************/ +/*! exports provided: default, testCache, testFunctions, load, normalize, exists, add */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__has_has__ = __webpack_require__("./node_modules/@dojo/framework/has/has.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__global__ = __webpack_require__("./node_modules/@dojo/framework/shim/global.mjs"); -/* unused harmony reexport namespace */ +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var _has_has__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../has/has */ "./node_modules/@dojo/framework/has/has.mjs"); +/* harmony import */ var _global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../global */ "./node_modules/@dojo/framework/shim/global.mjs"); +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "testCache", function() { return _has_has__WEBPACK_IMPORTED_MODULE_0__["testCache"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "testFunctions", function() { return _has_has__WEBPACK_IMPORTED_MODULE_0__["testFunctions"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "load", function() { return _has_has__WEBPACK_IMPORTED_MODULE_0__["load"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "normalize", function() { return _has_has__WEBPACK_IMPORTED_MODULE_0__["normalize"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "exists", function() { return _has_has__WEBPACK_IMPORTED_MODULE_0__["exists"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "add", function() { return _has_has__WEBPACK_IMPORTED_MODULE_0__["add"]; }); -/* unused harmony default export */ var _unused_webpack_default_export = (__WEBPACK_IMPORTED_MODULE_0__has_has__["b" /* default */]); + +/* harmony default export */ __webpack_exports__["default"] = (_has_has__WEBPACK_IMPORTED_MODULE_0__["default"]); /* ECMAScript 6 and 7 Features */ /* Array */ -Object(__WEBPACK_IMPORTED_MODULE_0__has_has__["a" /* add */])('es6-array', () => { - return (['from', 'of'].every((key) => key in __WEBPACK_IMPORTED_MODULE_1__global__["a" /* default */].Array) && - ['findIndex', 'find', 'copyWithin'].every((key) => key in __WEBPACK_IMPORTED_MODULE_1__global__["a" /* default */].Array.prototype)); +Object(_has_has__WEBPACK_IMPORTED_MODULE_0__["add"])('es6-array', () => { + return (['from', 'of'].every((key) => key in _global__WEBPACK_IMPORTED_MODULE_1__["default"].Array) && + ['findIndex', 'find', 'copyWithin'].every((key) => key in _global__WEBPACK_IMPORTED_MODULE_1__["default"].Array.prototype)); }, true); -Object(__WEBPACK_IMPORTED_MODULE_0__has_has__["a" /* add */])('es6-array-fill', () => { - if ('fill' in __WEBPACK_IMPORTED_MODULE_1__global__["a" /* default */].Array.prototype) { +Object(_has_has__WEBPACK_IMPORTED_MODULE_0__["add"])('es6-array-fill', () => { + if ('fill' in _global__WEBPACK_IMPORTED_MODULE_1__["default"].Array.prototype) { /* Some versions of Safari do not properly implement this */ return [1].fill(9, Number.POSITIVE_INFINITY)[0] === 1; } return false; }, true); -Object(__WEBPACK_IMPORTED_MODULE_0__has_has__["a" /* add */])('es7-array', () => 'includes' in __WEBPACK_IMPORTED_MODULE_1__global__["a" /* default */].Array.prototype, true); +Object(_has_has__WEBPACK_IMPORTED_MODULE_0__["add"])('es7-array', () => 'includes' in _global__WEBPACK_IMPORTED_MODULE_1__["default"].Array.prototype, true); /* Map */ -Object(__WEBPACK_IMPORTED_MODULE_0__has_has__["a" /* add */])('es6-map', () => { - if (typeof __WEBPACK_IMPORTED_MODULE_1__global__["a" /* default */].Map === 'function') { +Object(_has_has__WEBPACK_IMPORTED_MODULE_0__["add"])('es6-map', () => { + if (typeof _global__WEBPACK_IMPORTED_MODULE_1__["default"].Map === 'function') { /* IE11 and older versions of Safari are missing critical ES6 Map functionality We wrap this in a try/catch because sometimes the Map constructor exists, but does not take arguments (iOS 8.4) */ try { - const map = new __WEBPACK_IMPORTED_MODULE_1__global__["a" /* default */].Map([[0, 1]]); - return map.has(0) && + const map = new _global__WEBPACK_IMPORTED_MODULE_1__["default"].Map([[0, 1]]); + return (map.has(0) && typeof map.keys === 'function' && - true && + Object(_has_has__WEBPACK_IMPORTED_MODULE_0__["default"])('es6-symbol') && typeof map.values === 'function' && - typeof map.entries === 'function'; + typeof map.entries === 'function'); } catch (e) { /* istanbul ignore next: not testing on iOS at the moment */ @@ -2249,7 +2344,7 @@ Object(__WEBPACK_IMPORTED_MODULE_0__has_has__["a" /* add */])('es6-map', () => { return false; }, true); /* Math */ -Object(__WEBPACK_IMPORTED_MODULE_0__has_has__["a" /* add */])('es6-math', () => { +Object(_has_has__WEBPACK_IMPORTED_MODULE_0__["add"])('es6-math', () => { return [ 'clz32', 'sign', @@ -2267,42 +2362,42 @@ Object(__WEBPACK_IMPORTED_MODULE_0__has_has__["a" /* add */])('es6-math', () => 'fround', 'cbrt', 'hypot' - ].every((name) => typeof __WEBPACK_IMPORTED_MODULE_1__global__["a" /* default */].Math[name] === 'function'); + ].every((name) => typeof _global__WEBPACK_IMPORTED_MODULE_1__["default"].Math[name] === 'function'); }, true); -Object(__WEBPACK_IMPORTED_MODULE_0__has_has__["a" /* add */])('es6-math-imul', () => { - if ('imul' in __WEBPACK_IMPORTED_MODULE_1__global__["a" /* default */].Math) { +Object(_has_has__WEBPACK_IMPORTED_MODULE_0__["add"])('es6-math-imul', () => { + if ('imul' in _global__WEBPACK_IMPORTED_MODULE_1__["default"].Math) { /* Some versions of Safari on ios do not properly implement this */ return Math.imul(0xffffffff, 5) === -5; } return false; }, true); /* Object */ -Object(__WEBPACK_IMPORTED_MODULE_0__has_has__["a" /* add */])('es6-object', () => { - return true && - ['assign', 'is', 'getOwnPropertySymbols', 'setPrototypeOf'].every((name) => typeof __WEBPACK_IMPORTED_MODULE_1__global__["a" /* default */].Object[name] === 'function'); +Object(_has_has__WEBPACK_IMPORTED_MODULE_0__["add"])('es6-object', () => { + return (Object(_has_has__WEBPACK_IMPORTED_MODULE_0__["default"])('es6-symbol') && + ['assign', 'is', 'getOwnPropertySymbols', 'setPrototypeOf'].every((name) => typeof _global__WEBPACK_IMPORTED_MODULE_1__["default"].Object[name] === 'function')); }, true); -Object(__WEBPACK_IMPORTED_MODULE_0__has_has__["a" /* add */])('es2017-object', () => { - return ['values', 'entries', 'getOwnPropertyDescriptors'].every((name) => typeof __WEBPACK_IMPORTED_MODULE_1__global__["a" /* default */].Object[name] === 'function'); +Object(_has_has__WEBPACK_IMPORTED_MODULE_0__["add"])('es2017-object', () => { + return ['values', 'entries', 'getOwnPropertyDescriptors'].every((name) => typeof _global__WEBPACK_IMPORTED_MODULE_1__["default"].Object[name] === 'function'); }, true); /* Observable */ -Object(__WEBPACK_IMPORTED_MODULE_0__has_has__["a" /* add */])('es-observable', () => typeof __WEBPACK_IMPORTED_MODULE_1__global__["a" /* default */].Observable !== 'undefined', true); +Object(_has_has__WEBPACK_IMPORTED_MODULE_0__["add"])('es-observable', () => typeof _global__WEBPACK_IMPORTED_MODULE_1__["default"].Observable !== 'undefined', true); /* Promise */ -Object(__WEBPACK_IMPORTED_MODULE_0__has_has__["a" /* add */])('es6-promise', () => typeof __WEBPACK_IMPORTED_MODULE_1__global__["a" /* default */].Promise !== 'undefined' && true, true); +Object(_has_has__WEBPACK_IMPORTED_MODULE_0__["add"])('es6-promise', () => typeof _global__WEBPACK_IMPORTED_MODULE_1__["default"].Promise !== 'undefined' && Object(_has_has__WEBPACK_IMPORTED_MODULE_0__["default"])('es6-symbol'), true); /* Set */ -Object(__WEBPACK_IMPORTED_MODULE_0__has_has__["a" /* add */])('es6-set', () => { - if (typeof __WEBPACK_IMPORTED_MODULE_1__global__["a" /* default */].Set === 'function') { +Object(_has_has__WEBPACK_IMPORTED_MODULE_0__["add"])('es6-set', () => { + if (typeof _global__WEBPACK_IMPORTED_MODULE_1__["default"].Set === 'function') { /* IE11 and older versions of Safari are missing critical ES6 Set functionality */ - const set = new __WEBPACK_IMPORTED_MODULE_1__global__["a" /* default */].Set([1]); - return set.has(1) && 'keys' in set && typeof set.keys === 'function' && true; + const set = new _global__WEBPACK_IMPORTED_MODULE_1__["default"].Set([1]); + return set.has(1) && 'keys' in set && typeof set.keys === 'function' && Object(_has_has__WEBPACK_IMPORTED_MODULE_0__["default"])('es6-symbol'); } return false; }, true); /* String */ -Object(__WEBPACK_IMPORTED_MODULE_0__has_has__["a" /* add */])('es6-string', () => { +Object(_has_has__WEBPACK_IMPORTED_MODULE_0__["add"])('es6-string', () => { return ([ /* static methods */ 'fromCodePoint' - ].every((key) => typeof __WEBPACK_IMPORTED_MODULE_1__global__["a" /* default */].String[key] === 'function') && + ].every((key) => typeof _global__WEBPACK_IMPORTED_MODULE_1__["default"].String[key] === 'function') && [ /* instance methods */ 'codePointAt', @@ -2311,59 +2406,59 @@ Object(__WEBPACK_IMPORTED_MODULE_0__has_has__["a" /* add */])('es6-string', () = 'startsWith', 'endsWith', 'includes' - ].every((key) => typeof __WEBPACK_IMPORTED_MODULE_1__global__["a" /* default */].String.prototype[key] === 'function')); + ].every((key) => typeof _global__WEBPACK_IMPORTED_MODULE_1__["default"].String.prototype[key] === 'function')); }, true); -Object(__WEBPACK_IMPORTED_MODULE_0__has_has__["a" /* add */])('es6-string-raw', () => { +Object(_has_has__WEBPACK_IMPORTED_MODULE_0__["add"])('es6-string-raw', () => { function getCallSite(callSite, ...substitutions) { const result = [...callSite]; result.raw = callSite.raw; return result; } - if ('raw' in __WEBPACK_IMPORTED_MODULE_1__global__["a" /* default */].String) { + if ('raw' in _global__WEBPACK_IMPORTED_MODULE_1__["default"].String) { let b = 1; let callSite = getCallSite `a\n${b}`; callSite.raw = ['a\\n']; - const supportsTrunc = __WEBPACK_IMPORTED_MODULE_1__global__["a" /* default */].String.raw(callSite, 42) === 'a:\\n'; + const supportsTrunc = _global__WEBPACK_IMPORTED_MODULE_1__["default"].String.raw(callSite, 42) === 'a:\\n'; return supportsTrunc; } return false; }, true); -Object(__WEBPACK_IMPORTED_MODULE_0__has_has__["a" /* add */])('es2017-string', () => { - return ['padStart', 'padEnd'].every((key) => typeof __WEBPACK_IMPORTED_MODULE_1__global__["a" /* default */].String.prototype[key] === 'function'); +Object(_has_has__WEBPACK_IMPORTED_MODULE_0__["add"])('es2017-string', () => { + return ['padStart', 'padEnd'].every((key) => typeof _global__WEBPACK_IMPORTED_MODULE_1__["default"].String.prototype[key] === 'function'); }, true); /* Symbol */ -Object(__WEBPACK_IMPORTED_MODULE_0__has_has__["a" /* add */])('es6-symbol', () => typeof __WEBPACK_IMPORTED_MODULE_1__global__["a" /* default */].Symbol !== 'undefined' && typeof Symbol() === 'symbol', true); +Object(_has_has__WEBPACK_IMPORTED_MODULE_0__["add"])('es6-symbol', () => typeof _global__WEBPACK_IMPORTED_MODULE_1__["default"].Symbol !== 'undefined' && typeof Symbol() === 'symbol', true); /* WeakMap */ -Object(__WEBPACK_IMPORTED_MODULE_0__has_has__["a" /* add */])('es6-weakmap', () => { - if (typeof __WEBPACK_IMPORTED_MODULE_1__global__["a" /* default */].WeakMap !== 'undefined') { +Object(_has_has__WEBPACK_IMPORTED_MODULE_0__["add"])('es6-weakmap', () => { + if (typeof _global__WEBPACK_IMPORTED_MODULE_1__["default"].WeakMap !== 'undefined') { /* IE11 and older versions of Safari are missing critical ES6 Map functionality */ const key1 = {}; const key2 = {}; - const map = new __WEBPACK_IMPORTED_MODULE_1__global__["a" /* default */].WeakMap([[key1, 1]]); + const map = new _global__WEBPACK_IMPORTED_MODULE_1__["default"].WeakMap([[key1, 1]]); Object.freeze(key1); - return map.get(key1) === 1 && map.set(key2, 2) === map && true; + return map.get(key1) === 1 && map.set(key2, 2) === map && Object(_has_has__WEBPACK_IMPORTED_MODULE_0__["default"])('es6-symbol'); } return false; }, true); /* Miscellaneous features */ -Object(__WEBPACK_IMPORTED_MODULE_0__has_has__["a" /* add */])('microtasks', () => true || false || true, true); -Object(__WEBPACK_IMPORTED_MODULE_0__has_has__["a" /* add */])('postmessage', () => { +Object(_has_has__WEBPACK_IMPORTED_MODULE_0__["add"])('microtasks', () => Object(_has_has__WEBPACK_IMPORTED_MODULE_0__["default"])('es6-promise') || Object(_has_has__WEBPACK_IMPORTED_MODULE_0__["default"])('host-node') || Object(_has_has__WEBPACK_IMPORTED_MODULE_0__["default"])('dom-mutationobserver'), true); +Object(_has_has__WEBPACK_IMPORTED_MODULE_0__["add"])('postmessage', () => { // If window is undefined, and we have postMessage, it probably means we're in a web worker. Web workers have // post message but it doesn't work how we expect it to, so it's best just to pretend it doesn't exist. - return typeof __WEBPACK_IMPORTED_MODULE_1__global__["a" /* default */].window !== 'undefined' && typeof __WEBPACK_IMPORTED_MODULE_1__global__["a" /* default */].postMessage === 'function'; + return typeof _global__WEBPACK_IMPORTED_MODULE_1__["default"].window !== 'undefined' && typeof _global__WEBPACK_IMPORTED_MODULE_1__["default"].postMessage === 'function'; }, true); -Object(__WEBPACK_IMPORTED_MODULE_0__has_has__["a" /* add */])('raf', () => typeof __WEBPACK_IMPORTED_MODULE_1__global__["a" /* default */].requestAnimationFrame === 'function', true); -Object(__WEBPACK_IMPORTED_MODULE_0__has_has__["a" /* add */])('setimmediate', () => typeof __WEBPACK_IMPORTED_MODULE_1__global__["a" /* default */].setImmediate !== 'undefined', true); +Object(_has_has__WEBPACK_IMPORTED_MODULE_0__["add"])('raf', () => typeof _global__WEBPACK_IMPORTED_MODULE_1__["default"].requestAnimationFrame === 'function', true); +Object(_has_has__WEBPACK_IMPORTED_MODULE_0__["add"])('setimmediate', () => typeof _global__WEBPACK_IMPORTED_MODULE_1__["default"].setImmediate !== 'undefined', true); /* DOM Features */ -Object(__WEBPACK_IMPORTED_MODULE_0__has_has__["a" /* add */])('dom-mutationobserver', () => { - if (true && Boolean(__WEBPACK_IMPORTED_MODULE_1__global__["a" /* default */].MutationObserver || __WEBPACK_IMPORTED_MODULE_1__global__["a" /* default */].WebKitMutationObserver)) { +Object(_has_has__WEBPACK_IMPORTED_MODULE_0__["add"])('dom-mutationobserver', () => { + if (Object(_has_has__WEBPACK_IMPORTED_MODULE_0__["default"])('host-browser') && Boolean(_global__WEBPACK_IMPORTED_MODULE_1__["default"].MutationObserver || _global__WEBPACK_IMPORTED_MODULE_1__["default"].WebKitMutationObserver)) { // IE11 has an unreliable MutationObserver implementation where setProperty() does not // generate a mutation event, observers can crash, and the queue does not drain // reliably. The following feature test was adapted from // https://gist.github.com/t10ko/4aceb8c71681fdb275e33efe5e576b14 const example = document.createElement('div'); /* tslint:disable-next-line:variable-name */ - const HostMutationObserver = __WEBPACK_IMPORTED_MODULE_1__global__["a" /* default */].MutationObserver || __WEBPACK_IMPORTED_MODULE_1__global__["a" /* default */].WebKitMutationObserver; + const HostMutationObserver = _global__WEBPACK_IMPORTED_MODULE_1__["default"].MutationObserver || _global__WEBPACK_IMPORTED_MODULE_1__["default"].WebKitMutationObserver; const observer = new HostMutationObserver(function () { }); observer.observe(example, { attributes: true }); example.style.setProperty('display', 'block'); @@ -2371,20 +2466,27 @@ Object(__WEBPACK_IMPORTED_MODULE_0__has_has__["a" /* add */])('dom-mutationobser } return false; }, true); -Object(__WEBPACK_IMPORTED_MODULE_0__has_has__["a" /* add */])('dom-webanimation', () => true && __WEBPACK_IMPORTED_MODULE_1__global__["a" /* default */].Animation !== undefined && __WEBPACK_IMPORTED_MODULE_1__global__["a" /* default */].KeyframeEffect !== undefined, true); -Object(__WEBPACK_IMPORTED_MODULE_0__has_has__["a" /* add */])('abort-controller', () => typeof __WEBPACK_IMPORTED_MODULE_1__global__["a" /* default */].AbortController !== 'undefined'); -Object(__WEBPACK_IMPORTED_MODULE_0__has_has__["a" /* add */])('abort-signal', () => typeof __WEBPACK_IMPORTED_MODULE_1__global__["a" /* default */].AbortSignal !== 'undefined'); +Object(_has_has__WEBPACK_IMPORTED_MODULE_0__["add"])('dom-webanimation', () => Object(_has_has__WEBPACK_IMPORTED_MODULE_0__["default"])('host-browser') && _global__WEBPACK_IMPORTED_MODULE_1__["default"].Animation !== undefined && _global__WEBPACK_IMPORTED_MODULE_1__["default"].KeyframeEffect !== undefined, true); +Object(_has_has__WEBPACK_IMPORTED_MODULE_0__["add"])('abort-controller', () => typeof _global__WEBPACK_IMPORTED_MODULE_1__["default"].AbortController !== 'undefined'); +Object(_has_has__WEBPACK_IMPORTED_MODULE_0__["add"])('abort-signal', () => typeof _global__WEBPACK_IMPORTED_MODULE_1__["default"].AbortSignal !== 'undefined'); //# sourceMappingURL=has.mjs.map /***/ }), /***/ "./node_modules/@dojo/framework/shim/support/queue.mjs": +/*!*************************************************************!*\ + !*** ./node_modules/@dojo/framework/shim/support/queue.mjs ***! + \*************************************************************/ +/*! exports provided: queueTask, queueAnimationTask, queueMicroTask */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* unused harmony export queueMicroTask */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__global__ = __webpack_require__("./node_modules/@dojo/framework/shim/global.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__has__ = __webpack_require__("./node_modules/@dojo/framework/shim/support/has.mjs"); +__webpack_require__.r(__webpack_exports__); +/* WEBPACK VAR INJECTION */(function(setImmediate) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "queueTask", function() { return queueTask; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "queueAnimationTask", function() { return queueAnimationTask; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "queueMicroTask", function() { return queueMicroTask; }); +/* harmony import */ var _global__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../global */ "./node_modules/@dojo/framework/shim/global.mjs"); +/* harmony import */ var _has__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./has */ "./node_modules/@dojo/framework/shim/support/has.mjs"); function executeTask(item) { @@ -2416,11 +2518,11 @@ const queueTask = (function () { let destructor; let enqueue; // Since the IE implementation of `setImmediate` is not flawless, we will test for `postMessage` first. - if (true) { + if (Object(_has__WEBPACK_IMPORTED_MODULE_1__["default"])('postmessage')) { const queue = []; - __WEBPACK_IMPORTED_MODULE_0__global__["a" /* default */].addEventListener('message', function (event) { + _global__WEBPACK_IMPORTED_MODULE_0__["default"].addEventListener('message', function (event) { // Confirm that the event was triggered by the current window and by this particular implementation. - if (event.source === __WEBPACK_IMPORTED_MODULE_0__global__["a" /* default */] && event.data === 'dojo-queue-message') { + if (event.source === _global__WEBPACK_IMPORTED_MODULE_0__["default"] && event.data === 'dojo-queue-message') { event.stopPropagation(); if (queue.length) { executeTask(queue.shift()); @@ -2429,17 +2531,17 @@ const queueTask = (function () { }); enqueue = function (item) { queue.push(item); - __WEBPACK_IMPORTED_MODULE_0__global__["a" /* default */].postMessage('dojo-queue-message', '*'); + _global__WEBPACK_IMPORTED_MODULE_0__["default"].postMessage('dojo-queue-message', '*'); }; } - else if (false) { - destructor = global.clearImmediate; + else if (Object(_has__WEBPACK_IMPORTED_MODULE_1__["default"])('setimmediate')) { + destructor = _global__WEBPACK_IMPORTED_MODULE_0__["default"].clearImmediate; enqueue = function (item) { return setImmediate(executeTask.bind(null, item)); }; } else { - destructor = global.clearTimeout; + destructor = _global__WEBPACK_IMPORTED_MODULE_0__["default"].clearTimeout; enqueue = function (item) { return setTimeout(executeTask.bind(null, item), 0); }; @@ -2456,18 +2558,16 @@ const queueTask = (function () { }); } // TODO: Use aspect.before when it is available. - return true + return Object(_has__WEBPACK_IMPORTED_MODULE_1__["default"])('microtasks') ? queueTask : function (callback) { checkMicroTaskQueue(); return queueTask(callback); }; })(); -/* unused harmony export queueTask */ - // When no mechanism for registering microtasks is exposed by the environment, microtasks will // be queued and then executed in a single macrotask before the other macrotasks are executed. -if (false) { +if (!Object(_has__WEBPACK_IMPORTED_MODULE_1__["default"])('microtasks')) { let isMicroTaskQueued = false; microTasks = []; checkMicroTaskQueue = function () { @@ -2495,7 +2595,7 @@ if (false) { * @returns An object with a `destroy` method that, when called, prevents the registered callback from executing. */ const queueAnimationTask = (function () { - if (false) { + if (!Object(_has__WEBPACK_IMPORTED_MODULE_1__["default"])('raf')) { return queueTask; } function queueAnimationTask(callback) { @@ -2509,15 +2609,13 @@ const queueAnimationTask = (function () { }); } // TODO: Use aspect.before when it is available. - return true + return Object(_has__WEBPACK_IMPORTED_MODULE_1__["default"])('microtasks') ? queueAnimationTask : function (callback) { checkMicroTaskQueue(); return queueAnimationTask(callback); }; })(); -/* unused harmony export queueAnimationTask */ - /** * Schedules a callback to the microtask queue. * @@ -2530,19 +2628,19 @@ const queueAnimationTask = (function () { */ let queueMicroTask = (function () { let enqueue; - if (false) { + if (Object(_has__WEBPACK_IMPORTED_MODULE_1__["default"])('host-node')) { enqueue = function (item) { - global.process.nextTick(executeTask.bind(null, item)); + _global__WEBPACK_IMPORTED_MODULE_0__["default"].process.nextTick(executeTask.bind(null, item)); }; } - else if (true) { + else if (Object(_has__WEBPACK_IMPORTED_MODULE_1__["default"])('es6-promise')) { enqueue = function (item) { - __WEBPACK_IMPORTED_MODULE_0__global__["a" /* default */].Promise.resolve(item).then(executeTask); + _global__WEBPACK_IMPORTED_MODULE_0__["default"].Promise.resolve(item).then(executeTask); }; } - else if (true) { + else if (Object(_has__WEBPACK_IMPORTED_MODULE_1__["default"])('dom-mutationobserver')) { /* tslint:disable-next-line:variable-name */ - const HostMutationObserver = global.MutationObserver || global.WebKitMutationObserver; + const HostMutationObserver = _global__WEBPACK_IMPORTED_MODULE_0__["default"].MutationObserver || _global__WEBPACK_IMPORTED_MODULE_0__["default"].WebKitMutationObserver; const node = document.createElement('div'); const queue = []; const observer = new HostMutationObserver(function () { @@ -2575,15 +2673,21 @@ let queueMicroTask = (function () { }; })(); //# sourceMappingURL=queue.mjs.map +/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../timers-browserify/main.js */ "./node_modules/timers-browserify/main.js").setImmediate)) /***/ }), /***/ "./node_modules/@dojo/framework/shim/support/util.mjs": +/*!************************************************************!*\ + !*** ./node_modules/@dojo/framework/shim/support/util.mjs ***! + \************************************************************/ +/*! exports provided: getValueDescriptor, wrapNative */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony export (immutable) */ __webpack_exports__["a"] = getValueDescriptor; -/* harmony export (immutable) */ __webpack_exports__["b"] = wrapNative; +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getValueDescriptor", function() { return getValueDescriptor; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "wrapNative", function() { return wrapNative; }); /** * Helper function to generate a value property descriptor * @@ -2611,12 +2715,18 @@ function wrapNative(nativeFunction) { /***/ }), /***/ "./node_modules/@dojo/framework/widget-core/Injector.mjs": +/*!***************************************************************!*\ + !*** ./node_modules/@dojo/framework/widget-core/Injector.mjs ***! + \***************************************************************/ +/*! exports provided: Injector, default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__core_Evented__ = __webpack_require__("./node_modules/@dojo/framework/core/Evented.mjs"); +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Injector", function() { return Injector; }); +/* harmony import */ var _core_Evented__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/Evented */ "./node_modules/@dojo/framework/core/Evented.mjs"); -class Injector extends __WEBPACK_IMPORTED_MODULE_0__core_Evented__["a" /* Evented */] { +class Injector extends _core_Evented__WEBPACK_IMPORTED_MODULE_0__["Evented"] { constructor(payload) { super(); this._payload = payload; @@ -2634,20 +2744,24 @@ class Injector extends __WEBPACK_IMPORTED_MODULE_0__core_Evented__["a" /* Evente } } } -/* harmony export (immutable) */ __webpack_exports__["a"] = Injector; - -/* unused harmony default export */ var _unused_webpack_default_export = (Injector); +/* harmony default export */ __webpack_exports__["default"] = (Injector); //# sourceMappingURL=Injector.mjs.map /***/ }), /***/ "./node_modules/@dojo/framework/widget-core/NodeHandler.mjs": +/*!******************************************************************!*\ + !*** ./node_modules/@dojo/framework/widget-core/NodeHandler.mjs ***! + \******************************************************************/ +/*! exports provided: NodeEventType, NodeHandler, default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* unused harmony export NodeEventType */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__core_Evented__ = __webpack_require__("./node_modules/@dojo/framework/core/Evented.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__shim_Map__ = __webpack_require__("./node_modules/@dojo/framework/shim/Map.mjs"); +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NodeEventType", function() { return NodeEventType; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NodeHandler", function() { return NodeHandler; }); +/* harmony import */ var _core_Evented__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/Evented */ "./node_modules/@dojo/framework/core/Evented.mjs"); +/* harmony import */ var _shim_Map__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../shim/Map */ "./node_modules/@dojo/framework/shim/Map.mjs"); /** @@ -2660,10 +2774,10 @@ var NodeEventType; NodeEventType["Projector"] = "Projector"; NodeEventType["Widget"] = "Widget"; })(NodeEventType || (NodeEventType = {})); -class NodeHandler extends __WEBPACK_IMPORTED_MODULE_0__core_Evented__["a" /* Evented */] { +class NodeHandler extends _core_Evented__WEBPACK_IMPORTED_MODULE_0__["Evented"] { constructor() { super(...arguments); - this._nodeMap = new __WEBPACK_IMPORTED_MODULE_1__shim_Map__["b" /* default */](); + this._nodeMap = new _shim_Map__WEBPACK_IMPORTED_MODULE_1__["default"](); } get(key) { return this._nodeMap.get(key); @@ -2685,23 +2799,28 @@ class NodeHandler extends __WEBPACK_IMPORTED_MODULE_0__core_Evented__["a" /* Eve this._nodeMap.clear(); } } -/* unused harmony export NodeHandler */ - -/* harmony default export */ __webpack_exports__["a"] = (NodeHandler); +/* harmony default export */ __webpack_exports__["default"] = (NodeHandler); //# sourceMappingURL=NodeHandler.mjs.map /***/ }), /***/ "./node_modules/@dojo/framework/widget-core/Registry.mjs": +/*!***************************************************************!*\ + !*** ./node_modules/@dojo/framework/widget-core/Registry.mjs ***! + \***************************************************************/ +/*! exports provided: WIDGET_BASE_TYPE, isWidgetBaseConstructor, isWidgetConstructorDefaultExport, Registry, default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony export (immutable) */ __webpack_exports__["d"] = isWidgetBaseConstructor; -/* unused harmony export isWidgetConstructorDefaultExport */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__shim_Promise__ = __webpack_require__("./node_modules/@dojo/framework/shim/Promise.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__shim_Map__ = __webpack_require__("./node_modules/@dojo/framework/shim/Map.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__shim_Symbol__ = __webpack_require__("./node_modules/@dojo/framework/shim/Symbol.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__core_Evented__ = __webpack_require__("./node_modules/@dojo/framework/core/Evented.mjs"); +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "WIDGET_BASE_TYPE", function() { return WIDGET_BASE_TYPE; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isWidgetBaseConstructor", function() { return isWidgetBaseConstructor; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isWidgetConstructorDefaultExport", function() { return isWidgetConstructorDefaultExport; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Registry", function() { return Registry; }); +/* harmony import */ var _shim_Promise__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../shim/Promise */ "./node_modules/@dojo/framework/shim/Promise.mjs"); +/* harmony import */ var _shim_Map__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../shim/Map */ "./node_modules/@dojo/framework/shim/Map.mjs"); +/* harmony import */ var _shim_Symbol__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../shim/Symbol */ "./node_modules/@dojo/framework/shim/Symbol.mjs"); +/* harmony import */ var _core_Evented__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../core/Evented */ "./node_modules/@dojo/framework/core/Evented.mjs"); @@ -2709,9 +2828,7 @@ class NodeHandler extends __WEBPACK_IMPORTED_MODULE_0__core_Evented__["a" /* Eve /** * Widget base symbol type */ -const WIDGET_BASE_TYPE = Object(__WEBPACK_IMPORTED_MODULE_2__shim_Symbol__["a" /* default */])('Widget Base'); -/* harmony export (immutable) */ __webpack_exports__["b"] = WIDGET_BASE_TYPE; - +const WIDGET_BASE_TYPE = Object(_shim_Symbol__WEBPACK_IMPORTED_MODULE_2__["default"])('Widget Base'); /** * Checks is the item is a subclass of WidgetBase (or a WidgetBase) * @@ -2730,7 +2847,7 @@ function isWidgetConstructorDefaultExport(item) { /** * The Registry implementation */ -class Registry extends __WEBPACK_IMPORTED_MODULE_3__core_Evented__["a" /* Evented */] { +class Registry extends _core_Evented__WEBPACK_IMPORTED_MODULE_3__["Evented"] { /** * Emit loaded event for registry label */ @@ -2743,13 +2860,13 @@ class Registry extends __WEBPACK_IMPORTED_MODULE_3__core_Evented__["a" /* Evente } define(label, item) { if (this._widgetRegistry === undefined) { - this._widgetRegistry = new __WEBPACK_IMPORTED_MODULE_1__shim_Map__["b" /* default */](); + this._widgetRegistry = new _shim_Map__WEBPACK_IMPORTED_MODULE_1__["default"](); } if (this._widgetRegistry.has(label)) { throw new Error(`widget has already been registered for '${label.toString()}'`); } this._widgetRegistry.set(label, item); - if (item instanceof __WEBPACK_IMPORTED_MODULE_0__shim_Promise__["a" /* default */]) { + if (item instanceof _shim_Promise__WEBPACK_IMPORTED_MODULE_0__["default"]) { item.then((widgetCtor) => { this._widgetRegistry.set(label, widgetCtor); this.emitLoadedEvent(label, widgetCtor); @@ -2764,12 +2881,12 @@ class Registry extends __WEBPACK_IMPORTED_MODULE_3__core_Evented__["a" /* Evente } defineInjector(label, injectorFactory) { if (this._injectorRegistry === undefined) { - this._injectorRegistry = new __WEBPACK_IMPORTED_MODULE_1__shim_Map__["b" /* default */](); + this._injectorRegistry = new _shim_Map__WEBPACK_IMPORTED_MODULE_1__["default"](); } if (this._injectorRegistry.has(label)) { throw new Error(`injector has already been registered for '${label.toString()}'`); } - const invalidator = new __WEBPACK_IMPORTED_MODULE_3__core_Evented__["a" /* Evented */](); + const invalidator = new _core_Evented__WEBPACK_IMPORTED_MODULE_3__["Evented"](); const injectorItem = { injector: injectorFactory(() => invalidator.emit({ type: 'invalidate' })), invalidator @@ -2785,7 +2902,7 @@ class Registry extends __WEBPACK_IMPORTED_MODULE_3__core_Evented__["a" /* Evente if (isWidgetBaseConstructor(item)) { return item; } - if (item instanceof __WEBPACK_IMPORTED_MODULE_0__shim_Promise__["a" /* default */]) { + if (item instanceof _shim_Promise__WEBPACK_IMPORTED_MODULE_0__["default"]) { return null; } const promise = item(); @@ -2815,29 +2932,33 @@ class Registry extends __WEBPACK_IMPORTED_MODULE_3__core_Evented__["a" /* Evente return Boolean(this._injectorRegistry && this._injectorRegistry.has(label)); } } -/* harmony export (immutable) */ __webpack_exports__["a"] = Registry; - -/* harmony default export */ __webpack_exports__["c"] = (Registry); +/* harmony default export */ __webpack_exports__["default"] = (Registry); //# sourceMappingURL=Registry.mjs.map /***/ }), /***/ "./node_modules/@dojo/framework/widget-core/RegistryHandler.mjs": +/*!**********************************************************************!*\ + !*** ./node_modules/@dojo/framework/widget-core/RegistryHandler.mjs ***! + \**********************************************************************/ +/*! exports provided: RegistryHandler, default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__shim_Map__ = __webpack_require__("./node_modules/@dojo/framework/shim/Map.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__core_Evented__ = __webpack_require__("./node_modules/@dojo/framework/core/Evented.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__Registry__ = __webpack_require__("./node_modules/@dojo/framework/widget-core/Registry.mjs"); +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RegistryHandler", function() { return RegistryHandler; }); +/* harmony import */ var _shim_Map__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../shim/Map */ "./node_modules/@dojo/framework/shim/Map.mjs"); +/* harmony import */ var _core_Evented__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/Evented */ "./node_modules/@dojo/framework/core/Evented.mjs"); +/* harmony import */ var _Registry__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Registry */ "./node_modules/@dojo/framework/widget-core/Registry.mjs"); -class RegistryHandler extends __WEBPACK_IMPORTED_MODULE_1__core_Evented__["a" /* Evented */] { +class RegistryHandler extends _core_Evented__WEBPACK_IMPORTED_MODULE_1__["Evented"] { constructor() { super(); - this._registry = new __WEBPACK_IMPORTED_MODULE_2__Registry__["a" /* Registry */](); - this._registryWidgetLabelMap = new __WEBPACK_IMPORTED_MODULE_0__shim_Map__["a" /* Map */](); - this._registryInjectorLabelMap = new __WEBPACK_IMPORTED_MODULE_0__shim_Map__["a" /* Map */](); + this._registry = new _Registry__WEBPACK_IMPORTED_MODULE_2__["Registry"](); + this._registryWidgetLabelMap = new _shim_Map__WEBPACK_IMPORTED_MODULE_0__["Map"](); + this._registryInjectorLabelMap = new _shim_Map__WEBPACK_IMPORTED_MODULE_0__["Map"](); this.own(this._registry); const destroy = () => { if (this.baseRegistry) { @@ -2899,26 +3020,31 @@ class RegistryHandler extends __WEBPACK_IMPORTED_MODULE_1__core_Evented__["a" /* return null; } } -/* unused harmony export RegistryHandler */ - -/* harmony default export */ __webpack_exports__["a"] = (RegistryHandler); +/* harmony default export */ __webpack_exports__["default"] = (RegistryHandler); //# sourceMappingURL=RegistryHandler.mjs.map /***/ }), /***/ "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs": +/*!*****************************************************************!*\ + !*** ./node_modules/@dojo/framework/widget-core/WidgetBase.mjs ***! + \*****************************************************************/ +/*! exports provided: noBind, WidgetBase, default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__shim_Map__ = __webpack_require__("./node_modules/@dojo/framework/shim/Map.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__shim_WeakMap__ = __webpack_require__("./node_modules/@dojo/framework/shim/WeakMap.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__shim_Symbol__ = __webpack_require__("./node_modules/@dojo/framework/shim/Symbol.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__d__ = __webpack_require__("./node_modules/@dojo/framework/widget-core/d.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__diff__ = __webpack_require__("./node_modules/@dojo/framework/widget-core/diff.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__RegistryHandler__ = __webpack_require__("./node_modules/@dojo/framework/widget-core/RegistryHandler.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__NodeHandler__ = __webpack_require__("./node_modules/@dojo/framework/widget-core/NodeHandler.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__vdom__ = __webpack_require__("./node_modules/@dojo/framework/widget-core/vdom.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__Registry__ = __webpack_require__("./node_modules/@dojo/framework/widget-core/Registry.mjs"); +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "noBind", function() { return noBind; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "WidgetBase", function() { return WidgetBase; }); +/* harmony import */ var _shim_Map__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../shim/Map */ "./node_modules/@dojo/framework/shim/Map.mjs"); +/* harmony import */ var _shim_WeakMap__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../shim/WeakMap */ "./node_modules/@dojo/framework/shim/WeakMap.mjs"); +/* harmony import */ var _shim_Symbol__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../shim/Symbol */ "./node_modules/@dojo/framework/shim/Symbol.mjs"); +/* harmony import */ var _d__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./d */ "./node_modules/@dojo/framework/widget-core/d.mjs"); +/* harmony import */ var _diff__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./diff */ "./node_modules/@dojo/framework/widget-core/diff.mjs"); +/* harmony import */ var _RegistryHandler__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./RegistryHandler */ "./node_modules/@dojo/framework/widget-core/RegistryHandler.mjs"); +/* harmony import */ var _NodeHandler__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./NodeHandler */ "./node_modules/@dojo/framework/widget-core/NodeHandler.mjs"); +/* harmony import */ var _vdom__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./vdom */ "./node_modules/@dojo/framework/widget-core/vdom.mjs"); +/* harmony import */ var _Registry__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./Registry */ "./node_modules/@dojo/framework/widget-core/Registry.mjs"); @@ -2928,11 +3054,9 @@ class RegistryHandler extends __WEBPACK_IMPORTED_MODULE_1__core_Evented__["a" /* -const decoratorMap = new __WEBPACK_IMPORTED_MODULE_0__shim_Map__["b" /* default */](); -const boundAuto = __WEBPACK_IMPORTED_MODULE_4__diff__["a" /* auto */].bind(null); -const noBind = __WEBPACK_IMPORTED_MODULE_2__shim_Symbol__["a" /* default */].for('dojoNoBind'); -/* harmony export (immutable) */ __webpack_exports__["b"] = noBind; - +const decoratorMap = new _shim_Map__WEBPACK_IMPORTED_MODULE_0__["default"](); +const boundAuto = _diff__WEBPACK_IMPORTED_MODULE_4__["auto"].bind(null); +const noBind = _shim_Symbol__WEBPACK_IMPORTED_MODULE_2__["default"].for('dojoNoBind'); /** * Main widget base for all widgets to extend */ @@ -2949,14 +3073,14 @@ class WidgetBase { * Array of property keys considered changed from the previous set properties */ this._changedPropertyKeys = []; - this._nodeHandler = new __WEBPACK_IMPORTED_MODULE_6__NodeHandler__["a" /* default */](); + this._nodeHandler = new _NodeHandler__WEBPACK_IMPORTED_MODULE_6__["default"](); this._handles = []; this._children = []; - this._decoratorCache = new __WEBPACK_IMPORTED_MODULE_0__shim_Map__["b" /* default */](); + this._decoratorCache = new _shim_Map__WEBPACK_IMPORTED_MODULE_0__["default"](); this._properties = {}; this._boundRenderFunc = this.render.bind(this); this._boundInvalidate = this.invalidate.bind(this); - __WEBPACK_IMPORTED_MODULE_7__vdom__["b" /* widgetInstanceMap */].set(this, { + _vdom__WEBPACK_IMPORTED_MODULE_7__["widgetInstanceMap"].set(this, { dirty: true, onAttach: () => { this.onAttach(); @@ -2977,7 +3101,7 @@ class WidgetBase { } meta(MetaType) { if (this._metaMap === undefined) { - this._metaMap = new __WEBPACK_IMPORTED_MODULE_0__shim_Map__["b" /* default */](); + this._metaMap = new _shim_Map__WEBPACK_IMPORTED_MODULE_0__["default"](); } let cached = this._metaMap.get(MetaType); if (!cached) { @@ -3005,10 +3129,10 @@ class WidgetBase { } __setCoreProperties__(coreProperties) { const { baseRegistry } = coreProperties; - const instanceData = __WEBPACK_IMPORTED_MODULE_7__vdom__["b" /* widgetInstanceMap */].get(this); + const instanceData = _vdom__WEBPACK_IMPORTED_MODULE_7__["widgetInstanceMap"].get(this); if (instanceData.coreProperties.baseRegistry !== baseRegistry) { if (this._registry === undefined) { - this._registry = new __WEBPACK_IMPORTED_MODULE_5__RegistryHandler__["a" /* default */](); + this._registry = new _RegistryHandler__WEBPACK_IMPORTED_MODULE_5__["default"](); this.own(this._registry); this.own(this._registry.on('invalidate', this._boundInvalidate)); } @@ -3018,7 +3142,7 @@ class WidgetBase { instanceData.coreProperties = coreProperties; } __setProperties__(originalProperties) { - const instanceData = __WEBPACK_IMPORTED_MODULE_7__vdom__["b" /* widgetInstanceMap */].get(this); + const instanceData = _vdom__WEBPACK_IMPORTED_MODULE_7__["widgetInstanceMap"].get(this); instanceData.inputProperties = originalProperties; const properties = this._runBeforeProperties(originalProperties); const registeredDiffPropertyNames = this.getDecorator('registeredDiffProperty'); @@ -3103,7 +3227,7 @@ class WidgetBase { } } __render__() { - const instanceData = __WEBPACK_IMPORTED_MODULE_7__vdom__["b" /* widgetInstanceMap */].get(this); + const instanceData = _vdom__WEBPACK_IMPORTED_MODULE_7__["widgetInstanceMap"].get(this); instanceData.dirty = false; const render = this._runBeforeRenders(); let dNode = render(); @@ -3112,13 +3236,13 @@ class WidgetBase { return dNode; } invalidate() { - const instanceData = __WEBPACK_IMPORTED_MODULE_7__vdom__["b" /* widgetInstanceMap */].get(this); + const instanceData = _vdom__WEBPACK_IMPORTED_MODULE_7__["widgetInstanceMap"].get(this); if (instanceData.invalidate) { instanceData.invalidate(); } } render() { - return Object(__WEBPACK_IMPORTED_MODULE_3__d__["g" /* v */])('div', {}, this.children); + return Object(_d__WEBPACK_IMPORTED_MODULE_3__["v"])('div', {}, this.children); } /** * Function to add decorators to WidgetBase @@ -3131,7 +3255,7 @@ class WidgetBase { if (this.hasOwnProperty('constructor')) { let decoratorList = decoratorMap.get(this.constructor); if (!decoratorList) { - decoratorList = new __WEBPACK_IMPORTED_MODULE_0__shim_Map__["b" /* default */](); + decoratorList = new _shim_Map__WEBPACK_IMPORTED_MODULE_0__["default"](); decoratorMap.set(this.constructor, decoratorList); } let specificDecoratorList = decoratorList.get(decoratorKey); @@ -3189,9 +3313,9 @@ class WidgetBase { * @param properties properties to check for functions */ _bindFunctionProperty(property, bind) { - if (typeof property === 'function' && !property[noBind] && Object(__WEBPACK_IMPORTED_MODULE_8__Registry__["d" /* isWidgetBaseConstructor */])(property) === false) { + if (typeof property === 'function' && !property[noBind] && Object(_Registry__WEBPACK_IMPORTED_MODULE_8__["isWidgetBaseConstructor"])(property) === false) { if (this._bindFunctionPropertyMap === undefined) { - this._bindFunctionPropertyMap = new __WEBPACK_IMPORTED_MODULE_1__shim_WeakMap__["a" /* default */](); + this._bindFunctionPropertyMap = new _shim_WeakMap__WEBPACK_IMPORTED_MODULE_1__["default"](); } const bindInfo = this._bindFunctionPropertyMap.get(property) || {}; let { boundFunc, scope } = bindInfo; @@ -3205,7 +3329,7 @@ class WidgetBase { } get registry() { if (this._registry === undefined) { - this._registry = new __WEBPACK_IMPORTED_MODULE_5__RegistryHandler__["a" /* default */](); + this._registry = new _RegistryHandler__WEBPACK_IMPORTED_MODULE_5__["default"](); this.own(this._registry); this.own(this._registry.on('invalidate', this._boundInvalidate)); } @@ -3274,21 +3398,24 @@ class WidgetBase { } } } -/* harmony export (immutable) */ __webpack_exports__["a"] = WidgetBase; - /** * static identifier */ -WidgetBase._type = __WEBPACK_IMPORTED_MODULE_8__Registry__["b" /* WIDGET_BASE_TYPE */]; -/* unused harmony default export */ var _unused_webpack_default_export = (WidgetBase); +WidgetBase._type = _Registry__WEBPACK_IMPORTED_MODULE_8__["WIDGET_BASE_TYPE"]; +/* harmony default export */ __webpack_exports__["default"] = (WidgetBase); //# sourceMappingURL=WidgetBase.mjs.map /***/ }), /***/ "./node_modules/@dojo/framework/widget-core/animations/cssTransitions.mjs": +/*!********************************************************************************!*\ + !*** ./node_modules/@dojo/framework/widget-core/animations/cssTransitions.mjs ***! + \********************************************************************************/ +/*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; +__webpack_require__.r(__webpack_exports__); let browserSpecificTransitionEndEventName = ''; let browserSpecificAnimationEndEventName = ''; function determineBrowserStyleNames(element) { @@ -3347,7 +3474,7 @@ function enter(node, properties, enterAnimation) { node.classList.remove(activeClass); }); } -/* harmony default export */ __webpack_exports__["a"] = ({ +/* harmony default export */ __webpack_exports__["default"] = ({ enter, exit }); @@ -3356,37 +3483,39 @@ function enter(node, properties, enterAnimation) { /***/ }), /***/ "./node_modules/@dojo/framework/widget-core/d.mjs": +/*!********************************************************!*\ + !*** ./node_modules/@dojo/framework/widget-core/d.mjs ***! + \********************************************************/ +/*! exports provided: WNODE, VNODE, DOMVNODE, isWNode, isVNode, isDomVNode, isElementNode, decorate, w, v, dom */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony export (immutable) */ __webpack_exports__["f"] = isWNode; -/* harmony export (immutable) */ __webpack_exports__["e"] = isVNode; -/* harmony export (immutable) */ __webpack_exports__["d"] = isDomVNode; -/* unused harmony export isElementNode */ -/* unused harmony export decorate */ -/* harmony export (immutable) */ __webpack_exports__["h"] = w; -/* harmony export (immutable) */ __webpack_exports__["g"] = v; -/* harmony export (immutable) */ __webpack_exports__["c"] = dom; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__shim_Symbol__ = __webpack_require__("./node_modules/@dojo/framework/shim/Symbol.mjs"); +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "WNODE", function() { return WNODE; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VNODE", function() { return VNODE; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DOMVNODE", function() { return DOMVNODE; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isWNode", function() { return isWNode; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isVNode", function() { return isVNode; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isDomVNode", function() { return isDomVNode; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isElementNode", function() { return isElementNode; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "decorate", function() { return decorate; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return w; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "v", function() { return v; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "dom", function() { return dom; }); +/* harmony import */ var _shim_Symbol__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../shim/Symbol */ "./node_modules/@dojo/framework/shim/Symbol.mjs"); /** * The symbol identifier for a WNode type */ -const WNODE = Object(__WEBPACK_IMPORTED_MODULE_0__shim_Symbol__["a" /* default */])('Identifier for a WNode.'); -/* harmony export (immutable) */ __webpack_exports__["b"] = WNODE; - +const WNODE = Object(_shim_Symbol__WEBPACK_IMPORTED_MODULE_0__["default"])('Identifier for a WNode.'); /** * The symbol identifier for a VNode type */ -const VNODE = Object(__WEBPACK_IMPORTED_MODULE_0__shim_Symbol__["a" /* default */])('Identifier for a VNode.'); -/* harmony export (immutable) */ __webpack_exports__["a"] = VNODE; - +const VNODE = Object(_shim_Symbol__WEBPACK_IMPORTED_MODULE_0__["default"])('Identifier for a VNode.'); /** * The symbol identifier for a VNode type created using dom() */ -const DOMVNODE = Object(__WEBPACK_IMPORTED_MODULE_0__shim_Symbol__["a" /* default */])('Identifier for a VNode created using existing dom.'); -/* unused harmony export DOMVNODE */ - +const DOMVNODE = Object(_shim_Symbol__WEBPACK_IMPORTED_MODULE_0__["default"])('Identifier for a VNode created using existing dom.'); /** * Helper function that returns true if the `DNode` is a `WNode` using the `type` property */ @@ -3487,74 +3616,94 @@ function dom({ node, attrs = {}, props = {}, on = {}, diffType = 'none' }, child /***/ }), /***/ "./node_modules/@dojo/framework/widget-core/decorators/afterRender.mjs": +/*!*****************************************************************************!*\ + !*** ./node_modules/@dojo/framework/widget-core/decorators/afterRender.mjs ***! + \*****************************************************************************/ +/*! exports provided: afterRender, default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony export (immutable) */ __webpack_exports__["a"] = afterRender; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__handleDecorator__ = __webpack_require__("./node_modules/@dojo/framework/widget-core/decorators/handleDecorator.mjs"); +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "afterRender", function() { return afterRender; }); +/* harmony import */ var _handleDecorator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./handleDecorator */ "./node_modules/@dojo/framework/widget-core/decorators/handleDecorator.mjs"); function afterRender(method) { - return Object(__WEBPACK_IMPORTED_MODULE_0__handleDecorator__["a" /* handleDecorator */])((target, propertyKey) => { + return Object(_handleDecorator__WEBPACK_IMPORTED_MODULE_0__["handleDecorator"])((target, propertyKey) => { target.addDecorator('afterRender', propertyKey ? target[propertyKey] : method); }); } -/* unused harmony default export */ var _unused_webpack_default_export = (afterRender); +/* harmony default export */ __webpack_exports__["default"] = (afterRender); //# sourceMappingURL=afterRender.mjs.map /***/ }), /***/ "./node_modules/@dojo/framework/widget-core/decorators/alwaysRender.mjs": +/*!******************************************************************************!*\ + !*** ./node_modules/@dojo/framework/widget-core/decorators/alwaysRender.mjs ***! + \******************************************************************************/ +/*! exports provided: alwaysRender, default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony export (immutable) */ __webpack_exports__["a"] = alwaysRender; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__handleDecorator__ = __webpack_require__("./node_modules/@dojo/framework/widget-core/decorators/handleDecorator.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__beforeProperties__ = __webpack_require__("./node_modules/@dojo/framework/widget-core/decorators/beforeProperties.mjs"); +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "alwaysRender", function() { return alwaysRender; }); +/* harmony import */ var _handleDecorator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./handleDecorator */ "./node_modules/@dojo/framework/widget-core/decorators/handleDecorator.mjs"); +/* harmony import */ var _beforeProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./beforeProperties */ "./node_modules/@dojo/framework/widget-core/decorators/beforeProperties.mjs"); function alwaysRender() { - return Object(__WEBPACK_IMPORTED_MODULE_0__handleDecorator__["a" /* handleDecorator */])((target, propertyKey) => { - Object(__WEBPACK_IMPORTED_MODULE_1__beforeProperties__["a" /* beforeProperties */])(function () { + return Object(_handleDecorator__WEBPACK_IMPORTED_MODULE_0__["handleDecorator"])((target, propertyKey) => { + Object(_beforeProperties__WEBPACK_IMPORTED_MODULE_1__["beforeProperties"])(function () { this.invalidate(); })(target); }); } -/* unused harmony default export */ var _unused_webpack_default_export = (alwaysRender); +/* harmony default export */ __webpack_exports__["default"] = (alwaysRender); //# sourceMappingURL=alwaysRender.mjs.map /***/ }), /***/ "./node_modules/@dojo/framework/widget-core/decorators/beforeProperties.mjs": +/*!**********************************************************************************!*\ + !*** ./node_modules/@dojo/framework/widget-core/decorators/beforeProperties.mjs ***! + \**********************************************************************************/ +/*! exports provided: beforeProperties, default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony export (immutable) */ __webpack_exports__["a"] = beforeProperties; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__handleDecorator__ = __webpack_require__("./node_modules/@dojo/framework/widget-core/decorators/handleDecorator.mjs"); +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "beforeProperties", function() { return beforeProperties; }); +/* harmony import */ var _handleDecorator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./handleDecorator */ "./node_modules/@dojo/framework/widget-core/decorators/handleDecorator.mjs"); function beforeProperties(method) { - return Object(__WEBPACK_IMPORTED_MODULE_0__handleDecorator__["a" /* handleDecorator */])((target, propertyKey) => { + return Object(_handleDecorator__WEBPACK_IMPORTED_MODULE_0__["handleDecorator"])((target, propertyKey) => { target.addDecorator('beforeProperties', propertyKey ? target[propertyKey] : method); }); } -/* unused harmony default export */ var _unused_webpack_default_export = (beforeProperties); +/* harmony default export */ __webpack_exports__["default"] = (beforeProperties); //# sourceMappingURL=beforeProperties.mjs.map /***/ }), /***/ "./node_modules/@dojo/framework/widget-core/decorators/customElement.mjs": +/*!*******************************************************************************!*\ + !*** ./node_modules/@dojo/framework/widget-core/decorators/customElement.mjs ***! + \*******************************************************************************/ +/*! exports provided: customElement, default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony export (immutable) */ __webpack_exports__["a"] = customElement; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__registerCustomElement__ = __webpack_require__("./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__Registry__ = __webpack_require__("./node_modules/@dojo/framework/widget-core/Registry.mjs"); +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "customElement", function() { return customElement; }); +/* harmony import */ var _registerCustomElement__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../registerCustomElement */ "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs"); +/* harmony import */ var _Registry__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Registry */ "./node_modules/@dojo/framework/widget-core/Registry.mjs"); /** * This Decorator is provided properties that define the behavior of a custom element, and * registers that custom element. */ -function customElement({ tag, properties = [], attributes = [], events = [], childType = __WEBPACK_IMPORTED_MODULE_0__registerCustomElement__["CustomElementChildType"].DOJO, registryFactory = () => new __WEBPACK_IMPORTED_MODULE_1__Registry__["c" /* default */]() }) { +function customElement({ tag, properties = [], attributes = [], events = [], childType = _registerCustomElement__WEBPACK_IMPORTED_MODULE_0__["CustomElementChildType"].DOJO, registryFactory = () => new _Registry__WEBPACK_IMPORTED_MODULE_1__["default"]() }) { return function (target) { target.prototype.__customElementDescriptor = { tagName: tag, @@ -3566,18 +3715,23 @@ function customElement({ tag, properties = [], attributes = [], events = [], chi }; }; } -/* unused harmony default export */ var _unused_webpack_default_export = (customElement); +/* harmony default export */ __webpack_exports__["default"] = (customElement); //# sourceMappingURL=customElement.mjs.map /***/ }), /***/ "./node_modules/@dojo/framework/widget-core/decorators/diffProperty.mjs": +/*!******************************************************************************!*\ + !*** ./node_modules/@dojo/framework/widget-core/decorators/diffProperty.mjs ***! + \******************************************************************************/ +/*! exports provided: diffProperty, default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony export (immutable) */ __webpack_exports__["a"] = diffProperty; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__handleDecorator__ = __webpack_require__("./node_modules/@dojo/framework/widget-core/decorators/handleDecorator.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__diff__ = __webpack_require__("./node_modules/@dojo/framework/widget-core/diff.mjs"); +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "diffProperty", function() { return diffProperty; }); +/* harmony import */ var _handleDecorator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./handleDecorator */ "./node_modules/@dojo/framework/widget-core/decorators/handleDecorator.mjs"); +/* harmony import */ var _diff__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./../diff */ "./node_modules/@dojo/framework/widget-core/diff.mjs"); /** @@ -3587,8 +3741,8 @@ function customElement({ tag, properties = [], attributes = [], events = [], chi * @param diffType The diff type, default is DiffType.AUTO. * @param diffFunction A diff function to run if diffType if DiffType.CUSTOM */ -function diffProperty(propertyName, diffFunction = __WEBPACK_IMPORTED_MODULE_1__diff__["a" /* auto */], reactionFunction) { - return Object(__WEBPACK_IMPORTED_MODULE_0__handleDecorator__["a" /* handleDecorator */])((target, propertyKey) => { +function diffProperty(propertyName, diffFunction = _diff__WEBPACK_IMPORTED_MODULE_1__["auto"], reactionFunction) { + return Object(_handleDecorator__WEBPACK_IMPORTED_MODULE_0__["handleDecorator"])((target, propertyKey) => { target.addDecorator(`diffProperty:${propertyName}`, diffFunction.bind(null)); target.addDecorator('registeredDiffProperty', propertyName); if (reactionFunction || propertyKey) { @@ -3599,16 +3753,21 @@ function diffProperty(propertyName, diffFunction = __WEBPACK_IMPORTED_MODULE_1__ } }); } -/* unused harmony default export */ var _unused_webpack_default_export = (diffProperty); +/* harmony default export */ __webpack_exports__["default"] = (diffProperty); //# sourceMappingURL=diffProperty.mjs.map /***/ }), /***/ "./node_modules/@dojo/framework/widget-core/decorators/handleDecorator.mjs": +/*!*********************************************************************************!*\ + !*** ./node_modules/@dojo/framework/widget-core/decorators/handleDecorator.mjs ***! + \*********************************************************************************/ +/*! exports provided: handleDecorator, default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony export (immutable) */ __webpack_exports__["a"] = handleDecorator; +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "handleDecorator", function() { return handleDecorator; }); /** * Generic decorator handler to take care of whether or not the decorator was called at the class level * or the method level. @@ -3625,26 +3784,31 @@ function handleDecorator(handler) { } }; } -/* unused harmony default export */ var _unused_webpack_default_export = (handleDecorator); +/* harmony default export */ __webpack_exports__["default"] = (handleDecorator); //# sourceMappingURL=handleDecorator.mjs.map /***/ }), /***/ "./node_modules/@dojo/framework/widget-core/decorators/inject.mjs": +/*!************************************************************************!*\ + !*** ./node_modules/@dojo/framework/widget-core/decorators/inject.mjs ***! + \************************************************************************/ +/*! exports provided: inject, default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony export (immutable) */ __webpack_exports__["a"] = inject; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__shim_WeakMap__ = __webpack_require__("./node_modules/@dojo/framework/shim/WeakMap.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__handleDecorator__ = __webpack_require__("./node_modules/@dojo/framework/widget-core/decorators/handleDecorator.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__beforeProperties__ = __webpack_require__("./node_modules/@dojo/framework/widget-core/decorators/beforeProperties.mjs"); +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "inject", function() { return inject; }); +/* harmony import */ var _shim_WeakMap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../shim/WeakMap */ "./node_modules/@dojo/framework/shim/WeakMap.mjs"); +/* harmony import */ var _handleDecorator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./handleDecorator */ "./node_modules/@dojo/framework/widget-core/decorators/handleDecorator.mjs"); +/* harmony import */ var _beforeProperties__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./beforeProperties */ "./node_modules/@dojo/framework/widget-core/decorators/beforeProperties.mjs"); /** * Map of instances against registered injectors. */ -const registeredInjectorsMap = new __WEBPACK_IMPORTED_MODULE_0__shim_WeakMap__["a" /* default */](); +const registeredInjectorsMap = new _shim_WeakMap__WEBPACK_IMPORTED_MODULE_0__["default"](); /** * Decorator retrieves an injector from an available registry using the name and * calls the `getProperties` function with the payload from the injector @@ -3653,8 +3817,8 @@ const registeredInjectorsMap = new __WEBPACK_IMPORTED_MODULE_0__shim_WeakMap__[" * @param InjectConfig the inject configuration */ function inject({ name, getProperties }) { - return Object(__WEBPACK_IMPORTED_MODULE_1__handleDecorator__["a" /* handleDecorator */])((target, propertyKey) => { - Object(__WEBPACK_IMPORTED_MODULE_2__beforeProperties__["a" /* beforeProperties */])(function (properties) { + return Object(_handleDecorator__WEBPACK_IMPORTED_MODULE_1__["handleDecorator"])((target, propertyKey) => { + Object(_beforeProperties__WEBPACK_IMPORTED_MODULE_2__["beforeProperties"])(function (properties) { const injectorItem = this.registry.getInjector(name); if (injectorItem) { const { injector, invalidator } = injectorItem; @@ -3673,21 +3837,26 @@ function inject({ name, getProperties }) { })(target); }); } -/* unused harmony default export */ var _unused_webpack_default_export = (inject); +/* harmony default export */ __webpack_exports__["default"] = (inject); //# sourceMappingURL=inject.mjs.map /***/ }), /***/ "./node_modules/@dojo/framework/widget-core/diff.mjs": +/*!***********************************************************!*\ + !*** ./node_modules/@dojo/framework/widget-core/diff.mjs ***! + \***********************************************************/ +/*! exports provided: always, ignore, reference, shallow, auto */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* unused harmony export always */ -/* unused harmony export ignore */ -/* unused harmony export reference */ -/* harmony export (immutable) */ __webpack_exports__["b"] = shallow; -/* harmony export (immutable) */ __webpack_exports__["a"] = auto; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Registry__ = __webpack_require__("./node_modules/@dojo/framework/widget-core/Registry.mjs"); +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "always", function() { return always; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ignore", function() { return ignore; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "reference", function() { return reference; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "shallow", function() { return shallow; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "auto", function() { return auto; }); +/* harmony import */ var _Registry__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Registry */ "./node_modules/@dojo/framework/widget-core/Registry.mjs"); function isObjectOrArray(value) { return Object.prototype.toString.call(value) === '[object Object]' || Array.isArray(value); @@ -3738,7 +3907,7 @@ function shallow(previousProperty, newProperty) { function auto(previousProperty, newProperty) { let result; if (typeof newProperty === 'function') { - if (newProperty._type === __WEBPACK_IMPORTED_MODULE_0__Registry__["b" /* WIDGET_BASE_TYPE */]) { + if (newProperty._type === _Registry__WEBPACK_IMPORTED_MODULE_0__["WIDGET_BASE_TYPE"]) { result = reference(previousProperty, newProperty); } else { @@ -3758,18 +3927,24 @@ function auto(previousProperty, newProperty) { /***/ }), /***/ "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs": +/*!***********************************************************************!*\ + !*** ./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs ***! + \***********************************************************************/ +/*! exports provided: ProjectorAttachState, AttachType, ProjectorMixin, default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* unused harmony export ProjectorAttachState */ -/* unused harmony export AttachType */ -/* harmony export (immutable) */ __webpack_exports__["a"] = ProjectorMixin; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_tslib__ = __webpack_require__("./node_modules/tslib/tslib.es6.js"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__core_lang__ = __webpack_require__("./node_modules/@dojo/framework/core/lang.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__animations_cssTransitions__ = __webpack_require__("./node_modules/@dojo/framework/widget-core/animations/cssTransitions.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__decorators_afterRender__ = __webpack_require__("./node_modules/@dojo/framework/widget-core/decorators/afterRender.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__d__ = __webpack_require__("./node_modules/@dojo/framework/widget-core/d.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__vdom__ = __webpack_require__("./node_modules/@dojo/framework/widget-core/vdom.mjs"); +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ProjectorAttachState", function() { return ProjectorAttachState; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AttachType", function() { return AttachType; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ProjectorMixin", function() { return ProjectorMixin; }); +/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.js"); +/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(tslib__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _core_lang__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../core/lang */ "./node_modules/@dojo/framework/core/lang.mjs"); +/* harmony import */ var _animations_cssTransitions__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../animations/cssTransitions */ "./node_modules/@dojo/framework/widget-core/animations/cssTransitions.mjs"); +/* harmony import */ var _decorators_afterRender__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./../decorators/afterRender */ "./node_modules/@dojo/framework/widget-core/decorators/afterRender.mjs"); +/* harmony import */ var _d__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./../d */ "./node_modules/@dojo/framework/widget-core/d.mjs"); +/* harmony import */ var _vdom__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./../vdom */ "./node_modules/@dojo/framework/widget-core/vdom.mjs"); @@ -3800,7 +3975,7 @@ function ProjectorMixin(Base) { this._async = true; this._projectorProperties = {}; this._projectionOptions = { - transitions: __WEBPACK_IMPORTED_MODULE_2__animations_cssTransitions__["a" /* default */] + transitions: _animations_cssTransitions__WEBPACK_IMPORTED_MODULE_2__["default"] }; this.root = document.body; this.projectorState = ProjectorAttachState.Detached; @@ -3867,7 +4042,7 @@ function ProjectorMixin(Base) { this._projectorProperties.registry.destroy(); } } - this._projectorProperties = Object(__WEBPACK_IMPORTED_MODULE_1__core_lang__["a" /* assign */])({}, properties); + this._projectorProperties = Object(_core_lang__WEBPACK_IMPORTED_MODULE_1__["assign"])({}, properties); super.__setCoreProperties__({ bind: this, baseRegistry: properties.registry }); super.__setProperties__(properties); } @@ -3880,7 +4055,7 @@ function ProjectorMixin(Base) { afterRender(result) { let node = result; if (typeof result === 'string' || result === null || result === undefined) { - node = Object(__WEBPACK_IMPORTED_MODULE_4__d__["g" /* v */])('span', {}, [result]); + node = Object(_d__WEBPACK_IMPORTED_MODULE_4__["v"])('span', {}, [result]); } return node; } @@ -3908,38 +4083,45 @@ function ProjectorMixin(Base) { this._projectionOptions = Object.assign({}, this._projectionOptions, { sync: !this._async }); switch (type) { case AttachType.Append: - this._projection = __WEBPACK_IMPORTED_MODULE_5__vdom__["a" /* dom */].append(this.root, this, this._projectionOptions); + this._projection = _vdom__WEBPACK_IMPORTED_MODULE_5__["dom"].append(this.root, this, this._projectionOptions); break; case AttachType.Merge: - this._projection = __WEBPACK_IMPORTED_MODULE_5__vdom__["a" /* dom */].merge(this.root, this, this._projectionOptions); + this._projection = _vdom__WEBPACK_IMPORTED_MODULE_5__["dom"].merge(this.root, this, this._projectionOptions); break; } return this._attachHandle; } } - __WEBPACK_IMPORTED_MODULE_0_tslib__["a" /* __decorate */]([ - Object(__WEBPACK_IMPORTED_MODULE_3__decorators_afterRender__["a" /* afterRender */])() + tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ + Object(_decorators_afterRender__WEBPACK_IMPORTED_MODULE_3__["afterRender"])() ], Projector.prototype, "afterRender", null); return Projector; } -/* unused harmony default export */ var _unused_webpack_default_export = (ProjectorMixin); +/* harmony default export */ __webpack_exports__["default"] = (ProjectorMixin); //# sourceMappingURL=Projector.mjs.map /***/ }), /***/ "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs": +/*!********************************************************************!*\ + !*** ./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs ***! + \********************************************************************/ +/*! exports provided: INJECTED_THEME_KEY, theme, registerThemeInjector, ThemedMixin, default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony export (immutable) */ __webpack_exports__["c"] = theme; -/* harmony export (immutable) */ __webpack_exports__["b"] = registerThemeInjector; -/* harmony export (immutable) */ __webpack_exports__["a"] = ThemedMixin; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_tslib__ = __webpack_require__("./node_modules/tslib/tslib.es6.js"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__Injector__ = __webpack_require__("./node_modules/@dojo/framework/widget-core/Injector.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__decorators_inject__ = __webpack_require__("./node_modules/@dojo/framework/widget-core/decorators/inject.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__decorators_handleDecorator__ = __webpack_require__("./node_modules/@dojo/framework/widget-core/decorators/handleDecorator.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__decorators_diffProperty__ = __webpack_require__("./node_modules/@dojo/framework/widget-core/decorators/diffProperty.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__diff__ = __webpack_require__("./node_modules/@dojo/framework/widget-core/diff.mjs"); +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "INJECTED_THEME_KEY", function() { return INJECTED_THEME_KEY; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "theme", function() { return theme; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "registerThemeInjector", function() { return registerThemeInjector; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ThemedMixin", function() { return ThemedMixin; }); +/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.js"); +/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(tslib__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _Injector__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./../Injector */ "./node_modules/@dojo/framework/widget-core/Injector.mjs"); +/* harmony import */ var _decorators_inject__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./../decorators/inject */ "./node_modules/@dojo/framework/widget-core/decorators/inject.mjs"); +/* harmony import */ var _decorators_handleDecorator__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./../decorators/handleDecorator */ "./node_modules/@dojo/framework/widget-core/decorators/handleDecorator.mjs"); +/* harmony import */ var _decorators_diffProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./../decorators/diffProperty */ "./node_modules/@dojo/framework/widget-core/decorators/diffProperty.mjs"); +/* harmony import */ var _diff__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./../diff */ "./node_modules/@dojo/framework/widget-core/diff.mjs"); @@ -3948,13 +4130,11 @@ function ProjectorMixin(Base) { const THEME_KEY = ' _key'; const INJECTED_THEME_KEY = Symbol('theme'); -/* unused harmony export INJECTED_THEME_KEY */ - /** * Decorator for base css classes */ function theme(theme) { - return Object(__WEBPACK_IMPORTED_MODULE_3__decorators_handleDecorator__["a" /* handleDecorator */])((target) => { + return Object(_decorators_handleDecorator__WEBPACK_IMPORTED_MODULE_3__["handleDecorator"])((target) => { target.addDecorator('baseThemeClasses', theme); }); } @@ -3983,7 +4163,7 @@ function createThemeClassesLookup(classes) { * @returns the theme injector used to set the theme */ function registerThemeInjector(theme, themeRegistry) { - const themeInjector = new __WEBPACK_IMPORTED_MODULE_1__Injector__["a" /* Injector */](theme); + const themeInjector = new _Injector__WEBPACK_IMPORTED_MODULE_1__["Injector"](theme); themeRegistry.defineInjector(INJECTED_THEME_KEY, (invalidator) => { themeInjector.setInvalidator(invalidator); return () => themeInjector.get(); @@ -4052,7 +4232,7 @@ function ThemedMixin(Base) { const baseThemes = this.getDecorator('baseThemeClasses'); if (!this._registeredBaseTheme) { this._registeredBaseTheme = baseThemes.reduce((finalBaseTheme, baseTheme) => { - const _a = THEME_KEY, key = baseTheme[_a], classes = __WEBPACK_IMPORTED_MODULE_0_tslib__["b" /* __rest */](baseTheme, [typeof _a === "symbol" ? _a : _a + ""]); + const _a = THEME_KEY, key = baseTheme[_a], classes = tslib__WEBPACK_IMPORTED_MODULE_0__["__rest"](baseTheme, [typeof _a === "symbol" ? _a : _a + ""]); this._registeredBaseThemeKeys.push(key); return Object.assign({}, finalBaseTheme, classes); }, {}); @@ -4064,12 +4244,12 @@ function ThemedMixin(Base) { this._recalculateClasses = false; } }; - __WEBPACK_IMPORTED_MODULE_0_tslib__["a" /* __decorate */]([ - Object(__WEBPACK_IMPORTED_MODULE_4__decorators_diffProperty__["a" /* diffProperty */])('theme', __WEBPACK_IMPORTED_MODULE_5__diff__["b" /* shallow */]), - Object(__WEBPACK_IMPORTED_MODULE_4__decorators_diffProperty__["a" /* diffProperty */])('extraClasses', __WEBPACK_IMPORTED_MODULE_5__diff__["b" /* shallow */]) + tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ + Object(_decorators_diffProperty__WEBPACK_IMPORTED_MODULE_4__["diffProperty"])('theme', _diff__WEBPACK_IMPORTED_MODULE_5__["shallow"]), + Object(_decorators_diffProperty__WEBPACK_IMPORTED_MODULE_4__["diffProperty"])('extraClasses', _diff__WEBPACK_IMPORTED_MODULE_5__["shallow"]) ], Themed.prototype, "onPropertiesChanged", null); - Themed = __WEBPACK_IMPORTED_MODULE_0_tslib__["a" /* __decorate */]([ - Object(__WEBPACK_IMPORTED_MODULE_2__decorators_inject__["a" /* inject */])({ + Themed = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ + Object(_decorators_inject__WEBPACK_IMPORTED_MODULE_2__["inject"])({ name: INJECTED_THEME_KEY, getProperties: (theme, properties) => { if (!properties.theme) { @@ -4081,28 +4261,33 @@ function ThemedMixin(Base) { ], Themed); return Themed; } -/* unused harmony default export */ var _unused_webpack_default_export = (ThemedMixin); +/* harmony default export */ __webpack_exports__["default"] = (ThemedMixin); //# sourceMappingURL=Themed.mjs.map /***/ }), /***/ "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs": +/*!****************************************************************************!*\ + !*** ./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ***! + \****************************************************************************/ +/*! exports provided: CustomElementChildType, DomToWidgetWrapper, create, register, default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); +__webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CustomElementChildType", function() { return CustomElementChildType; }); -/* harmony export (immutable) */ __webpack_exports__["DomToWidgetWrapper"] = DomToWidgetWrapper; -/* harmony export (immutable) */ __webpack_exports__["create"] = create; -/* harmony export (immutable) */ __webpack_exports__["register"] = register; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_tslib__ = __webpack_require__("./node_modules/tslib/tslib.es6.js"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__WidgetBase__ = __webpack_require__("./node_modules/@dojo/framework/widget-core/WidgetBase.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__mixins_Projector__ = __webpack_require__("./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__shim_array__ = __webpack_require__("./node_modules/@dojo/framework/shim/array.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__d__ = __webpack_require__("./node_modules/@dojo/framework/widget-core/d.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__shim_global__ = __webpack_require__("./node_modules/@dojo/framework/shim/global.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__mixins_Themed__ = __webpack_require__("./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__decorators_alwaysRender__ = __webpack_require__("./node_modules/@dojo/framework/widget-core/decorators/alwaysRender.mjs"); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DomToWidgetWrapper", function() { return DomToWidgetWrapper; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "create", function() { return create; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "register", function() { return register; }); +/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.js"); +/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(tslib__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _WidgetBase__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./WidgetBase */ "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs"); +/* harmony import */ var _mixins_Projector__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./mixins/Projector */ "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs"); +/* harmony import */ var _shim_array__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../shim/array */ "./node_modules/@dojo/framework/shim/array.mjs"); +/* harmony import */ var _d__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./d */ "./node_modules/@dojo/framework/widget-core/d.mjs"); +/* harmony import */ var _shim_global__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../shim/global */ "./node_modules/@dojo/framework/shim/global.mjs"); +/* harmony import */ var _mixins_Themed__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./mixins/Themed */ "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs"); +/* harmony import */ var _decorators_alwaysRender__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./decorators/alwaysRender */ "./node_modules/@dojo/framework/widget-core/decorators/alwaysRender.mjs"); @@ -4118,7 +4303,7 @@ var CustomElementChildType; CustomElementChildType["TEXT"] = "TEXT"; })(CustomElementChildType || (CustomElementChildType = {})); function DomToWidgetWrapper(domNode) { - let DomToWidgetWrapper = class DomToWidgetWrapper extends __WEBPACK_IMPORTED_MODULE_1__WidgetBase__["a" /* WidgetBase */] { + let DomToWidgetWrapper = class DomToWidgetWrapper extends _WidgetBase__WEBPACK_IMPORTED_MODULE_1__["WidgetBase"] { render() { const properties = Object.keys(this.properties).reduce((props, key) => { const value = this.properties[key]; @@ -4128,14 +4313,14 @@ function DomToWidgetWrapper(domNode) { props[key] = value; return props; }, {}); - return Object(__WEBPACK_IMPORTED_MODULE_4__d__["c" /* dom */])({ node: domNode, props: properties, diffType: 'dom' }); + return Object(_d__WEBPACK_IMPORTED_MODULE_4__["dom"])({ node: domNode, props: properties, diffType: 'dom' }); } static get domNode() { return domNode; } }; - DomToWidgetWrapper = __WEBPACK_IMPORTED_MODULE_0_tslib__["a" /* __decorate */]([ - Object(__WEBPACK_IMPORTED_MODULE_7__decorators_alwaysRender__["a" /* alwaysRender */])() + DomToWidgetWrapper = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ + Object(_decorators_alwaysRender__WEBPACK_IMPORTED_MODULE_7__["alwaysRender"])() ], DomToWidgetWrapper); return DomToWidgetWrapper; } @@ -4199,28 +4384,28 @@ function create(descriptor, WidgetConstructor) { }); Object.defineProperties(this, domProperties); const children = childType === CustomElementChildType.TEXT ? this.childNodes : this.children; - Object(__WEBPACK_IMPORTED_MODULE_3__shim_array__["a" /* from */])(children).forEach((childNode) => { + Object(_shim_array__WEBPACK_IMPORTED_MODULE_3__["from"])(children).forEach((childNode) => { if (childType === CustomElementChildType.DOJO) { childNode.addEventListener('dojo-ce-render', () => this._render()); childNode.addEventListener('dojo-ce-connected', () => this._render()); this._children.push(DomToWidgetWrapper(childNode)); } else { - this._children.push(Object(__WEBPACK_IMPORTED_MODULE_4__d__["c" /* dom */])({ node: childNode, diffType: 'dom' })); + this._children.push(Object(_d__WEBPACK_IMPORTED_MODULE_4__["dom"])({ node: childNode, diffType: 'dom' })); } }); this.addEventListener('dojo-ce-connected', (e) => this._childConnected(e)); const widgetProperties = this._properties; const renderChildren = () => this.__children__(); - const Wrapper = class extends __WEBPACK_IMPORTED_MODULE_1__WidgetBase__["a" /* WidgetBase */] { + const Wrapper = class extends _WidgetBase__WEBPACK_IMPORTED_MODULE_1__["WidgetBase"] { render() { - return Object(__WEBPACK_IMPORTED_MODULE_4__d__["h" /* w */])(WidgetConstructor, widgetProperties, renderChildren()); + return Object(_d__WEBPACK_IMPORTED_MODULE_4__["w"])(WidgetConstructor, widgetProperties, renderChildren()); } }; const registry = registryFactory(); - const themeContext = Object(__WEBPACK_IMPORTED_MODULE_6__mixins_Themed__["b" /* registerThemeInjector */])(this._getTheme(), registry); - __WEBPACK_IMPORTED_MODULE_5__shim_global__["a" /* default */].addEventListener('dojo-theme-set', () => themeContext.set(this._getTheme())); - const Projector = Object(__WEBPACK_IMPORTED_MODULE_2__mixins_Projector__["a" /* ProjectorMixin */])(Wrapper); + const themeContext = Object(_mixins_Themed__WEBPACK_IMPORTED_MODULE_6__["registerThemeInjector"])(this._getTheme(), registry); + _shim_global__WEBPACK_IMPORTED_MODULE_5__["default"].addEventListener('dojo-theme-set', () => themeContext.set(this._getTheme())); + const Projector = Object(_mixins_Projector__WEBPACK_IMPORTED_MODULE_2__["ProjectorMixin"])(Wrapper); this._projector = new Projector(); this._projector.setProperties({ registry }); this._projector.append(this); @@ -4231,8 +4416,8 @@ function create(descriptor, WidgetConstructor) { })); } _getTheme() { - if (__WEBPACK_IMPORTED_MODULE_5__shim_global__["a" /* default */] && __WEBPACK_IMPORTED_MODULE_5__shim_global__["a" /* default */].dojoce && __WEBPACK_IMPORTED_MODULE_5__shim_global__["a" /* default */].dojoce.theme) { - return __WEBPACK_IMPORTED_MODULE_5__shim_global__["a" /* default */].dojoce.themes[__WEBPACK_IMPORTED_MODULE_5__shim_global__["a" /* default */].dojoce.theme]; + if (_shim_global__WEBPACK_IMPORTED_MODULE_5__["default"] && _shim_global__WEBPACK_IMPORTED_MODULE_5__["default"].dojoce && _shim_global__WEBPACK_IMPORTED_MODULE_5__["default"].dojoce.theme) { + return _shim_global__WEBPACK_IMPORTED_MODULE_5__["default"].dojoce.themes[_shim_global__WEBPACK_IMPORTED_MODULE_5__["default"].dojoce.theme]; } } _childConnected(e) { @@ -4262,7 +4447,7 @@ function create(descriptor, WidgetConstructor) { if (childType === CustomElementChildType.DOJO) { return this._children.filter((Child) => Child.domNode.isWidget).map((Child) => { const { domNode } = Child; - return Object(__WEBPACK_IMPORTED_MODULE_4__d__["h" /* w */])(Child, Object.assign({}, domNode.__properties__()), [...domNode.__children__()]); + return Object(_d__WEBPACK_IMPORTED_MODULE_4__["w"])(Child, Object.assign({}, domNode.__properties__()), [...domNode.__children__()]); }); } else { @@ -4281,7 +4466,7 @@ function create(descriptor, WidgetConstructor) { } _setProperty(propertyName, value) { if (typeof value === 'function') { - value[__WEBPACK_IMPORTED_MODULE_1__WidgetBase__["b" /* noBind */]] = true; + value[_WidgetBase__WEBPACK_IMPORTED_MODULE_1__["noBind"]] = true; } this._properties[propertyName] = value; this._render(); @@ -4312,7 +4497,7 @@ function register(WidgetConstructor) { if (!descriptor) { throw new Error('Cannot get descriptor for Custom Element, have you added the @customElement decorator to your Widget?'); } - __WEBPACK_IMPORTED_MODULE_5__shim_global__["a" /* default */].customElements.define(descriptor.tagName, create(descriptor, WidgetConstructor)); + _shim_global__WEBPACK_IMPORTED_MODULE_5__["default"].customElements.define(descriptor.tagName, create(descriptor, WidgetConstructor)); } /* harmony default export */ __webpack_exports__["default"] = (register); //# sourceMappingURL=registerCustomElement.mjs.map @@ -4320,17 +4505,24 @@ function register(WidgetConstructor) { /***/ }), /***/ "./node_modules/@dojo/framework/widget-core/vdom.mjs": +/*!***********************************************************!*\ + !*** ./node_modules/@dojo/framework/widget-core/vdom.mjs ***! + \***********************************************************/ +/*! exports provided: widgetInstanceMap, toParentVNode, toTextVNode, filterAndDecorateChildren, dom */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* unused harmony export toParentVNode */ -/* unused harmony export toTextVNode */ -/* unused harmony export filterAndDecorateChildren */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__shim_global__ = __webpack_require__("./node_modules/@dojo/framework/shim/global.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__shim_array__ = __webpack_require__("./node_modules/@dojo/framework/shim/array.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__d__ = __webpack_require__("./node_modules/@dojo/framework/widget-core/d.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__Registry__ = __webpack_require__("./node_modules/@dojo/framework/widget-core/Registry.mjs"); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__shim_WeakMap__ = __webpack_require__("./node_modules/@dojo/framework/shim/WeakMap.mjs"); +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "widgetInstanceMap", function() { return widgetInstanceMap; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "toParentVNode", function() { return toParentVNode; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "toTextVNode", function() { return toTextVNode; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "filterAndDecorateChildren", function() { return filterAndDecorateChildren; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "dom", function() { return dom; }); +/* harmony import */ var _shim_global__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../shim/global */ "./node_modules/@dojo/framework/shim/global.mjs"); +/* harmony import */ var _shim_array__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../shim/array */ "./node_modules/@dojo/framework/shim/array.mjs"); +/* harmony import */ var _d__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./d */ "./node_modules/@dojo/framework/widget-core/d.mjs"); +/* harmony import */ var _Registry__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Registry */ "./node_modules/@dojo/framework/widget-core/Registry.mjs"); +/* harmony import */ var _shim_WeakMap__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../shim/WeakMap */ "./node_modules/@dojo/framework/shim/WeakMap.mjs"); @@ -4341,15 +4533,13 @@ const NAMESPACE_SVG = NAMESPACE_W3 + '2000/svg'; const NAMESPACE_XLINK = NAMESPACE_W3 + '1999/xlink'; const emptyArray = []; const nodeOperations = ['focus', 'blur', 'scrollIntoView', 'click']; -const widgetInstanceMap = new __WEBPACK_IMPORTED_MODULE_4__shim_WeakMap__["a" /* default */](); -/* harmony export (immutable) */ __webpack_exports__["b"] = widgetInstanceMap; - -const instanceMap = new __WEBPACK_IMPORTED_MODULE_4__shim_WeakMap__["a" /* default */](); -const nextSiblingMap = new __WEBPACK_IMPORTED_MODULE_4__shim_WeakMap__["a" /* default */](); -const projectorStateMap = new __WEBPACK_IMPORTED_MODULE_4__shim_WeakMap__["a" /* default */](); +const widgetInstanceMap = new _shim_WeakMap__WEBPACK_IMPORTED_MODULE_4__["default"](); +const instanceMap = new _shim_WeakMap__WEBPACK_IMPORTED_MODULE_4__["default"](); +const nextSiblingMap = new _shim_WeakMap__WEBPACK_IMPORTED_MODULE_4__["default"](); +const projectorStateMap = new _shim_WeakMap__WEBPACK_IMPORTED_MODULE_4__["default"](); function same(dnode1, dnode2) { - if (Object(__WEBPACK_IMPORTED_MODULE_2__d__["e" /* isVNode */])(dnode1) && Object(__WEBPACK_IMPORTED_MODULE_2__d__["e" /* isVNode */])(dnode2)) { - if (Object(__WEBPACK_IMPORTED_MODULE_2__d__["d" /* isDomVNode */])(dnode1) || Object(__WEBPACK_IMPORTED_MODULE_2__d__["d" /* isDomVNode */])(dnode2)) { + if (Object(_d__WEBPACK_IMPORTED_MODULE_2__["isVNode"])(dnode1) && Object(_d__WEBPACK_IMPORTED_MODULE_2__["isVNode"])(dnode2)) { + if (Object(_d__WEBPACK_IMPORTED_MODULE_2__["isDomVNode"])(dnode1) || Object(_d__WEBPACK_IMPORTED_MODULE_2__["isDomVNode"])(dnode2)) { if (dnode1.domNode !== dnode2.domNode) { return false; } @@ -4362,7 +4552,7 @@ function same(dnode1, dnode2) { } return true; } - else if (Object(__WEBPACK_IMPORTED_MODULE_2__d__["f" /* isWNode */])(dnode1) && Object(__WEBPACK_IMPORTED_MODULE_2__d__["f" /* isWNode */])(dnode2)) { + else if (Object(_d__WEBPACK_IMPORTED_MODULE_2__["isWNode"])(dnode1) && Object(_d__WEBPACK_IMPORTED_MODULE_2__["isWNode"])(dnode2)) { if (dnode1.instance === undefined && typeof dnode2.widgetConstructor === 'string') { return false; } @@ -4403,7 +4593,7 @@ function checkStyleValue(styleValue) { } function updateEvent(domNode, eventName, currentValue, projectionOptions, bind, previousValue) { const projectorState = projectorStateMap.get(projectionOptions.projectorInstance); - const eventMap = projectorState.nodeMap.get(domNode) || new __WEBPACK_IMPORTED_MODULE_4__shim_WeakMap__["a" /* default */](); + const eventMap = projectorState.nodeMap.get(domNode) || new _shim_WeakMap__WEBPACK_IMPORTED_MODULE_4__["default"](); if (previousValue) { const previousEvent = eventMap.get(previousValue); domNode.removeEventListener(eventName, previousEvent); @@ -4646,7 +4836,7 @@ function toParentVNode(domNode) { properties: {}, children: undefined, domNode, - type: __WEBPACK_IMPORTED_MODULE_2__d__["a" /* VNODE */] + type: _d__WEBPACK_IMPORTED_MODULE_2__["VNODE"] }; } function toTextVNode(data) { @@ -4656,7 +4846,7 @@ function toTextVNode(data) { children: undefined, text: `${data}`, domNode: undefined, - type: __WEBPACK_IMPORTED_MODULE_2__d__["a" /* VNODE */] + type: _d__WEBPACK_IMPORTED_MODULE_2__["VNODE"] }; } function toInternalWNode(instance, instanceData) { @@ -4667,7 +4857,7 @@ function toInternalWNode(instance, instanceData) { children: instance.children, widgetConstructor: instance.constructor, properties: instanceData.inputProperties, - type: __WEBPACK_IMPORTED_MODULE_2__d__["b" /* WNODE */] + type: _d__WEBPACK_IMPORTED_MODULE_2__["WNODE"] }; } function filterAndDecorateChildren(children, instance) { @@ -4685,7 +4875,7 @@ function filterAndDecorateChildren(children, instance) { children[i] = toTextVNode(child); } else { - if (Object(__WEBPACK_IMPORTED_MODULE_2__d__["e" /* isVNode */])(child)) { + if (Object(_d__WEBPACK_IMPORTED_MODULE_2__["isVNode"])(child)) { if (child.properties.bind === undefined) { child.properties.bind = instance; if (child.children && child.children.length > 0) { @@ -4711,7 +4901,7 @@ function filterAndDecorateChildren(children, instance) { return children; } function nodeAdded(dnode, transitions) { - if (Object(__WEBPACK_IMPORTED_MODULE_2__d__["e" /* isVNode */])(dnode) && dnode.properties) { + if (Object(_d__WEBPACK_IMPORTED_MODULE_2__["isVNode"])(dnode) && dnode.properties) { const enterAnimation = dnode.properties.enterAnimation; if (enterAnimation) { if (typeof enterAnimation === 'function') { @@ -4724,7 +4914,7 @@ function nodeAdded(dnode, transitions) { } } function nodeToRemove(dnode, transitions, projectionOptions) { - if (Object(__WEBPACK_IMPORTED_MODULE_2__d__["f" /* isWNode */])(dnode)) { + if (Object(_d__WEBPACK_IMPORTED_MODULE_2__["isWNode"])(dnode)) { const item = instanceMap.get(dnode.instance); const rendered = (item ? item.dnode.rendered : dnode.rendered) || emptyArray; if (dnode.instance) { @@ -4766,7 +4956,7 @@ function nodeToRemove(dnode, transitions, projectionOptions) { } function checkDistinguishable(childNodes, indexToCheck, parentInstance) { const childNode = childNodes[indexToCheck]; - if (Object(__WEBPACK_IMPORTED_MODULE_2__d__["e" /* isVNode */])(childNode) && !childNode.tag) { + if (Object(_d__WEBPACK_IMPORTED_MODULE_2__["isVNode"])(childNode) && !childNode.tag) { return; // Text nodes need not be distinguishable } const { key } = childNode.properties; @@ -4777,7 +4967,7 @@ function checkDistinguishable(childNodes, indexToCheck, parentInstance) { if (same(node, childNode)) { let nodeIdentifier; const parentName = parentInstance.constructor.name || 'unknown'; - if (Object(__WEBPACK_IMPORTED_MODULE_2__d__["f" /* isWNode */])(childNode)) { + if (Object(_d__WEBPACK_IMPORTED_MODULE_2__["isWNode"])(childNode)) { nodeIdentifier = childNode.widgetConstructor.name || 'unknown'; } else { @@ -4805,8 +4995,8 @@ function updateChildren(parentVNode, siblings, oldChildren, newChildren, parentI while (newIndex < newChildrenLength) { let oldChild = oldIndex < oldChildrenLength ? oldChildren[oldIndex] : undefined; const newChild = newChildren[newIndex]; - if (Object(__WEBPACK_IMPORTED_MODULE_2__d__["e" /* isVNode */])(newChild) && typeof newChild.deferredPropertiesCallback === 'function') { - newChild.inserted = Object(__WEBPACK_IMPORTED_MODULE_2__d__["e" /* isVNode */])(oldChild) && oldChild.inserted; + if (Object(_d__WEBPACK_IMPORTED_MODULE_2__["isVNode"])(newChild) && typeof newChild.deferredPropertiesCallback === 'function') { + newChild.inserted = Object(_d__WEBPACK_IMPORTED_MODULE_2__["isVNode"])(oldChild) && oldChild.inserted; addDeferredProperties(newChild, projectionOptions); } if (oldChild !== undefined && same(oldChild, newChild)) { @@ -4831,7 +5021,7 @@ function updateChildren(parentVNode, siblings, oldChildren, newChildren, parentI let insertBeforeChildren = [child]; while (insertBeforeChildren.length) { const insertBefore = insertBeforeChildren.shift(); - if (Object(__WEBPACK_IMPORTED_MODULE_2__d__["f" /* isWNode */])(insertBefore)) { + if (Object(_d__WEBPACK_IMPORTED_MODULE_2__["isWNode"])(insertBefore)) { const item = instanceMap.get(insertBefore.instance); if (item && item.dnode.rendered) { insertBeforeChildren.push(...item.dnode.rendered); @@ -4869,7 +5059,7 @@ function updateChildren(parentVNode, siblings, oldChildren, newChildren, parentI projectorState.afterRenderCallbacks.push(() => { checkDistinguishable(oldChildren, indexToCheck, parentInstance); }); - if (Object(__WEBPACK_IMPORTED_MODULE_2__d__["f" /* isWNode */])(oldChild)) { + if (Object(_d__WEBPACK_IMPORTED_MODULE_2__["isWNode"])(oldChild)) { const item = instanceMap.get(oldChild.instance); if (item) { oldChild = item.dnode; @@ -4896,7 +5086,7 @@ function updateChildren(parentVNode, siblings, oldChildren, newChildren, parentI checkDistinguishable(oldChildren, indexToCheck, parentInstance); }); let childToRemove = oldChildren[i]; - if (Object(__WEBPACK_IMPORTED_MODULE_2__d__["f" /* isWNode */])(childToRemove)) { + if (Object(_d__WEBPACK_IMPORTED_MODULE_2__["isWNode"])(childToRemove)) { const item = instanceMap.get(childToRemove.instance); if (item) { childToRemove = item.dnode; @@ -4913,14 +5103,14 @@ function addChildren(parentVNode, children, projectionOptions, parentInstance, i } const projectorState = projectorStateMap.get(projectionOptions.projectorInstance); if (projectorState.merge && childNodes === undefined) { - childNodes = Object(__WEBPACK_IMPORTED_MODULE_1__shim_array__["a" /* from */])(parentVNode.domNode.childNodes); + childNodes = Object(_shim_array__WEBPACK_IMPORTED_MODULE_1__["from"])(parentVNode.domNode.childNodes); } const transitions = projectionOptions.transitions; projectionOptions = Object.assign({}, projectionOptions, { depth: projectionOptions.depth + 1 }); for (let i = 0; i < children.length; i++) { const child = children[i]; const nextSiblings = children.slice(i + 1); - if (Object(__WEBPACK_IMPORTED_MODULE_2__d__["e" /* isVNode */])(child)) { + if (Object(_d__WEBPACK_IMPORTED_MODULE_2__["isVNode"])(child)) { if (projectorState.merge && childNodes) { let domElement = undefined; while (child.domNode === undefined && childNodes.length > 0) { @@ -4964,10 +5154,10 @@ function initPropertiesAndChildren(domNode, dnode, parentInstance, projectionOpt function createDom(dnode, parentVNode, nextSiblings, insertBefore, projectionOptions, parentInstance, childNodes) { let domNode; const projectorState = projectorStateMap.get(projectionOptions.projectorInstance); - if (Object(__WEBPACK_IMPORTED_MODULE_2__d__["f" /* isWNode */])(dnode)) { + if (Object(_d__WEBPACK_IMPORTED_MODULE_2__["isWNode"])(dnode)) { let { widgetConstructor } = dnode; const parentInstanceData = widgetInstanceMap.get(parentInstance); - if (!Object(__WEBPACK_IMPORTED_MODULE_3__Registry__["d" /* isWidgetBaseConstructor */])(widgetConstructor)) { + if (!Object(_Registry__WEBPACK_IMPORTED_MODULE_3__["isWidgetBaseConstructor"])(widgetConstructor)) { const item = parentInstanceData.registry().get(widgetConstructor); if (item === null) { return; @@ -5058,7 +5248,7 @@ function createDom(dnode, parentVNode, nextSiblings, insertBefore, projectionOpt } } function updateDom(previous, dnode, projectionOptions, parentVNode, parentInstance, oldNextSiblings, nextSiblings) { - if (Object(__WEBPACK_IMPORTED_MODULE_2__d__["f" /* isWNode */])(dnode)) { + if (Object(_d__WEBPACK_IMPORTED_MODULE_2__["isWNode"])(dnode)) { const { instance } = previous; const { parentVNode, dnode: node } = instanceMap.get(instance); const previousRendered = node ? node.rendered : previous.rendered; @@ -5156,7 +5346,7 @@ function runDeferredRenderCallbacks(projectionOptions) { } } else { - __WEBPACK_IMPORTED_MODULE_0__shim_global__["a" /* default */].requestAnimationFrame(() => { + _shim_global__WEBPACK_IMPORTED_MODULE_0__["default"].requestAnimationFrame(() => { while (projectorState.deferredRenderCallbacks.length) { const callback = projectorState.deferredRenderCallbacks.shift(); callback && callback(); @@ -5174,8 +5364,8 @@ function runAfterRenderCallbacks(projectionOptions) { } } else { - if (__WEBPACK_IMPORTED_MODULE_0__shim_global__["a" /* default */].requestIdleCallback) { - __WEBPACK_IMPORTED_MODULE_0__shim_global__["a" /* default */].requestIdleCallback(() => { + if (_shim_global__WEBPACK_IMPORTED_MODULE_0__["default"].requestIdleCallback) { + _shim_global__WEBPACK_IMPORTED_MODULE_0__["default"].requestIdleCallback(() => { while (projectorState.afterRenderCallbacks.length) { const callback = projectorState.afterRenderCallbacks.shift(); callback && callback(); @@ -5198,7 +5388,7 @@ function scheduleRender(projectionOptions) { render(projectionOptions); } else if (projectorState.renderScheduled === undefined) { - projectorState.renderScheduled = __WEBPACK_IMPORTED_MODULE_0__shim_global__["a" /* default */].requestAnimationFrame(() => { + projectorState.renderScheduled = _shim_global__WEBPACK_IMPORTED_MODULE_0__["default"].requestAnimationFrame(() => { render(projectionOptions); }); } @@ -5231,7 +5421,7 @@ const dom = { const projectorState = { afterRenderCallbacks: [], deferredRenderCallbacks: [], - nodeMap: new __WEBPACK_IMPORTED_MODULE_4__shim_WeakMap__["a" /* default */](), + nodeMap: new _shim_WeakMap__WEBPACK_IMPORTED_MODULE_4__["default"](), renderScheduled: undefined, renderQueue: [], merge: projectionOptions.merge || false, @@ -5271,19 +5461,21 @@ const dom = { return projection; } }; -/* harmony export (immutable) */ __webpack_exports__["a"] = dom; - //# sourceMappingURL=vdom.mjs.map /***/ }), /***/ "./node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js": +/*!*******************************************************************************************************************************************!*\ + !*** ./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js ***! + \*******************************************************************************************************************************************/ +/*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { /*** IMPORTS FROM imports-loader ***/ -var widgetFactory = __webpack_require__("./src/menu-item/MenuItem.ts"); +var widgetFactory = __webpack_require__(/*! src/menu-item/MenuItem */ "./src/menu-item/MenuItem.ts"); -var registerCustomElement = __webpack_require__("./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs").default; +var registerCustomElement = __webpack_require__(/*! @dojo/framework/widget-core/registerCustomElement */ "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs").default; var defaultExport = widgetFactory.default; defaultExport && registerCustomElement(defaultExport); @@ -5293,6 +5485,10 @@ defaultExport && registerCustomElement(defaultExport); /***/ }), /***/ "./node_modules/process/browser.js": +/*!*****************************************!*\ + !*** ./node_modules/process/browser.js ***! + \*****************************************/ +/*! no static exports found */ /***/ (function(module, exports) { // shim for using process in browser @@ -5481,29 +5677,307 @@ process.chdir = function (dir) { process.umask = function() { return 0; }; +/***/ }), + +/***/ "./node_modules/setimmediate/setImmediate.js": +/*!***************************************************!*\ + !*** ./node_modules/setimmediate/setImmediate.js ***! + \***************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +/* WEBPACK VAR INJECTION */(function(global, process) {(function (global, undefined) { + "use strict"; + + if (global.setImmediate) { + return; + } + + var nextHandle = 1; // Spec says greater than zero + var tasksByHandle = {}; + var currentlyRunningATask = false; + var doc = global.document; + var registerImmediate; + + function setImmediate(callback) { + // Callback can either be a function or a string + if (typeof callback !== "function") { + callback = new Function("" + callback); + } + // Copy function arguments + var args = new Array(arguments.length - 1); + for (var i = 0; i < args.length; i++) { + args[i] = arguments[i + 1]; + } + // Store and register the task + var task = { callback: callback, args: args }; + tasksByHandle[nextHandle] = task; + registerImmediate(nextHandle); + return nextHandle++; + } + + function clearImmediate(handle) { + delete tasksByHandle[handle]; + } + + function run(task) { + var callback = task.callback; + var args = task.args; + switch (args.length) { + case 0: + callback(); + break; + case 1: + callback(args[0]); + break; + case 2: + callback(args[0], args[1]); + break; + case 3: + callback(args[0], args[1], args[2]); + break; + default: + callback.apply(undefined, args); + break; + } + } + + function runIfPresent(handle) { + // From the spec: "Wait until any invocations of this algorithm started before this one have completed." + // So if we're currently running a task, we'll need to delay this invocation. + if (currentlyRunningATask) { + // Delay by doing a setTimeout. setImmediate was tried instead, but in Firefox 7 it generated a + // "too much recursion" error. + setTimeout(runIfPresent, 0, handle); + } else { + var task = tasksByHandle[handle]; + if (task) { + currentlyRunningATask = true; + try { + run(task); + } finally { + clearImmediate(handle); + currentlyRunningATask = false; + } + } + } + } + + function installNextTickImplementation() { + registerImmediate = function(handle) { + process.nextTick(function () { runIfPresent(handle); }); + }; + } + + function canUsePostMessage() { + // The test against `importScripts` prevents this implementation from being installed inside a web worker, + // where `global.postMessage` means something completely different and can't be used for this purpose. + if (global.postMessage && !global.importScripts) { + var postMessageIsAsynchronous = true; + var oldOnMessage = global.onmessage; + global.onmessage = function() { + postMessageIsAsynchronous = false; + }; + global.postMessage("", "*"); + global.onmessage = oldOnMessage; + return postMessageIsAsynchronous; + } + } + + function installPostMessageImplementation() { + // Installs an event handler on `global` for the `message` event: see + // * https://developer.mozilla.org/en/DOM/window.postMessage + // * http://www.whatwg.org/specs/web-apps/current-work/multipage/comms.html#crossDocumentMessages + + var messagePrefix = "setImmediate$" + Math.random() + "$"; + var onGlobalMessage = function(event) { + if (event.source === global && + typeof event.data === "string" && + event.data.indexOf(messagePrefix) === 0) { + runIfPresent(+event.data.slice(messagePrefix.length)); + } + }; + + if (global.addEventListener) { + global.addEventListener("message", onGlobalMessage, false); + } else { + global.attachEvent("onmessage", onGlobalMessage); + } + + registerImmediate = function(handle) { + global.postMessage(messagePrefix + handle, "*"); + }; + } + + function installMessageChannelImplementation() { + var channel = new MessageChannel(); + channel.port1.onmessage = function(event) { + var handle = event.data; + runIfPresent(handle); + }; + + registerImmediate = function(handle) { + channel.port2.postMessage(handle); + }; + } + + function installReadyStateChangeImplementation() { + var html = doc.documentElement; + registerImmediate = function(handle) { + // Create a - - - - - - - - - diff --git a/test-app/fixtures/unix/info/menu-item/stats.json b/test-app/fixtures/unix/info/menu-item/stats.json index cac836a..f88ba10 100644 --- a/test-app/fixtures/unix/info/menu-item/stats.json +++ b/test-app/fixtures/unix/info/menu-item/stats.json @@ -1,46 +1,24 @@ { "errors": [], "warnings": [], - "version": "3.8.1", - "hash": "6a2d17aab3a3b7886e10", - "time": 6961, + "version": "4.25.1", + "hash": "26bddd9cf0bfb7b640a5", + "time": 3091, + "builtAt": 1544033808162, "publicPath": "", + "outputPath": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/output/dist/menu-item", "assetsByChunkName": { "menu-item": [ - "menu-item-1.0.0.js", "menu-item-1.0.0.css", - "menu-item-1.0.0.js.map", - "menu-item-1.0.0.css.map" + "menu-item-1.0.0.js" ] }, "assets": [ - { - "name": "menu-item-1.0.0.js", - "size": 55391, - "chunks": [ - "menu-item" - ], - "chunkNames": [ - "menu-item" - ], - "emitted": true - }, { "name": "menu-item-1.0.0.css", - "size": 1278, - "chunks": [ - "menu-item" - ], - "chunkNames": [ - "menu-item" - ], - "emitted": true - }, - { - "name": "menu-item-1.0.0.js.map", - "size": 275946, + "size": 1069, "chunks": [ - "menu-item" + 0 ], "chunkNames": [ "menu-item" @@ -48,10 +26,10 @@ "emitted": true }, { - "name": "menu-item-1.0.0.css.map", - "size": 1702, + "name": "menu-item-1.0.0.js", + "size": 68683, "chunks": [ - "menu-item" + 0 ], "chunkNames": [ "menu-item" @@ -63,757 +41,924 @@ "entrypoints": { "menu-item": { "chunks": [ - "menu-item" + 0 ], "assets": [ - "menu-item-1.0.0.js", "menu-item-1.0.0.css", - "menu-item-1.0.0.js.map", - "menu-item-1.0.0.css.map" - ] + "menu-item-1.0.0.js" + ], + "children": {}, + "childAssets": {} + } + }, + "namedChunkGroups": { + "menu-item": { + "chunks": [ + 0 + ], + "assets": [ + "menu-item-1.0.0.css", + "menu-item-1.0.0.js" + ], + "children": {}, + "childAssets": {} } }, "chunks": [ { - "id": "menu-item", + "id": 0, "rendered": true, "initial": true, "entry": true, - "extraAsync": false, - "size": 192246, + "size": 212936, "names": [ "menu-item" ], "files": [ - "menu-item-1.0.0.js", "menu-item-1.0.0.css", - "menu-item-1.0.0.js.map", - "menu-item-1.0.0.css.map" + "menu-item-1.0.0.js" ], - "hash": "bf550cfeba6a89e3c616", + "hash": "415ac32ee79db6a2c75c", + "siblings": [], "parents": [], + "children": [], + "childrenByOrder": {}, "modules": [ { - "id": "./node_modules/@dojo/framework/core/Destroyable.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/core/Destroyable.mjs", - "name": "./node_modules/@dojo/framework/core/Destroyable.mjs", - "index": 25, - "index2": 17, - "size": 1665, + "id": 0, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/global.mjs", + "name": "./node_modules/@dojo/framework/shim/global.mjs", + "index": 10, + "index2": 4, + "size": 465, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ - "menu-item" + 0 ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/core/Evented.mjs", - "issuerId": "./node_modules/@dojo/framework/core/Evented.mjs", - "issuerName": "./node_modules/@dojo/framework/core/Evented.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "issuerPath": [ { - "moduleId": "./node_modules/@dojo/framework/core/Evented.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/core/Evented.mjs", - "module": "./node_modules/@dojo/framework/core/Evented.mjs", - "moduleName": "./node_modules/@dojo/framework/core/Evented.mjs", - "type": "harmony import", - "userRequest": "./Destroyable", - "loc": "2:0-44" + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" } ], - "usedExports": [ - "Destroyable" - ], - "providedExports": [ - "Destroyable", - "default" - ], - "optimizationBailout": [], - "depth": 6, - "source": "import { createCompositeHandle } from './lang';\nimport Promise from '../shim/Promise';\n/**\n * No operation function to replace own once instance is destoryed\n */\nfunction noop() {\n return Promise.resolve(false);\n}\n/**\n * No op function used to replace own, once instance has been destoryed\n */\nfunction destroyed() {\n throw new Error('Call made to destroyed method');\n}\nexport class Destroyable {\n /**\n * @constructor\n */\n constructor() {\n this.handles = [];\n }\n /**\n * Register handles for the instance that will be destroyed when `this.destroy` is called\n *\n * @param {Handle} handle The handle to add for the instance\n * @returns {Handle} a handle for the handle, removes the handle for the instance and calls destroy\n */\n own(handles) {\n const handle = Array.isArray(handles) ? createCompositeHandle(...handles) : handles;\n const { handles: _handles } = this;\n _handles.push(handle);\n return {\n destroy() {\n _handles.splice(_handles.indexOf(handle));\n handle.destroy();\n }\n };\n }\n /**\n * Destrpys all handers registered for the instance\n *\n * @returns {Promise {\n this.handles.forEach((handle) => {\n handle && handle.destroy && handle.destroy();\n });\n this.destroy = noop;\n this.own = destroyed;\n resolve(true);\n });\n }\n}\nexport default Destroyable;\n//# sourceMappingURL=Destroyable.mjs.map" - }, - { - "id": "./node_modules/@dojo/framework/core/Evented.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/core/Evented.mjs", - "name": "./node_modules/@dojo/framework/core/Evented.mjs", - "index": 24, - "index2": 18, - "size": 2151, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu-item" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", "failed": false, "errors": 0, "warnings": 0, + "assets": [], "reasons": [ { - "moduleId": "./node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", - "module": "./node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", - "type": "harmony import", - "userRequest": "../core/Evented", - "loc": "2:0-42" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony side effect evaluation", + "userRequest": "../global", + "loc": "2:0-31" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/NodeHandler.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/NodeHandler.mjs", - "module": "./node_modules/@dojo/framework/widget-core/NodeHandler.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/NodeHandler.mjs", - "type": "harmony import", - "userRequest": "../core/Evented", - "loc": "1:0-42" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "8:49-55" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/Registry.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", - "module": "./node_modules/@dojo/framework/widget-core/Registry.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/Registry.mjs", - "type": "harmony import", - "userRequest": "../core/Evented", - "loc": "4:0-42" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "9:66-72" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/Injector.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Injector.mjs", - "module": "./node_modules/@dojo/framework/widget-core/Injector.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/Injector.mjs", - "type": "harmony import", - "userRequest": "../core/Evented", - "loc": "1:0-42" - } - ], - "usedExports": [ - "Evented" - ], - "providedExports": [ - "isGlobMatch", - "Evented", - "default" - ], - "optimizationBailout": [], - "depth": 5, - "source": "import Map from '../shim/Map';\nimport { Destroyable } from './Destroyable';\n/**\n * Map of computed regular expressions, keyed by string\n */\nconst regexMap = new Map();\n/**\n * Determines is the event type glob has been matched\n *\n * @returns boolean that indicates if the glob is matched\n */\nexport function isGlobMatch(globString, targetString) {\n if (typeof targetString === 'string' && typeof globString === 'string' && globString.indexOf('*') !== -1) {\n let regex;\n if (regexMap.has(globString)) {\n regex = regexMap.get(globString);\n }\n else {\n regex = new RegExp(`^${globString.replace(/\\*/g, '.*')}$`);\n regexMap.set(globString, regex);\n }\n return regex.test(targetString);\n }\n else {\n return globString === targetString;\n }\n}\n/**\n * Event Class\n */\nexport class Evented extends Destroyable {\n constructor() {\n super(...arguments);\n /**\n * map of listeners keyed by event type\n */\n this.listenersMap = new Map();\n }\n emit(event) {\n this.listenersMap.forEach((methods, type) => {\n if (isGlobMatch(type, event.type)) {\n [...methods].forEach((method) => {\n method.call(this, event);\n });\n }\n });\n }\n on(type, listener) {\n if (Array.isArray(listener)) {\n const handles = listener.map((listener) => this._addListener(type, listener));\n return {\n destroy() {\n handles.forEach((handle) => handle.destroy());\n }\n };\n }\n return this._addListener(type, listener);\n }\n _addListener(type, listener) {\n const listeners = this.listenersMap.get(type) || [];\n listeners.push(listener);\n this.listenersMap.set(type, listeners);\n return {\n destroy: () => {\n const listeners = this.listenersMap.get(type) || [];\n listeners.splice(listeners.indexOf(listener), 1);\n }\n };\n }\n}\nexport default Evented;\n//# sourceMappingURL=Evented.mjs.map" - }, - { - "id": "./node_modules/@dojo/framework/core/lang.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/core/lang.mjs", - "name": "./node_modules/@dojo/framework/core/lang.mjs", - "index": 26, - "index2": 16, - "size": 6837, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu-item" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ - { - "moduleId": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "module": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "type": "harmony import", - "userRequest": "../../core/lang", - "loc": "2:0-41" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "12:18-24" }, { - "moduleId": "./node_modules/@dojo/framework/core/Destroyable.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/core/Destroyable.mjs", - "module": "./node_modules/@dojo/framework/core/Destroyable.mjs", - "moduleName": "./node_modules/@dojo/framework/core/Destroyable.mjs", - "type": "harmony import", - "userRequest": "./lang", - "loc": "1:0-47" - } - ], - "usedExports": [ - "assign", - "createCompositeHandle" - ], - "providedExports": [ - "assign", - "create", - "deepAssign", - "deepMixin", - "duplicate", - "isIdentical", - "lateBind", - "mixin", - "partial", - "createHandle", - "createCompositeHandle" - ], - "optimizationBailout": [], - "depth": 4, - "source": "import { assign } from '../shim/object';\nexport { assign } from '../shim/object';\nconst slice = Array.prototype.slice;\nconst hasOwnProperty = Object.prototype.hasOwnProperty;\n/**\n * Type guard that ensures that the value can be coerced to Object\n * to weed out host objects that do not derive from Object.\n * This function is used to check if we want to deep copy an object or not.\n * Note: In ES6 it is possible to modify an object's Symbol.toStringTag property, which will\n * change the value returned by `toString`. This is a rare edge case that is difficult to handle,\n * so it is not handled here.\n * @param value The value to check\n * @return If the value is coercible into an Object\n */\nfunction shouldDeepCopyObject(value) {\n return Object.prototype.toString.call(value) === '[object Object]';\n}\nfunction copyArray(array, inherited) {\n return array.map(function (item) {\n if (Array.isArray(item)) {\n return copyArray(item, inherited);\n }\n return !shouldDeepCopyObject(item)\n ? item\n : _mixin({\n deep: true,\n inherited: inherited,\n sources: [item],\n target: {}\n });\n });\n}\nfunction _mixin(kwArgs) {\n const deep = kwArgs.deep;\n const inherited = kwArgs.inherited;\n const target = kwArgs.target;\n const copied = kwArgs.copied || [];\n const copiedClone = [...copied];\n for (let i = 0; i < kwArgs.sources.length; i++) {\n const source = kwArgs.sources[i];\n if (source === null || source === undefined) {\n continue;\n }\n for (let key in source) {\n if (inherited || hasOwnProperty.call(source, key)) {\n let value = source[key];\n if (copiedClone.indexOf(value) !== -1) {\n continue;\n }\n if (deep) {\n if (Array.isArray(value)) {\n value = copyArray(value, inherited);\n }\n else if (shouldDeepCopyObject(value)) {\n const targetValue = target[key] || {};\n copied.push(source);\n value = _mixin({\n deep: true,\n inherited: inherited,\n sources: [value],\n target: targetValue,\n copied\n });\n }\n }\n target[key] = value;\n }\n }\n }\n return target;\n}\nexport function create(prototype, ...mixins) {\n if (!mixins.length) {\n throw new RangeError('lang.create requires at least one mixin object.');\n }\n const args = mixins.slice();\n args.unshift(Object.create(prototype));\n return assign.apply(null, args);\n}\nexport function deepAssign(target, ...sources) {\n return _mixin({\n deep: true,\n inherited: false,\n sources: sources,\n target: target\n });\n}\nexport function deepMixin(target, ...sources) {\n return _mixin({\n deep: true,\n inherited: true,\n sources: sources,\n target: target\n });\n}\n/**\n * Creates a new object using the provided source's prototype as the prototype for the new object, and then\n * deep copies the provided source's values into the new target.\n *\n * @param source The object to duplicate\n * @return The new object\n */\nexport function duplicate(source) {\n const target = Object.create(Object.getPrototypeOf(source));\n return deepMixin(target, source);\n}\n/**\n * Determines whether two values are the same value.\n *\n * @param a First value to compare\n * @param b Second value to compare\n * @return true if the values are the same; false otherwise\n */\nexport function isIdentical(a, b) {\n return (a === b ||\n /* both values are NaN */\n (a !== a && b !== b));\n}\n/**\n * Returns a function that binds a method to the specified object at runtime. This is similar to\n * `Function.prototype.bind`, but instead of a function it takes the name of a method on an object.\n * As a result, the function returned by `lateBind` will always call the function currently assigned to\n * the specified property on the object as of the moment the function it returns is called.\n *\n * @param instance The context object\n * @param method The name of the method on the context object to bind to itself\n * @param suppliedArgs An optional array of values to prepend to the `instance[method]` arguments list\n * @return The bound function\n */\nexport function lateBind(instance, method, ...suppliedArgs) {\n return suppliedArgs.length\n ? function () {\n const args = arguments.length ? suppliedArgs.concat(slice.call(arguments)) : suppliedArgs;\n // TS7017\n return instance[method].apply(instance, args);\n }\n : function () {\n // TS7017\n return instance[method].apply(instance, arguments);\n };\n}\nexport function mixin(target, ...sources) {\n return _mixin({\n deep: false,\n inherited: true,\n sources: sources,\n target: target\n });\n}\n/**\n * Returns a function which invokes the given function with the given arguments prepended to its argument list.\n * Like `Function.prototype.bind`, but does not alter execution context.\n *\n * @param targetFunction The function that needs to be bound\n * @param suppliedArgs An optional array of arguments to prepend to the `targetFunction` arguments list\n * @return The bound function\n */\nexport function partial(targetFunction, ...suppliedArgs) {\n return function () {\n const args = arguments.length ? suppliedArgs.concat(slice.call(arguments)) : suppliedArgs;\n return targetFunction.apply(this, args);\n };\n}\n/**\n * Returns an object with a destroy method that, when called, calls the passed-in destructor.\n * This is intended to provide a unified interface for creating \"remove\" / \"destroy\" handlers for\n * event listeners, timers, etc.\n *\n * @param destructor A function that will be called when the handle's `destroy` method is invoked\n * @return The handle object\n */\nexport function createHandle(destructor) {\n let called = false;\n return {\n destroy: function () {\n if (!called) {\n called = true;\n destructor();\n }\n }\n };\n}\n/**\n * Returns a single handle that can be used to destroy multiple handles simultaneously.\n *\n * @param handles An array of handles with `destroy` methods\n * @return The handle object\n */\nexport function createCompositeHandle(...handles) {\n return createHandle(function () {\n for (let i = 0; i < handles.length; i++) {\n handles[i].destroy();\n }\n });\n}\n//# sourceMappingURL=lang.mjs.map" - }, - { - "id": "./node_modules/@dojo/framework/has/has.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/has/has.mjs", - "name": "./node_modules/@dojo/framework/has/has.mjs", - "index": 7, - "index2": 3, - "size": 6321, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu-item" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", - "issuerId": "./node_modules/@dojo/framework/shim/support/has.mjs", - "issuerName": "./node_modules/@dojo/framework/shim/support/has.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "18:37-43" + }, { - "moduleId": "./node_modules/@dojo/framework/shim/support/has.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", "module": "./node_modules/@dojo/framework/shim/support/has.mjs", "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", - "type": "harmony import", - "userRequest": "../../has/has", - "loc": "1:0-41" + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "21:15-21" }, { - "moduleId": "./node_modules/@dojo/framework/shim/support/has.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", "module": "./node_modules/@dojo/framework/shim/support/has.mjs", "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", - "type": "harmony import", - "userRequest": "../../has/has", - "loc": "4:0-30" - } - ], - "usedExports": [ - "add", - "default" - ], - "providedExports": [ - "testCache", - "testFunctions", - "load", - "normalize", - "exists", - "add", - "default" - ], - "optimizationBailout": [], - "depth": 5, - "source": "function isFeatureTestThenable(value) {\n return value && value.then;\n}\n/**\n * A cache of results of feature tests\n */\nexport const testCache = {};\n/**\n * A cache of the un-resolved feature tests\n */\nexport const testFunctions = {};\n/**\n * A cache of unresolved thenables (probably promises)\n * @type {{}}\n */\nconst testThenables = {};\n/**\n * A reference to the global scope (`window` in a browser, `global` in NodeJS)\n */\nconst globalScope = (function () {\n /* istanbul ignore else */\n if (typeof window !== 'undefined') {\n // Browsers\n return window;\n }\n else if (typeof global !== 'undefined') {\n // Node\n return global;\n }\n else if (typeof self !== 'undefined') {\n // Web workers\n return self;\n }\n /* istanbul ignore next */\n return {};\n})();\n/* Grab the staticFeatures if there are available */\nconst { staticFeatures } = globalScope.DojoHasEnvironment || {};\n/* Cleaning up the DojoHasEnviornment */\nif ('DojoHasEnvironment' in globalScope) {\n delete globalScope.DojoHasEnvironment;\n}\n/**\n * Custom type guard to narrow the `staticFeatures` to either a map or a function that\n * returns a map.\n *\n * @param value The value to guard for\n */\nfunction isStaticFeatureFunction(value) {\n return typeof value === 'function';\n}\n/**\n * The cache of asserted features that were available in the global scope when the\n * module loaded\n */\nconst staticCache = staticFeatures\n ? isStaticFeatureFunction(staticFeatures)\n ? staticFeatures.apply(globalScope)\n : staticFeatures\n : {}; /* Providing an empty cache, if none was in the environment\n\n/**\n* AMD plugin function.\n*\n* Conditional loads modules based on a has feature test value.\n*\n* @param resourceId Gives the resolved module id to load.\n* @param require The loader require function with respect to the module that contained the plugin resource in its\n* dependency list.\n* @param load Callback to loader that consumes result of plugin demand.\n*/\nexport function load(resourceId, require, load, config) {\n resourceId ? require([resourceId], load) : load();\n}\n/**\n * AMD plugin function.\n *\n * Resolves resourceId into a module id based on possibly-nested tenary expression that branches on has feature test\n * value(s).\n *\n * @param resourceId The id of the module\n * @param normalize Resolves a relative module id into an absolute module id\n */\nexport function normalize(resourceId, normalize) {\n const tokens = resourceId.match(/[\\?:]|[^:\\?]*/g) || [];\n let i = 0;\n function get(skip) {\n const term = tokens[i++];\n if (term === ':') {\n // empty string module name, resolves to null\n return null;\n }\n else {\n // postfixed with a ? means it is a feature to branch on, the term is the name of the feature\n if (tokens[i++] === '?') {\n if (!skip && has(term)) {\n // matched the feature, get the first value from the options\n return get();\n }\n else {\n // did not match, get the second value, passing over the first\n get(true);\n return get(skip);\n }\n }\n // a module\n return term;\n }\n }\n const id = get();\n return id && normalize(id);\n}\n/**\n * Check if a feature has already been registered\n *\n * @param feature the name of the feature\n */\nexport function exists(feature) {\n const normalizedFeature = feature.toLowerCase();\n return Boolean(normalizedFeature in staticCache || normalizedFeature in testCache || testFunctions[normalizedFeature]);\n}\n/**\n * Register a new test for a named feature.\n *\n * @example\n * has.add('dom-addeventlistener', !!document.addEventListener);\n *\n * @example\n * has.add('touch-events', function () {\n * return 'ontouchstart' in document\n * });\n *\n * @param feature the name of the feature\n * @param value the value reported of the feature, or a function that will be executed once on first test\n * @param overwrite if an existing value should be overwritten. Defaults to false.\n */\nexport function add(feature, value, overwrite = false) {\n const normalizedFeature = feature.toLowerCase();\n if (exists(normalizedFeature) && !overwrite && !(normalizedFeature in staticCache)) {\n throw new TypeError(`Feature \"${feature}\" exists and overwrite not true.`);\n }\n if (typeof value === 'function') {\n testFunctions[normalizedFeature] = value;\n }\n else if (isFeatureTestThenable(value)) {\n testThenables[feature] = value.then((resolvedValue) => {\n testCache[feature] = resolvedValue;\n delete testThenables[feature];\n }, () => {\n delete testThenables[feature];\n });\n }\n else {\n testCache[normalizedFeature] = value;\n delete testFunctions[normalizedFeature];\n }\n}\n/**\n * Return the current value of a named feature.\n *\n * @param feature The name (if a string) or identifier (if an integer) of the feature to test.\n */\nexport default function has(feature) {\n let result;\n const normalizedFeature = feature.toLowerCase();\n if (normalizedFeature in staticCache) {\n result = staticCache[normalizedFeature];\n }\n else if (testFunctions[normalizedFeature]) {\n result = testCache[normalizedFeature] = testFunctions[normalizedFeature].call(null);\n delete testFunctions[normalizedFeature];\n }\n else if (normalizedFeature in testCache) {\n result = testCache[normalizedFeature];\n }\n else if (feature in testThenables) {\n return false;\n }\n else {\n throw new TypeError(`Attempt to detect unregistered has feature \"${feature}\"`);\n }\n return result;\n}\n/*\n * Out of the box feature tests\n */\n/* Environments */\n/* Used as a value to provide a debug only code path */\nadd('debug', true);\n/* Detects if the environment is \"browser like\" */\nadd('host-browser', typeof document !== 'undefined' && typeof location !== 'undefined');\n/* Detects if the environment appears to be NodeJS */\nadd('host-node', function () {\n if (typeof process === 'object' && process.versions && process.versions.node) {\n return process.versions.node;\n }\n});\n//# sourceMappingURL=has.mjs.map" - }, - { - "id": "./node_modules/@dojo/framework/shim/Map.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", - "name": "./node_modules/@dojo/framework/shim/Map.mjs", - "index": 15, - "index2": 12, - "size": 3331, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu-item" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "28:28-34" + }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "type": "harmony import", - "userRequest": "../shim/Map", - "loc": "1:0-30" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "61:29-35" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", - "module": "./node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", - "type": "harmony import", - "userRequest": "../shim/Map", - "loc": "1:0-34" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "64:18-24" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/NodeHandler.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/NodeHandler.mjs", - "module": "./node_modules/@dojo/framework/widget-core/NodeHandler.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/NodeHandler.mjs", - "type": "harmony import", - "userRequest": "../shim/Map", - "loc": "2:0-30" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "73:91-97" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/Registry.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", - "module": "./node_modules/@dojo/framework/widget-core/Registry.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/Registry.mjs", - "type": "harmony import", - "userRequest": "../shim/Map", - "loc": "2:0-30" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "76:85-91" }, { - "moduleId": "./node_modules/@dojo/framework/core/Evented.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/core/Evented.mjs", - "module": "./node_modules/@dojo/framework/core/Evented.mjs", - "moduleName": "./node_modules/@dojo/framework/core/Evented.mjs", - "type": "harmony import", - "userRequest": "../shim/Map", - "loc": "1:0-30" - } - ], - "usedExports": [ - "Map", - "default" - ], - "providedExports": [ - "Map", - "default" - ], - "optimizationBailout": [], - "depth": 4, - "source": "import { isArrayLike, ShimIterator } from './iterator';\nimport global from './global';\nimport { is as objectIs } from './object';\nimport has from './support/has';\nimport './Symbol';\nexport let Map = global.Map;\nif (!true) {\n Map = (_a = class Map {\n constructor(iterable) {\n this._keys = [];\n this._values = [];\n this[Symbol.toStringTag] = 'Map';\n if (iterable) {\n if (isArrayLike(iterable)) {\n for (let i = 0; i < iterable.length; i++) {\n const value = iterable[i];\n this.set(value[0], value[1]);\n }\n }\n else {\n for (const value of iterable) {\n this.set(value[0], value[1]);\n }\n }\n }\n }\n /**\n * An alternative to Array.prototype.indexOf using Object.is\n * to check for equality. See http://mzl.la/1zuKO2V\n */\n _indexOfKey(keys, key) {\n for (let i = 0, length = keys.length; i < length; i++) {\n if (objectIs(keys[i], key)) {\n return i;\n }\n }\n return -1;\n }\n get size() {\n return this._keys.length;\n }\n clear() {\n this._keys.length = this._values.length = 0;\n }\n delete(key) {\n const index = this._indexOfKey(this._keys, key);\n if (index < 0) {\n return false;\n }\n this._keys.splice(index, 1);\n this._values.splice(index, 1);\n return true;\n }\n entries() {\n const values = this._keys.map((key, i) => {\n return [key, this._values[i]];\n });\n return new ShimIterator(values);\n }\n forEach(callback, context) {\n const keys = this._keys;\n const values = this._values;\n for (let i = 0, length = keys.length; i < length; i++) {\n callback.call(context, values[i], keys[i], this);\n }\n }\n get(key) {\n const index = this._indexOfKey(this._keys, key);\n return index < 0 ? undefined : this._values[index];\n }\n has(key) {\n return this._indexOfKey(this._keys, key) > -1;\n }\n keys() {\n return new ShimIterator(this._keys);\n }\n set(key, value) {\n let index = this._indexOfKey(this._keys, key);\n index = index < 0 ? this._keys.length : index;\n this._keys[index] = key;\n this._values[index] = value;\n return this;\n }\n values() {\n return new ShimIterator(this._values);\n }\n [Symbol.iterator]() {\n return this.entries();\n }\n },\n _a[Symbol.species] = _a,\n _a);\n}\nexport default Map;\nvar _a;\n//# sourceMappingURL=Map.mjs.map" - }, - { - "id": "./node_modules/@dojo/framework/shim/Promise.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Promise.mjs", - "name": "./node_modules/@dojo/framework/shim/Promise.mjs", - "index": 22, - "index2": 15, - "size": 8519, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu-item" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/Registry.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/Registry.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "79:34-40" + }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/Registry.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", - "module": "./node_modules/@dojo/framework/widget-core/Registry.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/Registry.mjs", - "type": "harmony import", - "userRequest": "../shim/Promise", - "loc": "1:0-38" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "81:32-38" }, { - "moduleId": "./node_modules/@dojo/framework/core/Destroyable.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/core/Destroyable.mjs", - "module": "./node_modules/@dojo/framework/core/Destroyable.mjs", - "moduleName": "./node_modules/@dojo/framework/core/Destroyable.mjs", - "type": "harmony import", - "userRequest": "../shim/Promise", - "loc": "2:0-38" - } - ], - "usedExports": [ - "default" - ], - "providedExports": [ - "ShimPromise", - "isThenable", - "default" - ], - "optimizationBailout": [], - "depth": 5, - "source": "import global from './global';\nimport { queueMicroTask } from './support/queue';\nimport './Symbol';\nimport has from './support/has';\nexport let ShimPromise = global.Promise;\nexport const isThenable = function isThenable(value) {\n return value && typeof value.then === 'function';\n};\nif (!true) {\n global.Promise = ShimPromise = (_a = class Promise {\n /**\n * Creates a new Promise.\n *\n * @constructor\n *\n * @param executor\n * The executor function is called immediately when the Promise is instantiated. It is responsible for\n * starting the asynchronous operation when it is invoked.\n *\n * The executor must call either the passed `resolve` function when the asynchronous operation has completed\n * successfully, or the `reject` function when the operation fails.\n */\n constructor(executor) {\n /**\n * The current state of this promise.\n */\n this.state = 1 /* Pending */;\n this[Symbol.toStringTag] = 'Promise';\n /**\n * If true, the resolution of this promise is chained (\"locked in\") to another promise.\n */\n let isChained = false;\n /**\n * Whether or not this promise is in a resolved state.\n */\n const isResolved = () => {\n return this.state !== 1 /* Pending */ || isChained;\n };\n /**\n * Callbacks that should be invoked once the asynchronous operation has completed.\n */\n let callbacks = [];\n /**\n * Initially pushes callbacks onto a queue for execution once this promise settles. After the promise settles,\n * enqueues callbacks for execution on the next event loop turn.\n */\n let whenFinished = function (callback) {\n if (callbacks) {\n callbacks.push(callback);\n }\n };\n /**\n * Settles this promise.\n *\n * @param newState The resolved state for this promise.\n * @param {T|any} value The resolved value for this promise.\n */\n const settle = (newState, value) => {\n // A promise can only be settled once.\n if (this.state !== 1 /* Pending */) {\n return;\n }\n this.state = newState;\n this.resolvedValue = value;\n whenFinished = queueMicroTask;\n // Only enqueue a callback runner if there are callbacks so that initially fulfilled Promises don't have to\n // wait an extra turn.\n if (callbacks && callbacks.length > 0) {\n queueMicroTask(function () {\n if (callbacks) {\n let count = callbacks.length;\n for (let i = 0; i < count; ++i) {\n callbacks[i].call(null);\n }\n callbacks = null;\n }\n });\n }\n };\n /**\n * Resolves this promise.\n *\n * @param newState The resolved state for this promise.\n * @param {T|any} value The resolved value for this promise.\n */\n const resolve = (newState, value) => {\n if (isResolved()) {\n return;\n }\n if (isThenable(value)) {\n value.then(settle.bind(null, 0 /* Fulfilled */), settle.bind(null, 2 /* Rejected */));\n isChained = true;\n }\n else {\n settle(newState, value);\n }\n };\n this.then = (onFulfilled, onRejected) => {\n return new Promise((resolve, reject) => {\n // whenFinished initially queues up callbacks for execution after the promise has settled. Once the\n // promise has settled, whenFinished will schedule callbacks for execution on the next turn through the\n // event loop.\n whenFinished(() => {\n const callback = this.state === 2 /* Rejected */ ? onRejected : onFulfilled;\n if (typeof callback === 'function') {\n try {\n resolve(callback(this.resolvedValue));\n }\n catch (error) {\n reject(error);\n }\n }\n else if (this.state === 2 /* Rejected */) {\n reject(this.resolvedValue);\n }\n else {\n resolve(this.resolvedValue);\n }\n });\n });\n };\n try {\n executor(resolve.bind(null, 0 /* Fulfilled */), resolve.bind(null, 2 /* Rejected */));\n }\n catch (error) {\n settle(2 /* Rejected */, error);\n }\n }\n static all(iterable) {\n return new this(function (resolve, reject) {\n const values = [];\n let complete = 0;\n let total = 0;\n let populating = true;\n function fulfill(index, value) {\n values[index] = value;\n ++complete;\n finish();\n }\n function finish() {\n if (populating || complete < total) {\n return;\n }\n resolve(values);\n }\n function processItem(index, item) {\n ++total;\n if (isThenable(item)) {\n // If an item Promise rejects, this Promise is immediately rejected with the item\n // Promise's rejection error.\n item.then(fulfill.bind(null, index), reject);\n }\n else {\n Promise.resolve(item).then(fulfill.bind(null, index));\n }\n }\n let i = 0;\n for (const value of iterable) {\n processItem(i, value);\n i++;\n }\n populating = false;\n finish();\n });\n }\n static race(iterable) {\n return new this(function (resolve, reject) {\n for (const item of iterable) {\n if (item instanceof Promise) {\n // If a Promise item rejects, this Promise is immediately rejected with the item\n // Promise's rejection error.\n item.then(resolve, reject);\n }\n else {\n Promise.resolve(item).then(resolve);\n }\n }\n });\n }\n static reject(reason) {\n return new this(function (resolve, reject) {\n reject(reason);\n });\n }\n static resolve(value) {\n return new this(function (resolve) {\n resolve(value);\n });\n }\n catch(onRejected) {\n return this.then(undefined, onRejected);\n }\n },\n _a[Symbol.species] = ShimPromise,\n _a);\n}\nexport default ShimPromise;\nvar _a;\n//# sourceMappingURL=Promise.mjs.map" - }, - { - "id": "./node_modules/@dojo/framework/shim/Symbol.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", - "name": "./node_modules/@dojo/framework/shim/Symbol.mjs", - "index": 5, - "index2": 7, - "size": 5929, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu-item" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "84:15-21" + }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "type": "harmony import", - "userRequest": "../shim/Symbol", - "loc": "3:0-36" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "86:24-30" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/d.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/d.mjs", - "module": "./node_modules/@dojo/framework/widget-core/d.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/d.mjs", - "type": "harmony import", - "userRequest": "../shim/Symbol", - "loc": "1:0-36" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "96:28-34" }, { - "moduleId": "./node_modules/@dojo/framework/shim/Map.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", - "module": "./node_modules/@dojo/framework/shim/Map.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/Map.mjs", - "type": "harmony import", - "userRequest": "./Symbol", - "loc": "5:0-18" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "105:32-38" }, { - "moduleId": "./node_modules/@dojo/framework/shim/WeakMap.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/WeakMap.mjs", - "module": "./node_modules/@dojo/framework/shim/WeakMap.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/WeakMap.mjs", - "type": "harmony import", - "userRequest": "./Symbol", - "loc": "4:0-18" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "113:17-23" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/Registry.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", - "module": "./node_modules/@dojo/framework/widget-core/Registry.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/Registry.mjs", - "type": "harmony import", - "userRequest": "../shim/Symbol", - "loc": "3:0-36" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "117:30-36" }, { - "moduleId": "./node_modules/@dojo/framework/shim/iterator.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs", - "module": "./node_modules/@dojo/framework/shim/iterator.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs", - "type": "harmony import", - "userRequest": "./Symbol", - "loc": "1:0-18" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "123:56-62" }, { - "moduleId": "./node_modules/@dojo/framework/shim/object.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/object.mjs", - "module": "./node_modules/@dojo/framework/shim/object.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/object.mjs", - "type": "harmony import", - "userRequest": "./Symbol", - "loc": "3:0-36" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "126:31-37" }, { - "moduleId": "./node_modules/@dojo/framework/shim/Promise.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Promise.mjs", - "module": "./node_modules/@dojo/framework/shim/Promise.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/Promise.mjs", - "type": "harmony import", - "userRequest": "./Symbol", - "loc": "3:0-18" - } - ], - "usedExports": [ - "default" - ], - "providedExports": [ - "Symbol", - "isSymbol", - "default" - ], - "optimizationBailout": [], - "depth": 4, - "source": "import has from './support/has';\nimport global from './global';\nimport { getValueDescriptor } from './support/util';\nexport let Symbol = global.Symbol;\nif (!true) {\n /**\n * Throws if the value is not a symbol, used internally within the Shim\n * @param {any} value The value to check\n * @return {symbol} Returns the symbol or throws\n */\n const validateSymbol = function validateSymbol(value) {\n if (!isSymbol(value)) {\n throw new TypeError(value + ' is not a symbol');\n }\n return value;\n };\n const defineProperties = Object.defineProperties;\n const defineProperty = Object.defineProperty;\n const create = Object.create;\n const objPrototype = Object.prototype;\n const globalSymbols = {};\n const getSymbolName = (function () {\n const created = create(null);\n return function (desc) {\n let postfix = 0;\n let name;\n while (created[String(desc) + (postfix || '')]) {\n ++postfix;\n }\n desc += String(postfix || '');\n created[desc] = true;\n name = '@@' + desc;\n // FIXME: Temporary guard until the duplicate execution when testing can be\n // pinned down.\n if (!Object.getOwnPropertyDescriptor(objPrototype, name)) {\n defineProperty(objPrototype, name, {\n set: function (value) {\n defineProperty(this, name, getValueDescriptor(value));\n }\n });\n }\n return name;\n };\n })();\n const InternalSymbol = function Symbol(description) {\n if (this instanceof InternalSymbol) {\n throw new TypeError('TypeError: Symbol is not a constructor');\n }\n return Symbol(description);\n };\n Symbol = global.Symbol = function Symbol(description) {\n if (this instanceof Symbol) {\n throw new TypeError('TypeError: Symbol is not a constructor');\n }\n const sym = Object.create(InternalSymbol.prototype);\n description = description === undefined ? '' : String(description);\n return defineProperties(sym, {\n __description__: getValueDescriptor(description),\n __name__: getValueDescriptor(getSymbolName(description))\n });\n };\n /* Decorate the Symbol function with the appropriate properties */\n defineProperty(Symbol, 'for', getValueDescriptor(function (key) {\n if (globalSymbols[key]) {\n return globalSymbols[key];\n }\n return (globalSymbols[key] = Symbol(String(key)));\n }));\n defineProperties(Symbol, {\n keyFor: getValueDescriptor(function (sym) {\n let key;\n validateSymbol(sym);\n for (key in globalSymbols) {\n if (globalSymbols[key] === sym) {\n return key;\n }\n }\n }),\n hasInstance: getValueDescriptor(Symbol.for('hasInstance'), false, false),\n isConcatSpreadable: getValueDescriptor(Symbol.for('isConcatSpreadable'), false, false),\n iterator: getValueDescriptor(Symbol.for('iterator'), false, false),\n match: getValueDescriptor(Symbol.for('match'), false, false),\n observable: getValueDescriptor(Symbol.for('observable'), false, false),\n replace: getValueDescriptor(Symbol.for('replace'), false, false),\n search: getValueDescriptor(Symbol.for('search'), false, false),\n species: getValueDescriptor(Symbol.for('species'), false, false),\n split: getValueDescriptor(Symbol.for('split'), false, false),\n toPrimitive: getValueDescriptor(Symbol.for('toPrimitive'), false, false),\n toStringTag: getValueDescriptor(Symbol.for('toStringTag'), false, false),\n unscopables: getValueDescriptor(Symbol.for('unscopables'), false, false)\n });\n /* Decorate the InternalSymbol object */\n defineProperties(InternalSymbol.prototype, {\n constructor: getValueDescriptor(Symbol),\n toString: getValueDescriptor(function () {\n return this.__name__;\n }, false, false)\n });\n /* Decorate the Symbol.prototype */\n defineProperties(Symbol.prototype, {\n toString: getValueDescriptor(function () {\n return 'Symbol (' + validateSymbol(this).__description__ + ')';\n }),\n valueOf: getValueDescriptor(function () {\n return validateSymbol(this);\n })\n });\n defineProperty(Symbol.prototype, Symbol.toPrimitive, getValueDescriptor(function () {\n return validateSymbol(this);\n }));\n defineProperty(Symbol.prototype, Symbol.toStringTag, getValueDescriptor('Symbol', false, false, true));\n defineProperty(InternalSymbol.prototype, Symbol.toPrimitive, getValueDescriptor(Symbol.prototype[Symbol.toPrimitive], false, false, true));\n defineProperty(InternalSymbol.prototype, Symbol.toStringTag, getValueDescriptor(Symbol.prototype[Symbol.toStringTag], false, false, true));\n}\n/**\n * A custom guard function that determines if an object is a symbol or not\n * @param {any} value The value to check to see if it is a symbol or not\n * @return {is symbol} Returns true if a symbol or not (and narrows the type guard)\n */\nexport function isSymbol(value) {\n return (value && (typeof value === 'symbol' || value['@@toStringTag'] === 'Symbol')) || false;\n}\n/**\n * Fill any missing well known symbols if the native Symbol is missing them\n */\n[\n 'hasInstance',\n 'isConcatSpreadable',\n 'iterator',\n 'species',\n 'replace',\n 'search',\n 'split',\n 'match',\n 'toPrimitive',\n 'toStringTag',\n 'unscopables',\n 'observable'\n].forEach((wellKnown) => {\n if (!Symbol[wellKnown]) {\n Object.defineProperty(Symbol, wellKnown, getValueDescriptor(Symbol.for(wellKnown), false, false));\n }\n});\nexport default Symbol;\n//# sourceMappingURL=Symbol.mjs.map" - }, - { - "id": "./node_modules/@dojo/framework/shim/WeakMap.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/WeakMap.mjs", - "name": "./node_modules/@dojo/framework/shim/WeakMap.mjs", - "index": 19, - "index2": 13, - "size": 3748, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu-item" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "129:15-21" + }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "type": "harmony import", - "userRequest": "../shim/WeakMap", - "loc": "2:0-38" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "133:24-30" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/vdom.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", - "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", - "type": "harmony import", - "userRequest": "../shim/WeakMap", - "loc": "5:0-38" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "144:18-24" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/decorators/inject.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/inject.mjs", - "module": "./node_modules/@dojo/framework/widget-core/decorators/inject.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/decorators/inject.mjs", - "type": "harmony import", - "userRequest": "../../shim/WeakMap", - "loc": "1:0-41" - } - ], - "usedExports": [ - "default" - ], - "providedExports": [ - "WeakMap", - "default" - ], - "optimizationBailout": [], - "depth": 4, - "source": "import global from './global';\nimport { isArrayLike } from './iterator';\nimport has from './support/has';\nimport './Symbol';\nexport let WeakMap = global.WeakMap;\nif (!true) {\n const DELETED = {};\n const getUID = function getUID() {\n return Math.floor(Math.random() * 100000000);\n };\n const generateName = (function () {\n let startId = Math.floor(Date.now() % 100000000);\n return function generateName() {\n return '__wm' + getUID() + (startId++ + '__');\n };\n })();\n WeakMap = class WeakMap {\n constructor(iterable) {\n this[Symbol.toStringTag] = 'WeakMap';\n this._name = generateName();\n this._frozenEntries = [];\n if (iterable) {\n if (isArrayLike(iterable)) {\n for (let i = 0; i < iterable.length; i++) {\n const item = iterable[i];\n this.set(item[0], item[1]);\n }\n }\n else {\n for (const [key, value] of iterable) {\n this.set(key, value);\n }\n }\n }\n }\n _getFrozenEntryIndex(key) {\n for (let i = 0; i < this._frozenEntries.length; i++) {\n if (this._frozenEntries[i].key === key) {\n return i;\n }\n }\n return -1;\n }\n delete(key) {\n if (key === undefined || key === null) {\n return false;\n }\n const entry = key[this._name];\n if (entry && entry.key === key && entry.value !== DELETED) {\n entry.value = DELETED;\n return true;\n }\n const frozenIndex = this._getFrozenEntryIndex(key);\n if (frozenIndex >= 0) {\n this._frozenEntries.splice(frozenIndex, 1);\n return true;\n }\n return false;\n }\n get(key) {\n if (key === undefined || key === null) {\n return undefined;\n }\n const entry = key[this._name];\n if (entry && entry.key === key && entry.value !== DELETED) {\n return entry.value;\n }\n const frozenIndex = this._getFrozenEntryIndex(key);\n if (frozenIndex >= 0) {\n return this._frozenEntries[frozenIndex].value;\n }\n }\n has(key) {\n if (key === undefined || key === null) {\n return false;\n }\n const entry = key[this._name];\n if (Boolean(entry && entry.key === key && entry.value !== DELETED)) {\n return true;\n }\n const frozenIndex = this._getFrozenEntryIndex(key);\n if (frozenIndex >= 0) {\n return true;\n }\n return false;\n }\n set(key, value) {\n if (!key || (typeof key !== 'object' && typeof key !== 'function')) {\n throw new TypeError('Invalid value used as weak map key');\n }\n let entry = key[this._name];\n if (!entry || entry.key !== key) {\n entry = Object.create(null, {\n key: { value: key }\n });\n if (Object.isFrozen(key)) {\n this._frozenEntries.push(entry);\n }\n else {\n Object.defineProperty(key, this._name, {\n value: entry\n });\n }\n }\n entry.value = value;\n return this;\n }\n };\n}\nexport default WeakMap;\n//# sourceMappingURL=WeakMap.mjs.map" - }, - { - "id": "./node_modules/@dojo/framework/shim/array.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", - "name": "./node_modules/@dojo/framework/shim/array.mjs", - "index": 30, - "index2": 24, - "size": 8928, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu-item" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "144:58-64" + }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "type": "harmony import", - "userRequest": "../shim/array", - "loc": "4:0-37" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "146:24-30" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/vdom.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", - "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", - "type": "harmony import", - "userRequest": "../shim/array", - "loc": "2:0-50" - } - ], - "usedExports": [ - "from" - ], - "providedExports": [ - "from", - "of", - "copyWithin", - "fill", - "find", - "findIndex", - "includes" - ], - "optimizationBailout": [], - "depth": 3, - "source": "import global from './global';\nimport { isArrayLike, isIterable } from './iterator';\nimport { MAX_SAFE_INTEGER } from './number';\nimport has from './support/has';\nimport { wrapNative } from './support/util';\nexport let from;\n/**\n * Creates a new array from the function parameters.\n *\n * @param arguments Any number of arguments for the array\n * @return An array from the given arguments\n */\nexport let of;\n/* ES6 Array instance methods */\n/**\n * Copies data internally within an array or array-like object.\n *\n * @param target The target array-like object\n * @param offset The index to start copying values to; if negative, it counts backwards from length\n * @param start The first (inclusive) index to copy; if negative, it counts backwards from length\n * @param end The last (exclusive) index to copy; if negative, it counts backwards from length\n * @return The target\n */\nexport let copyWithin;\n/**\n * Fills elements of an array-like object with the specified value.\n *\n * @param target The target to fill\n * @param value The value to fill each element of the target with\n * @param start The first index to fill\n * @param end The (exclusive) index at which to stop filling\n * @return The filled target\n */\nexport let fill;\n/**\n * Finds and returns the first instance matching the callback or undefined if one is not found.\n *\n * @param target An array-like object\n * @param callback A function returning if the current value matches a criteria\n * @param thisArg The execution context for the find function\n * @return The first element matching the callback, or undefined if one does not exist\n */\nexport let find;\n/**\n * Performs a linear search and returns the first index whose value satisfies the passed callback,\n * or -1 if no values satisfy it.\n *\n * @param target An array-like object\n * @param callback A function returning true if the current value satisfies its criteria\n * @param thisArg The execution context for the find function\n * @return The first index whose value satisfies the passed callback, or -1 if no values satisfy it\n */\nexport let findIndex;\n/* ES7 Array instance methods */\n/**\n * Determines whether an array includes a given value\n *\n * @param target the target array-like object\n * @param searchElement the item to search for\n * @param fromIndex the starting index to search from\n * @return `true` if the array includes the element, otherwise `false`\n */\nexport let includes;\nif (true && true) {\n from = global.Array.from;\n of = global.Array.of;\n copyWithin = wrapNative(global.Array.prototype.copyWithin);\n fill = wrapNative(global.Array.prototype.fill);\n find = wrapNative(global.Array.prototype.find);\n findIndex = wrapNative(global.Array.prototype.findIndex);\n}\nelse {\n // It is only older versions of Safari/iOS that have a bad fill implementation and so aren't in the wild\n // To make things easier, if there is a bad fill implementation, the whole set of functions will be filled\n /**\n * Ensures a non-negative, non-infinite, safe integer.\n *\n * @param length The number to validate\n * @return A proper length\n */\n const toLength = function toLength(length) {\n if (isNaN(length)) {\n return 0;\n }\n length = Number(length);\n if (isFinite(length)) {\n length = Math.floor(length);\n }\n // Ensure a non-negative, real, safe integer\n return Math.min(Math.max(length, 0), MAX_SAFE_INTEGER);\n };\n /**\n * From ES6 7.1.4 ToInteger()\n *\n * @param value A value to convert\n * @return An integer\n */\n const toInteger = function toInteger(value) {\n value = Number(value);\n if (isNaN(value)) {\n return 0;\n }\n if (value === 0 || !isFinite(value)) {\n return value;\n }\n return (value > 0 ? 1 : -1) * Math.floor(Math.abs(value));\n };\n /**\n * Normalizes an offset against a given length, wrapping it if negative.\n *\n * @param value The original offset\n * @param length The total length to normalize against\n * @return If negative, provide a distance from the end (length); otherwise provide a distance from 0\n */\n const normalizeOffset = function normalizeOffset(value, length) {\n return value < 0 ? Math.max(length + value, 0) : Math.min(value, length);\n };\n from = function from(arrayLike, mapFunction, thisArg) {\n if (arrayLike == null) {\n throw new TypeError('from: requires an array-like object');\n }\n if (mapFunction && thisArg) {\n mapFunction = mapFunction.bind(thisArg);\n }\n /* tslint:disable-next-line:variable-name */\n const Constructor = this;\n const length = toLength(arrayLike.length);\n // Support extension\n const array = typeof Constructor === 'function' ? Object(new Constructor(length)) : new Array(length);\n if (!isArrayLike(arrayLike) && !isIterable(arrayLike)) {\n return array;\n }\n // if this is an array and the normalized length is 0, just return an empty array. this prevents a problem\n // with the iteration on IE when using a NaN array length.\n if (isArrayLike(arrayLike)) {\n if (length === 0) {\n return [];\n }\n for (let i = 0; i < arrayLike.length; i++) {\n array[i] = mapFunction ? mapFunction(arrayLike[i], i) : arrayLike[i];\n }\n }\n else {\n let i = 0;\n for (const value of arrayLike) {\n array[i] = mapFunction ? mapFunction(value, i) : value;\n i++;\n }\n }\n if (arrayLike.length !== undefined) {\n array.length = length;\n }\n return array;\n };\n of = function of(...items) {\n return Array.prototype.slice.call(items);\n };\n copyWithin = function copyWithin(target, offset, start, end) {\n if (target == null) {\n throw new TypeError('copyWithin: target must be an array-like object');\n }\n const length = toLength(target.length);\n offset = normalizeOffset(toInteger(offset), length);\n start = normalizeOffset(toInteger(start), length);\n end = normalizeOffset(end === undefined ? length : toInteger(end), length);\n let count = Math.min(end - start, length - offset);\n let direction = 1;\n if (offset > start && offset < start + count) {\n direction = -1;\n start += count - 1;\n offset += count - 1;\n }\n while (count > 0) {\n if (start in target) {\n target[offset] = target[start];\n }\n else {\n delete target[offset];\n }\n offset += direction;\n start += direction;\n count--;\n }\n return target;\n };\n fill = function fill(target, value, start, end) {\n const length = toLength(target.length);\n let i = normalizeOffset(toInteger(start), length);\n end = normalizeOffset(end === undefined ? length : toInteger(end), length);\n while (i < end) {\n target[i++] = value;\n }\n return target;\n };\n find = function find(target, callback, thisArg) {\n const index = findIndex(target, callback, thisArg);\n return index !== -1 ? target[index] : undefined;\n };\n findIndex = function findIndex(target, callback, thisArg) {\n const length = toLength(target.length);\n if (!callback) {\n throw new TypeError('find: second argument must be a function');\n }\n if (thisArg) {\n callback = callback.bind(thisArg);\n }\n for (let i = 0; i < length; i++) {\n if (callback(target[i], i, target)) {\n return i;\n }\n }\n return -1;\n };\n}\nif (true) {\n includes = wrapNative(global.Array.prototype.includes);\n}\nelse {\n /**\n * Ensures a non-negative, non-infinite, safe integer.\n *\n * @param length The number to validate\n * @return A proper length\n */\n const toLength = function toLength(length) {\n length = Number(length);\n if (isNaN(length)) {\n return 0;\n }\n if (isFinite(length)) {\n length = Math.floor(length);\n }\n // Ensure a non-negative, real, safe integer\n return Math.min(Math.max(length, 0), MAX_SAFE_INTEGER);\n };\n includes = function includes(target, searchElement, fromIndex = 0) {\n let len = toLength(target.length);\n for (let i = fromIndex; i < len; ++i) {\n const currentElement = target[i];\n if (searchElement === currentElement ||\n (searchElement !== searchElement && currentElement !== currentElement)) {\n return true;\n }\n }\n return false;\n };\n}\n//# sourceMappingURL=array.mjs.map" - }, - { - "id": "./node_modules/@dojo/framework/shim/global.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/global.mjs", - "name": "./node_modules/@dojo/framework/shim/global.mjs", - "index": 10, - "index2": 4, - "size": 465, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu-item" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "147:33-39" + }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "type": "harmony import", - "userRequest": "../shim/global", - "loc": "6:0-36" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "150:39-45" }, { - "moduleId": "./node_modules/@dojo/framework/shim/array.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", - "module": "./node_modules/@dojo/framework/shim/array.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/array.mjs", - "type": "harmony import", + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "150:66-72" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "157:37-43" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "157:64-70" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "165:53-59" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "165:87-93" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "166:37-43" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "167:33-39" + }, + { + "moduleId": 5, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", + "module": "./node_modules/@dojo/framework/shim/Map.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Map.mjs", + "type": "harmony side effect evaluation", "userRequest": "./global", - "loc": "1:0-30" + "loc": "2:0-30" }, { - "moduleId": "./node_modules/@dojo/framework/shim/Map.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", + "moduleId": 5, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", "module": "./node_modules/@dojo/framework/shim/Map.mjs", "moduleName": "./node_modules/@dojo/framework/shim/Map.mjs", - "type": "harmony import", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "6:17-23" + }, + { + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony side effect evaluation", "userRequest": "./global", "loc": "2:0-30" }, { - "moduleId": "./node_modules/@dojo/framework/shim/WeakMap.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/WeakMap.mjs", + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "4:20-26" + }, + { + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "51:13-19" + }, + { + "moduleId": 9, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/WeakMap.mjs", "module": "./node_modules/@dojo/framework/shim/WeakMap.mjs", "moduleName": "./node_modules/@dojo/framework/shim/WeakMap.mjs", - "type": "harmony import", + "type": "harmony side effect evaluation", "userRequest": "./global", "loc": "1:0-30" }, { - "moduleId": "./node_modules/@dojo/framework/shim/Symbol.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", - "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", - "type": "harmony import", + "moduleId": 9, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/WeakMap.mjs", + "module": "./node_modules/@dojo/framework/shim/WeakMap.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/WeakMap.mjs", + "type": "harmony import specifier", "userRequest": "./global", - "loc": "2:0-30" + "loc": "5:21-27" + }, + { + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony side effect evaluation", + "userRequest": "./global", + "loc": "1:0-30" + }, + { + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "107:20-26" + }, + { + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "108:10-16" + }, + { + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "109:29-35" + }, + { + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "110:26-32" + }, + { + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "111:26-32" + }, + { + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "112:27-33" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/vdom.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "113:24-30" + }, + { + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "114:28-34" + }, + { + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "253:24-30" + }, + { + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "254:26-32" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", - "type": "harmony import", + "type": "harmony side effect evaluation", "userRequest": "../shim/global", "loc": "1:0-36" }, { - "moduleId": "./node_modules/@dojo/framework/shim/number.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/number.mjs", - "module": "./node_modules/@dojo/framework/shim/number.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/number.mjs", - "type": "harmony import", + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "../shim/global", + "loc": "824:12-18" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "../shim/global", + "loc": "842:12-18" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "../shim/global", + "loc": "843:12-18" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "../shim/global", + "loc": "866:41-47" + }, + { + "moduleId": 15, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/object.mjs", + "module": "./node_modules/@dojo/framework/shim/object.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/object.mjs", + "type": "harmony side effect evaluation", "userRequest": "./global", "loc": "1:0-30" }, { - "moduleId": "./node_modules/@dojo/framework/shim/support/has.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", - "module": "./node_modules/@dojo/framework/shim/support/has.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", - "type": "harmony import", - "userRequest": "../global", - "loc": "2:0-31" + "moduleId": 15, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/object.mjs", + "module": "./node_modules/@dojo/framework/shim/object.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/object.mjs", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "40:25-31" }, { - "moduleId": "./node_modules/@dojo/framework/shim/object.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/object.mjs", + "moduleId": 15, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/object.mjs", "module": "./node_modules/@dojo/framework/shim/object.mjs", "moduleName": "./node_modules/@dojo/framework/shim/object.mjs", - "type": "harmony import", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "92:25-31" + }, + { + "moduleId": 16, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Promise.mjs", + "module": "./node_modules/@dojo/framework/shim/Promise.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Promise.mjs", + "type": "harmony side effect evaluation", "userRequest": "./global", "loc": "1:0-30" }, { - "moduleId": "./node_modules/@dojo/framework/shim/Promise.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Promise.mjs", + "moduleId": 16, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Promise.mjs", + "module": "./node_modules/@dojo/framework/shim/Promise.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Promise.mjs", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "5:25-31" + }, + { + "moduleId": 16, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Promise.mjs", "module": "./node_modules/@dojo/framework/shim/Promise.mjs", "moduleName": "./node_modules/@dojo/framework/shim/Promise.mjs", - "type": "harmony import", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "10:4-10" + }, + { + "moduleId": 23, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony side effect evaluation", "userRequest": "./global", "loc": "1:0-30" }, { - "moduleId": "./node_modules/@dojo/framework/shim/string.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/string.mjs", - "module": "./node_modules/@dojo/framework/shim/string.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/string.mjs", - "type": "harmony import", + "moduleId": 23, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony side effect evaluation", "userRequest": "./global", "loc": "1:0-30" }, { - "moduleId": "./node_modules/@dojo/framework/shim/support/queue.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "moduleId": 23, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "21:40-46" + }, + { + "moduleId": 23, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "30:40-46" + }, + { + "moduleId": 23, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "65:11-17" + }, + { + "moduleId": 23, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "66:9-15" + }, + { + "moduleId": 23, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "67:28-34" + }, + { + "moduleId": 23, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "68:22-28" + }, + { + "moduleId": 23, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "69:22-28" + }, + { + "moduleId": 23, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "70:27-33" + }, + { + "moduleId": 23, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "216:26-32" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony side effect evaluation", + "userRequest": "../shim/global", + "loc": "6:0-36" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "../shim/global", + "loc": "117:12-18" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "../shim/global", + "loc": "129:16-22" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "../shim/global", + "loc": "129:26-32" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "../shim/global", + "loc": "129:43-49" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "../shim/global", + "loc": "130:23-29" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "../shim/global", + "loc": "130:44-50" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "../shim/global", + "loc": "210:4-10" + }, + { + "moduleId": 25, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", "module": "./node_modules/@dojo/framework/shim/support/queue.mjs", "moduleName": "./node_modules/@dojo/framework/shim/support/queue.mjs", - "type": "harmony import", + "type": "harmony side effect evaluation", "userRequest": "../global", "loc": "1:0-31" + }, + { + "moduleId": 25, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "module": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "34:8-14" + }, + { + "moduleId": 25, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "module": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "36:33-39" + }, + { + "moduleId": 25, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "module": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "45:12-18" + }, + { + "moduleId": 25, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "module": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "49:21-27" + }, + { + "moduleId": 25, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "module": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "55:21-27" + }, + { + "moduleId": 25, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "module": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "144:12-18" + }, + { + "moduleId": 25, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "module": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "149:12-18" + }, + { + "moduleId": 25, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "module": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "154:37-43" + }, + { + "moduleId": 25, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "module": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "154:64-70" } ], "usedExports": [ @@ -822,441 +967,433 @@ "providedExports": [ "default" ], - "optimizationBailout": [], + "optimizationBailout": [ + "ModuleConcatenation bailout: Module uses injected variables (global)" + ], "depth": 3, "source": "const globalObject = (function () {\n // the only reliable means to get the global object is\n // `Function('return this')()`\n // However, this causes CSP violations in Chrome apps.\n if (typeof self !== 'undefined') {\n return self;\n }\n if (typeof window !== 'undefined') {\n return window;\n }\n if (typeof global !== 'undefined') {\n return global;\n }\n})();\nexport default globalObject;\n//# sourceMappingURL=global.mjs.map" }, { - "id": "./node_modules/@dojo/framework/shim/iterator.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs", - "name": "./node_modules/@dojo/framework/shim/iterator.mjs", - "index": 16, - "index2": 10, - "size": 3158, - "cacheable": true, - "built": true, - "optional": false, + "id": 1, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/util.mjs", + "name": "./node_modules/@dojo/framework/shim/support/util.mjs", + "index": 11, + "index2": 6, + "size": 853, + "cacheable": true, + "built": true, + "optional": false, "prefetched": false, "chunks": [ - "menu-item" + 0 ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", - "issuerId": "./node_modules/@dojo/framework/shim/array.mjs", + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", + "issuerId": null, "issuerName": "./node_modules/@dojo/framework/shim/array.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ + "issuerPath": [ { - "moduleId": "./node_modules/@dojo/framework/shim/array.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", - "module": "./node_modules/@dojo/framework/shim/array.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/array.mjs", - "type": "harmony import", - "userRequest": "./iterator", - "loc": "2:0-53" + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" }, { - "moduleId": "./node_modules/@dojo/framework/shim/Map.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", - "module": "./node_modules/@dojo/framework/shim/Map.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/Map.mjs", - "type": "harmony import", - "userRequest": "./iterator", - "loc": "1:0-55" + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" }, { - "moduleId": "./node_modules/@dojo/framework/shim/WeakMap.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/WeakMap.mjs", - "module": "./node_modules/@dojo/framework/shim/WeakMap.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/WeakMap.mjs", - "type": "harmony import", - "userRequest": "./iterator", - "loc": "2:0-41" - } - ], - "usedExports": false, - "providedExports": [ - "ShimIterator", - "isIterable", - "isArrayLike", - "get", - "forOf" - ], - "optimizationBailout": [], - "depth": 4, - "source": "import './Symbol';\nimport { HIGH_SURROGATE_MAX, HIGH_SURROGATE_MIN } from './string';\nconst staticDone = { done: true, value: undefined };\n/**\n * A class that _shims_ an iterator interface on array like objects.\n */\nexport class ShimIterator {\n constructor(list) {\n this._nextIndex = -1;\n if (isIterable(list)) {\n this._nativeIterator = list[Symbol.iterator]();\n }\n else {\n this._list = list;\n }\n }\n /**\n * Return the next iteration result for the Iterator\n */\n next() {\n if (this._nativeIterator) {\n return this._nativeIterator.next();\n }\n if (!this._list) {\n return staticDone;\n }\n if (++this._nextIndex < this._list.length) {\n return {\n done: false,\n value: this._list[this._nextIndex]\n };\n }\n return staticDone;\n }\n [Symbol.iterator]() {\n return this;\n }\n}\n/**\n * A type guard for checking if something has an Iterable interface\n *\n * @param value The value to type guard against\n */\nexport function isIterable(value) {\n return value && typeof value[Symbol.iterator] === 'function';\n}\n/**\n * A type guard for checking if something is ArrayLike\n *\n * @param value The value to type guard against\n */\nexport function isArrayLike(value) {\n return value && typeof value.length === 'number';\n}\n/**\n * Returns the iterator for an object\n *\n * @param iterable The iterable object to return the iterator for\n */\nexport function get(iterable) {\n if (isIterable(iterable)) {\n return iterable[Symbol.iterator]();\n }\n else if (isArrayLike(iterable)) {\n return new ShimIterator(iterable);\n }\n}\n/**\n * Shims the functionality of `for ... of` blocks\n *\n * @param iterable The object the provides an interator interface\n * @param callback The callback which will be called for each item of the iterable\n * @param thisArg Optional scope to pass the callback\n */\nexport function forOf(iterable, callback, thisArg) {\n let broken = false;\n function doBreak() {\n broken = true;\n }\n /* We need to handle iteration of double byte strings properly */\n if (isArrayLike(iterable) && typeof iterable === 'string') {\n const l = iterable.length;\n for (let i = 0; i < l; ++i) {\n let char = iterable[i];\n if (i + 1 < l) {\n const code = char.charCodeAt(0);\n if (code >= HIGH_SURROGATE_MIN && code <= HIGH_SURROGATE_MAX) {\n char += iterable[++i];\n }\n }\n callback.call(thisArg, char, iterable, doBreak);\n if (broken) {\n return;\n }\n }\n }\n else {\n const iterator = get(iterable);\n if (iterator) {\n let result = iterator.next();\n while (!result.done) {\n callback.call(thisArg, result.value, iterable, doBreak);\n if (broken) {\n return;\n }\n result = iterator.next();\n }\n }\n }\n}\n//# sourceMappingURL=iterator.mjs.map" - }, - { - "id": "./node_modules/@dojo/framework/shim/number.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/number.mjs", - "name": "./node_modules/@dojo/framework/shim/number.mjs", - "index": 31, - "index2": 23, - "size": 1724, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu-item" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", - "issuerId": "./node_modules/@dojo/framework/shim/array.mjs", - "issuerName": "./node_modules/@dojo/framework/shim/array.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, { - "moduleId": "./node_modules/@dojo/framework/shim/array.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", - "module": "./node_modules/@dojo/framework/shim/array.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/array.mjs", - "type": "harmony import", - "userRequest": "./number", - "loc": "3:0-44" + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", + "name": "./node_modules/@dojo/framework/shim/array.mjs" } ], - "usedExports": false, - "providedExports": [ - "EPSILON", - "MAX_SAFE_INTEGER", - "MIN_SAFE_INTEGER", - "isNaN", - "isFinite", - "isInteger", - "isSafeInteger" - ], - "optimizationBailout": [], - "depth": 4, - "source": "import global from './global';\n/**\n * The smallest interval between two representable numbers.\n */\nexport const EPSILON = 1;\n/**\n * The maximum safe integer in JavaScript\n */\nexport const MAX_SAFE_INTEGER = Math.pow(2, 53) - 1;\n/**\n * The minimum safe integer in JavaScript\n */\nexport const MIN_SAFE_INTEGER = -MAX_SAFE_INTEGER;\n/**\n * Determines whether the passed value is NaN without coersion.\n *\n * @param value The value to test\n * @return true if the value is NaN, false if it is not\n */\nexport function isNaN(value) {\n return typeof value === 'number' && global.isNaN(value);\n}\n/**\n * Determines whether the passed value is a finite number without coersion.\n *\n * @param value The value to test\n * @return true if the value is finite, false if it is not\n */\nexport function isFinite(value) {\n return typeof value === 'number' && global.isFinite(value);\n}\n/**\n * Determines whether the passed value is an integer.\n *\n * @param value The value to test\n * @return true if the value is an integer, false if it is not\n */\nexport function isInteger(value) {\n return isFinite(value) && Math.floor(value) === value;\n}\n/**\n * Determines whether the passed value is an integer that is 'safe,' meaning:\n * 1. it can be expressed as an IEEE-754 double precision number\n * 2. it has a one-to-one mapping to a mathematical integer, meaning its\n * IEEE-754 representation cannot be the result of rounding any other\n * integer to fit the IEEE-754 representation\n *\n * @param value The value to test\n * @return true if the value is an integer, false if it is not\n */\nexport function isSafeInteger(value) {\n return isInteger(value) && Math.abs(value) <= MAX_SAFE_INTEGER;\n}\n//# sourceMappingURL=number.mjs.map" - }, - { - "id": "./node_modules/@dojo/framework/shim/object.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/object.mjs", - "name": "./node_modules/@dojo/framework/shim/object.mjs", - "index": 18, - "index2": 11, - "size": 4061, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu-item" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", - "issuerId": "./node_modules/@dojo/framework/shim/Map.mjs", - "issuerName": "./node_modules/@dojo/framework/shim/Map.mjs", "failed": false, "errors": 0, "warnings": 0, + "assets": [], "reasons": [ { - "moduleId": "./node_modules/@dojo/framework/shim/Map.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", - "module": "./node_modules/@dojo/framework/shim/Map.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/Map.mjs", - "type": "harmony import", - "userRequest": "./object", - "loc": "3:0-42" + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./support/util", + "loc": "3:0-52" }, { - "moduleId": "./node_modules/@dojo/framework/core/lang.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/core/lang.mjs", - "module": "./node_modules/@dojo/framework/core/lang.mjs", - "moduleName": "./node_modules/@dojo/framework/core/lang.mjs", - "type": "harmony import", - "userRequest": "../shim/object", - "loc": "1:0-40" + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "38:51-69" }, { - "moduleId": "./node_modules/@dojo/framework/core/lang.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/core/lang.mjs", - "module": "./node_modules/@dojo/framework/core/lang.mjs", - "moduleName": "./node_modules/@dojo/framework/core/lang.mjs", - "type": "harmony import", - "userRequest": "../shim/object", - "loc": "2:0-40" - } - ], - "usedExports": [ - "assign" - ], - "providedExports": [ - "assign", - "getOwnPropertyDescriptor", - "getOwnPropertyNames", - "getOwnPropertySymbols", - "is", - "keys", - "getOwnPropertyDescriptors", - "entries", - "values" - ], - "optimizationBailout": [], - "depth": 5, - "source": "import global from './global';\nimport has from './support/has';\nimport { isSymbol } from './Symbol';\nexport let assign;\n/**\n * Gets the own property descriptor of the specified object.\n * An own property descriptor is one that is defined directly on the object and is not\n * inherited from the object's prototype.\n * @param o Object that contains the property.\n * @param p Name of the property.\n */\nexport let getOwnPropertyDescriptor;\n/**\n * Returns the names of the own properties of an object. The own properties of an object are those that are defined directly\n * on that object, and are not inherited from the object's prototype. The properties of an object include both fields (objects) and functions.\n * @param o Object that contains the own properties.\n */\nexport let getOwnPropertyNames;\n/**\n * Returns an array of all symbol properties found directly on object o.\n * @param o Object to retrieve the symbols from.\n */\nexport let getOwnPropertySymbols;\n/**\n * Returns true if the values are the same value, false otherwise.\n * @param value1 The first value.\n * @param value2 The second value.\n */\nexport let is;\n/**\n * Returns the names of the enumerable properties and methods of an object.\n * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.\n */\nexport let keys;\n/* ES7 Object static methods */\nexport let getOwnPropertyDescriptors;\nexport let entries;\nexport let values;\nif (true) {\n const globalObject = global.Object;\n assign = globalObject.assign;\n getOwnPropertyDescriptor = globalObject.getOwnPropertyDescriptor;\n getOwnPropertyNames = globalObject.getOwnPropertyNames;\n getOwnPropertySymbols = globalObject.getOwnPropertySymbols;\n is = globalObject.is;\n keys = globalObject.keys;\n}\nelse {\n keys = function symbolAwareKeys(o) {\n return Object.keys(o).filter((key) => !Boolean(key.match(/^@@.+/)));\n };\n assign = function assign(target, ...sources) {\n if (target == null) {\n // TypeError if undefined or null\n throw new TypeError('Cannot convert undefined or null to object');\n }\n const to = Object(target);\n sources.forEach((nextSource) => {\n if (nextSource) {\n // Skip over if undefined or null\n keys(nextSource).forEach((nextKey) => {\n to[nextKey] = nextSource[nextKey];\n });\n }\n });\n return to;\n };\n getOwnPropertyDescriptor = function getOwnPropertyDescriptor(o, prop) {\n if (isSymbol(prop)) {\n return Object.getOwnPropertyDescriptor(o, prop);\n }\n else {\n return Object.getOwnPropertyDescriptor(o, prop);\n }\n };\n getOwnPropertyNames = function getOwnPropertyNames(o) {\n return Object.getOwnPropertyNames(o).filter((key) => !Boolean(key.match(/^@@.+/)));\n };\n getOwnPropertySymbols = function getOwnPropertySymbols(o) {\n return Object.getOwnPropertyNames(o)\n .filter((key) => Boolean(key.match(/^@@.+/)))\n .map((key) => Symbol.for(key.substring(2)));\n };\n is = function is(value1, value2) {\n if (value1 === value2) {\n return value1 !== 0 || 1 / value1 === 1 / value2; // -0\n }\n return value1 !== value1 && value2 !== value2; // NaN\n };\n}\nif (true) {\n const globalObject = global.Object;\n getOwnPropertyDescriptors = globalObject.getOwnPropertyDescriptors;\n entries = globalObject.entries;\n values = globalObject.values;\n}\nelse {\n getOwnPropertyDescriptors = function getOwnPropertyDescriptors(o) {\n return getOwnPropertyNames(o).reduce((previous, key) => {\n previous[key] = getOwnPropertyDescriptor(o, key);\n return previous;\n }, {});\n };\n entries = function entries(o) {\n return keys(o).map((key) => [key, o[key]]);\n };\n values = function values(o) {\n return keys(o).map((key) => o[key]);\n };\n}\n//# sourceMappingURL=object.mjs.map" - }, - { - "id": "./node_modules/@dojo/framework/shim/string.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/string.mjs", - "name": "./node_modules/@dojo/framework/shim/string.mjs", - "index": 17, - "index2": 9, - "size": 12420, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu-item" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs", - "issuerId": "./node_modules/@dojo/framework/shim/iterator.mjs", - "issuerName": "./node_modules/@dojo/framework/shim/iterator.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "58:29-47" + }, { - "moduleId": "./node_modules/@dojo/framework/shim/iterator.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs", - "module": "./node_modules/@dojo/framework/shim/iterator.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs", - "type": "harmony import", - "userRequest": "./string", - "loc": "2:0-66" - } - ], - "usedExports": [ - "HIGH_SURROGATE_MAX", - "HIGH_SURROGATE_MIN" - ], - "providedExports": [ - "HIGH_SURROGATE_MIN", - "HIGH_SURROGATE_MAX", - "LOW_SURROGATE_MIN", - "LOW_SURROGATE_MAX", - "fromCodePoint", - "raw", - "codePointAt", - "endsWith", - "includes", - "normalize", - "repeat", - "startsWith", - "padEnd", - "padStart" - ], - "optimizationBailout": [], - "depth": 5, - "source": "import global from './global';\nimport has from './support/has';\nimport { wrapNative } from './support/util';\n/**\n * The minimum location of high surrogates\n */\nexport const HIGH_SURROGATE_MIN = 0xd800;\n/**\n * The maximum location of high surrogates\n */\nexport const HIGH_SURROGATE_MAX = 0xdbff;\n/**\n * The minimum location of low surrogates\n */\nexport const LOW_SURROGATE_MIN = 0xdc00;\n/**\n * The maximum location of low surrogates\n */\nexport const LOW_SURROGATE_MAX = 0xdfff;\n/* ES6 static methods */\n/**\n * Return the String value whose elements are, in order, the elements in the List elements.\n * If length is 0, the empty string is returned.\n * @param codePoints The code points to generate the string\n */\nexport let fromCodePoint;\n/**\n * `raw` is intended for use as a tag function of a Tagged Template String. When called\n * as such the first argument will be a well formed template call site object and the rest\n * parameter will contain the substitution values.\n * @param template A well-formed template string call site representation.\n * @param substitutions A set of substitution values.\n */\nexport let raw;\n/* ES6 instance methods */\n/**\n * Returns a nonnegative integer Number less than 1114112 (0x110000) that is the code point\n * value of the UTF-16 encoded code point starting at the string element at position pos in\n * the String resulting from converting this object to a String.\n * If there is no element at that position, the result is undefined.\n * If a valid UTF-16 surrogate pair does not begin at pos, the result is the code unit at pos.\n */\nexport let codePointAt;\n/**\n * Returns true if the sequence of elements of searchString converted to a String is the\n * same as the corresponding elements of this object (converted to a String) starting at\n * endPosition – length(this). Otherwise returns false.\n */\nexport let endsWith;\n/**\n * Returns true if searchString appears as a substring of the result of converting this\n * object to a String, at one or more positions that are\n * greater than or equal to position; otherwise, returns false.\n * @param target The target string\n * @param searchString search string\n * @param position If position is undefined, 0 is assumed, so as to search all of the String.\n */\nexport let includes;\n/**\n * Returns the String value result of normalizing the string into the normalization form\n * named by form as specified in Unicode Standard Annex #15, Unicode Normalization Forms.\n * @param target The target string\n * @param form Applicable values: \"NFC\", \"NFD\", \"NFKC\", or \"NFKD\", If not specified default\n * is \"NFC\"\n */\nexport let normalize;\n/**\n * Returns a String value that is made from count copies appended together. If count is 0,\n * T is the empty String is returned.\n * @param count number of copies to append\n */\nexport let repeat;\n/**\n * Returns true if the sequence of elements of searchString converted to a String is the\n * same as the corresponding elements of this object (converted to a String) starting at\n * position. Otherwise returns false.\n */\nexport let startsWith;\n/* ES7 instance methods */\n/**\n * Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length.\n * The padding is applied from the end (right) of the current string.\n *\n * @param target The target string\n * @param maxLength The length of the resulting string once the current string has been padded.\n * If this parameter is smaller than the current string's length, the current string will be returned as it is.\n *\n * @param fillString The string to pad the current string with.\n * If this string is too long, it will be truncated and the left-most part will be applied.\n * The default value for this parameter is \" \" (U+0020).\n */\nexport let padEnd;\n/**\n * Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length.\n * The padding is applied from the start (left) of the current string.\n *\n * @param target The target string\n * @param maxLength The length of the resulting string once the current string has been padded.\n * If this parameter is smaller than the current string's length, the current string will be returned as it is.\n *\n * @param fillString The string to pad the current string with.\n * If this string is too long, it will be truncated and the left-most part will be applied.\n * The default value for this parameter is \" \" (U+0020).\n */\nexport let padStart;\nif (true && true) {\n fromCodePoint = global.String.fromCodePoint;\n raw = global.String.raw;\n codePointAt = wrapNative(global.String.prototype.codePointAt);\n endsWith = wrapNative(global.String.prototype.endsWith);\n includes = wrapNative(global.String.prototype.includes);\n normalize = wrapNative(global.String.prototype.normalize);\n repeat = wrapNative(global.String.prototype.repeat);\n startsWith = wrapNative(global.String.prototype.startsWith);\n}\nelse {\n /**\n * Validates that text is defined, and normalizes position (based on the given default if the input is NaN).\n * Used by startsWith, includes, and endsWith.\n *\n * @return Normalized position.\n */\n const normalizeSubstringArgs = function (name, text, search, position, isEnd = false) {\n if (text == null) {\n throw new TypeError('string.' + name + ' requires a valid string to search against.');\n }\n const length = text.length;\n position = position !== position ? (isEnd ? length : 0) : position;\n return [text, String(search), Math.min(Math.max(position, 0), length)];\n };\n fromCodePoint = function fromCodePoint(...codePoints) {\n // Adapted from https://github.com/mathiasbynens/String.fromCodePoint\n const length = arguments.length;\n if (!length) {\n return '';\n }\n const fromCharCode = String.fromCharCode;\n const MAX_SIZE = 0x4000;\n let codeUnits = [];\n let index = -1;\n let result = '';\n while (++index < length) {\n let codePoint = Number(arguments[index]);\n // Code points must be finite integers within the valid range\n let isValid = isFinite(codePoint) && Math.floor(codePoint) === codePoint && codePoint >= 0 && codePoint <= 0x10ffff;\n if (!isValid) {\n throw RangeError('string.fromCodePoint: Invalid code point ' + codePoint);\n }\n if (codePoint <= 0xffff) {\n // BMP code point\n codeUnits.push(codePoint);\n }\n else {\n // Astral code point; split in surrogate halves\n // https://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae\n codePoint -= 0x10000;\n let highSurrogate = (codePoint >> 10) + HIGH_SURROGATE_MIN;\n let lowSurrogate = (codePoint % 0x400) + LOW_SURROGATE_MIN;\n codeUnits.push(highSurrogate, lowSurrogate);\n }\n if (index + 1 === length || codeUnits.length > MAX_SIZE) {\n result += fromCharCode.apply(null, codeUnits);\n codeUnits.length = 0;\n }\n }\n return result;\n };\n raw = function raw(callSite, ...substitutions) {\n let rawStrings = callSite.raw;\n let result = '';\n let numSubstitutions = substitutions.length;\n if (callSite == null || callSite.raw == null) {\n throw new TypeError('string.raw requires a valid callSite object with a raw value');\n }\n for (let i = 0, length = rawStrings.length; i < length; i++) {\n result += rawStrings[i] + (i < numSubstitutions && i < length - 1 ? substitutions[i] : '');\n }\n return result;\n };\n codePointAt = function codePointAt(text, position = 0) {\n // Adapted from https://github.com/mathiasbynens/String.prototype.codePointAt\n if (text == null) {\n throw new TypeError('string.codePointAt requries a valid string.');\n }\n const length = text.length;\n if (position !== position) {\n position = 0;\n }\n if (position < 0 || position >= length) {\n return undefined;\n }\n // Get the first code unit\n const first = text.charCodeAt(position);\n if (first >= HIGH_SURROGATE_MIN && first <= HIGH_SURROGATE_MAX && length > position + 1) {\n // Start of a surrogate pair (high surrogate and there is a next code unit); check for low surrogate\n // https://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae\n const second = text.charCodeAt(position + 1);\n if (second >= LOW_SURROGATE_MIN && second <= LOW_SURROGATE_MAX) {\n return (first - HIGH_SURROGATE_MIN) * 0x400 + second - LOW_SURROGATE_MIN + 0x10000;\n }\n }\n return first;\n };\n endsWith = function endsWith(text, search, endPosition) {\n if (endPosition == null) {\n endPosition = text.length;\n }\n [text, search, endPosition] = normalizeSubstringArgs('endsWith', text, search, endPosition, true);\n const start = endPosition - search.length;\n if (start < 0) {\n return false;\n }\n return text.slice(start, endPosition) === search;\n };\n includes = function includes(text, search, position = 0) {\n [text, search, position] = normalizeSubstringArgs('includes', text, search, position);\n return text.indexOf(search, position) !== -1;\n };\n repeat = function repeat(text, count = 0) {\n // Adapted from https://github.com/mathiasbynens/String.prototype.repeat\n if (text == null) {\n throw new TypeError('string.repeat requires a valid string.');\n }\n if (count !== count) {\n count = 0;\n }\n if (count < 0 || count === Infinity) {\n throw new RangeError('string.repeat requires a non-negative finite count.');\n }\n let result = '';\n while (count) {\n if (count % 2) {\n result += text;\n }\n if (count > 1) {\n text += text;\n }\n count >>= 1;\n }\n return result;\n };\n startsWith = function startsWith(text, search, position = 0) {\n search = String(search);\n [text, search, position] = normalizeSubstringArgs('startsWith', text, search, position);\n const end = position + search.length;\n if (end > text.length) {\n return false;\n }\n return text.slice(position, end) === search;\n };\n}\nif (true) {\n padEnd = wrapNative(global.String.prototype.padEnd);\n padStart = wrapNative(global.String.prototype.padStart);\n}\nelse {\n padEnd = function padEnd(text, maxLength, fillString = ' ') {\n if (text === null || text === undefined) {\n throw new TypeError('string.repeat requires a valid string.');\n }\n if (maxLength === Infinity) {\n throw new RangeError('string.padEnd requires a non-negative finite count.');\n }\n if (maxLength === null || maxLength === undefined || maxLength < 0) {\n maxLength = 0;\n }\n let strText = String(text);\n const padding = maxLength - strText.length;\n if (padding > 0) {\n strText +=\n repeat(fillString, Math.floor(padding / fillString.length)) +\n fillString.slice(0, padding % fillString.length);\n }\n return strText;\n };\n padStart = function padStart(text, maxLength, fillString = ' ') {\n if (text === null || text === undefined) {\n throw new TypeError('string.repeat requires a valid string.');\n }\n if (maxLength === Infinity) {\n throw new RangeError('string.padStart requires a non-negative finite count.');\n }\n if (maxLength === null || maxLength === undefined || maxLength < 0) {\n maxLength = 0;\n }\n let strText = String(text);\n const padding = maxLength - strText.length;\n if (padding > 0) {\n strText =\n repeat(fillString, Math.floor(padding / fillString.length)) +\n fillString.slice(0, padding % fillString.length) +\n strText;\n }\n return strText;\n };\n}\n//# sourceMappingURL=string.mjs.map" - }, - { - "id": "./node_modules/@dojo/framework/shim/support/has.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", - "name": "./node_modules/@dojo/framework/shim/support/has.mjs", - "index": 6, - "index2": 5, - "size": 6299, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu-item" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", - "issuerId": "./node_modules/@dojo/framework/shim/array.mjs", - "issuerName": "./node_modules/@dojo/framework/shim/array.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "59:22-40" + }, { - "moduleId": "./node_modules/@dojo/framework/shim/array.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", - "module": "./node_modules/@dojo/framework/shim/array.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/array.mjs", - "type": "harmony import", - "userRequest": "./support/has", - "loc": "4:0-32" + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "63:34-52" }, { - "moduleId": "./node_modules/@dojo/framework/shim/Map.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", - "module": "./node_modules/@dojo/framework/shim/Map.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/Map.mjs", - "type": "harmony import", - "userRequest": "./support/has", - "loc": "4:0-32" + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "70:16-34" }, { - "moduleId": "./node_modules/@dojo/framework/shim/WeakMap.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/WeakMap.mjs", - "module": "./node_modules/@dojo/framework/shim/WeakMap.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/WeakMap.mjs", - "type": "harmony import", - "userRequest": "./support/has", - "loc": "3:0-32" + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "79:21-39" }, { - "moduleId": "./node_modules/@dojo/framework/shim/Symbol.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", - "type": "harmony import", - "userRequest": "./support/has", - "loc": "1:0-32" + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "80:28-46" }, { - "moduleId": "./node_modules/@dojo/framework/shim/object.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/object.mjs", - "module": "./node_modules/@dojo/framework/shim/object.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/object.mjs", - "type": "harmony import", - "userRequest": "./support/has", - "loc": "2:0-32" + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "81:18-36" }, { - "moduleId": "./node_modules/@dojo/framework/shim/Promise.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Promise.mjs", - "module": "./node_modules/@dojo/framework/shim/Promise.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/Promise.mjs", - "type": "harmony import", - "userRequest": "./support/has", - "loc": "4:0-32" + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "82:15-33" }, { - "moduleId": "./node_modules/@dojo/framework/shim/string.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/string.mjs", - "module": "./node_modules/@dojo/framework/shim/string.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/string.mjs", - "type": "harmony import", - "userRequest": "./support/has", - "loc": "2:0-32" + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "83:20-38" }, { - "moduleId": "./node_modules/@dojo/framework/shim/support/queue.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", - "module": "./node_modules/@dojo/framework/shim/support/queue.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/support/queue.mjs", - "type": "harmony import", - "userRequest": "./has", - "loc": "2:0-24" - } - ], - "usedExports": false, - "providedExports": [ - "default", - "testCache", - "testFunctions", - "load", - "normalize", - "exists", - "add" - ], - "optimizationBailout": [], - "depth": 4, - "source": "import has, { add } from '../../has/has';\nimport global from '../global';\nexport default has;\nexport * from '../../has/has';\n/* ECMAScript 6 and 7 Features */\n/* Array */\nadd('es6-array', () => {\n return (['from', 'of'].every((key) => key in global.Array) &&\n ['findIndex', 'find', 'copyWithin'].every((key) => key in global.Array.prototype));\n}, true);\nadd('es6-array-fill', () => {\n if ('fill' in global.Array.prototype) {\n /* Some versions of Safari do not properly implement this */\n return [1].fill(9, Number.POSITIVE_INFINITY)[0] === 1;\n }\n return false;\n}, true);\nadd('es7-array', () => 'includes' in global.Array.prototype, true);\n/* Map */\nadd('es6-map', () => {\n if (typeof global.Map === 'function') {\n /*\n IE11 and older versions of Safari are missing critical ES6 Map functionality\n We wrap this in a try/catch because sometimes the Map constructor exists, but does not\n take arguments (iOS 8.4)\n */\n try {\n const map = new global.Map([[0, 1]]);\n return map.has(0) &&\n typeof map.keys === 'function' &&\n true &&\n typeof map.values === 'function' &&\n typeof map.entries === 'function';\n }\n catch (e) {\n /* istanbul ignore next: not testing on iOS at the moment */\n return false;\n }\n }\n return false;\n}, true);\n/* Math */\nadd('es6-math', () => {\n return [\n 'clz32',\n 'sign',\n 'log10',\n 'log2',\n 'log1p',\n 'expm1',\n 'cosh',\n 'sinh',\n 'tanh',\n 'acosh',\n 'asinh',\n 'atanh',\n 'trunc',\n 'fround',\n 'cbrt',\n 'hypot'\n ].every((name) => typeof global.Math[name] === 'function');\n}, true);\nadd('es6-math-imul', () => {\n if ('imul' in global.Math) {\n /* Some versions of Safari on ios do not properly implement this */\n return Math.imul(0xffffffff, 5) === -5;\n }\n return false;\n}, true);\n/* Object */\nadd('es6-object', () => {\n return true &&\n ['assign', 'is', 'getOwnPropertySymbols', 'setPrototypeOf'].every((name) => typeof global.Object[name] === 'function');\n}, true);\nadd('es2017-object', () => {\n return ['values', 'entries', 'getOwnPropertyDescriptors'].every((name) => typeof global.Object[name] === 'function');\n}, true);\n/* Observable */\nadd('es-observable', () => typeof global.Observable !== 'undefined', true);\n/* Promise */\nadd('es6-promise', () => typeof global.Promise !== 'undefined' && true, true);\n/* Set */\nadd('es6-set', () => {\n if (typeof global.Set === 'function') {\n /* IE11 and older versions of Safari are missing critical ES6 Set functionality */\n const set = new global.Set([1]);\n return set.has(1) && 'keys' in set && typeof set.keys === 'function' && true;\n }\n return false;\n}, true);\n/* String */\nadd('es6-string', () => {\n return ([\n /* static methods */\n 'fromCodePoint'\n ].every((key) => typeof global.String[key] === 'function') &&\n [\n /* instance methods */\n 'codePointAt',\n 'normalize',\n 'repeat',\n 'startsWith',\n 'endsWith',\n 'includes'\n ].every((key) => typeof global.String.prototype[key] === 'function'));\n}, true);\nadd('es6-string-raw', () => {\n function getCallSite(callSite, ...substitutions) {\n const result = [...callSite];\n result.raw = callSite.raw;\n return result;\n }\n if ('raw' in global.String) {\n let b = 1;\n let callSite = getCallSite `a\\n${b}`;\n callSite.raw = ['a\\\\n'];\n const supportsTrunc = global.String.raw(callSite, 42) === 'a:\\\\n';\n return supportsTrunc;\n }\n return false;\n}, true);\nadd('es2017-string', () => {\n return ['padStart', 'padEnd'].every((key) => typeof global.String.prototype[key] === 'function');\n}, true);\n/* Symbol */\nadd('es6-symbol', () => typeof global.Symbol !== 'undefined' && typeof Symbol() === 'symbol', true);\n/* WeakMap */\nadd('es6-weakmap', () => {\n if (typeof global.WeakMap !== 'undefined') {\n /* IE11 and older versions of Safari are missing critical ES6 Map functionality */\n const key1 = {};\n const key2 = {};\n const map = new global.WeakMap([[key1, 1]]);\n Object.freeze(key1);\n return map.get(key1) === 1 && map.set(key2, 2) === map && true;\n }\n return false;\n}, true);\n/* Miscellaneous features */\nadd('microtasks', () => true || false || true, true);\nadd('postmessage', () => {\n // If window is undefined, and we have postMessage, it probably means we're in a web worker. Web workers have\n // post message but it doesn't work how we expect it to, so it's best just to pretend it doesn't exist.\n return typeof global.window !== 'undefined' && typeof global.postMessage === 'function';\n}, true);\nadd('raf', () => typeof global.requestAnimationFrame === 'function', true);\nadd('setimmediate', () => typeof global.setImmediate !== 'undefined', true);\n/* DOM Features */\nadd('dom-mutationobserver', () => {\n if (true && Boolean(global.MutationObserver || global.WebKitMutationObserver)) {\n // IE11 has an unreliable MutationObserver implementation where setProperty() does not\n // generate a mutation event, observers can crash, and the queue does not drain\n // reliably. The following feature test was adapted from\n // https://gist.github.com/t10ko/4aceb8c71681fdb275e33efe5e576b14\n const example = document.createElement('div');\n /* tslint:disable-next-line:variable-name */\n const HostMutationObserver = global.MutationObserver || global.WebKitMutationObserver;\n const observer = new HostMutationObserver(function () { });\n observer.observe(example, { attributes: true });\n example.style.setProperty('display', 'block');\n return Boolean(observer.takeRecords().length);\n }\n return false;\n}, true);\nadd('dom-webanimation', () => true && global.Animation !== undefined && global.KeyframeEffect !== undefined, true);\nadd('abort-controller', () => typeof global.AbortController !== 'undefined');\nadd('abort-signal', () => typeof global.AbortSignal !== 'undefined');\n//# sourceMappingURL=has.mjs.map" - }, - { - "id": "./node_modules/@dojo/framework/shim/support/queue.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", - "name": "./node_modules/@dojo/framework/shim/support/queue.mjs", - "index": 23, - "index2": 14, - "size": 6196, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu-item" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Promise.mjs", - "issuerId": "./node_modules/@dojo/framework/shim/Promise.mjs", - "issuerName": "./node_modules/@dojo/framework/shim/Promise.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "84:17-35" + }, { - "moduleId": "./node_modules/@dojo/framework/shim/Promise.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Promise.mjs", - "module": "./node_modules/@dojo/framework/shim/Promise.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/Promise.mjs", - "type": "harmony import", - "userRequest": "./support/queue", - "loc": "2:0-49" - } - ], - "usedExports": false, - "providedExports": [ - "queueTask", - "queueAnimationTask", - "queueMicroTask" - ], - "optimizationBailout": [], - "depth": 6, - "source": "import global from '../global';\nimport has from './has';\nfunction executeTask(item) {\n if (item && item.isActive && item.callback) {\n item.callback();\n }\n}\nfunction getQueueHandle(item, destructor) {\n return {\n destroy: function () {\n this.destroy = function () { };\n item.isActive = false;\n item.callback = null;\n if (destructor) {\n destructor();\n }\n }\n };\n}\nlet checkMicroTaskQueue;\nlet microTasks;\n/**\n * Schedules a callback to the macrotask queue.\n *\n * @param callback the function to be queued and later executed.\n * @returns An object with a `destroy` method that, when called, prevents the registered callback from executing.\n */\nexport const queueTask = (function () {\n let destructor;\n let enqueue;\n // Since the IE implementation of `setImmediate` is not flawless, we will test for `postMessage` first.\n if (true) {\n const queue = [];\n global.addEventListener('message', function (event) {\n // Confirm that the event was triggered by the current window and by this particular implementation.\n if (event.source === global && event.data === 'dojo-queue-message') {\n event.stopPropagation();\n if (queue.length) {\n executeTask(queue.shift());\n }\n }\n });\n enqueue = function (item) {\n queue.push(item);\n global.postMessage('dojo-queue-message', '*');\n };\n }\n else if (false) {\n destructor = global.clearImmediate;\n enqueue = function (item) {\n return setImmediate(executeTask.bind(null, item));\n };\n }\n else {\n destructor = global.clearTimeout;\n enqueue = function (item) {\n return setTimeout(executeTask.bind(null, item), 0);\n };\n }\n function queueTask(callback) {\n const item = {\n isActive: true,\n callback: callback\n };\n const id = enqueue(item);\n return getQueueHandle(item, destructor &&\n function () {\n destructor(id);\n });\n }\n // TODO: Use aspect.before when it is available.\n return true\n ? queueTask\n : function (callback) {\n checkMicroTaskQueue();\n return queueTask(callback);\n };\n})();\n// When no mechanism for registering microtasks is exposed by the environment, microtasks will\n// be queued and then executed in a single macrotask before the other macrotasks are executed.\nif (!true) {\n let isMicroTaskQueued = false;\n microTasks = [];\n checkMicroTaskQueue = function () {\n if (!isMicroTaskQueued) {\n isMicroTaskQueued = true;\n queueTask(function () {\n isMicroTaskQueued = false;\n if (microTasks.length) {\n let item;\n while ((item = microTasks.shift())) {\n executeTask(item);\n }\n }\n });\n }\n };\n}\n/**\n * Schedules an animation task with `window.requestAnimationFrame` if it exists, or with `queueTask` otherwise.\n *\n * Since requestAnimationFrame's behavior does not match that expected from `queueTask`, it is not used there.\n * However, at times it makes more sense to delegate to requestAnimationFrame; hence the following method.\n *\n * @param callback the function to be queued and later executed.\n * @returns An object with a `destroy` method that, when called, prevents the registered callback from executing.\n */\nexport const queueAnimationTask = (function () {\n if (!true) {\n return queueTask;\n }\n function queueAnimationTask(callback) {\n const item = {\n isActive: true,\n callback: callback\n };\n const rafId = requestAnimationFrame(executeTask.bind(null, item));\n return getQueueHandle(item, function () {\n cancelAnimationFrame(rafId);\n });\n }\n // TODO: Use aspect.before when it is available.\n return true\n ? queueAnimationTask\n : function (callback) {\n checkMicroTaskQueue();\n return queueAnimationTask(callback);\n };\n})();\n/**\n * Schedules a callback to the microtask queue.\n *\n * Any callbacks registered with `queueMicroTask` will be executed before the next macrotask. If no native\n * mechanism for scheduling macrotasks is exposed, then any callbacks will be fired before any macrotask\n * registered with `queueTask` or `queueAnimationTask`.\n *\n * @param callback the function to be queued and later executed.\n * @returns An object with a `destroy` method that, when called, prevents the registered callback from executing.\n */\nexport let queueMicroTask = (function () {\n let enqueue;\n if (false) {\n enqueue = function (item) {\n global.process.nextTick(executeTask.bind(null, item));\n };\n }\n else if (true) {\n enqueue = function (item) {\n global.Promise.resolve(item).then(executeTask);\n };\n }\n else if (true) {\n /* tslint:disable-next-line:variable-name */\n const HostMutationObserver = global.MutationObserver || global.WebKitMutationObserver;\n const node = document.createElement('div');\n const queue = [];\n const observer = new HostMutationObserver(function () {\n while (queue.length > 0) {\n const item = queue.shift();\n if (item && item.isActive && item.callback) {\n item.callback();\n }\n }\n });\n observer.observe(node, { attributes: true });\n enqueue = function (item) {\n queue.push(item);\n node.setAttribute('queueStatus', '1');\n };\n }\n else {\n enqueue = function (item) {\n checkMicroTaskQueue();\n microTasks.push(item);\n };\n }\n return function (callback) {\n const item = {\n isActive: true,\n callback: callback\n };\n enqueue(item);\n return getQueueHandle(item);\n };\n})();\n//# sourceMappingURL=queue.mjs.map" - }, - { - "id": "./node_modules/@dojo/framework/shim/support/util.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/util.mjs", - "name": "./node_modules/@dojo/framework/shim/support/util.mjs", - "index": 11, - "index2": 6, - "size": 853, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu-item" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", - "issuerId": "./node_modules/@dojo/framework/shim/array.mjs", - "issuerName": "./node_modules/@dojo/framework/shim/array.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "85:16-34" + }, { - "moduleId": "./node_modules/@dojo/framework/shim/array.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", - "module": "./node_modules/@dojo/framework/shim/array.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/array.mjs", - "type": "harmony import", + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", "userRequest": "./support/util", - "loc": "5:0-44" + "loc": "86:17-35" }, { - "moduleId": "./node_modules/@dojo/framework/shim/Symbol.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", - "type": "harmony import", + "type": "harmony import specifier", "userRequest": "./support/util", - "loc": "3:0-52" + "loc": "87:15-33" + }, + { + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "88:21-39" + }, + { + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "89:21-39" + }, + { + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "90:21-39" + }, + { + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "94:21-39" + }, + { + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "95:18-36" + }, + { + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "101:18-36" + }, + { + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "104:17-35" + }, + { + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "108:57-75" + }, + { + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "111:57-75" + }, + { + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "112:65-83" + }, + { + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "113:65-83" + }, + { + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "141:49-67" }, { - "moduleId": "./node_modules/@dojo/framework/shim/string.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/string.mjs", - "module": "./node_modules/@dojo/framework/shim/string.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/string.mjs", - "type": "harmony import", + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony side effect evaluation", "userRequest": "./support/util", "loc": "3:0-44" + }, + { + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "109:18-28" + }, + { + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "110:15-25" + }, + { + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "111:15-25" + }, + { + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "112:16-26" + }, + { + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "113:13-23" + }, + { + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "114:17-27" + }, + { + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "253:13-23" + }, + { + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "254:15-25" + }, + { + "moduleId": 23, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony side effect evaluation", + "userRequest": "./support/util", + "loc": "5:0-44" + }, + { + "moduleId": 23, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "67:17-27" + }, + { + "moduleId": 23, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "68:11-21" + }, + { + "moduleId": 23, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "69:11-21" + }, + { + "moduleId": 23, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "70:16-26" + }, + { + "moduleId": 23, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "216:15-25" } ], "usedExports": [ @@ -1272,382 +1409,769 @@ "source": "/**\n * Helper function to generate a value property descriptor\n *\n * @param value The value the property descriptor should be set to\n * @param enumerable If the property should be enumberable, defaults to false\n * @param writable If the property should be writable, defaults to true\n * @param configurable If the property should be configurable, defaults to true\n * @return The property descriptor object\n */\nexport function getValueDescriptor(value, enumerable = false, writable = true, configurable = true) {\n return {\n value: value,\n enumerable: enumerable,\n writable: writable,\n configurable: configurable\n };\n}\nexport function wrapNative(nativeFunction) {\n return function (target, ...args) {\n return nativeFunction.apply(target, args);\n };\n}\n//# sourceMappingURL=util.mjs.map" }, { - "id": "./node_modules/@dojo/framework/widget-core/Injector.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Injector.mjs", - "name": "./node_modules/@dojo/framework/widget-core/Injector.mjs", - "index": 37, - "index2": 31, - "size": 493, + "id": 2, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/has/has.mjs", + "name": "./node_modules/@dojo/framework/has/has.mjs", + "index": 7, + "index2": 3, + "size": 6321, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ - "menu-item" + 0 ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "issuerId": 4, + "issuerName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "issuerPath": [ { - "moduleId": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "type": "harmony import", - "userRequest": "./../Injector", - "loc": "2:0-41" - } - ], - "usedExports": [ - "Injector" - ], - "providedExports": [ - "Injector", - "default" - ], - "optimizationBailout": [], - "depth": 4, - "source": "import { Evented } from '../core/Evented';\nexport class Injector extends Evented {\n constructor(payload) {\n super();\n this._payload = payload;\n }\n setInvalidator(invalidator) {\n this._invalidator = invalidator;\n }\n get() {\n return this._payload;\n }\n set(payload) {\n this._payload = payload;\n if (this._invalidator) {\n this._invalidator();\n }\n }\n}\nexport default Injector;\n//# sourceMappingURL=Injector.mjs.map" - }, - { - "id": "./node_modules/@dojo/framework/widget-core/NodeHandler.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/NodeHandler.mjs", - "name": "./node_modules/@dojo/framework/widget-core/NodeHandler.mjs", - "index": 28, - "index2": 22, - "size": 1090, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu-item" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "type": "harmony import", - "userRequest": "./NodeHandler", - "loc": "7:0-40" + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", + "name": "./node_modules/@dojo/framework/shim/array.mjs" + }, + { + "id": 4, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "name": "./node_modules/@dojo/framework/shim/support/has.mjs" } ], - "usedExports": [ - "default" - ], - "providedExports": [ - "NodeEventType", - "NodeHandler", - "default" - ], - "optimizationBailout": [], - "depth": 4, - "source": "import { Evented } from '../core/Evented';\nimport Map from '../shim/Map';\n/**\n * Enum to identify the type of event.\n * Listening to 'Projector' will notify when projector is created or updated\n * Listening to 'Widget' will notify when widget root is created or updated\n */\nexport var NodeEventType;\n(function (NodeEventType) {\n NodeEventType[\"Projector\"] = \"Projector\";\n NodeEventType[\"Widget\"] = \"Widget\";\n})(NodeEventType || (NodeEventType = {}));\nexport class NodeHandler extends Evented {\n constructor() {\n super(...arguments);\n this._nodeMap = new Map();\n }\n get(key) {\n return this._nodeMap.get(key);\n }\n has(key) {\n return this._nodeMap.has(key);\n }\n add(element, key) {\n this._nodeMap.set(key, element);\n this.emit({ type: key });\n }\n addRoot() {\n this.emit({ type: NodeEventType.Widget });\n }\n addProjector() {\n this.emit({ type: NodeEventType.Projector });\n }\n clear() {\n this._nodeMap.clear();\n }\n}\nexport default NodeHandler;\n//# sourceMappingURL=NodeHandler.mjs.map" - }, - { - "id": "./node_modules/@dojo/framework/widget-core/Registry.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", - "name": "./node_modules/@dojo/framework/widget-core/Registry.mjs", - "index": 21, - "index2": 19, - "size": 3690, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu-item" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", "failed": false, "errors": 0, "warnings": 0, + "assets": [], "reasons": [ { - "moduleId": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "type": "harmony import", - "userRequest": "./Registry", - "loc": "9:0-71" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony side effect evaluation", + "userRequest": "../../has/has", + "loc": "1:0-41" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/diff.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/diff.mjs", - "module": "./node_modules/@dojo/framework/widget-core/diff.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/diff.mjs", - "type": "harmony import", - "userRequest": "./Registry", - "loc": "1:0-46" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "3:15-18" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", - "module": "./node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", - "type": "harmony import", - "userRequest": "./Registry", - "loc": "3:0-38" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony side effect evaluation", + "userRequest": "../../has/has", + "loc": "4:0-30" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/vdom.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", - "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", - "type": "harmony import", - "userRequest": "./Registry", - "loc": "4:0-53" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony export imported specifier", + "userRequest": "../../has/has", + "loc": "4:0-30" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/decorators/customElement.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/customElement.mjs", - "module": "./node_modules/@dojo/framework/widget-core/decorators/customElement.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/decorators/customElement.mjs", - "type": "harmony import", - "userRequest": "../Registry", - "loc": "2:0-35" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "7:0-3" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "11:0-3" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "18:0-3" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "20:0-3" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "31:16-19" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "43:0-3" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "63:0-3" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "71:0-3" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "72:12-15" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "75:0-3" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "79:0-3" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "81:0-3" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "81:66-69" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "83:0-3" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "87:80-83" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "92:0-3" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "107:0-3" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "122:0-3" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "126:0-3" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "128:0-3" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "135:66-69" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "140:0-3" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "140:24-27" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "140:46-49" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "140:66-69" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "141:0-3" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "146:0-3" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "147:0-3" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "149:0-3" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "150:8-11" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "165:0-3" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "165:30-33" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "166:0-3" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "167:0-3" } ], "usedExports": [ - "Registry", - "WIDGET_BASE_TYPE", - "default", - "isWidgetBaseConstructor" + "add", + "default" ], "providedExports": [ - "WIDGET_BASE_TYPE", - "isWidgetBaseConstructor", - "isWidgetConstructorDefaultExport", - "Registry", + "testCache", + "testFunctions", + "load", + "normalize", + "exists", + "add", "default" ], - "optimizationBailout": [], - "depth": 4, - "source": "import Promise from '../shim/Promise';\nimport Map from '../shim/Map';\nimport Symbol from '../shim/Symbol';\nimport { Evented } from '../core/Evented';\n/**\n * Widget base symbol type\n */\nexport const WIDGET_BASE_TYPE = Symbol('Widget Base');\n/**\n * Checks is the item is a subclass of WidgetBase (or a WidgetBase)\n *\n * @param item the item to check\n * @returns true/false indicating if the item is a WidgetBaseConstructor\n */\nexport function isWidgetBaseConstructor(item) {\n return Boolean(item && item._type === WIDGET_BASE_TYPE);\n}\nexport function isWidgetConstructorDefaultExport(item) {\n return Boolean(item &&\n item.hasOwnProperty('__esModule') &&\n item.hasOwnProperty('default') &&\n isWidgetBaseConstructor(item.default));\n}\n/**\n * The Registry implementation\n */\nexport class Registry extends Evented {\n /**\n * Emit loaded event for registry label\n */\n emitLoadedEvent(widgetLabel, item) {\n this.emit({\n type: widgetLabel,\n action: 'loaded',\n item\n });\n }\n define(label, item) {\n if (this._widgetRegistry === undefined) {\n this._widgetRegistry = new Map();\n }\n if (this._widgetRegistry.has(label)) {\n throw new Error(`widget has already been registered for '${label.toString()}'`);\n }\n this._widgetRegistry.set(label, item);\n if (item instanceof Promise) {\n item.then((widgetCtor) => {\n this._widgetRegistry.set(label, widgetCtor);\n this.emitLoadedEvent(label, widgetCtor);\n return widgetCtor;\n }, (error) => {\n throw error;\n });\n }\n else if (isWidgetBaseConstructor(item)) {\n this.emitLoadedEvent(label, item);\n }\n }\n defineInjector(label, injectorFactory) {\n if (this._injectorRegistry === undefined) {\n this._injectorRegistry = new Map();\n }\n if (this._injectorRegistry.has(label)) {\n throw new Error(`injector has already been registered for '${label.toString()}'`);\n }\n const invalidator = new Evented();\n const injectorItem = {\n injector: injectorFactory(() => invalidator.emit({ type: 'invalidate' })),\n invalidator\n };\n this._injectorRegistry.set(label, injectorItem);\n this.emitLoadedEvent(label, injectorItem);\n }\n get(label) {\n if (!this._widgetRegistry || !this.has(label)) {\n return null;\n }\n const item = this._widgetRegistry.get(label);\n if (isWidgetBaseConstructor(item)) {\n return item;\n }\n if (item instanceof Promise) {\n return null;\n }\n const promise = item();\n this._widgetRegistry.set(label, promise);\n promise.then((widgetCtor) => {\n if (isWidgetConstructorDefaultExport(widgetCtor)) {\n widgetCtor = widgetCtor.default;\n }\n this._widgetRegistry.set(label, widgetCtor);\n this.emitLoadedEvent(label, widgetCtor);\n return widgetCtor;\n }, (error) => {\n throw error;\n });\n return null;\n }\n getInjector(label) {\n if (!this._injectorRegistry || !this.hasInjector(label)) {\n return null;\n }\n return this._injectorRegistry.get(label);\n }\n has(label) {\n return Boolean(this._widgetRegistry && this._widgetRegistry.has(label));\n }\n hasInjector(label) {\n return Boolean(this._injectorRegistry && this._injectorRegistry.has(label));\n }\n}\nexport default Registry;\n//# sourceMappingURL=Registry.mjs.map" + "optimizationBailout": [ + "ModuleConcatenation bailout: Module uses injected variables (global, process)" + ], + "depth": 5, + "source": "function isFeatureTestThenable(value) {\n return value && value.then;\n}\n/**\n * A cache of results of feature tests\n */\nexport const testCache = {};\n/**\n * A cache of the un-resolved feature tests\n */\nexport const testFunctions = {};\n/**\n * A cache of unresolved thenables (probably promises)\n * @type {{}}\n */\nconst testThenables = {};\n/**\n * A reference to the global scope (`window` in a browser, `global` in NodeJS)\n */\nconst globalScope = (function () {\n /* istanbul ignore else */\n if (typeof window !== 'undefined') {\n // Browsers\n return window;\n }\n else if (typeof global !== 'undefined') {\n // Node\n return global;\n }\n else if (typeof self !== 'undefined') {\n // Web workers\n return self;\n }\n /* istanbul ignore next */\n return {};\n})();\n/* Grab the staticFeatures if there are available */\nconst { staticFeatures } = globalScope.DojoHasEnvironment || {};\n/* Cleaning up the DojoHasEnviornment */\nif ('DojoHasEnvironment' in globalScope) {\n delete globalScope.DojoHasEnvironment;\n}\n/**\n * Custom type guard to narrow the `staticFeatures` to either a map or a function that\n * returns a map.\n *\n * @param value The value to guard for\n */\nfunction isStaticFeatureFunction(value) {\n return typeof value === 'function';\n}\n/**\n * The cache of asserted features that were available in the global scope when the\n * module loaded\n */\nconst staticCache = staticFeatures\n ? isStaticFeatureFunction(staticFeatures)\n ? staticFeatures.apply(globalScope)\n : staticFeatures\n : {}; /* Providing an empty cache, if none was in the environment\n\n/**\n* AMD plugin function.\n*\n* Conditional loads modules based on a has feature test value.\n*\n* @param resourceId Gives the resolved module id to load.\n* @param require The loader require function with respect to the module that contained the plugin resource in its\n* dependency list.\n* @param load Callback to loader that consumes result of plugin demand.\n*/\nexport function load(resourceId, require, load, config) {\n resourceId ? require([resourceId], load) : load();\n}\n/**\n * AMD plugin function.\n *\n * Resolves resourceId into a module id based on possibly-nested tenary expression that branches on has feature test\n * value(s).\n *\n * @param resourceId The id of the module\n * @param normalize Resolves a relative module id into an absolute module id\n */\nexport function normalize(resourceId, normalize) {\n const tokens = resourceId.match(/[\\?:]|[^:\\?]*/g) || [];\n let i = 0;\n function get(skip) {\n const term = tokens[i++];\n if (term === ':') {\n // empty string module name, resolves to null\n return null;\n }\n else {\n // postfixed with a ? means it is a feature to branch on, the term is the name of the feature\n if (tokens[i++] === '?') {\n if (!skip && has(term)) {\n // matched the feature, get the first value from the options\n return get();\n }\n else {\n // did not match, get the second value, passing over the first\n get(true);\n return get(skip);\n }\n }\n // a module\n return term;\n }\n }\n const id = get();\n return id && normalize(id);\n}\n/**\n * Check if a feature has already been registered\n *\n * @param feature the name of the feature\n */\nexport function exists(feature) {\n const normalizedFeature = feature.toLowerCase();\n return Boolean(normalizedFeature in staticCache || normalizedFeature in testCache || testFunctions[normalizedFeature]);\n}\n/**\n * Register a new test for a named feature.\n *\n * @example\n * has.add('dom-addeventlistener', !!document.addEventListener);\n *\n * @example\n * has.add('touch-events', function () {\n * return 'ontouchstart' in document\n * });\n *\n * @param feature the name of the feature\n * @param value the value reported of the feature, or a function that will be executed once on first test\n * @param overwrite if an existing value should be overwritten. Defaults to false.\n */\nexport function add(feature, value, overwrite = false) {\n const normalizedFeature = feature.toLowerCase();\n if (exists(normalizedFeature) && !overwrite && !(normalizedFeature in staticCache)) {\n throw new TypeError(`Feature \"${feature}\" exists and overwrite not true.`);\n }\n if (typeof value === 'function') {\n testFunctions[normalizedFeature] = value;\n }\n else if (isFeatureTestThenable(value)) {\n testThenables[feature] = value.then((resolvedValue) => {\n testCache[feature] = resolvedValue;\n delete testThenables[feature];\n }, () => {\n delete testThenables[feature];\n });\n }\n else {\n testCache[normalizedFeature] = value;\n delete testFunctions[normalizedFeature];\n }\n}\n/**\n * Return the current value of a named feature.\n *\n * @param feature The name (if a string) or identifier (if an integer) of the feature to test.\n */\nexport default function has(feature) {\n let result;\n const normalizedFeature = feature.toLowerCase();\n if (normalizedFeature in staticCache) {\n result = staticCache[normalizedFeature];\n }\n else if (testFunctions[normalizedFeature]) {\n result = testCache[normalizedFeature] = testFunctions[normalizedFeature].call(null);\n delete testFunctions[normalizedFeature];\n }\n else if (normalizedFeature in testCache) {\n result = testCache[normalizedFeature];\n }\n else if (feature in testThenables) {\n return false;\n }\n else {\n throw new TypeError(`Attempt to detect unregistered has feature \"${feature}\"`);\n }\n return result;\n}\n/*\n * Out of the box feature tests\n */\n/* Environments */\n/* Used as a value to provide a debug only code path */\nadd('debug', true);\n/* Detects if the environment is \"browser like\" */\nadd('host-browser', typeof document !== 'undefined' && typeof location !== 'undefined');\n/* Detects if the environment appears to be NodeJS */\nadd('host-node', function () {\n if (typeof process === 'object' && process.versions && process.versions.node) {\n return process.versions.node;\n }\n});\n//# sourceMappingURL=has.mjs.map" }, { - "id": "./node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", - "name": "./node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", - "index": 27, - "index2": 21, - "size": 2856, + "id": 3, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/d.mjs", + "name": "./node_modules/@dojo/framework/widget-core/d.mjs", + "index": 4, + "index2": 8, + "size": 3267, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ - "menu-item" + 0 + ], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + } ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", "failed": false, "errors": 0, "warnings": 0, + "assets": [], "reasons": [ { - "moduleId": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "type": "harmony import", - "userRequest": "./RegistryHandler", - "loc": "6:0-48" - } - ], - "usedExports": [ - "default" - ], - "providedExports": [ - "RegistryHandler", - "default" - ], - "optimizationBailout": [], - "depth": 4, - "source": "import { Map } from '../shim/Map';\nimport { Evented } from '../core/Evented';\nimport { Registry } from './Registry';\nexport class RegistryHandler extends Evented {\n constructor() {\n super();\n this._registry = new Registry();\n this._registryWidgetLabelMap = new Map();\n this._registryInjectorLabelMap = new Map();\n this.own(this._registry);\n const destroy = () => {\n if (this.baseRegistry) {\n this._registryWidgetLabelMap.delete(this.baseRegistry);\n this._registryInjectorLabelMap.delete(this.baseRegistry);\n this.baseRegistry = undefined;\n }\n };\n this.own({ destroy });\n }\n set base(baseRegistry) {\n if (this.baseRegistry) {\n this._registryWidgetLabelMap.delete(this.baseRegistry);\n this._registryInjectorLabelMap.delete(this.baseRegistry);\n }\n this.baseRegistry = baseRegistry;\n }\n define(label, widget) {\n this._registry.define(label, widget);\n }\n defineInjector(label, injector) {\n this._registry.defineInjector(label, injector);\n }\n has(label) {\n return this._registry.has(label) || Boolean(this.baseRegistry && this.baseRegistry.has(label));\n }\n hasInjector(label) {\n return this._registry.hasInjector(label) || Boolean(this.baseRegistry && this.baseRegistry.hasInjector(label));\n }\n get(label, globalPrecedence = false) {\n return this._get(label, globalPrecedence, 'get', this._registryWidgetLabelMap);\n }\n getInjector(label, globalPrecedence = false) {\n return this._get(label, globalPrecedence, 'getInjector', this._registryInjectorLabelMap);\n }\n _get(label, globalPrecedence, getFunctionName, labelMap) {\n const registries = globalPrecedence ? [this.baseRegistry, this._registry] : [this._registry, this.baseRegistry];\n for (let i = 0; i < registries.length; i++) {\n const registry = registries[i];\n if (!registry) {\n continue;\n }\n const item = registry[getFunctionName](label);\n const registeredLabels = labelMap.get(registry) || [];\n if (item) {\n return item;\n }\n else if (registeredLabels.indexOf(label) === -1) {\n const handle = registry.on(label, (event) => {\n if (event.action === 'loaded' &&\n this[getFunctionName](label, globalPrecedence) === event.item) {\n this.emit({ type: 'invalidate' });\n }\n });\n this.own(handle);\n labelMap.set(registry, [...registeredLabels, label]);\n }\n }\n return null;\n }\n}\nexport default RegistryHandler;\n//# sourceMappingURL=RegistryHandler.mjs.map" - }, - { - "id": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "name": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "index": 14, - "index2": 26, - "size": 13720, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu-item" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./d", + "loc": "3:0-65" + }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "type": "harmony import", - "userRequest": "./WidgetBase", - "loc": "2:0-50" + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "16:8-15" }, { - "moduleId": "./src/menu-item/MenuItem.ts", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--3-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--3-1!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--3-2!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu-item!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/src/menu-item/MenuItem.ts", - "module": "./src/menu-item/MenuItem.ts", - "moduleName": "./src/menu-item/MenuItem.ts", - "type": "harmony import", - "userRequest": "@dojo/framework/widget-core/WidgetBase", - "loc": "5:0-68" - } - ], - "usedExports": [ - "WidgetBase", - "noBind" - ], - "providedExports": [ - "noBind", - "WidgetBase", - "default" - ], - "optimizationBailout": [], - "depth": 3, - "source": "import Map from '../shim/Map';\nimport WeakMap from '../shim/WeakMap';\nimport Symbol from '../shim/Symbol';\nimport { v } from './d';\nimport { auto } from './diff';\nimport RegistryHandler from './RegistryHandler';\nimport NodeHandler from './NodeHandler';\nimport { widgetInstanceMap } from './vdom';\nimport { isWidgetBaseConstructor, WIDGET_BASE_TYPE } from './Registry';\nconst decoratorMap = new Map();\nconst boundAuto = auto.bind(null);\nexport const noBind = Symbol.for('dojoNoBind');\n/**\n * Main widget base for all widgets to extend\n */\nexport class WidgetBase {\n /**\n * @constructor\n */\n constructor() {\n /**\n * Indicates if it is the initial set properties cycle\n */\n this._initialProperties = true;\n /**\n * Array of property keys considered changed from the previous set properties\n */\n this._changedPropertyKeys = [];\n this._nodeHandler = new NodeHandler();\n this._handles = [];\n this._children = [];\n this._decoratorCache = new Map();\n this._properties = {};\n this._boundRenderFunc = this.render.bind(this);\n this._boundInvalidate = this.invalidate.bind(this);\n widgetInstanceMap.set(this, {\n dirty: true,\n onAttach: () => {\n this.onAttach();\n },\n onDetach: () => {\n this.onDetach();\n this.destroy();\n },\n nodeHandler: this._nodeHandler,\n registry: () => {\n return this.registry;\n },\n coreProperties: {},\n rendering: false,\n inputProperties: {}\n });\n this._runAfterConstructors();\n }\n meta(MetaType) {\n if (this._metaMap === undefined) {\n this._metaMap = new Map();\n }\n let cached = this._metaMap.get(MetaType);\n if (!cached) {\n cached = new MetaType({\n invalidate: this._boundInvalidate,\n nodeHandler: this._nodeHandler,\n bind: this\n });\n this.own(cached);\n this._metaMap.set(MetaType, cached);\n }\n return cached;\n }\n onAttach() {\n // Do nothing by default.\n }\n onDetach() {\n // Do nothing by default.\n }\n get properties() {\n return this._properties;\n }\n get changedPropertyKeys() {\n return [...this._changedPropertyKeys];\n }\n __setCoreProperties__(coreProperties) {\n const { baseRegistry } = coreProperties;\n const instanceData = widgetInstanceMap.get(this);\n if (instanceData.coreProperties.baseRegistry !== baseRegistry) {\n if (this._registry === undefined) {\n this._registry = new RegistryHandler();\n this.own(this._registry);\n this.own(this._registry.on('invalidate', this._boundInvalidate));\n }\n this._registry.base = baseRegistry;\n this.invalidate();\n }\n instanceData.coreProperties = coreProperties;\n }\n __setProperties__(originalProperties) {\n const instanceData = widgetInstanceMap.get(this);\n instanceData.inputProperties = originalProperties;\n const properties = this._runBeforeProperties(originalProperties);\n const registeredDiffPropertyNames = this.getDecorator('registeredDiffProperty');\n const changedPropertyKeys = [];\n const propertyNames = Object.keys(properties);\n if (this._initialProperties === false || registeredDiffPropertyNames.length !== 0) {\n const allProperties = [...propertyNames, ...Object.keys(this._properties)];\n const checkedProperties = [];\n const diffPropertyResults = {};\n let runReactions = false;\n for (let i = 0; i < allProperties.length; i++) {\n const propertyName = allProperties[i];\n if (checkedProperties.indexOf(propertyName) !== -1) {\n continue;\n }\n checkedProperties.push(propertyName);\n const previousProperty = this._properties[propertyName];\n const newProperty = this._bindFunctionProperty(properties[propertyName], instanceData.coreProperties.bind);\n if (registeredDiffPropertyNames.indexOf(propertyName) !== -1) {\n runReactions = true;\n const diffFunctions = this.getDecorator(`diffProperty:${propertyName}`);\n for (let i = 0; i < diffFunctions.length; i++) {\n const result = diffFunctions[i](previousProperty, newProperty);\n if (result.changed && changedPropertyKeys.indexOf(propertyName) === -1) {\n changedPropertyKeys.push(propertyName);\n }\n if (propertyName in properties) {\n diffPropertyResults[propertyName] = result.value;\n }\n }\n }\n else {\n const result = boundAuto(previousProperty, newProperty);\n if (result.changed && changedPropertyKeys.indexOf(propertyName) === -1) {\n changedPropertyKeys.push(propertyName);\n }\n if (propertyName in properties) {\n diffPropertyResults[propertyName] = result.value;\n }\n }\n }\n if (runReactions) {\n const reactionFunctions = this.getDecorator('diffReaction');\n const executedReactions = [];\n reactionFunctions.forEach(({ reaction, propertyName }) => {\n const propertyChanged = changedPropertyKeys.indexOf(propertyName) !== -1;\n const reactionRun = executedReactions.indexOf(reaction) !== -1;\n if (propertyChanged && !reactionRun) {\n reaction.call(this, this._properties, diffPropertyResults);\n executedReactions.push(reaction);\n }\n });\n }\n this._properties = diffPropertyResults;\n this._changedPropertyKeys = changedPropertyKeys;\n }\n else {\n this._initialProperties = false;\n for (let i = 0; i < propertyNames.length; i++) {\n const propertyName = propertyNames[i];\n if (typeof properties[propertyName] === 'function') {\n properties[propertyName] = this._bindFunctionProperty(properties[propertyName], instanceData.coreProperties.bind);\n }\n else {\n changedPropertyKeys.push(propertyName);\n }\n }\n this._changedPropertyKeys = changedPropertyKeys;\n this._properties = Object.assign({}, properties);\n }\n if (this._changedPropertyKeys.length > 0) {\n this.invalidate();\n }\n }\n get children() {\n return this._children;\n }\n __setChildren__(children) {\n if (this._children.length > 0 || children.length > 0) {\n this._children = children;\n this.invalidate();\n }\n }\n __render__() {\n const instanceData = widgetInstanceMap.get(this);\n instanceData.dirty = false;\n const render = this._runBeforeRenders();\n let dNode = render();\n dNode = this.runAfterRenders(dNode);\n this._nodeHandler.clear();\n return dNode;\n }\n invalidate() {\n const instanceData = widgetInstanceMap.get(this);\n if (instanceData.invalidate) {\n instanceData.invalidate();\n }\n }\n render() {\n return v('div', {}, this.children);\n }\n /**\n * Function to add decorators to WidgetBase\n *\n * @param decoratorKey The key of the decorator\n * @param value The value of the decorator\n */\n addDecorator(decoratorKey, value) {\n value = Array.isArray(value) ? value : [value];\n if (this.hasOwnProperty('constructor')) {\n let decoratorList = decoratorMap.get(this.constructor);\n if (!decoratorList) {\n decoratorList = new Map();\n decoratorMap.set(this.constructor, decoratorList);\n }\n let specificDecoratorList = decoratorList.get(decoratorKey);\n if (!specificDecoratorList) {\n specificDecoratorList = [];\n decoratorList.set(decoratorKey, specificDecoratorList);\n }\n specificDecoratorList.push(...value);\n }\n else {\n const decorators = this.getDecorator(decoratorKey);\n this._decoratorCache.set(decoratorKey, [...decorators, ...value]);\n }\n }\n /**\n * Function to build the list of decorators from the global decorator map.\n *\n * @param decoratorKey The key of the decorator\n * @return An array of decorator values\n * @private\n */\n _buildDecoratorList(decoratorKey) {\n const allDecorators = [];\n let constructor = this.constructor;\n while (constructor) {\n const instanceMap = decoratorMap.get(constructor);\n if (instanceMap) {\n const decorators = instanceMap.get(decoratorKey);\n if (decorators) {\n allDecorators.unshift(...decorators);\n }\n }\n constructor = Object.getPrototypeOf(constructor);\n }\n return allDecorators;\n }\n /**\n * Function to retrieve decorator values\n *\n * @param decoratorKey The key of the decorator\n * @returns An array of decorator values\n */\n getDecorator(decoratorKey) {\n let allDecorators = this._decoratorCache.get(decoratorKey);\n if (allDecorators !== undefined) {\n return allDecorators;\n }\n allDecorators = this._buildDecoratorList(decoratorKey);\n this._decoratorCache.set(decoratorKey, allDecorators);\n return allDecorators;\n }\n /**\n * Binds unbound property functions to the specified `bind` property\n *\n * @param properties properties to check for functions\n */\n _bindFunctionProperty(property, bind) {\n if (typeof property === 'function' && !property[noBind] && isWidgetBaseConstructor(property) === false) {\n if (this._bindFunctionPropertyMap === undefined) {\n this._bindFunctionPropertyMap = new WeakMap();\n }\n const bindInfo = this._bindFunctionPropertyMap.get(property) || {};\n let { boundFunc, scope } = bindInfo;\n if (boundFunc === undefined || scope !== bind) {\n boundFunc = property.bind(bind);\n this._bindFunctionPropertyMap.set(property, { boundFunc, scope: bind });\n }\n return boundFunc;\n }\n return property;\n }\n get registry() {\n if (this._registry === undefined) {\n this._registry = new RegistryHandler();\n this.own(this._registry);\n this.own(this._registry.on('invalidate', this._boundInvalidate));\n }\n return this._registry;\n }\n _runBeforeProperties(properties) {\n const beforeProperties = this.getDecorator('beforeProperties');\n if (beforeProperties.length > 0) {\n return beforeProperties.reduce((properties, beforePropertiesFunction) => {\n return Object.assign({}, properties, beforePropertiesFunction.call(this, properties));\n }, Object.assign({}, properties));\n }\n return properties;\n }\n /**\n * Run all registered before renders and return the updated render method\n */\n _runBeforeRenders() {\n const beforeRenders = this.getDecorator('beforeRender');\n if (beforeRenders.length > 0) {\n return beforeRenders.reduce((render, beforeRenderFunction) => {\n const updatedRender = beforeRenderFunction.call(this, render, this._properties, this._children);\n if (!updatedRender) {\n console.warn('Render function not returned from beforeRender, using previous render');\n return render;\n }\n return updatedRender;\n }, this._boundRenderFunc);\n }\n return this._boundRenderFunc;\n }\n /**\n * Run all registered after renders and return the decorated DNodes\n *\n * @param dNode The DNodes to run through the after renders\n */\n runAfterRenders(dNode) {\n const afterRenders = this.getDecorator('afterRender');\n if (afterRenders.length > 0) {\n dNode = afterRenders.reduce((dNode, afterRenderFunction) => {\n return afterRenderFunction.call(this, dNode);\n }, dNode);\n }\n if (this._metaMap !== undefined) {\n this._metaMap.forEach((meta) => {\n meta.afterRender();\n });\n }\n return dNode;\n }\n _runAfterConstructors() {\n const afterConstructors = this.getDecorator('afterConstructor');\n if (afterConstructors.length > 0) {\n afterConstructors.forEach((afterConstructor) => afterConstructor.call(this));\n }\n }\n own(handle) {\n this._handles.push(handle);\n }\n destroy() {\n while (this._handles.length > 0) {\n const handle = this._handles.pop();\n if (handle) {\n handle.destroy();\n }\n }\n }\n}\n/**\n * static identifier\n */\nWidgetBase._type = WIDGET_BASE_TYPE;\nexport default WidgetBase;\n//# sourceMappingURL=WidgetBase.mjs.map" - }, - { - "id": "./node_modules/@dojo/framework/widget-core/animations/cssTransitions.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/animations/cssTransitions.mjs", - "name": "./node_modules/@dojo/framework/widget-core/animations/cssTransitions.mjs", - "index": 33, - "index2": 27, - "size": 2288, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu-item" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "16:27-34" + }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "module": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "type": "harmony import", - "userRequest": "../animations/cssTransitions", - "loc": "3:0-58" - } - ], - "usedExports": [ - "default" - ], - "providedExports": [ - "default" - ], - "optimizationBailout": [], - "depth": 4, - "source": "let browserSpecificTransitionEndEventName = '';\nlet browserSpecificAnimationEndEventName = '';\nfunction determineBrowserStyleNames(element) {\n if ('WebkitTransition' in element.style) {\n browserSpecificTransitionEndEventName = 'webkitTransitionEnd';\n browserSpecificAnimationEndEventName = 'webkitAnimationEnd';\n }\n else if ('transition' in element.style || 'MozTransition' in element.style) {\n browserSpecificTransitionEndEventName = 'transitionend';\n browserSpecificAnimationEndEventName = 'animationend';\n }\n else {\n throw new Error('Your browser is not supported');\n }\n}\nfunction initialize(element) {\n if (browserSpecificAnimationEndEventName === '') {\n determineBrowserStyleNames(element);\n }\n}\nfunction runAndCleanUp(element, startAnimation, finishAnimation) {\n initialize(element);\n let finished = false;\n let transitionEnd = function () {\n if (!finished) {\n finished = true;\n element.removeEventListener(browserSpecificTransitionEndEventName, transitionEnd);\n element.removeEventListener(browserSpecificAnimationEndEventName, transitionEnd);\n finishAnimation();\n }\n };\n startAnimation();\n element.addEventListener(browserSpecificAnimationEndEventName, transitionEnd);\n element.addEventListener(browserSpecificTransitionEndEventName, transitionEnd);\n}\nfunction exit(node, properties, exitAnimation, removeNode) {\n const activeClass = properties.exitAnimationActive || `${exitAnimation}-active`;\n runAndCleanUp(node, () => {\n node.classList.add(exitAnimation);\n requestAnimationFrame(function () {\n node.classList.add(activeClass);\n });\n }, () => {\n removeNode();\n });\n}\nfunction enter(node, properties, enterAnimation) {\n const activeClass = properties.enterAnimationActive || `${enterAnimation}-active`;\n runAndCleanUp(node, () => {\n node.classList.add(enterAnimation);\n requestAnimationFrame(function () {\n node.classList.add(activeClass);\n });\n }, () => {\n node.classList.remove(enterAnimation);\n node.classList.remove(activeClass);\n });\n}\nexport default {\n enter,\n exit\n};\n//# sourceMappingURL=cssTransitions.mjs.map" - }, - { - "id": "./node_modules/@dojo/framework/widget-core/d.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/d.mjs", - "name": "./node_modules/@dojo/framework/widget-core/d.mjs", - "index": 4, - "index2": 8, - "size": 3267, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu-item" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "17:12-22" + }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "type": "harmony import", + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", "userRequest": "./d", - "loc": "5:0-29" + "loc": "17:34-44" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "type": "harmony import", + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "30:13-20" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "30:32-39" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "314:14-19" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "324:14-19" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "335:14-19" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "353:16-23" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "379:8-15" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "392:8-15" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "434:8-15" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "445:24-31" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "473:12-19" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "474:32-39" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "499:24-31" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "537:16-23" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "564:16-23" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "588:12-19" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "632:8-15" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "726:8-15" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony side effect evaluation", "userRequest": "./d", "loc": "4:0-24" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "module": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "type": "harmony import", + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "198:15-16" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony side effect evaluation", + "userRequest": "./d", + "loc": "5:0-29" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony side effect evaluation", "userRequest": "./../d", "loc": "5:0-27" }, { - "moduleId": "./src/menu-item/MenuItem.ts", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--3-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--3-1!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--3-2!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu-item!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/src/menu-item/MenuItem.ts", - "module": "./src/menu-item/MenuItem.ts", - "moduleName": "./src/menu-item/MenuItem.ts", - "type": "harmony import", + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "26:19-22" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "104:40-43" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "./../d", + "loc": "111:23-24" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "112:27-28" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "160:27-28" + }, + { + "moduleId": 32, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu-item!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu-item/MenuItem.ts a11fae23a54a3263cc267738b3b6cc1d", + "module": "./src/menu-item/MenuItem.ts + 2 modules", + "moduleName": "./src/menu-item/MenuItem.ts + 2 modules", + "type": "harmony side effect evaluation", "userRequest": "@dojo/framework/widget-core/d", "loc": "2:0-50" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/vdom.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", - "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", - "type": "harmony import", - "userRequest": "./d", - "loc": "3:0-65" + "moduleId": 32, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu-item!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu-item/MenuItem.ts a11fae23a54a3263cc267738b3b6cc1d", + "module": "./src/menu-item/MenuItem.ts + 2 modules", + "moduleName": "./src/menu-item/MenuItem.ts + 2 modules", + "type": "harmony import specifier", + "userRequest": "@dojo/framework/widget-core/d", + "loc": "13:15-16" + }, + { + "moduleId": 32, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu-item!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu-item/MenuItem.ts a11fae23a54a3263cc267738b3b6cc1d", + "module": "./src/menu-item/MenuItem.ts + 2 modules", + "moduleName": "./src/menu-item/MenuItem.ts + 2 modules", + "type": "harmony import specifier", + "userRequest": "@dojo/framework/widget-core/d", + "loc": "14:12-13" } ], "usedExports": [ @@ -1678,331 +2202,863 @@ "source": "import Symbol from '../shim/Symbol';\n/**\n * The symbol identifier for a WNode type\n */\nexport const WNODE = Symbol('Identifier for a WNode.');\n/**\n * The symbol identifier for a VNode type\n */\nexport const VNODE = Symbol('Identifier for a VNode.');\n/**\n * The symbol identifier for a VNode type created using dom()\n */\nexport const DOMVNODE = Symbol('Identifier for a VNode created using existing dom.');\n/**\n * Helper function that returns true if the `DNode` is a `WNode` using the `type` property\n */\nexport function isWNode(child) {\n return Boolean(child && typeof child !== 'string' && child.type === WNODE);\n}\n/**\n * Helper function that returns true if the `DNode` is a `VNode` using the `type` property\n */\nexport function isVNode(child) {\n return Boolean(child && typeof child !== 'string' && (child.type === VNODE || child.type === DOMVNODE));\n}\n/**\n * Helper function that returns true if the `DNode` is a `VNode` created with `dom()` using the `type` property\n */\nexport function isDomVNode(child) {\n return Boolean(child && typeof child !== 'string' && child.type === DOMVNODE);\n}\nexport function isElementNode(value) {\n return !!value.tagName;\n}\nexport function decorate(dNodes, optionsOrModifier, predicate) {\n let shallow = false;\n let modifier;\n if (typeof optionsOrModifier === 'function') {\n modifier = optionsOrModifier;\n }\n else {\n modifier = optionsOrModifier.modifier;\n predicate = optionsOrModifier.predicate;\n shallow = optionsOrModifier.shallow || false;\n }\n let nodes = Array.isArray(dNodes) ? [...dNodes] : [dNodes];\n function breaker() {\n nodes = [];\n }\n while (nodes.length) {\n const node = nodes.shift();\n if (node) {\n if (!shallow && (isWNode(node) || isVNode(node)) && node.children) {\n nodes = [...nodes, ...node.children];\n }\n if (!predicate || predicate(node)) {\n modifier(node, breaker);\n }\n }\n }\n return dNodes;\n}\n/**\n * Wrapper function for calls to create a widget.\n */\nexport function w(widgetConstructor, properties, children = []) {\n return {\n children,\n widgetConstructor,\n properties,\n type: WNODE\n };\n}\nexport function v(tag, propertiesOrChildren = {}, children = undefined) {\n let properties = propertiesOrChildren;\n let deferredPropertiesCallback;\n if (Array.isArray(propertiesOrChildren)) {\n children = propertiesOrChildren;\n properties = {};\n }\n if (typeof properties === 'function') {\n deferredPropertiesCallback = properties;\n properties = {};\n }\n return {\n tag,\n deferredPropertiesCallback,\n children,\n properties,\n type: VNODE\n };\n}\n/**\n * Create a VNode for an existing DOM Node.\n */\nexport function dom({ node, attrs = {}, props = {}, on = {}, diffType = 'none' }, children) {\n return {\n tag: isElementNode(node) ? node.tagName.toLowerCase() : '',\n properties: props,\n attributes: attrs,\n events: on,\n children,\n type: DOMVNODE,\n domNode: node,\n text: isElementNode(node) ? undefined : node.data,\n diffType\n };\n}\n//# sourceMappingURL=d.mjs.map" }, { - "id": "./node_modules/@dojo/framework/widget-core/decorators/afterRender.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/afterRender.mjs", - "name": "./node_modules/@dojo/framework/widget-core/decorators/afterRender.mjs", - "index": 34, - "index2": 29, - "size": 311, + "id": 4, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "name": "./node_modules/@dojo/framework/shim/support/has.mjs", + "index": 6, + "index2": 5, + "size": 6446, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ - "menu-item" + 0 + ], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/shim/array.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", + "name": "./node_modules/@dojo/framework/shim/array.mjs" + } ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", "failed": false, "errors": 0, "warnings": 0, + "assets": [], "reasons": [ { - "moduleId": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "module": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "type": "harmony import", - "userRequest": "./../decorators/afterRender", - "loc": "4:0-58" + "moduleId": 5, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", + "module": "./node_modules/@dojo/framework/shim/Map.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Map.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./support/has", + "loc": "4:0-32" + }, + { + "moduleId": 5, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", + "module": "./node_modules/@dojo/framework/shim/Map.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Map.mjs", + "type": "harmony import specifier", + "userRequest": "./support/has", + "loc": "7:5-8" + }, + { + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./support/has", + "loc": "1:0-32" + }, + { + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./support/has", + "loc": "5:5-8" + }, + { + "moduleId": 9, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/WeakMap.mjs", + "module": "./node_modules/@dojo/framework/shim/WeakMap.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/WeakMap.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./support/has", + "loc": "3:0-32" + }, + { + "moduleId": 9, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/WeakMap.mjs", + "module": "./node_modules/@dojo/framework/shim/WeakMap.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/WeakMap.mjs", + "type": "harmony import specifier", + "userRequest": "./support/has", + "loc": "6:5-8" + }, + { + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony side effect evaluation", + "userRequest": "./support/has", + "loc": "2:0-32" + }, + { + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./support/has", + "loc": "106:4-7" + }, + { + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./support/has", + "loc": "106:25-28" + }, + { + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./support/has", + "loc": "252:4-7" + }, + { + "moduleId": 15, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/object.mjs", + "module": "./node_modules/@dojo/framework/shim/object.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/object.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./support/has", + "loc": "2:0-32" + }, + { + "moduleId": 15, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/object.mjs", + "module": "./node_modules/@dojo/framework/shim/object.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/object.mjs", + "type": "harmony import specifier", + "userRequest": "./support/has", + "loc": "39:4-7" + }, + { + "moduleId": 15, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/object.mjs", + "module": "./node_modules/@dojo/framework/shim/object.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/object.mjs", + "type": "harmony import specifier", + "userRequest": "./support/has", + "loc": "91:4-7" + }, + { + "moduleId": 16, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Promise.mjs", + "module": "./node_modules/@dojo/framework/shim/Promise.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Promise.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./support/has", + "loc": "4:0-32" + }, + { + "moduleId": 16, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Promise.mjs", + "module": "./node_modules/@dojo/framework/shim/Promise.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Promise.mjs", + "type": "harmony import specifier", + "userRequest": "./support/has", + "loc": "9:5-8" + }, + { + "moduleId": 23, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony side effect evaluation", + "userRequest": "./support/has", + "loc": "4:0-32" + }, + { + "moduleId": 23, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./support/has", + "loc": "64:4-7" + }, + { + "moduleId": 23, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./support/has", + "loc": "64:24-27" + }, + { + "moduleId": 23, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./support/has", + "loc": "215:4-7" + }, + { + "moduleId": 25, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "module": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./has", + "loc": "2:0-24" + }, + { + "moduleId": 25, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "module": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "type": "harmony import specifier", + "userRequest": "./has", + "loc": "32:8-11" + }, + { + "moduleId": 25, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "module": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "type": "harmony import specifier", + "userRequest": "./has", + "loc": "48:13-16" + }, + { + "moduleId": 25, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "module": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "type": "harmony import specifier", + "userRequest": "./has", + "loc": "72:11-14" + }, + { + "moduleId": 25, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "module": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "type": "harmony import specifier", + "userRequest": "./has", + "loc": "81:5-8" + }, + { + "moduleId": 25, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "module": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "type": "harmony import specifier", + "userRequest": "./has", + "loc": "109:9-12" + }, + { + "moduleId": 25, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "module": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "type": "harmony import specifier", + "userRequest": "./has", + "loc": "123:11-14" + }, + { + "moduleId": 25, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "module": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "type": "harmony import specifier", + "userRequest": "./has", + "loc": "142:8-11" + }, + { + "moduleId": 25, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "module": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "type": "harmony import specifier", + "userRequest": "./has", + "loc": "147:13-16" + }, + { + "moduleId": 25, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "module": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "type": "harmony import specifier", + "userRequest": "./has", + "loc": "152:13-16" } ], "usedExports": [ - "afterRender" + "default" ], "providedExports": [ - "afterRender", - "default" + "default", + "testCache", + "testFunctions", + "load", + "normalize", + "exists", + "add" ], "optimizationBailout": [], "depth": 4, - "source": "import { handleDecorator } from './handleDecorator';\nexport function afterRender(method) {\n return handleDecorator((target, propertyKey) => {\n target.addDecorator('afterRender', propertyKey ? target[propertyKey] : method);\n });\n}\nexport default afterRender;\n//# sourceMappingURL=afterRender.mjs.map" + "source": "import has, { add } from '../../has/has';\nimport global from '../global';\nexport default has;\nexport * from '../../has/has';\n/* ECMAScript 6 and 7 Features */\n/* Array */\nadd('es6-array', () => {\n return (['from', 'of'].every((key) => key in global.Array) &&\n ['findIndex', 'find', 'copyWithin'].every((key) => key in global.Array.prototype));\n}, true);\nadd('es6-array-fill', () => {\n if ('fill' in global.Array.prototype) {\n /* Some versions of Safari do not properly implement this */\n return [1].fill(9, Number.POSITIVE_INFINITY)[0] === 1;\n }\n return false;\n}, true);\nadd('es7-array', () => 'includes' in global.Array.prototype, true);\n/* Map */\nadd('es6-map', () => {\n if (typeof global.Map === 'function') {\n /*\n IE11 and older versions of Safari are missing critical ES6 Map functionality\n We wrap this in a try/catch because sometimes the Map constructor exists, but does not\n take arguments (iOS 8.4)\n */\n try {\n const map = new global.Map([[0, 1]]);\n return (map.has(0) &&\n typeof map.keys === 'function' &&\n has('es6-symbol') &&\n typeof map.values === 'function' &&\n typeof map.entries === 'function');\n }\n catch (e) {\n /* istanbul ignore next: not testing on iOS at the moment */\n return false;\n }\n }\n return false;\n}, true);\n/* Math */\nadd('es6-math', () => {\n return [\n 'clz32',\n 'sign',\n 'log10',\n 'log2',\n 'log1p',\n 'expm1',\n 'cosh',\n 'sinh',\n 'tanh',\n 'acosh',\n 'asinh',\n 'atanh',\n 'trunc',\n 'fround',\n 'cbrt',\n 'hypot'\n ].every((name) => typeof global.Math[name] === 'function');\n}, true);\nadd('es6-math-imul', () => {\n if ('imul' in global.Math) {\n /* Some versions of Safari on ios do not properly implement this */\n return Math.imul(0xffffffff, 5) === -5;\n }\n return false;\n}, true);\n/* Object */\nadd('es6-object', () => {\n return (has('es6-symbol') &&\n ['assign', 'is', 'getOwnPropertySymbols', 'setPrototypeOf'].every((name) => typeof global.Object[name] === 'function'));\n}, true);\nadd('es2017-object', () => {\n return ['values', 'entries', 'getOwnPropertyDescriptors'].every((name) => typeof global.Object[name] === 'function');\n}, true);\n/* Observable */\nadd('es-observable', () => typeof global.Observable !== 'undefined', true);\n/* Promise */\nadd('es6-promise', () => typeof global.Promise !== 'undefined' && has('es6-symbol'), true);\n/* Set */\nadd('es6-set', () => {\n if (typeof global.Set === 'function') {\n /* IE11 and older versions of Safari are missing critical ES6 Set functionality */\n const set = new global.Set([1]);\n return set.has(1) && 'keys' in set && typeof set.keys === 'function' && has('es6-symbol');\n }\n return false;\n}, true);\n/* String */\nadd('es6-string', () => {\n return ([\n /* static methods */\n 'fromCodePoint'\n ].every((key) => typeof global.String[key] === 'function') &&\n [\n /* instance methods */\n 'codePointAt',\n 'normalize',\n 'repeat',\n 'startsWith',\n 'endsWith',\n 'includes'\n ].every((key) => typeof global.String.prototype[key] === 'function'));\n}, true);\nadd('es6-string-raw', () => {\n function getCallSite(callSite, ...substitutions) {\n const result = [...callSite];\n result.raw = callSite.raw;\n return result;\n }\n if ('raw' in global.String) {\n let b = 1;\n let callSite = getCallSite `a\\n${b}`;\n callSite.raw = ['a\\\\n'];\n const supportsTrunc = global.String.raw(callSite, 42) === 'a:\\\\n';\n return supportsTrunc;\n }\n return false;\n}, true);\nadd('es2017-string', () => {\n return ['padStart', 'padEnd'].every((key) => typeof global.String.prototype[key] === 'function');\n}, true);\n/* Symbol */\nadd('es6-symbol', () => typeof global.Symbol !== 'undefined' && typeof Symbol() === 'symbol', true);\n/* WeakMap */\nadd('es6-weakmap', () => {\n if (typeof global.WeakMap !== 'undefined') {\n /* IE11 and older versions of Safari are missing critical ES6 Map functionality */\n const key1 = {};\n const key2 = {};\n const map = new global.WeakMap([[key1, 1]]);\n Object.freeze(key1);\n return map.get(key1) === 1 && map.set(key2, 2) === map && has('es6-symbol');\n }\n return false;\n}, true);\n/* Miscellaneous features */\nadd('microtasks', () => has('es6-promise') || has('host-node') || has('dom-mutationobserver'), true);\nadd('postmessage', () => {\n // If window is undefined, and we have postMessage, it probably means we're in a web worker. Web workers have\n // post message but it doesn't work how we expect it to, so it's best just to pretend it doesn't exist.\n return typeof global.window !== 'undefined' && typeof global.postMessage === 'function';\n}, true);\nadd('raf', () => typeof global.requestAnimationFrame === 'function', true);\nadd('setimmediate', () => typeof global.setImmediate !== 'undefined', true);\n/* DOM Features */\nadd('dom-mutationobserver', () => {\n if (has('host-browser') && Boolean(global.MutationObserver || global.WebKitMutationObserver)) {\n // IE11 has an unreliable MutationObserver implementation where setProperty() does not\n // generate a mutation event, observers can crash, and the queue does not drain\n // reliably. The following feature test was adapted from\n // https://gist.github.com/t10ko/4aceb8c71681fdb275e33efe5e576b14\n const example = document.createElement('div');\n /* tslint:disable-next-line:variable-name */\n const HostMutationObserver = global.MutationObserver || global.WebKitMutationObserver;\n const observer = new HostMutationObserver(function () { });\n observer.observe(example, { attributes: true });\n example.style.setProperty('display', 'block');\n return Boolean(observer.takeRecords().length);\n }\n return false;\n}, true);\nadd('dom-webanimation', () => has('host-browser') && global.Animation !== undefined && global.KeyframeEffect !== undefined, true);\nadd('abort-controller', () => typeof global.AbortController !== 'undefined');\nadd('abort-signal', () => typeof global.AbortSignal !== 'undefined');\n//# sourceMappingURL=has.mjs.map" }, { - "id": "./node_modules/@dojo/framework/widget-core/decorators/alwaysRender.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/alwaysRender.mjs", - "name": "./node_modules/@dojo/framework/widget-core/decorators/alwaysRender.mjs", - "index": 41, - "index2": 36, - "size": 365, + "id": 5, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", + "name": "./node_modules/@dojo/framework/shim/Map.mjs", + "index": 16, + "index2": 13, + "size": 3341, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ - "menu-item" + 0 + ], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "name": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs" + } ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", "failed": false, "errors": 0, "warnings": 0, + "assets": [], "reasons": [ { - "moduleId": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "type": "harmony import", - "userRequest": "./decorators/alwaysRender", - "loc": "8:0-57" + "moduleId": 8, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", + "module": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "type": "harmony side effect evaluation", + "userRequest": "../shim/Map", + "loc": "2:0-30" + }, + { + "moduleId": 8, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", + "module": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "type": "harmony import specifier", + "userRequest": "../shim/Map", + "loc": "40:39-42" + }, + { + "moduleId": 8, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", + "module": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "type": "harmony import specifier", + "userRequest": "../shim/Map", + "loc": "61:41-44" + }, + { + "moduleId": 11, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/core/Evented.mjs 5a735fda53696584e4cc34e239a550e6", + "module": "./node_modules/@dojo/framework/core/Evented.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/core/Evented.mjs + 1 modules", + "type": "harmony side effect evaluation", + "userRequest": "../shim/Map", + "loc": "1:0-30" + }, + { + "moduleId": 11, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/core/Evented.mjs 5a735fda53696584e4cc34e239a550e6", + "module": "./node_modules/@dojo/framework/core/Evented.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/core/Evented.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "../shim/Map", + "loc": "6:21-24" + }, + { + "moduleId": 11, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/core/Evented.mjs 5a735fda53696584e4cc34e239a550e6", + "module": "./node_modules/@dojo/framework/core/Evented.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/core/Evented.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "../shim/Map", + "loc": "37:32-35" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony side effect evaluation", + "userRequest": "../shim/Map", + "loc": "1:0-34" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony side effect evaluation", + "userRequest": "../shim/Map", + "loc": "1:0-30" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony side effect evaluation", + "userRequest": "../shim/Map", + "loc": "2:0-30" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony import specifier", + "userRequest": "../shim/Map", + "loc": "8:43-46" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony import specifier", + "userRequest": "../shim/Map", + "loc": "9:45-48" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony import specifier", + "userRequest": "../shim/Map", + "loc": "10:25-28" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony import specifier", + "userRequest": "../shim/Map", + "loc": "16:28-31" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony import specifier", + "userRequest": "../shim/Map", + "loc": "32:35-38" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony import specifier", + "userRequest": "../shim/Map", + "loc": "57:32-35" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony import specifier", + "userRequest": "../shim/Map", + "loc": "211:36-39" } ], "usedExports": [ - "alwaysRender" + "Map", + "default" ], "providedExports": [ - "alwaysRender", + "Map", "default" ], "optimizationBailout": [], - "depth": 3, - "source": "import { handleDecorator } from './handleDecorator';\nimport { beforeProperties } from './beforeProperties';\nexport function alwaysRender() {\n return handleDecorator((target, propertyKey) => {\n beforeProperties(function () {\n this.invalidate();\n })(target);\n });\n}\nexport default alwaysRender;\n//# sourceMappingURL=alwaysRender.mjs.map" + "depth": 4, + "source": "import { isArrayLike, ShimIterator } from './iterator';\nimport global from './global';\nimport { is as objectIs } from './object';\nimport has from './support/has';\nimport './Symbol';\nexport let Map = global.Map;\nif (!has('es6-map')) {\n Map = (_a = class Map {\n constructor(iterable) {\n this._keys = [];\n this._values = [];\n this[Symbol.toStringTag] = 'Map';\n if (iterable) {\n if (isArrayLike(iterable)) {\n for (let i = 0; i < iterable.length; i++) {\n const value = iterable[i];\n this.set(value[0], value[1]);\n }\n }\n else {\n for (const value of iterable) {\n this.set(value[0], value[1]);\n }\n }\n }\n }\n /**\n * An alternative to Array.prototype.indexOf using Object.is\n * to check for equality. See http://mzl.la/1zuKO2V\n */\n _indexOfKey(keys, key) {\n for (let i = 0, length = keys.length; i < length; i++) {\n if (objectIs(keys[i], key)) {\n return i;\n }\n }\n return -1;\n }\n get size() {\n return this._keys.length;\n }\n clear() {\n this._keys.length = this._values.length = 0;\n }\n delete(key) {\n const index = this._indexOfKey(this._keys, key);\n if (index < 0) {\n return false;\n }\n this._keys.splice(index, 1);\n this._values.splice(index, 1);\n return true;\n }\n entries() {\n const values = this._keys.map((key, i) => {\n return [key, this._values[i]];\n });\n return new ShimIterator(values);\n }\n forEach(callback, context) {\n const keys = this._keys;\n const values = this._values;\n for (let i = 0, length = keys.length; i < length; i++) {\n callback.call(context, values[i], keys[i], this);\n }\n }\n get(key) {\n const index = this._indexOfKey(this._keys, key);\n return index < 0 ? undefined : this._values[index];\n }\n has(key) {\n return this._indexOfKey(this._keys, key) > -1;\n }\n keys() {\n return new ShimIterator(this._keys);\n }\n set(key, value) {\n let index = this._indexOfKey(this._keys, key);\n index = index < 0 ? this._keys.length : index;\n this._keys[index] = key;\n this._values[index] = value;\n return this;\n }\n values() {\n return new ShimIterator(this._values);\n }\n [Symbol.iterator]() {\n return this.entries();\n }\n },\n _a[Symbol.species] = _a,\n _a);\n}\nexport default Map;\nvar _a;\n//# sourceMappingURL=Map.mjs.map" }, { - "id": "./node_modules/@dojo/framework/widget-core/decorators/beforeProperties.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/beforeProperties.mjs", - "name": "./node_modules/@dojo/framework/widget-core/decorators/beforeProperties.mjs", - "index": 39, - "index2": 32, - "size": 331, + "id": 6, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "name": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "index": 5, + "index2": 7, + "size": 5942, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ - "menu-item" + 0 ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/alwaysRender.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/decorators/alwaysRender.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/decorators/alwaysRender.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/d.mjs", + "issuerId": 3, + "issuerName": "./node_modules/@dojo/framework/widget-core/d.mjs", + "issuerPath": [ { - "moduleId": "./node_modules/@dojo/framework/widget-core/decorators/alwaysRender.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/alwaysRender.mjs", - "module": "./node_modules/@dojo/framework/widget-core/decorators/alwaysRender.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/decorators/alwaysRender.mjs", - "type": "harmony import", - "userRequest": "./beforeProperties", - "loc": "2:0-54" + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/decorators/inject.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/inject.mjs", - "module": "./node_modules/@dojo/framework/widget-core/decorators/inject.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/decorators/inject.mjs", - "type": "harmony import", - "userRequest": "./beforeProperties", - "loc": "3:0-54" - } - ], - "usedExports": [ - "beforeProperties" - ], - "providedExports": [ - "beforeProperties", - "default" - ], - "optimizationBailout": [], - "depth": 4, - "source": "import { handleDecorator } from './handleDecorator';\nexport function beforeProperties(method) {\n return handleDecorator((target, propertyKey) => {\n target.addDecorator('beforeProperties', propertyKey ? target[propertyKey] : method);\n });\n}\nexport default beforeProperties;\n//# sourceMappingURL=beforeProperties.mjs.map" - }, - { - "id": "./node_modules/@dojo/framework/widget-core/decorators/customElement.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/customElement.mjs", - "name": "./node_modules/@dojo/framework/widget-core/decorators/customElement.mjs", - "index": 12, - "index2": 38, - "size": 728, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu-item" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--3-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--3-1!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--3-2!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu-item!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/src/menu-item/MenuItem.ts", - "issuerId": "./src/menu-item/MenuItem.ts", - "issuerName": "./src/menu-item/MenuItem.ts", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, { - "moduleId": "./src/menu-item/MenuItem.ts", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--3-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--3-1!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--3-2!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu-item!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/src/menu-item/MenuItem.ts", - "module": "./src/menu-item/MenuItem.ts", - "moduleName": "./src/menu-item/MenuItem.ts", - "type": "harmony import", - "userRequest": "@dojo/framework/widget-core/decorators/customElement", - "loc": "3:0-85" + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": 3, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/d.mjs", + "name": "./node_modules/@dojo/framework/widget-core/d.mjs" } ], - "usedExports": [ - "customElement" - ], - "providedExports": [ - "customElement", - "default" - ], - "optimizationBailout": [], - "depth": 3, - "source": "import { CustomElementChildType } from '../registerCustomElement';\nimport Registry from '../Registry';\n/**\n * This Decorator is provided properties that define the behavior of a custom element, and\n * registers that custom element.\n */\nexport function customElement({ tag, properties = [], attributes = [], events = [], childType = CustomElementChildType.DOJO, registryFactory = () => new Registry() }) {\n return function (target) {\n target.prototype.__customElementDescriptor = {\n tagName: tag,\n attributes,\n properties,\n events,\n childType,\n registryFactory\n };\n };\n}\nexport default customElement;\n//# sourceMappingURL=customElement.mjs.map" - }, - { - "id": 0, - "identifier": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", - "name": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js", - "index": 0, - "index2": 42, - "size": 28, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu-item" - ], - "assets": [], - "issuer": null, - "issuerId": null, - "issuerName": null, "failed": false, "errors": 0, "warnings": 0, - "reasons": [], - "usedExports": true, - "providedExports": null, - "optimizationBailout": [], - "depth": 0 - }, - { - "id": "./node_modules/@dojo/framework/widget-core/decorators/diffProperty.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/diffProperty.mjs", - "name": "./node_modules/@dojo/framework/widget-core/decorators/diffProperty.mjs", - "index": 40, - "index2": 34, - "size": 1014, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu-item" - ], "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "failed": false, - "errors": 0, - "warnings": 0, "reasons": [ { - "moduleId": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "type": "harmony import", - "userRequest": "./../decorators/diffProperty", - "loc": "5:0-60" + "moduleId": 3, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/d.mjs", + "module": "./node_modules/@dojo/framework/widget-core/d.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/d.mjs", + "type": "harmony side effect evaluation", + "userRequest": "../shim/Symbol", + "loc": "1:0-36" + }, + { + "moduleId": 3, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/d.mjs", + "module": "./node_modules/@dojo/framework/widget-core/d.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/d.mjs", + "type": "harmony import specifier", + "userRequest": "../shim/Symbol", + "loc": "5:21-27" + }, + { + "moduleId": 3, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/d.mjs", + "module": "./node_modules/@dojo/framework/widget-core/d.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/d.mjs", + "type": "harmony import specifier", + "userRequest": "../shim/Symbol", + "loc": "9:21-27" + }, + { + "moduleId": 3, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/d.mjs", + "module": "./node_modules/@dojo/framework/widget-core/d.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/d.mjs", + "type": "harmony import specifier", + "userRequest": "../shim/Symbol", + "loc": "13:24-30" + }, + { + "moduleId": 5, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", + "module": "./node_modules/@dojo/framework/shim/Map.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Map.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./Symbol", + "loc": "5:0-18" + }, + { + "moduleId": 8, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", + "module": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "type": "harmony side effect evaluation", + "userRequest": "../shim/Symbol", + "loc": "3:0-36" + }, + { + "moduleId": 8, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", + "module": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "type": "harmony import specifier", + "userRequest": "../shim/Symbol", + "loc": "8:32-38" + }, + { + "moduleId": 9, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/WeakMap.mjs", + "module": "./node_modules/@dojo/framework/shim/WeakMap.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/WeakMap.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./Symbol", + "loc": "4:0-18" + }, + { + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony side effect evaluation", + "userRequest": "./Symbol", + "loc": "1:0-18" + }, + { + "moduleId": 15, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/object.mjs", + "module": "./node_modules/@dojo/framework/shim/object.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/object.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./Symbol", + "loc": "3:0-36" + }, + { + "moduleId": 15, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/object.mjs", + "module": "./node_modules/@dojo/framework/shim/object.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/object.mjs", + "type": "harmony import specifier", + "userRequest": "./Symbol", + "loc": "69:12-20" + }, + { + "moduleId": 16, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Promise.mjs", + "module": "./node_modules/@dojo/framework/shim/Promise.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Promise.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./Symbol", + "loc": "3:0-18" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony side effect evaluation", + "userRequest": "../shim/Symbol", + "loc": "3:0-36" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony import specifier", + "userRequest": "../shim/Symbol", + "loc": "12:22-28" } ], "usedExports": [ - "diffProperty" + "default", + "isSymbol" ], "providedExports": [ - "diffProperty", + "Symbol", + "isSymbol", "default" ], "optimizationBailout": [], "depth": 4, - "source": "import { handleDecorator } from './handleDecorator';\nimport { auto } from './../diff';\n/**\n * Decorator that can be used to register a function as a specific property diff\n *\n * @param propertyName The name of the property of which the diff function is applied\n * @param diffType The diff type, default is DiffType.AUTO.\n * @param diffFunction A diff function to run if diffType if DiffType.CUSTOM\n */\nexport function diffProperty(propertyName, diffFunction = auto, reactionFunction) {\n return handleDecorator((target, propertyKey) => {\n target.addDecorator(`diffProperty:${propertyName}`, diffFunction.bind(null));\n target.addDecorator('registeredDiffProperty', propertyName);\n if (reactionFunction || propertyKey) {\n target.addDecorator('diffReaction', {\n propertyName,\n reaction: propertyKey ? target[propertyKey] : reactionFunction\n });\n }\n });\n}\nexport default diffProperty;\n//# sourceMappingURL=diffProperty.mjs.map" + "source": "import has from './support/has';\nimport global from './global';\nimport { getValueDescriptor } from './support/util';\nexport let Symbol = global.Symbol;\nif (!has('es6-symbol')) {\n /**\n * Throws if the value is not a symbol, used internally within the Shim\n * @param {any} value The value to check\n * @return {symbol} Returns the symbol or throws\n */\n const validateSymbol = function validateSymbol(value) {\n if (!isSymbol(value)) {\n throw new TypeError(value + ' is not a symbol');\n }\n return value;\n };\n const defineProperties = Object.defineProperties;\n const defineProperty = Object.defineProperty;\n const create = Object.create;\n const objPrototype = Object.prototype;\n const globalSymbols = {};\n const getSymbolName = (function () {\n const created = create(null);\n return function (desc) {\n let postfix = 0;\n let name;\n while (created[String(desc) + (postfix || '')]) {\n ++postfix;\n }\n desc += String(postfix || '');\n created[desc] = true;\n name = '@@' + desc;\n // FIXME: Temporary guard until the duplicate execution when testing can be\n // pinned down.\n if (!Object.getOwnPropertyDescriptor(objPrototype, name)) {\n defineProperty(objPrototype, name, {\n set: function (value) {\n defineProperty(this, name, getValueDescriptor(value));\n }\n });\n }\n return name;\n };\n })();\n const InternalSymbol = function Symbol(description) {\n if (this instanceof InternalSymbol) {\n throw new TypeError('TypeError: Symbol is not a constructor');\n }\n return Symbol(description);\n };\n Symbol = global.Symbol = function Symbol(description) {\n if (this instanceof Symbol) {\n throw new TypeError('TypeError: Symbol is not a constructor');\n }\n const sym = Object.create(InternalSymbol.prototype);\n description = description === undefined ? '' : String(description);\n return defineProperties(sym, {\n __description__: getValueDescriptor(description),\n __name__: getValueDescriptor(getSymbolName(description))\n });\n };\n /* Decorate the Symbol function with the appropriate properties */\n defineProperty(Symbol, 'for', getValueDescriptor(function (key) {\n if (globalSymbols[key]) {\n return globalSymbols[key];\n }\n return (globalSymbols[key] = Symbol(String(key)));\n }));\n defineProperties(Symbol, {\n keyFor: getValueDescriptor(function (sym) {\n let key;\n validateSymbol(sym);\n for (key in globalSymbols) {\n if (globalSymbols[key] === sym) {\n return key;\n }\n }\n }),\n hasInstance: getValueDescriptor(Symbol.for('hasInstance'), false, false),\n isConcatSpreadable: getValueDescriptor(Symbol.for('isConcatSpreadable'), false, false),\n iterator: getValueDescriptor(Symbol.for('iterator'), false, false),\n match: getValueDescriptor(Symbol.for('match'), false, false),\n observable: getValueDescriptor(Symbol.for('observable'), false, false),\n replace: getValueDescriptor(Symbol.for('replace'), false, false),\n search: getValueDescriptor(Symbol.for('search'), false, false),\n species: getValueDescriptor(Symbol.for('species'), false, false),\n split: getValueDescriptor(Symbol.for('split'), false, false),\n toPrimitive: getValueDescriptor(Symbol.for('toPrimitive'), false, false),\n toStringTag: getValueDescriptor(Symbol.for('toStringTag'), false, false),\n unscopables: getValueDescriptor(Symbol.for('unscopables'), false, false)\n });\n /* Decorate the InternalSymbol object */\n defineProperties(InternalSymbol.prototype, {\n constructor: getValueDescriptor(Symbol),\n toString: getValueDescriptor(function () {\n return this.__name__;\n }, false, false)\n });\n /* Decorate the Symbol.prototype */\n defineProperties(Symbol.prototype, {\n toString: getValueDescriptor(function () {\n return 'Symbol (' + validateSymbol(this).__description__ + ')';\n }),\n valueOf: getValueDescriptor(function () {\n return validateSymbol(this);\n })\n });\n defineProperty(Symbol.prototype, Symbol.toPrimitive, getValueDescriptor(function () {\n return validateSymbol(this);\n }));\n defineProperty(Symbol.prototype, Symbol.toStringTag, getValueDescriptor('Symbol', false, false, true));\n defineProperty(InternalSymbol.prototype, Symbol.toPrimitive, getValueDescriptor(Symbol.prototype[Symbol.toPrimitive], false, false, true));\n defineProperty(InternalSymbol.prototype, Symbol.toStringTag, getValueDescriptor(Symbol.prototype[Symbol.toStringTag], false, false, true));\n}\n/**\n * A custom guard function that determines if an object is a symbol or not\n * @param {any} value The value to check to see if it is a symbol or not\n * @return {is symbol} Returns true if a symbol or not (and narrows the type guard)\n */\nexport function isSymbol(value) {\n return (value && (typeof value === 'symbol' || value['@@toStringTag'] === 'Symbol')) || false;\n}\n/**\n * Fill any missing well known symbols if the native Symbol is missing them\n */\n[\n 'hasInstance',\n 'isConcatSpreadable',\n 'iterator',\n 'species',\n 'replace',\n 'search',\n 'split',\n 'match',\n 'toPrimitive',\n 'toStringTag',\n 'unscopables',\n 'observable'\n].forEach((wellKnown) => {\n if (!Symbol[wellKnown]) {\n Object.defineProperty(Symbol, wellKnown, getValueDescriptor(Symbol.for(wellKnown), false, false));\n }\n});\nexport default Symbol;\n//# sourceMappingURL=Symbol.mjs.map" }, { - "id": "./node_modules/@dojo/framework/widget-core/decorators/handleDecorator.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/handleDecorator.mjs", + "id": 7, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/handleDecorator.mjs", "name": "./node_modules/@dojo/framework/widget-core/decorators/handleDecorator.mjs", - "index": 35, - "index2": 28, + "index": 38, + "index2": 31, "size": 512, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ - "menu-item" + 0 ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "issuerId": null, "issuerName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "name": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs" + } + ], "failed": false, "errors": 0, "warnings": 0, + "assets": [], "reasons": [ { - "moduleId": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "type": "harmony import", + "moduleId": 19, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs 7cf860e45721ea2eddfdcf432935cea3", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "type": "harmony side effect evaluation", + "userRequest": "./handleDecorator", + "loc": "1:0-52" + }, + { + "moduleId": 19, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs 7cf860e45721ea2eddfdcf432935cea3", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "type": "harmony side effect evaluation", + "userRequest": "./handleDecorator", + "loc": "2:0-52" + }, + { + "moduleId": 19, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs 7cf860e45721ea2eddfdcf432935cea3", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "type": "harmony side effect evaluation", "userRequest": "./../decorators/handleDecorator", "loc": "4:0-66" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/decorators/alwaysRender.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/alwaysRender.mjs", - "module": "./node_modules/@dojo/framework/widget-core/decorators/alwaysRender.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/decorators/alwaysRender.mjs", - "type": "harmony import", + "moduleId": 19, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs 7cf860e45721ea2eddfdcf432935cea3", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "type": "harmony import specifier", "userRequest": "./handleDecorator", - "loc": "1:0-52" + "loc": "11:11-26" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/decorators/afterRender.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/afterRender.mjs", - "module": "./node_modules/@dojo/framework/widget-core/decorators/afterRender.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/decorators/afterRender.mjs", - "type": "harmony import", - "userRequest": "./handleDecorator", - "loc": "1:0-52" + "moduleId": 19, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs 7cf860e45721ea2eddfdcf432935cea3", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "type": "harmony import specifier", + "userRequest": "./../decorators/handleDecorator", + "loc": "13:11-26" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/decorators/inject.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/inject.mjs", - "module": "./node_modules/@dojo/framework/widget-core/decorators/inject.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/decorators/inject.mjs", - "type": "harmony import", + "moduleId": 19, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs 7cf860e45721ea2eddfdcf432935cea3", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "type": "harmony import specifier", "userRequest": "./handleDecorator", - "loc": "2:0-52" + "loc": "16:11-26" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/decorators/diffProperty.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/diffProperty.mjs", - "module": "./node_modules/@dojo/framework/widget-core/decorators/diffProperty.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/decorators/diffProperty.mjs", - "type": "harmony import", + "moduleId": 22, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/beforeProperties.mjs", + "module": "./node_modules/@dojo/framework/widget-core/decorators/beforeProperties.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/decorators/beforeProperties.mjs", + "type": "harmony side effect evaluation", "userRequest": "./handleDecorator", "loc": "1:0-52" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/decorators/beforeProperties.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/beforeProperties.mjs", + "moduleId": 22, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/beforeProperties.mjs", "module": "./node_modules/@dojo/framework/widget-core/decorators/beforeProperties.mjs", "moduleName": "./node_modules/@dojo/framework/widget-core/decorators/beforeProperties.mjs", - "type": "harmony import", + "type": "harmony import specifier", + "userRequest": "./handleDecorator", + "loc": "3:11-26" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony side effect evaluation", + "userRequest": "./handleDecorator", + "loc": "1:0-52" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony side effect evaluation", "userRequest": "./handleDecorator", "loc": "1:0-52" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "./handleDecorator", + "loc": "3:11-26" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "./handleDecorator", + "loc": "4:11-26" } ], "usedExports": [ @@ -2017,307 +3073,1194 @@ "source": "/**\n * Generic decorator handler to take care of whether or not the decorator was called at the class level\n * or the method level.\n *\n * @param handler\n */\nexport function handleDecorator(handler) {\n return function (target, propertyKey, descriptor) {\n if (typeof target === 'function') {\n handler(target.prototype, undefined);\n }\n else {\n handler(target, propertyKey);\n }\n };\n}\nexport default handleDecorator;\n//# sourceMappingURL=handleDecorator.mjs.map" }, { - "id": "./node_modules/@dojo/framework/widget-core/decorators/inject.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/inject.mjs", - "name": "./node_modules/@dojo/framework/widget-core/decorators/inject.mjs", - "index": 38, - "index2": 33, - "size": 1532, + "id": 8, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", + "name": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "index": 22, + "index2": 22, + "size": 3690, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ - "menu-item" + 0 + ], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "name": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs" + } ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", "failed": false, "errors": 0, "warnings": 0, + "assets": [], "reasons": [ { - "moduleId": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "type": "harmony import", - "userRequest": "./../decorators/inject", - "loc": "3:0-48" - } - ], - "usedExports": [ - "inject" - ], - "providedExports": [ - "inject", - "default" - ], - "optimizationBailout": [], - "depth": 4, - "source": "import WeakMap from '../../shim/WeakMap';\nimport { handleDecorator } from './handleDecorator';\nimport { beforeProperties } from './beforeProperties';\n/**\n * Map of instances against registered injectors.\n */\nconst registeredInjectorsMap = new WeakMap();\n/**\n * Decorator retrieves an injector from an available registry using the name and\n * calls the `getProperties` function with the payload from the injector\n * and current properties with the the injected properties returned.\n *\n * @param InjectConfig the inject configuration\n */\nexport function inject({ name, getProperties }) {\n return handleDecorator((target, propertyKey) => {\n beforeProperties(function (properties) {\n const injectorItem = this.registry.getInjector(name);\n if (injectorItem) {\n const { injector, invalidator } = injectorItem;\n const registeredInjectors = registeredInjectorsMap.get(this) || [];\n if (registeredInjectors.length === 0) {\n registeredInjectorsMap.set(this, registeredInjectors);\n }\n if (registeredInjectors.indexOf(injectorItem) === -1) {\n this.own(invalidator.on('invalidate', () => {\n this.invalidate();\n }));\n registeredInjectors.push(injectorItem);\n }\n return getProperties(injector(), properties);\n }\n })(target);\n });\n}\nexport default inject;\n//# sourceMappingURL=inject.mjs.map" - }, - { - "id": "./node_modules/@dojo/framework/widget-core/diff.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/diff.mjs", - "name": "./node_modules/@dojo/framework/widget-core/diff.mjs", - "index": 20, - "index2": 20, - "size": 1930, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu-item" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./Registry", + "loc": "4:0-53" + }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "type": "harmony import", - "userRequest": "./diff", - "loc": "5:0-30" + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "./Registry", + "loc": "635:13-36" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "type": "harmony import", - "userRequest": "./../diff", - "loc": "6:0-36" + "moduleId": 14, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/diff.mjs", + "module": "./node_modules/@dojo/framework/widget-core/diff.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/diff.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./Registry", + "loc": "1:0-46" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/decorators/diffProperty.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/diffProperty.mjs", - "module": "./node_modules/@dojo/framework/widget-core/decorators/diffProperty.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/decorators/diffProperty.mjs", - "type": "harmony import", - "userRequest": "./../diff", - "loc": "2:0-33" + "moduleId": 14, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/diff.mjs", + "module": "./node_modules/@dojo/framework/widget-core/diff.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/diff.mjs", + "type": "harmony import specifier", + "userRequest": "./Registry", + "loc": "51:34-50" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony side effect evaluation", + "userRequest": "./Registry", + "loc": "3:0-38" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony import specifier", + "userRequest": "./Registry", + "loc": "7:29-37" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony side effect evaluation", + "userRequest": "./Registry", + "loc": "9:0-71" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony import specifier", + "userRequest": "./Registry", + "loc": "269:67-90" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony import specifier", + "userRequest": "./Registry", + "loc": "357:19-35" + }, + { + "moduleId": 32, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu-item!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu-item/MenuItem.ts a11fae23a54a3263cc267738b3b6cc1d", + "module": "./src/menu-item/MenuItem.ts + 2 modules", + "moduleName": "./src/menu-item/MenuItem.ts + 2 modules", + "type": "harmony side effect evaluation", + "userRequest": "../Registry", + "loc": "2:0-35" + }, + { + "moduleId": 32, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu-item!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu-item/MenuItem.ts a11fae23a54a3263cc267738b3b6cc1d", + "module": "./src/menu-item/MenuItem.ts + 2 modules", + "moduleName": "./src/menu-item/MenuItem.ts + 2 modules", + "type": "harmony import specifier", + "userRequest": "../Registry", + "loc": "7:153-161" } ], "usedExports": [ - "auto", - "shallow" + "Registry", + "WIDGET_BASE_TYPE", + "default", + "isWidgetBaseConstructor" ], "providedExports": [ - "always", - "ignore", - "reference", - "shallow", - "auto" + "WIDGET_BASE_TYPE", + "isWidgetBaseConstructor", + "isWidgetConstructorDefaultExport", + "Registry", + "default" ], "optimizationBailout": [], "depth": 4, - "source": "import { WIDGET_BASE_TYPE } from './Registry';\nfunction isObjectOrArray(value) {\n return Object.prototype.toString.call(value) === '[object Object]' || Array.isArray(value);\n}\nexport function always(previousProperty, newProperty) {\n return {\n changed: true,\n value: newProperty\n };\n}\nexport function ignore(previousProperty, newProperty) {\n return {\n changed: false,\n value: newProperty\n };\n}\nexport function reference(previousProperty, newProperty) {\n return {\n changed: previousProperty !== newProperty,\n value: newProperty\n };\n}\nexport function shallow(previousProperty, newProperty) {\n let changed = false;\n const validOldProperty = previousProperty && isObjectOrArray(previousProperty);\n const validNewProperty = newProperty && isObjectOrArray(newProperty);\n if (!validOldProperty || !validNewProperty) {\n return {\n changed: true,\n value: newProperty\n };\n }\n const previousKeys = Object.keys(previousProperty);\n const newKeys = Object.keys(newProperty);\n if (previousKeys.length !== newKeys.length) {\n changed = true;\n }\n else {\n changed = newKeys.some((key) => {\n return newProperty[key] !== previousProperty[key];\n });\n }\n return {\n changed,\n value: newProperty\n };\n}\nexport function auto(previousProperty, newProperty) {\n let result;\n if (typeof newProperty === 'function') {\n if (newProperty._type === WIDGET_BASE_TYPE) {\n result = reference(previousProperty, newProperty);\n }\n else {\n result = ignore(previousProperty, newProperty);\n }\n }\n else if (isObjectOrArray(newProperty)) {\n result = shallow(previousProperty, newProperty);\n }\n else {\n result = reference(previousProperty, newProperty);\n }\n return result;\n}\n//# sourceMappingURL=diff.mjs.map" + "source": "import Promise from '../shim/Promise';\nimport Map from '../shim/Map';\nimport Symbol from '../shim/Symbol';\nimport { Evented } from '../core/Evented';\n/**\n * Widget base symbol type\n */\nexport const WIDGET_BASE_TYPE = Symbol('Widget Base');\n/**\n * Checks is the item is a subclass of WidgetBase (or a WidgetBase)\n *\n * @param item the item to check\n * @returns true/false indicating if the item is a WidgetBaseConstructor\n */\nexport function isWidgetBaseConstructor(item) {\n return Boolean(item && item._type === WIDGET_BASE_TYPE);\n}\nexport function isWidgetConstructorDefaultExport(item) {\n return Boolean(item &&\n item.hasOwnProperty('__esModule') &&\n item.hasOwnProperty('default') &&\n isWidgetBaseConstructor(item.default));\n}\n/**\n * The Registry implementation\n */\nexport class Registry extends Evented {\n /**\n * Emit loaded event for registry label\n */\n emitLoadedEvent(widgetLabel, item) {\n this.emit({\n type: widgetLabel,\n action: 'loaded',\n item\n });\n }\n define(label, item) {\n if (this._widgetRegistry === undefined) {\n this._widgetRegistry = new Map();\n }\n if (this._widgetRegistry.has(label)) {\n throw new Error(`widget has already been registered for '${label.toString()}'`);\n }\n this._widgetRegistry.set(label, item);\n if (item instanceof Promise) {\n item.then((widgetCtor) => {\n this._widgetRegistry.set(label, widgetCtor);\n this.emitLoadedEvent(label, widgetCtor);\n return widgetCtor;\n }, (error) => {\n throw error;\n });\n }\n else if (isWidgetBaseConstructor(item)) {\n this.emitLoadedEvent(label, item);\n }\n }\n defineInjector(label, injectorFactory) {\n if (this._injectorRegistry === undefined) {\n this._injectorRegistry = new Map();\n }\n if (this._injectorRegistry.has(label)) {\n throw new Error(`injector has already been registered for '${label.toString()}'`);\n }\n const invalidator = new Evented();\n const injectorItem = {\n injector: injectorFactory(() => invalidator.emit({ type: 'invalidate' })),\n invalidator\n };\n this._injectorRegistry.set(label, injectorItem);\n this.emitLoadedEvent(label, injectorItem);\n }\n get(label) {\n if (!this._widgetRegistry || !this.has(label)) {\n return null;\n }\n const item = this._widgetRegistry.get(label);\n if (isWidgetBaseConstructor(item)) {\n return item;\n }\n if (item instanceof Promise) {\n return null;\n }\n const promise = item();\n this._widgetRegistry.set(label, promise);\n promise.then((widgetCtor) => {\n if (isWidgetConstructorDefaultExport(widgetCtor)) {\n widgetCtor = widgetCtor.default;\n }\n this._widgetRegistry.set(label, widgetCtor);\n this.emitLoadedEvent(label, widgetCtor);\n return widgetCtor;\n }, (error) => {\n throw error;\n });\n return null;\n }\n getInjector(label) {\n if (!this._injectorRegistry || !this.hasInjector(label)) {\n return null;\n }\n return this._injectorRegistry.get(label);\n }\n has(label) {\n return Boolean(this._widgetRegistry && this._widgetRegistry.has(label));\n }\n hasInjector(label) {\n return Boolean(this._injectorRegistry && this._injectorRegistry.has(label));\n }\n}\nexport default Registry;\n//# sourceMappingURL=Registry.mjs.map" }, { - "id": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "name": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "index": 32, - "index2": 30, - "size": 5683, + "id": 9, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/WeakMap.mjs", + "name": "./node_modules/@dojo/framework/shim/WeakMap.mjs", + "index": 20, + "index2": 14, + "size": 3762, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ - "menu-item" + 0 + ], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "name": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs" + } ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", "failed": false, "errors": 0, "warnings": 0, + "assets": [], "reasons": [ { - "moduleId": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "type": "harmony import", - "userRequest": "./mixins/Projector", - "loc": "3:0-52" + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony side effect evaluation", + "userRequest": "../shim/WeakMap", + "loc": "5:0-38" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "../shim/WeakMap", + "loc": "11:37-44" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "../shim/WeakMap", + "loc": "12:24-31" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "../shim/WeakMap", + "loc": "13:27-34" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "../shim/WeakMap", + "loc": "14:30-37" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "../shim/WeakMap", + "loc": "71:64-71" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "../shim/WeakMap", + "loc": "899:25-32" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony side effect evaluation", + "userRequest": "../shim/WeakMap", + "loc": "2:0-38" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony import specifier", + "userRequest": "../shim/WeakMap", + "loc": "271:52-59" + }, + { + "moduleId": 19, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs 7cf860e45721ea2eddfdcf432935cea3", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "type": "harmony side effect evaluation", + "userRequest": "../../shim/WeakMap", + "loc": "1:0-41" + }, + { + "moduleId": 19, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs 7cf860e45721ea2eddfdcf432935cea3", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "type": "harmony import specifier", + "userRequest": "../../shim/WeakMap", + "loc": "7:35-42" } ], "usedExports": [ - "ProjectorMixin" + "default" ], "providedExports": [ - "ProjectorAttachState", - "AttachType", - "ProjectorMixin", + "WeakMap", "default" ], "optimizationBailout": [], - "depth": 3, - "source": "import * as tslib_1 from \"tslib\";\nimport { assign } from '../../core/lang';\nimport cssTransitions from '../animations/cssTransitions';\nimport { afterRender } from './../decorators/afterRender';\nimport { v } from './../d';\nimport { dom } from './../vdom';\n/**\n * Represents the attach state of the projector\n */\nexport var ProjectorAttachState;\n(function (ProjectorAttachState) {\n ProjectorAttachState[ProjectorAttachState[\"Attached\"] = 1] = \"Attached\";\n ProjectorAttachState[ProjectorAttachState[\"Detached\"] = 2] = \"Detached\";\n})(ProjectorAttachState || (ProjectorAttachState = {}));\n/**\n * Attach type for the projector\n */\nexport var AttachType;\n(function (AttachType) {\n AttachType[AttachType[\"Append\"] = 1] = \"Append\";\n AttachType[AttachType[\"Merge\"] = 2] = \"Merge\";\n})(AttachType || (AttachType = {}));\nexport function ProjectorMixin(Base) {\n class Projector extends Base {\n constructor(...args) {\n super(...args);\n this._root = document.body;\n this._async = true;\n this._projectorProperties = {};\n this._projectionOptions = {\n transitions: cssTransitions\n };\n this.root = document.body;\n this.projectorState = ProjectorAttachState.Detached;\n }\n append(root) {\n const options = {\n type: AttachType.Append,\n root\n };\n return this._attach(options);\n }\n merge(root) {\n const options = {\n type: AttachType.Merge,\n root\n };\n return this._attach(options);\n }\n set root(root) {\n if (this.projectorState === ProjectorAttachState.Attached) {\n throw new Error('Projector already attached, cannot change root element');\n }\n this._root = root;\n }\n get root() {\n return this._root;\n }\n get async() {\n return this._async;\n }\n set async(async) {\n if (this.projectorState === ProjectorAttachState.Attached) {\n throw new Error('Projector already attached, cannot change async mode');\n }\n this._async = async;\n }\n sandbox(doc = document) {\n if (this.projectorState === ProjectorAttachState.Attached) {\n throw new Error('Projector already attached, cannot create sandbox');\n }\n this._async = false;\n const previousRoot = this.root;\n /* free up the document fragment for GC */\n this.own({\n destroy: () => {\n this._root = previousRoot;\n }\n });\n this._attach({\n /* DocumentFragment is not assignable to Element, but provides everything needed to work */\n root: doc.createDocumentFragment(),\n type: AttachType.Append\n });\n }\n setChildren(children) {\n this.__setChildren__(children);\n }\n setProperties(properties) {\n this.__setProperties__(properties);\n }\n __setProperties__(properties) {\n if (this._projectorProperties && this._projectorProperties.registry !== properties.registry) {\n if (this._projectorProperties.registry) {\n this._projectorProperties.registry.destroy();\n }\n }\n this._projectorProperties = assign({}, properties);\n super.__setCoreProperties__({ bind: this, baseRegistry: properties.registry });\n super.__setProperties__(properties);\n }\n toHtml() {\n if (this.projectorState !== ProjectorAttachState.Attached || !this._projection) {\n throw new Error('Projector is not attached, cannot return an HTML string of projection.');\n }\n return this._projection.domNode.childNodes[0].outerHTML;\n }\n afterRender(result) {\n let node = result;\n if (typeof result === 'string' || result === null || result === undefined) {\n node = v('span', {}, [result]);\n }\n return node;\n }\n destroy() {\n super.destroy();\n }\n _attach({ type, root }) {\n if (root) {\n this.root = root;\n }\n if (this._attachHandle) {\n return this._attachHandle;\n }\n this.projectorState = ProjectorAttachState.Attached;\n const handle = {\n destroy: () => {\n if (this.projectorState === ProjectorAttachState.Attached) {\n this._projection = undefined;\n this.projectorState = ProjectorAttachState.Detached;\n }\n }\n };\n this.own(handle);\n this._attachHandle = handle;\n this._projectionOptions = Object.assign({}, this._projectionOptions, { sync: !this._async });\n switch (type) {\n case AttachType.Append:\n this._projection = dom.append(this.root, this, this._projectionOptions);\n break;\n case AttachType.Merge:\n this._projection = dom.merge(this.root, this, this._projectionOptions);\n break;\n }\n return this._attachHandle;\n }\n }\n tslib_1.__decorate([\n afterRender()\n ], Projector.prototype, \"afterRender\", null);\n return Projector;\n}\nexport default ProjectorMixin;\n//# sourceMappingURL=Projector.mjs.map" + "depth": 4, + "source": "import global from './global';\nimport { isArrayLike } from './iterator';\nimport has from './support/has';\nimport './Symbol';\nexport let WeakMap = global.WeakMap;\nif (!has('es6-weakmap')) {\n const DELETED = {};\n const getUID = function getUID() {\n return Math.floor(Math.random() * 100000000);\n };\n const generateName = (function () {\n let startId = Math.floor(Date.now() % 100000000);\n return function generateName() {\n return '__wm' + getUID() + (startId++ + '__');\n };\n })();\n WeakMap = class WeakMap {\n constructor(iterable) {\n this[Symbol.toStringTag] = 'WeakMap';\n this._name = generateName();\n this._frozenEntries = [];\n if (iterable) {\n if (isArrayLike(iterable)) {\n for (let i = 0; i < iterable.length; i++) {\n const item = iterable[i];\n this.set(item[0], item[1]);\n }\n }\n else {\n for (const [key, value] of iterable) {\n this.set(key, value);\n }\n }\n }\n }\n _getFrozenEntryIndex(key) {\n for (let i = 0; i < this._frozenEntries.length; i++) {\n if (this._frozenEntries[i].key === key) {\n return i;\n }\n }\n return -1;\n }\n delete(key) {\n if (key === undefined || key === null) {\n return false;\n }\n const entry = key[this._name];\n if (entry && entry.key === key && entry.value !== DELETED) {\n entry.value = DELETED;\n return true;\n }\n const frozenIndex = this._getFrozenEntryIndex(key);\n if (frozenIndex >= 0) {\n this._frozenEntries.splice(frozenIndex, 1);\n return true;\n }\n return false;\n }\n get(key) {\n if (key === undefined || key === null) {\n return undefined;\n }\n const entry = key[this._name];\n if (entry && entry.key === key && entry.value !== DELETED) {\n return entry.value;\n }\n const frozenIndex = this._getFrozenEntryIndex(key);\n if (frozenIndex >= 0) {\n return this._frozenEntries[frozenIndex].value;\n }\n }\n has(key) {\n if (key === undefined || key === null) {\n return false;\n }\n const entry = key[this._name];\n if (Boolean(entry && entry.key === key && entry.value !== DELETED)) {\n return true;\n }\n const frozenIndex = this._getFrozenEntryIndex(key);\n if (frozenIndex >= 0) {\n return true;\n }\n return false;\n }\n set(key, value) {\n if (!key || (typeof key !== 'object' && typeof key !== 'function')) {\n throw new TypeError('Invalid value used as weak map key');\n }\n let entry = key[this._name];\n if (!entry || entry.key !== key) {\n entry = Object.create(null, {\n key: { value: key }\n });\n if (Object.isFrozen(key)) {\n this._frozenEntries.push(entry);\n }\n else {\n Object.defineProperty(key, this._name, {\n value: entry\n });\n }\n }\n entry.value = value;\n return this;\n }\n };\n}\nexport default WeakMap;\n//# sourceMappingURL=WeakMap.mjs.map" }, { - "id": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "name": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "index": 36, - "index2": 35, - "size": 5157, + "id": 10, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "name": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "index": 17, + "index2": 11, + "size": 15644, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ - "menu-item" + 0 ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "issuer": null, + "issuerId": null, + "issuerName": null, + "issuerPath": null, "failed": false, "errors": 0, "warnings": 0, + "assets": [], "reasons": [ { - "moduleId": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "type": "harmony import", - "userRequest": "./mixins/Themed", - "loc": "7:0-56" + "moduleId": 5, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", + "module": "./node_modules/@dojo/framework/shim/Map.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Map.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./iterator", + "loc": "1:0-55" }, { - "moduleId": "./src/menu-item/MenuItem.ts", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--3-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--3-1!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--3-2!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu-item!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/src/menu-item/MenuItem.ts", - "module": "./src/menu-item/MenuItem.ts", - "moduleName": "./src/menu-item/MenuItem.ts", - "type": "harmony import", - "userRequest": "@dojo/framework/widget-core/mixins/Themed", - "loc": "4:0-79" + "moduleId": 5, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", + "module": "./node_modules/@dojo/framework/shim/Map.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Map.mjs", + "type": "harmony import specifier", + "userRequest": "./iterator", + "loc": "14:24-35" + }, + { + "moduleId": 5, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", + "module": "./node_modules/@dojo/framework/shim/Map.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Map.mjs", + "type": "harmony import specifier", + "userRequest": "./iterator", + "loc": "58:27-39" + }, + { + "moduleId": 5, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", + "module": "./node_modules/@dojo/framework/shim/Map.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Map.mjs", + "type": "harmony import specifier", + "userRequest": "./iterator", + "loc": "75:27-39" + }, + { + "moduleId": 5, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", + "module": "./node_modules/@dojo/framework/shim/Map.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Map.mjs", + "type": "harmony import specifier", + "userRequest": "./iterator", + "loc": "85:27-39" + }, + { + "moduleId": 9, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/WeakMap.mjs", + "module": "./node_modules/@dojo/framework/shim/WeakMap.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/WeakMap.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./iterator", + "loc": "2:0-41" + }, + { + "moduleId": 9, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/WeakMap.mjs", + "module": "./node_modules/@dojo/framework/shim/WeakMap.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/WeakMap.mjs", + "type": "harmony import specifier", + "userRequest": "./iterator", + "loc": "23:20-31" + }, + { + "moduleId": 23, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony side effect evaluation", + "userRequest": "./iterator", + "loc": "2:0-53" + }, + { + "moduleId": 23, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./iterator", + "loc": "130:13-24" + }, + { + "moduleId": 23, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./iterator", + "loc": "130:40-50" + }, + { + "moduleId": 23, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./iterator", + "loc": "135:12-23" } ], "usedExports": [ - "ThemedMixin", - "registerThemeInjector", - "theme" + "ShimIterator", + "isArrayLike", + "isIterable" ], "providedExports": [ - "INJECTED_THEME_KEY", - "theme", - "registerThemeInjector", - "ThemedMixin", - "default" + "ShimIterator", + "isIterable", + "isArrayLike", + "get", + "forOf" ], - "optimizationBailout": [], - "depth": 3, - "source": "import * as tslib_1 from \"tslib\";\nimport { Injector } from './../Injector';\nimport { inject } from './../decorators/inject';\nimport { handleDecorator } from './../decorators/handleDecorator';\nimport { diffProperty } from './../decorators/diffProperty';\nimport { shallow } from './../diff';\nconst THEME_KEY = ' _key';\nexport const INJECTED_THEME_KEY = Symbol('theme');\n/**\n * Decorator for base css classes\n */\nexport function theme(theme) {\n return handleDecorator((target) => {\n target.addDecorator('baseThemeClasses', theme);\n });\n}\n/**\n * Creates a reverse lookup for the classes passed in via the `theme` function.\n *\n * @param classes The baseClasses object\n * @requires\n */\nfunction createThemeClassesLookup(classes) {\n return classes.reduce((currentClassNames, baseClass) => {\n Object.keys(baseClass).forEach((key) => {\n currentClassNames[baseClass[key]] = key;\n });\n return currentClassNames;\n }, {});\n}\n/**\n * Convenience function that is given a theme and an optional registry, the theme\n * injector is defined against the registry, returning the theme.\n *\n * @param theme the theme to set\n * @param themeRegistry registry to define the theme injector against. Defaults\n * to the global registry\n *\n * @returns the theme injector used to set the theme\n */\nexport function registerThemeInjector(theme, themeRegistry) {\n const themeInjector = new Injector(theme);\n themeRegistry.defineInjector(INJECTED_THEME_KEY, (invalidator) => {\n themeInjector.setInvalidator(invalidator);\n return () => themeInjector.get();\n });\n return themeInjector;\n}\n/**\n * Function that returns a class decorated with with Themed functionality\n */\nexport function ThemedMixin(Base) {\n let Themed = class Themed extends Base {\n constructor() {\n super(...arguments);\n /**\n * Registered base theme keys\n */\n this._registeredBaseThemeKeys = [];\n /**\n * Indicates if classes meta data need to be calculated.\n */\n this._recalculateClasses = true;\n /**\n * Loaded theme\n */\n this._theme = {};\n }\n theme(classes) {\n if (this._recalculateClasses) {\n this._recalculateThemeClasses();\n }\n if (Array.isArray(classes)) {\n return classes.map((className) => this._getThemeClass(className));\n }\n return this._getThemeClass(classes);\n }\n /**\n * Function fired when `theme` or `extraClasses` are changed.\n */\n onPropertiesChanged() {\n this._recalculateClasses = true;\n }\n _getThemeClass(className) {\n if (className === undefined || className === null) {\n return className;\n }\n const extraClasses = this.properties.extraClasses || {};\n const themeClassName = this._baseThemeClassesReverseLookup[className];\n let resultClassNames = [];\n if (!themeClassName) {\n console.warn(`Class name: '${className}' not found in theme`);\n return null;\n }\n if (extraClasses[themeClassName]) {\n resultClassNames.push(extraClasses[themeClassName]);\n }\n if (this._theme[themeClassName]) {\n resultClassNames.push(this._theme[themeClassName]);\n }\n else {\n resultClassNames.push(this._registeredBaseTheme[themeClassName]);\n }\n return resultClassNames.join(' ');\n }\n _recalculateThemeClasses() {\n const { theme = {} } = this.properties;\n const baseThemes = this.getDecorator('baseThemeClasses');\n if (!this._registeredBaseTheme) {\n this._registeredBaseTheme = baseThemes.reduce((finalBaseTheme, baseTheme) => {\n const _a = THEME_KEY, key = baseTheme[_a], classes = tslib_1.__rest(baseTheme, [typeof _a === \"symbol\" ? _a : _a + \"\"]);\n this._registeredBaseThemeKeys.push(key);\n return Object.assign({}, finalBaseTheme, classes);\n }, {});\n this._baseThemeClassesReverseLookup = createThemeClassesLookup(baseThemes);\n }\n this._theme = this._registeredBaseThemeKeys.reduce((baseTheme, themeKey) => {\n return Object.assign({}, baseTheme, theme[themeKey]);\n }, {});\n this._recalculateClasses = false;\n }\n };\n tslib_1.__decorate([\n diffProperty('theme', shallow),\n diffProperty('extraClasses', shallow)\n ], Themed.prototype, \"onPropertiesChanged\", null);\n Themed = tslib_1.__decorate([\n inject({\n name: INJECTED_THEME_KEY,\n getProperties: (theme, properties) => {\n if (!properties.theme) {\n return { theme };\n }\n return {};\n }\n })\n ], Themed);\n return Themed;\n}\nexport default ThemedMixin;\n//# sourceMappingURL=Themed.mjs.map" - }, - { - "id": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "index": 13, - "index2": 37, - "size": 9118, - "cacheable": true, + "optimizationBailout": [ + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/shim/Symbol.mjs because of ./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/shim/global.mjs (<- Module uses injected variables (global))", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/shim/support/has.mjs because of ./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/shim/support/util.mjs because of ./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + ], + "depth": 4, + "modules": [ + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs", + "name": "./node_modules/@dojo/framework/shim/iterator.mjs", + "index": 17, + "index2": 11, + "size": 3158, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/shim/array.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", + "name": "./node_modules/@dojo/framework/shim/array.mjs" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": 5, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", + "module": "./node_modules/@dojo/framework/shim/Map.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Map.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./iterator", + "loc": "1:0-55" + }, + { + "moduleId": 5, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", + "module": "./node_modules/@dojo/framework/shim/Map.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Map.mjs", + "type": "harmony import specifier", + "userRequest": "./iterator", + "loc": "14:24-35" + }, + { + "moduleId": 5, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", + "module": "./node_modules/@dojo/framework/shim/Map.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Map.mjs", + "type": "harmony import specifier", + "userRequest": "./iterator", + "loc": "58:27-39" + }, + { + "moduleId": 5, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", + "module": "./node_modules/@dojo/framework/shim/Map.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Map.mjs", + "type": "harmony import specifier", + "userRequest": "./iterator", + "loc": "75:27-39" + }, + { + "moduleId": 5, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", + "module": "./node_modules/@dojo/framework/shim/Map.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Map.mjs", + "type": "harmony import specifier", + "userRequest": "./iterator", + "loc": "85:27-39" + }, + { + "moduleId": 9, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/WeakMap.mjs", + "module": "./node_modules/@dojo/framework/shim/WeakMap.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/WeakMap.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./iterator", + "loc": "2:0-41" + }, + { + "moduleId": 9, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/WeakMap.mjs", + "module": "./node_modules/@dojo/framework/shim/WeakMap.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/WeakMap.mjs", + "type": "harmony import specifier", + "userRequest": "./iterator", + "loc": "23:20-31" + }, + { + "moduleId": 23, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony side effect evaluation", + "userRequest": "./iterator", + "loc": "2:0-53" + }, + { + "moduleId": 23, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./iterator", + "loc": "130:13-24" + }, + { + "moduleId": 23, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./iterator", + "loc": "130:40-50" + }, + { + "moduleId": 23, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./iterator", + "loc": "135:12-23" + } + ], + "usedExports": [ + "ShimIterator", + "isArrayLike", + "isIterable" + ], + "providedExports": [ + "ShimIterator", + "isIterable", + "isArrayLike", + "get", + "forOf" + ], + "optimizationBailout": [], + "depth": 4, + "source": "import './Symbol';\nimport { HIGH_SURROGATE_MAX, HIGH_SURROGATE_MIN } from './string';\nconst staticDone = { done: true, value: undefined };\n/**\n * A class that _shims_ an iterator interface on array like objects.\n */\nexport class ShimIterator {\n constructor(list) {\n this._nextIndex = -1;\n if (isIterable(list)) {\n this._nativeIterator = list[Symbol.iterator]();\n }\n else {\n this._list = list;\n }\n }\n /**\n * Return the next iteration result for the Iterator\n */\n next() {\n if (this._nativeIterator) {\n return this._nativeIterator.next();\n }\n if (!this._list) {\n return staticDone;\n }\n if (++this._nextIndex < this._list.length) {\n return {\n done: false,\n value: this._list[this._nextIndex]\n };\n }\n return staticDone;\n }\n [Symbol.iterator]() {\n return this;\n }\n}\n/**\n * A type guard for checking if something has an Iterable interface\n *\n * @param value The value to type guard against\n */\nexport function isIterable(value) {\n return value && typeof value[Symbol.iterator] === 'function';\n}\n/**\n * A type guard for checking if something is ArrayLike\n *\n * @param value The value to type guard against\n */\nexport function isArrayLike(value) {\n return value && typeof value.length === 'number';\n}\n/**\n * Returns the iterator for an object\n *\n * @param iterable The iterable object to return the iterator for\n */\nexport function get(iterable) {\n if (isIterable(iterable)) {\n return iterable[Symbol.iterator]();\n }\n else if (isArrayLike(iterable)) {\n return new ShimIterator(iterable);\n }\n}\n/**\n * Shims the functionality of `for ... of` blocks\n *\n * @param iterable The object the provides an interator interface\n * @param callback The callback which will be called for each item of the iterable\n * @param thisArg Optional scope to pass the callback\n */\nexport function forOf(iterable, callback, thisArg) {\n let broken = false;\n function doBreak() {\n broken = true;\n }\n /* We need to handle iteration of double byte strings properly */\n if (isArrayLike(iterable) && typeof iterable === 'string') {\n const l = iterable.length;\n for (let i = 0; i < l; ++i) {\n let char = iterable[i];\n if (i + 1 < l) {\n const code = char.charCodeAt(0);\n if (code >= HIGH_SURROGATE_MIN && code <= HIGH_SURROGATE_MAX) {\n char += iterable[++i];\n }\n }\n callback.call(thisArg, char, iterable, doBreak);\n if (broken) {\n return;\n }\n }\n }\n else {\n const iterator = get(iterable);\n if (iterator) {\n let result = iterator.next();\n while (!result.done) {\n callback.call(thisArg, result.value, iterable, doBreak);\n if (broken) {\n return;\n }\n result = iterator.next();\n }\n }\n }\n}\n//# sourceMappingURL=iterator.mjs.map" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/string.mjs", + "name": "./node_modules/@dojo/framework/shim/string.mjs", + "index": 18, + "index2": 10, + "size": 12466, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/shim/iterator.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", + "name": "./node_modules/@dojo/framework/shim/array.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs", + "name": "./node_modules/@dojo/framework/shim/iterator.mjs" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./string", + "loc": "2:0-66" + }, + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs", + "type": "harmony import specifier", + "userRequest": "./string", + "loc": "87:28-46" + }, + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs", + "type": "harmony import specifier", + "userRequest": "./string", + "loc": "87:58-76" + } + ], + "usedExports": [ + "HIGH_SURROGATE_MIN", + "HIGH_SURROGATE_MAX" + ], + "providedExports": [ + "HIGH_SURROGATE_MIN", + "HIGH_SURROGATE_MAX", + "LOW_SURROGATE_MIN", + "LOW_SURROGATE_MAX", + "fromCodePoint", + "raw", + "codePointAt", + "endsWith", + "includes", + "normalize", + "repeat", + "startsWith", + "padEnd", + "padStart" + ], + "optimizationBailout": [], + "depth": 5, + "source": "import global from './global';\nimport has from './support/has';\nimport { wrapNative } from './support/util';\n/**\n * The minimum location of high surrogates\n */\nexport const HIGH_SURROGATE_MIN = 0xd800;\n/**\n * The maximum location of high surrogates\n */\nexport const HIGH_SURROGATE_MAX = 0xdbff;\n/**\n * The minimum location of low surrogates\n */\nexport const LOW_SURROGATE_MIN = 0xdc00;\n/**\n * The maximum location of low surrogates\n */\nexport const LOW_SURROGATE_MAX = 0xdfff;\n/* ES6 static methods */\n/**\n * Return the String value whose elements are, in order, the elements in the List elements.\n * If length is 0, the empty string is returned.\n * @param codePoints The code points to generate the string\n */\nexport let fromCodePoint;\n/**\n * `raw` is intended for use as a tag function of a Tagged Template String. When called\n * as such the first argument will be a well formed template call site object and the rest\n * parameter will contain the substitution values.\n * @param template A well-formed template string call site representation.\n * @param substitutions A set of substitution values.\n */\nexport let raw;\n/* ES6 instance methods */\n/**\n * Returns a nonnegative integer Number less than 1114112 (0x110000) that is the code point\n * value of the UTF-16 encoded code point starting at the string element at position pos in\n * the String resulting from converting this object to a String.\n * If there is no element at that position, the result is undefined.\n * If a valid UTF-16 surrogate pair does not begin at pos, the result is the code unit at pos.\n */\nexport let codePointAt;\n/**\n * Returns true if the sequence of elements of searchString converted to a String is the\n * same as the corresponding elements of this object (converted to a String) starting at\n * endPosition – length(this). Otherwise returns false.\n */\nexport let endsWith;\n/**\n * Returns true if searchString appears as a substring of the result of converting this\n * object to a String, at one or more positions that are\n * greater than or equal to position; otherwise, returns false.\n * @param target The target string\n * @param searchString search string\n * @param position If position is undefined, 0 is assumed, so as to search all of the String.\n */\nexport let includes;\n/**\n * Returns the String value result of normalizing the string into the normalization form\n * named by form as specified in Unicode Standard Annex #15, Unicode Normalization Forms.\n * @param target The target string\n * @param form Applicable values: \"NFC\", \"NFD\", \"NFKC\", or \"NFKD\", If not specified default\n * is \"NFC\"\n */\nexport let normalize;\n/**\n * Returns a String value that is made from count copies appended together. If count is 0,\n * T is the empty String is returned.\n * @param count number of copies to append\n */\nexport let repeat;\n/**\n * Returns true if the sequence of elements of searchString converted to a String is the\n * same as the corresponding elements of this object (converted to a String) starting at\n * position. Otherwise returns false.\n */\nexport let startsWith;\n/* ES7 instance methods */\n/**\n * Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length.\n * The padding is applied from the end (right) of the current string.\n *\n * @param target The target string\n * @param maxLength The length of the resulting string once the current string has been padded.\n * If this parameter is smaller than the current string's length, the current string will be returned as it is.\n *\n * @param fillString The string to pad the current string with.\n * If this string is too long, it will be truncated and the left-most part will be applied.\n * The default value for this parameter is \" \" (U+0020).\n */\nexport let padEnd;\n/**\n * Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length.\n * The padding is applied from the start (left) of the current string.\n *\n * @param target The target string\n * @param maxLength The length of the resulting string once the current string has been padded.\n * If this parameter is smaller than the current string's length, the current string will be returned as it is.\n *\n * @param fillString The string to pad the current string with.\n * If this string is too long, it will be truncated and the left-most part will be applied.\n * The default value for this parameter is \" \" (U+0020).\n */\nexport let padStart;\nif (has('es6-string') && has('es6-string-raw')) {\n fromCodePoint = global.String.fromCodePoint;\n raw = global.String.raw;\n codePointAt = wrapNative(global.String.prototype.codePointAt);\n endsWith = wrapNative(global.String.prototype.endsWith);\n includes = wrapNative(global.String.prototype.includes);\n normalize = wrapNative(global.String.prototype.normalize);\n repeat = wrapNative(global.String.prototype.repeat);\n startsWith = wrapNative(global.String.prototype.startsWith);\n}\nelse {\n /**\n * Validates that text is defined, and normalizes position (based on the given default if the input is NaN).\n * Used by startsWith, includes, and endsWith.\n *\n * @return Normalized position.\n */\n const normalizeSubstringArgs = function (name, text, search, position, isEnd = false) {\n if (text == null) {\n throw new TypeError('string.' + name + ' requires a valid string to search against.');\n }\n const length = text.length;\n position = position !== position ? (isEnd ? length : 0) : position;\n return [text, String(search), Math.min(Math.max(position, 0), length)];\n };\n fromCodePoint = function fromCodePoint(...codePoints) {\n // Adapted from https://github.com/mathiasbynens/String.fromCodePoint\n const length = arguments.length;\n if (!length) {\n return '';\n }\n const fromCharCode = String.fromCharCode;\n const MAX_SIZE = 0x4000;\n let codeUnits = [];\n let index = -1;\n let result = '';\n while (++index < length) {\n let codePoint = Number(arguments[index]);\n // Code points must be finite integers within the valid range\n let isValid = isFinite(codePoint) && Math.floor(codePoint) === codePoint && codePoint >= 0 && codePoint <= 0x10ffff;\n if (!isValid) {\n throw RangeError('string.fromCodePoint: Invalid code point ' + codePoint);\n }\n if (codePoint <= 0xffff) {\n // BMP code point\n codeUnits.push(codePoint);\n }\n else {\n // Astral code point; split in surrogate halves\n // https://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae\n codePoint -= 0x10000;\n let highSurrogate = (codePoint >> 10) + HIGH_SURROGATE_MIN;\n let lowSurrogate = (codePoint % 0x400) + LOW_SURROGATE_MIN;\n codeUnits.push(highSurrogate, lowSurrogate);\n }\n if (index + 1 === length || codeUnits.length > MAX_SIZE) {\n result += fromCharCode.apply(null, codeUnits);\n codeUnits.length = 0;\n }\n }\n return result;\n };\n raw = function raw(callSite, ...substitutions) {\n let rawStrings = callSite.raw;\n let result = '';\n let numSubstitutions = substitutions.length;\n if (callSite == null || callSite.raw == null) {\n throw new TypeError('string.raw requires a valid callSite object with a raw value');\n }\n for (let i = 0, length = rawStrings.length; i < length; i++) {\n result += rawStrings[i] + (i < numSubstitutions && i < length - 1 ? substitutions[i] : '');\n }\n return result;\n };\n codePointAt = function codePointAt(text, position = 0) {\n // Adapted from https://github.com/mathiasbynens/String.prototype.codePointAt\n if (text == null) {\n throw new TypeError('string.codePointAt requries a valid string.');\n }\n const length = text.length;\n if (position !== position) {\n position = 0;\n }\n if (position < 0 || position >= length) {\n return undefined;\n }\n // Get the first code unit\n const first = text.charCodeAt(position);\n if (first >= HIGH_SURROGATE_MIN && first <= HIGH_SURROGATE_MAX && length > position + 1) {\n // Start of a surrogate pair (high surrogate and there is a next code unit); check for low surrogate\n // https://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae\n const second = text.charCodeAt(position + 1);\n if (second >= LOW_SURROGATE_MIN && second <= LOW_SURROGATE_MAX) {\n return (first - HIGH_SURROGATE_MIN) * 0x400 + second - LOW_SURROGATE_MIN + 0x10000;\n }\n }\n return first;\n };\n endsWith = function endsWith(text, search, endPosition) {\n if (endPosition == null) {\n endPosition = text.length;\n }\n [text, search, endPosition] = normalizeSubstringArgs('endsWith', text, search, endPosition, true);\n const start = endPosition - search.length;\n if (start < 0) {\n return false;\n }\n return text.slice(start, endPosition) === search;\n };\n includes = function includes(text, search, position = 0) {\n [text, search, position] = normalizeSubstringArgs('includes', text, search, position);\n return text.indexOf(search, position) !== -1;\n };\n repeat = function repeat(text, count = 0) {\n // Adapted from https://github.com/mathiasbynens/String.prototype.repeat\n if (text == null) {\n throw new TypeError('string.repeat requires a valid string.');\n }\n if (count !== count) {\n count = 0;\n }\n if (count < 0 || count === Infinity) {\n throw new RangeError('string.repeat requires a non-negative finite count.');\n }\n let result = '';\n while (count) {\n if (count % 2) {\n result += text;\n }\n if (count > 1) {\n text += text;\n }\n count >>= 1;\n }\n return result;\n };\n startsWith = function startsWith(text, search, position = 0) {\n search = String(search);\n [text, search, position] = normalizeSubstringArgs('startsWith', text, search, position);\n const end = position + search.length;\n if (end > text.length) {\n return false;\n }\n return text.slice(position, end) === search;\n };\n}\nif (has('es2017-string')) {\n padEnd = wrapNative(global.String.prototype.padEnd);\n padStart = wrapNative(global.String.prototype.padStart);\n}\nelse {\n padEnd = function padEnd(text, maxLength, fillString = ' ') {\n if (text === null || text === undefined) {\n throw new TypeError('string.repeat requires a valid string.');\n }\n if (maxLength === Infinity) {\n throw new RangeError('string.padEnd requires a non-negative finite count.');\n }\n if (maxLength === null || maxLength === undefined || maxLength < 0) {\n maxLength = 0;\n }\n let strText = String(text);\n const padding = maxLength - strText.length;\n if (padding > 0) {\n strText +=\n repeat(fillString, Math.floor(padding / fillString.length)) +\n fillString.slice(0, padding % fillString.length);\n }\n return strText;\n };\n padStart = function padStart(text, maxLength, fillString = ' ') {\n if (text === null || text === undefined) {\n throw new TypeError('string.repeat requires a valid string.');\n }\n if (maxLength === Infinity) {\n throw new RangeError('string.padStart requires a non-negative finite count.');\n }\n if (maxLength === null || maxLength === undefined || maxLength < 0) {\n maxLength = 0;\n }\n let strText = String(text);\n const padding = maxLength - strText.length;\n if (padding > 0) {\n strText =\n repeat(fillString, Math.floor(padding / fillString.length)) +\n fillString.slice(0, padding % fillString.length) +\n strText;\n }\n return strText;\n };\n}\n//# sourceMappingURL=string.mjs.map" + } + ], + "filteredModules": 0 + }, + { + "id": 11, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/core/Evented.mjs 5a735fda53696584e4cc34e239a550e6", + "name": "./node_modules/@dojo/framework/core/Evented.mjs + 1 modules", + "index": 27, + "index2": 21, + "size": 3831, + "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ - "menu-item" + 0 ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--5-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", - "issuerId": "./node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js", - "issuerName": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js", + "issuer": null, + "issuerId": null, + "issuerName": null, + "issuerPath": null, "failed": false, "errors": 0, "warnings": 0, + "assets": [], "reasons": [ { - "moduleId": "./node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--5-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", - "module": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js", - "moduleName": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js", - "type": "cjs require", - "userRequest": "@dojo/framework/widget-core/registerCustomElement", - "loc": "4:28-88" + "moduleId": 8, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", + "module": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "type": "harmony side effect evaluation", + "userRequest": "../core/Evented", + "loc": "4:0-42" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/decorators/customElement.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/customElement.mjs", - "module": "./node_modules/@dojo/framework/widget-core/decorators/customElement.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/decorators/customElement.mjs", - "type": "harmony import", - "userRequest": "../registerCustomElement", - "loc": "1:0-66" + "moduleId": 8, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", + "module": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "type": "harmony import specifier", + "userRequest": "../core/Evented", + "loc": "27:30-37" + }, + { + "moduleId": 8, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", + "module": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "type": "harmony import specifier", + "userRequest": "../core/Evented", + "loc": "66:32-39" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony side effect evaluation", + "userRequest": "../core/Evented", + "loc": "1:0-42" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony side effect evaluation", + "userRequest": "../core/Evented", + "loc": "2:0-42" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony import specifier", + "userRequest": "../core/Evented", + "loc": "4:37-44" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony import specifier", + "userRequest": "../core/Evented", + "loc": "13:33-40" + }, + { + "moduleId": 19, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs 7cf860e45721ea2eddfdcf432935cea3", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "type": "harmony side effect evaluation", + "userRequest": "../core/Evented", + "loc": "1:0-42" + }, + { + "moduleId": 19, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs 7cf860e45721ea2eddfdcf432935cea3", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "type": "harmony import specifier", + "userRequest": "../core/Evented", + "loc": "2:30-37" } ], - "usedExports": true, + "usedExports": [ + "Evented" + ], "providedExports": [ - "CustomElementChildType", - "DomToWidgetWrapper", - "create", - "register", + "isGlobMatch", + "Evented", "default" ], - "optimizationBailout": [], - "depth": 2, - "source": "import * as tslib_1 from \"tslib\";\nimport { WidgetBase, noBind } from './WidgetBase';\nimport { ProjectorMixin } from './mixins/Projector';\nimport { from } from '../shim/array';\nimport { w, dom } from './d';\nimport global from '../shim/global';\nimport { registerThemeInjector } from './mixins/Themed';\nimport { alwaysRender } from './decorators/alwaysRender';\nexport var CustomElementChildType;\n(function (CustomElementChildType) {\n CustomElementChildType[\"DOJO\"] = \"DOJO\";\n CustomElementChildType[\"NODE\"] = \"NODE\";\n CustomElementChildType[\"TEXT\"] = \"TEXT\";\n})(CustomElementChildType || (CustomElementChildType = {}));\nexport function DomToWidgetWrapper(domNode) {\n let DomToWidgetWrapper = class DomToWidgetWrapper extends WidgetBase {\n render() {\n const properties = Object.keys(this.properties).reduce((props, key) => {\n const value = this.properties[key];\n if (key.indexOf('on') === 0) {\n key = `__${key}`;\n }\n props[key] = value;\n return props;\n }, {});\n return dom({ node: domNode, props: properties, diffType: 'dom' });\n }\n static get domNode() {\n return domNode;\n }\n };\n DomToWidgetWrapper = tslib_1.__decorate([\n alwaysRender()\n ], DomToWidgetWrapper);\n return DomToWidgetWrapper;\n}\nexport function create(descriptor, WidgetConstructor) {\n const { attributes, childType, registryFactory } = descriptor;\n const attributeMap = {};\n attributes.forEach((propertyName) => {\n const attributeName = propertyName.toLowerCase();\n attributeMap[attributeName] = propertyName;\n });\n return class extends HTMLElement {\n constructor() {\n super(...arguments);\n this._properties = {};\n this._children = [];\n this._eventProperties = {};\n this._initialised = false;\n }\n connectedCallback() {\n if (this._initialised) {\n return;\n }\n const domProperties = {};\n const { attributes, properties, events } = descriptor;\n this._properties = Object.assign({}, this._properties, this._attributesToProperties(attributes));\n [...attributes, ...properties].forEach((propertyName) => {\n const value = this[propertyName];\n const filteredPropertyName = propertyName.replace(/^on/, '__');\n if (value !== undefined) {\n this._properties[propertyName] = value;\n }\n if (filteredPropertyName !== propertyName) {\n domProperties[filteredPropertyName] = {\n get: () => this._getProperty(propertyName),\n set: (value) => this._setProperty(propertyName, value)\n };\n }\n domProperties[propertyName] = {\n get: () => this._getProperty(propertyName),\n set: (value) => this._setProperty(propertyName, value)\n };\n });\n events.forEach((propertyName) => {\n const eventName = propertyName.replace(/^on/, '').toLowerCase();\n const filteredPropertyName = propertyName.replace(/^on/, '__on');\n domProperties[filteredPropertyName] = {\n get: () => this._getEventProperty(propertyName),\n set: (value) => this._setEventProperty(propertyName, value)\n };\n this._eventProperties[propertyName] = undefined;\n this._properties[propertyName] = (...args) => {\n const eventCallback = this._getEventProperty(propertyName);\n if (typeof eventCallback === 'function') {\n eventCallback(...args);\n }\n this.dispatchEvent(new CustomEvent(eventName, {\n bubbles: false,\n detail: args\n }));\n };\n });\n Object.defineProperties(this, domProperties);\n const children = childType === CustomElementChildType.TEXT ? this.childNodes : this.children;\n from(children).forEach((childNode) => {\n if (childType === CustomElementChildType.DOJO) {\n childNode.addEventListener('dojo-ce-render', () => this._render());\n childNode.addEventListener('dojo-ce-connected', () => this._render());\n this._children.push(DomToWidgetWrapper(childNode));\n }\n else {\n this._children.push(dom({ node: childNode, diffType: 'dom' }));\n }\n });\n this.addEventListener('dojo-ce-connected', (e) => this._childConnected(e));\n const widgetProperties = this._properties;\n const renderChildren = () => this.__children__();\n const Wrapper = class extends WidgetBase {\n render() {\n return w(WidgetConstructor, widgetProperties, renderChildren());\n }\n };\n const registry = registryFactory();\n const themeContext = registerThemeInjector(this._getTheme(), registry);\n global.addEventListener('dojo-theme-set', () => themeContext.set(this._getTheme()));\n const Projector = ProjectorMixin(Wrapper);\n this._projector = new Projector();\n this._projector.setProperties({ registry });\n this._projector.append(this);\n this._initialised = true;\n this.dispatchEvent(new CustomEvent('dojo-ce-connected', {\n bubbles: true,\n detail: this\n }));\n }\n _getTheme() {\n if (global && global.dojoce && global.dojoce.theme) {\n return global.dojoce.themes[global.dojoce.theme];\n }\n }\n _childConnected(e) {\n const node = e.detail;\n if (node.parentNode === this) {\n const exists = this._children.some((child) => child.domNode === node);\n if (!exists) {\n node.addEventListener('dojo-ce-render', () => this._render());\n this._children.push(DomToWidgetWrapper(node));\n this._render();\n }\n }\n }\n _render() {\n if (this._projector) {\n this._projector.invalidate();\n this.dispatchEvent(new CustomEvent('dojo-ce-render', {\n bubbles: false,\n detail: this\n }));\n }\n }\n __properties__() {\n return Object.assign({}, this._properties, this._eventProperties);\n }\n __children__() {\n if (childType === CustomElementChildType.DOJO) {\n return this._children.filter((Child) => Child.domNode.isWidget).map((Child) => {\n const { domNode } = Child;\n return w(Child, Object.assign({}, domNode.__properties__()), [...domNode.__children__()]);\n });\n }\n else {\n return this._children;\n }\n }\n attributeChangedCallback(name, oldValue, value) {\n const propertyName = attributeMap[name];\n this._setProperty(propertyName, value);\n }\n _setEventProperty(propertyName, value) {\n this._eventProperties[propertyName] = value;\n }\n _getEventProperty(propertyName) {\n return this._eventProperties[propertyName];\n }\n _setProperty(propertyName, value) {\n if (typeof value === 'function') {\n value[noBind] = true;\n }\n this._properties[propertyName] = value;\n this._render();\n }\n _getProperty(propertyName) {\n return this._properties[propertyName];\n }\n _attributesToProperties(attributes) {\n return attributes.reduce((properties, propertyName) => {\n const attributeName = propertyName.toLowerCase();\n const value = this.getAttribute(attributeName);\n if (value !== null) {\n properties[propertyName] = value;\n }\n return properties;\n }, {});\n }\n static get observedAttributes() {\n return Object.keys(attributeMap);\n }\n get isWidget() {\n return true;\n }\n };\n}\nexport function register(WidgetConstructor) {\n const descriptor = WidgetConstructor.prototype && WidgetConstructor.prototype.__customElementDescriptor;\n if (!descriptor) {\n throw new Error('Cannot get descriptor for Custom Element, have you added the @customElement decorator to your Widget?');\n }\n global.customElements.define(descriptor.tagName, create(descriptor, WidgetConstructor));\n}\nexport default register;\n//# sourceMappingURL=registerCustomElement.mjs.map" + "optimizationBailout": [ + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/core/lang.mjs because of ./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/shim/Map.mjs because of ./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/shim/Promise.mjs because of ./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + ], + "depth": 5, + "modules": [ + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/core/Evented.mjs", + "name": "./node_modules/@dojo/framework/core/Evented.mjs", + "index": 27, + "index2": 21, + "size": 2151, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/NodeHandler.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/widget-core/NodeHandler.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "name": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/NodeHandler.mjs", + "name": "./node_modules/@dojo/framework/widget-core/NodeHandler.mjs" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": 8, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", + "module": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "type": "harmony side effect evaluation", + "userRequest": "../core/Evented", + "loc": "4:0-42" + }, + { + "moduleId": 8, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", + "module": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "type": "harmony import specifier", + "userRequest": "../core/Evented", + "loc": "27:30-37" + }, + { + "moduleId": 8, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", + "module": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "type": "harmony import specifier", + "userRequest": "../core/Evented", + "loc": "66:32-39" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony side effect evaluation", + "userRequest": "../core/Evented", + "loc": "1:0-42" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony side effect evaluation", + "userRequest": "../core/Evented", + "loc": "2:0-42" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony import specifier", + "userRequest": "../core/Evented", + "loc": "4:37-44" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony import specifier", + "userRequest": "../core/Evented", + "loc": "13:33-40" + }, + { + "moduleId": 19, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs 7cf860e45721ea2eddfdcf432935cea3", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "type": "harmony side effect evaluation", + "userRequest": "../core/Evented", + "loc": "1:0-42" + }, + { + "moduleId": 19, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs 7cf860e45721ea2eddfdcf432935cea3", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "type": "harmony import specifier", + "userRequest": "../core/Evented", + "loc": "2:30-37" + } + ], + "usedExports": [ + "Evented" + ], + "providedExports": [ + "isGlobMatch", + "Evented", + "default" + ], + "optimizationBailout": [], + "depth": 5, + "source": "import Map from '../shim/Map';\nimport { Destroyable } from './Destroyable';\n/**\n * Map of computed regular expressions, keyed by string\n */\nconst regexMap = new Map();\n/**\n * Determines is the event type glob has been matched\n *\n * @returns boolean that indicates if the glob is matched\n */\nexport function isGlobMatch(globString, targetString) {\n if (typeof targetString === 'string' && typeof globString === 'string' && globString.indexOf('*') !== -1) {\n let regex;\n if (regexMap.has(globString)) {\n regex = regexMap.get(globString);\n }\n else {\n regex = new RegExp(`^${globString.replace(/\\*/g, '.*')}$`);\n regexMap.set(globString, regex);\n }\n return regex.test(targetString);\n }\n else {\n return globString === targetString;\n }\n}\n/**\n * Event Class\n */\nexport class Evented extends Destroyable {\n constructor() {\n super(...arguments);\n /**\n * map of listeners keyed by event type\n */\n this.listenersMap = new Map();\n }\n emit(event) {\n this.listenersMap.forEach((methods, type) => {\n if (isGlobMatch(type, event.type)) {\n [...methods].forEach((method) => {\n method.call(this, event);\n });\n }\n });\n }\n on(type, listener) {\n if (Array.isArray(listener)) {\n const handles = listener.map((listener) => this._addListener(type, listener));\n return {\n destroy() {\n handles.forEach((handle) => handle.destroy());\n }\n };\n }\n return this._addListener(type, listener);\n }\n _addListener(type, listener) {\n const listeners = this.listenersMap.get(type) || [];\n listeners.push(listener);\n this.listenersMap.set(type, listeners);\n return {\n destroy: () => {\n const listeners = this.listenersMap.get(type) || [];\n listeners.splice(listeners.indexOf(listener), 1);\n }\n };\n }\n}\nexport default Evented;\n//# sourceMappingURL=Evented.mjs.map" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/core/Destroyable.mjs", + "name": "./node_modules/@dojo/framework/core/Destroyable.mjs", + "index": 28, + "index2": 20, + "size": 1665, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/core/Evented.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/core/Evented.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "name": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/NodeHandler.mjs", + "name": "./node_modules/@dojo/framework/widget-core/NodeHandler.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/core/Evented.mjs", + "name": "./node_modules/@dojo/framework/core/Evented.mjs" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/core/Evented.mjs", + "module": "./node_modules/@dojo/framework/core/Evented.mjs", + "moduleName": "./node_modules/@dojo/framework/core/Evented.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./Destroyable", + "loc": "2:0-44" + }, + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/core/Evented.mjs", + "module": "./node_modules/@dojo/framework/core/Evented.mjs", + "moduleName": "./node_modules/@dojo/framework/core/Evented.mjs", + "type": "harmony import specifier", + "userRequest": "./Destroyable", + "loc": "31:29-40" + } + ], + "usedExports": [ + "Destroyable" + ], + "providedExports": [ + "Destroyable", + "default" + ], + "optimizationBailout": [], + "depth": 6, + "source": "import { createCompositeHandle } from './lang';\nimport Promise from '../shim/Promise';\n/**\n * No operation function to replace own once instance is destoryed\n */\nfunction noop() {\n return Promise.resolve(false);\n}\n/**\n * No op function used to replace own, once instance has been destoryed\n */\nfunction destroyed() {\n throw new Error('Call made to destroyed method');\n}\nexport class Destroyable {\n /**\n * @constructor\n */\n constructor() {\n this.handles = [];\n }\n /**\n * Register handles for the instance that will be destroyed when `this.destroy` is called\n *\n * @param {Handle} handle The handle to add for the instance\n * @returns {Handle} a handle for the handle, removes the handle for the instance and calls destroy\n */\n own(handles) {\n const handle = Array.isArray(handles) ? createCompositeHandle(...handles) : handles;\n const { handles: _handles } = this;\n _handles.push(handle);\n return {\n destroy() {\n _handles.splice(_handles.indexOf(handle));\n handle.destroy();\n }\n };\n }\n /**\n * Destrpys all handers registered for the instance\n *\n * @returns {Promise {\n this.handles.forEach((handle) => {\n handle && handle.destroy && handle.destroy();\n });\n this.destroy = noop;\n this.own = destroyed;\n resolve(true);\n });\n }\n}\nexport default Destroyable;\n//# sourceMappingURL=Destroyable.mjs.map" + } + ], + "filteredModules": 0 }, { - "id": "./node_modules/@dojo/framework/widget-core/vdom.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "id": 12, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", "name": "./node_modules/@dojo/framework/widget-core/vdom.mjs", - "index": 29, - "index2": 25, + "index": 32, + "index2": 28, "size": 39966, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ - "menu-item" + 0 ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "issuerId": null, "issuerName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "name": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs" + } + ], "failed": false, "errors": 0, "warnings": 0, + "assets": [], "reasons": [ { - "moduleId": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "type": "harmony import", + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony side effect evaluation", "userRequest": "./vdom", "loc": "8:0-43" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "module": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "type": "harmony import", + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony import specifier", + "userRequest": "./vdom", + "loc": "36:8-25" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony import specifier", + "userRequest": "./vdom", + "loc": "85:29-46" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony import specifier", + "userRequest": "./vdom", + "loc": "98:29-46" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony import specifier", + "userRequest": "./vdom", + "loc": "183:29-46" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony import specifier", + "userRequest": "./vdom", + "loc": "192:29-46" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony side effect evaluation", "userRequest": "./../vdom", "loc": "6:0-32" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "./../vdom", + "loc": "139:39-42" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "./../vdom", + "loc": "142:39-42" } ], "usedExports": [ @@ -2336,1272 +4279,7634 @@ "source": "import global from '../shim/global';\nimport { from as arrayFrom } from '../shim/array';\nimport { isWNode, isVNode, isDomVNode, VNODE, WNODE } from './d';\nimport { isWidgetBaseConstructor } from './Registry';\nimport WeakMap from '../shim/WeakMap';\nconst NAMESPACE_W3 = 'http://www.w3.org/';\nconst NAMESPACE_SVG = NAMESPACE_W3 + '2000/svg';\nconst NAMESPACE_XLINK = NAMESPACE_W3 + '1999/xlink';\nconst emptyArray = [];\nconst nodeOperations = ['focus', 'blur', 'scrollIntoView', 'click'];\nexport const widgetInstanceMap = new WeakMap();\nconst instanceMap = new WeakMap();\nconst nextSiblingMap = new WeakMap();\nconst projectorStateMap = new WeakMap();\nfunction same(dnode1, dnode2) {\n if (isVNode(dnode1) && isVNode(dnode2)) {\n if (isDomVNode(dnode1) || isDomVNode(dnode2)) {\n if (dnode1.domNode !== dnode2.domNode) {\n return false;\n }\n }\n if (dnode1.tag !== dnode2.tag) {\n return false;\n }\n if (dnode1.properties.key !== dnode2.properties.key) {\n return false;\n }\n return true;\n }\n else if (isWNode(dnode1) && isWNode(dnode2)) {\n if (dnode1.instance === undefined && typeof dnode2.widgetConstructor === 'string') {\n return false;\n }\n if (dnode1.widgetConstructor !== dnode2.widgetConstructor) {\n return false;\n }\n if (dnode1.properties.key !== dnode2.properties.key) {\n return false;\n }\n return true;\n }\n return false;\n}\nconst missingTransition = function () {\n throw new Error('Provide a transitions object to the projectionOptions to do animations');\n};\nfunction getProjectionOptions(projectorOptions, projectorInstance) {\n const defaults = {\n namespace: undefined,\n styleApplyer: function (domNode, styleName, value) {\n domNode.style[styleName] = value;\n },\n transitions: {\n enter: missingTransition,\n exit: missingTransition\n },\n depth: 0,\n merge: false,\n sync: false,\n projectorInstance\n };\n return Object.assign({}, defaults, projectorOptions);\n}\nfunction checkStyleValue(styleValue) {\n if (typeof styleValue !== 'string') {\n throw new Error('Style values must be strings');\n }\n}\nfunction updateEvent(domNode, eventName, currentValue, projectionOptions, bind, previousValue) {\n const projectorState = projectorStateMap.get(projectionOptions.projectorInstance);\n const eventMap = projectorState.nodeMap.get(domNode) || new WeakMap();\n if (previousValue) {\n const previousEvent = eventMap.get(previousValue);\n domNode.removeEventListener(eventName, previousEvent);\n }\n let callback = currentValue.bind(bind);\n if (eventName === 'input') {\n callback = function (evt) {\n currentValue.call(this, evt);\n evt.target['oninput-value'] = evt.target.value;\n }.bind(bind);\n }\n domNode.addEventListener(eventName, callback);\n eventMap.set(currentValue, callback);\n projectorState.nodeMap.set(domNode, eventMap);\n}\nfunction addClasses(domNode, classes) {\n if (classes) {\n const classNames = classes.split(' ');\n for (let i = 0; i < classNames.length; i++) {\n domNode.classList.add(classNames[i]);\n }\n }\n}\nfunction removeClasses(domNode, classes) {\n if (classes) {\n const classNames = classes.split(' ');\n for (let i = 0; i < classNames.length; i++) {\n domNode.classList.remove(classNames[i]);\n }\n }\n}\nfunction buildPreviousProperties(domNode, previous, current) {\n const { diffType, properties, attributes } = current;\n if (!diffType || diffType === 'vdom') {\n return { properties: previous.properties, attributes: previous.attributes, events: previous.events };\n }\n else if (diffType === 'none') {\n return { properties: {}, attributes: previous.attributes ? {} : undefined, events: previous.events };\n }\n let newProperties = {\n properties: {}\n };\n if (attributes) {\n newProperties.attributes = {};\n newProperties.events = previous.events;\n Object.keys(properties).forEach((propName) => {\n newProperties.properties[propName] = domNode[propName];\n });\n Object.keys(attributes).forEach((attrName) => {\n newProperties.attributes[attrName] = domNode.getAttribute(attrName);\n });\n return newProperties;\n }\n newProperties.properties = Object.keys(properties).reduce((props, property) => {\n props[property] = domNode.getAttribute(property) || domNode[property];\n return props;\n }, {});\n return newProperties;\n}\nfunction nodeOperation(propName, propValue, previousValue, domNode, projectionOptions) {\n let result;\n if (typeof propValue === 'function') {\n result = propValue();\n }\n else {\n result = propValue && !previousValue;\n }\n if (result === true) {\n const projectorState = projectorStateMap.get(projectionOptions.projectorInstance);\n projectorState.deferredRenderCallbacks.push(() => {\n domNode[propName]();\n });\n }\n}\nfunction removeOrphanedEvents(domNode, previousProperties, properties, projectionOptions, onlyEvents = false) {\n const projectorState = projectorStateMap.get(projectionOptions.projectorInstance);\n const eventMap = projectorState.nodeMap.get(domNode);\n if (eventMap) {\n Object.keys(previousProperties).forEach((propName) => {\n const isEvent = propName.substr(0, 2) === 'on' || onlyEvents;\n const eventName = onlyEvents ? propName : propName.substr(2);\n if (isEvent && !properties[propName]) {\n const eventCallback = eventMap.get(previousProperties[propName]);\n if (eventCallback) {\n domNode.removeEventListener(eventName, eventCallback);\n }\n }\n });\n }\n}\nfunction updateAttribute(domNode, attrName, attrValue, projectionOptions) {\n if (projectionOptions.namespace === NAMESPACE_SVG && attrName === 'href') {\n domNode.setAttributeNS(NAMESPACE_XLINK, attrName, attrValue);\n }\n else if ((attrName === 'role' && attrValue === '') || attrValue === undefined) {\n domNode.removeAttribute(attrName);\n }\n else {\n domNode.setAttribute(attrName, attrValue);\n }\n}\nfunction updateAttributes(domNode, previousAttributes, attributes, projectionOptions) {\n const attrNames = Object.keys(attributes);\n const attrCount = attrNames.length;\n for (let i = 0; i < attrCount; i++) {\n const attrName = attrNames[i];\n const attrValue = attributes[attrName];\n const previousAttrValue = previousAttributes[attrName];\n if (attrValue !== previousAttrValue) {\n updateAttribute(domNode, attrName, attrValue, projectionOptions);\n }\n }\n}\nfunction updateProperties(domNode, previousProperties, properties, projectionOptions, includesEventsAndAttributes = true) {\n let propertiesUpdated = false;\n const propNames = Object.keys(properties);\n const propCount = propNames.length;\n if (propNames.indexOf('classes') === -1 && previousProperties.classes) {\n if (Array.isArray(previousProperties.classes)) {\n for (let i = 0; i < previousProperties.classes.length; i++) {\n removeClasses(domNode, previousProperties.classes[i]);\n }\n }\n else {\n removeClasses(domNode, previousProperties.classes);\n }\n }\n includesEventsAndAttributes && removeOrphanedEvents(domNode, previousProperties, properties, projectionOptions);\n for (let i = 0; i < propCount; i++) {\n const propName = propNames[i];\n let propValue = properties[propName];\n const previousValue = previousProperties[propName];\n if (propName === 'classes') {\n const previousClasses = Array.isArray(previousValue) ? previousValue : [previousValue];\n const currentClasses = Array.isArray(propValue) ? propValue : [propValue];\n if (previousClasses && previousClasses.length > 0) {\n if (!propValue || propValue.length === 0) {\n for (let i = 0; i < previousClasses.length; i++) {\n removeClasses(domNode, previousClasses[i]);\n }\n }\n else {\n const newClasses = [...currentClasses];\n for (let i = 0; i < previousClasses.length; i++) {\n const previousClassName = previousClasses[i];\n if (previousClassName) {\n const classIndex = newClasses.indexOf(previousClassName);\n if (classIndex === -1) {\n removeClasses(domNode, previousClassName);\n }\n else {\n newClasses.splice(classIndex, 1);\n }\n }\n }\n for (let i = 0; i < newClasses.length; i++) {\n addClasses(domNode, newClasses[i]);\n }\n }\n }\n else {\n for (let i = 0; i < currentClasses.length; i++) {\n addClasses(domNode, currentClasses[i]);\n }\n }\n }\n else if (nodeOperations.indexOf(propName) !== -1) {\n nodeOperation(propName, propValue, previousValue, domNode, projectionOptions);\n }\n else if (propName === 'styles') {\n const styleNames = Object.keys(propValue);\n const styleCount = styleNames.length;\n for (let j = 0; j < styleCount; j++) {\n const styleName = styleNames[j];\n const newStyleValue = propValue[styleName];\n const oldStyleValue = previousValue && previousValue[styleName];\n if (newStyleValue === oldStyleValue) {\n continue;\n }\n propertiesUpdated = true;\n if (newStyleValue) {\n checkStyleValue(newStyleValue);\n projectionOptions.styleApplyer(domNode, styleName, newStyleValue);\n }\n else {\n projectionOptions.styleApplyer(domNode, styleName, '');\n }\n }\n }\n else {\n if (!propValue && typeof previousValue === 'string') {\n propValue = '';\n }\n if (propName === 'value') {\n const domValue = domNode[propName];\n if (domValue !== propValue &&\n (domNode['oninput-value']\n ? domValue === domNode['oninput-value']\n : propValue !== previousValue)) {\n domNode[propName] = propValue;\n domNode['oninput-value'] = undefined;\n }\n if (propValue !== previousValue) {\n propertiesUpdated = true;\n }\n }\n else if (propName !== 'key' && propValue !== previousValue) {\n const type = typeof propValue;\n if (type === 'function' && propName.lastIndexOf('on', 0) === 0 && includesEventsAndAttributes) {\n updateEvent(domNode, propName.substr(2), propValue, projectionOptions, properties.bind, previousValue);\n }\n else if (type === 'string' && propName !== 'innerHTML' && includesEventsAndAttributes) {\n updateAttribute(domNode, propName, propValue, projectionOptions);\n }\n else if (propName === 'scrollLeft' || propName === 'scrollTop') {\n if (domNode[propName] !== propValue) {\n domNode[propName] = propValue;\n }\n }\n else {\n domNode[propName] = propValue;\n }\n propertiesUpdated = true;\n }\n }\n }\n return propertiesUpdated;\n}\nfunction findIndexOfChild(children, sameAs, start) {\n for (let i = start; i < children.length; i++) {\n if (same(children[i], sameAs)) {\n return i;\n }\n }\n return -1;\n}\nexport function toParentVNode(domNode) {\n return {\n tag: '',\n properties: {},\n children: undefined,\n domNode,\n type: VNODE\n };\n}\nexport function toTextVNode(data) {\n return {\n tag: '',\n properties: {},\n children: undefined,\n text: `${data}`,\n domNode: undefined,\n type: VNODE\n };\n}\nfunction toInternalWNode(instance, instanceData) {\n return {\n instance,\n rendered: [],\n coreProperties: instanceData.coreProperties,\n children: instance.children,\n widgetConstructor: instance.constructor,\n properties: instanceData.inputProperties,\n type: WNODE\n };\n}\nexport function filterAndDecorateChildren(children, instance) {\n if (children === undefined) {\n return emptyArray;\n }\n children = Array.isArray(children) ? children : [children];\n for (let i = 0; i < children.length;) {\n const child = children[i];\n if (child === undefined || child === null) {\n children.splice(i, 1);\n continue;\n }\n else if (typeof child === 'string') {\n children[i] = toTextVNode(child);\n }\n else {\n if (isVNode(child)) {\n if (child.properties.bind === undefined) {\n child.properties.bind = instance;\n if (child.children && child.children.length > 0) {\n filterAndDecorateChildren(child.children, instance);\n }\n }\n }\n else {\n if (!child.coreProperties) {\n const instanceData = widgetInstanceMap.get(instance);\n child.coreProperties = {\n bind: instance,\n baseRegistry: instanceData.coreProperties.baseRegistry\n };\n }\n if (child.children && child.children.length > 0) {\n filterAndDecorateChildren(child.children, instance);\n }\n }\n }\n i++;\n }\n return children;\n}\nfunction nodeAdded(dnode, transitions) {\n if (isVNode(dnode) && dnode.properties) {\n const enterAnimation = dnode.properties.enterAnimation;\n if (enterAnimation) {\n if (typeof enterAnimation === 'function') {\n enterAnimation(dnode.domNode, dnode.properties);\n }\n else {\n transitions.enter(dnode.domNode, dnode.properties, enterAnimation);\n }\n }\n }\n}\nfunction nodeToRemove(dnode, transitions, projectionOptions) {\n if (isWNode(dnode)) {\n const item = instanceMap.get(dnode.instance);\n const rendered = (item ? item.dnode.rendered : dnode.rendered) || emptyArray;\n if (dnode.instance) {\n const instanceData = widgetInstanceMap.get(dnode.instance);\n instanceData.onDetach();\n instanceMap.delete(dnode.instance);\n }\n for (let i = 0; i < rendered.length; i++) {\n nodeToRemove(rendered[i], transitions, projectionOptions);\n }\n }\n else {\n const domNode = dnode.domNode;\n const properties = dnode.properties;\n if (dnode.children && dnode.children.length > 0) {\n for (let i = 0; i < dnode.children.length; i++) {\n nodeToRemove(dnode.children[i], transitions, projectionOptions);\n }\n }\n const exitAnimation = properties.exitAnimation;\n if (properties && exitAnimation) {\n domNode.style.pointerEvents = 'none';\n const removeDomNode = function () {\n domNode && domNode.parentNode && domNode.parentNode.removeChild(domNode);\n dnode.domNode = undefined;\n };\n if (typeof exitAnimation === 'function') {\n exitAnimation(domNode, removeDomNode, properties);\n return;\n }\n else {\n transitions.exit(dnode.domNode, properties, exitAnimation, removeDomNode);\n return;\n }\n }\n domNode && domNode.parentNode && domNode.parentNode.removeChild(domNode);\n dnode.domNode = undefined;\n }\n}\nfunction checkDistinguishable(childNodes, indexToCheck, parentInstance) {\n const childNode = childNodes[indexToCheck];\n if (isVNode(childNode) && !childNode.tag) {\n return; // Text nodes need not be distinguishable\n }\n const { key } = childNode.properties;\n if (key === undefined || key === null) {\n for (let i = 0; i < childNodes.length; i++) {\n if (i !== indexToCheck) {\n const node = childNodes[i];\n if (same(node, childNode)) {\n let nodeIdentifier;\n const parentName = parentInstance.constructor.name || 'unknown';\n if (isWNode(childNode)) {\n nodeIdentifier = childNode.widgetConstructor.name || 'unknown';\n }\n else {\n nodeIdentifier = childNode.tag;\n }\n console.warn(`A widget (${parentName}) has had a child addded or removed, but they were not able to uniquely identified. It is recommended to provide a unique 'key' property when using the same widget or element (${nodeIdentifier}) multiple times as siblings`);\n break;\n }\n }\n }\n }\n}\nfunction updateChildren(parentVNode, siblings, oldChildren, newChildren, parentInstance, projectionOptions) {\n oldChildren = oldChildren || emptyArray;\n newChildren = newChildren;\n const oldChildrenLength = oldChildren.length;\n const newChildrenLength = newChildren.length;\n const transitions = projectionOptions.transitions;\n const projectorState = projectorStateMap.get(projectionOptions.projectorInstance);\n projectionOptions = Object.assign({}, projectionOptions, { depth: projectionOptions.depth + 1 });\n let oldIndex = 0;\n let newIndex = 0;\n let i;\n let textUpdated = false;\n while (newIndex < newChildrenLength) {\n let oldChild = oldIndex < oldChildrenLength ? oldChildren[oldIndex] : undefined;\n const newChild = newChildren[newIndex];\n if (isVNode(newChild) && typeof newChild.deferredPropertiesCallback === 'function') {\n newChild.inserted = isVNode(oldChild) && oldChild.inserted;\n addDeferredProperties(newChild, projectionOptions);\n }\n if (oldChild !== undefined && same(oldChild, newChild)) {\n oldIndex++;\n newIndex++;\n textUpdated =\n updateDom(oldChild, newChild, projectionOptions, parentVNode, parentInstance, oldChildren.slice(oldIndex), newChildren.slice(newIndex)) || textUpdated;\n continue;\n }\n const findOldIndex = findIndexOfChild(oldChildren, newChild, oldIndex + 1);\n const addChild = () => {\n let insertBeforeDomNode = undefined;\n let childrenArray = oldChildren;\n let nextIndex = oldIndex + 1;\n let child = oldChildren[oldIndex];\n if (!child) {\n child = siblings[0];\n nextIndex = 1;\n childrenArray = siblings;\n }\n if (child) {\n let insertBeforeChildren = [child];\n while (insertBeforeChildren.length) {\n const insertBefore = insertBeforeChildren.shift();\n if (isWNode(insertBefore)) {\n const item = instanceMap.get(insertBefore.instance);\n if (item && item.dnode.rendered) {\n insertBeforeChildren.push(...item.dnode.rendered);\n }\n }\n else {\n if (insertBefore.domNode) {\n if (insertBefore.domNode.parentElement !== parentVNode.domNode) {\n break;\n }\n insertBeforeDomNode = insertBefore.domNode;\n break;\n }\n }\n if (insertBeforeChildren.length === 0 && childrenArray[nextIndex]) {\n insertBeforeChildren.push(childrenArray[nextIndex]);\n nextIndex++;\n }\n }\n }\n createDom(newChild, parentVNode, newChildren.slice(newIndex + 1), insertBeforeDomNode, projectionOptions, parentInstance);\n nodeAdded(newChild, transitions);\n const indexToCheck = newIndex;\n projectorState.afterRenderCallbacks.push(() => {\n checkDistinguishable(newChildren, indexToCheck, parentInstance);\n });\n };\n if (!oldChild || findOldIndex === -1) {\n addChild();\n newIndex++;\n continue;\n }\n const removeChild = () => {\n const indexToCheck = oldIndex;\n projectorState.afterRenderCallbacks.push(() => {\n checkDistinguishable(oldChildren, indexToCheck, parentInstance);\n });\n if (isWNode(oldChild)) {\n const item = instanceMap.get(oldChild.instance);\n if (item) {\n oldChild = item.dnode;\n }\n }\n nodeToRemove(oldChild, transitions, projectionOptions);\n };\n const findNewIndex = findIndexOfChild(newChildren, oldChild, newIndex + 1);\n if (findNewIndex === -1) {\n removeChild();\n oldIndex++;\n continue;\n }\n addChild();\n removeChild();\n oldIndex++;\n newIndex++;\n }\n if (oldChildrenLength > oldIndex) {\n // Remove child fragments\n for (i = oldIndex; i < oldChildrenLength; i++) {\n const indexToCheck = i;\n projectorState.afterRenderCallbacks.push(() => {\n checkDistinguishable(oldChildren, indexToCheck, parentInstance);\n });\n let childToRemove = oldChildren[i];\n if (isWNode(childToRemove)) {\n const item = instanceMap.get(childToRemove.instance);\n if (item) {\n childToRemove = item.dnode;\n }\n }\n nodeToRemove(childToRemove, transitions, projectionOptions);\n }\n }\n return textUpdated;\n}\nfunction addChildren(parentVNode, children, projectionOptions, parentInstance, insertBefore = undefined, childNodes) {\n if (children === undefined) {\n return;\n }\n const projectorState = projectorStateMap.get(projectionOptions.projectorInstance);\n if (projectorState.merge && childNodes === undefined) {\n childNodes = arrayFrom(parentVNode.domNode.childNodes);\n }\n const transitions = projectionOptions.transitions;\n projectionOptions = Object.assign({}, projectionOptions, { depth: projectionOptions.depth + 1 });\n for (let i = 0; i < children.length; i++) {\n const child = children[i];\n const nextSiblings = children.slice(i + 1);\n if (isVNode(child)) {\n if (projectorState.merge && childNodes) {\n let domElement = undefined;\n while (child.domNode === undefined && childNodes.length > 0) {\n domElement = childNodes.shift();\n if (domElement && domElement.tagName === (child.tag.toUpperCase() || undefined)) {\n child.domNode = domElement;\n }\n }\n }\n createDom(child, parentVNode, nextSiblings, insertBefore, projectionOptions, parentInstance);\n }\n else {\n createDom(child, parentVNode, nextSiblings, insertBefore, projectionOptions, parentInstance, childNodes);\n }\n nodeAdded(child, transitions);\n }\n}\nfunction initPropertiesAndChildren(domNode, dnode, parentInstance, projectionOptions) {\n addChildren(dnode, dnode.children, projectionOptions, parentInstance, undefined);\n if (typeof dnode.deferredPropertiesCallback === 'function' && dnode.inserted === undefined) {\n addDeferredProperties(dnode, projectionOptions);\n }\n if (dnode.attributes && dnode.events) {\n updateAttributes(domNode, {}, dnode.attributes, projectionOptions);\n updateProperties(domNode, {}, dnode.properties, projectionOptions, false);\n removeOrphanedEvents(domNode, {}, dnode.events, projectionOptions, true);\n const events = dnode.events;\n Object.keys(events).forEach((event) => {\n updateEvent(domNode, event, events[event], projectionOptions, dnode.properties.bind);\n });\n }\n else {\n updateProperties(domNode, {}, dnode.properties, projectionOptions);\n }\n if (dnode.properties.key !== null && dnode.properties.key !== undefined) {\n const instanceData = widgetInstanceMap.get(parentInstance);\n instanceData.nodeHandler.add(domNode, `${dnode.properties.key}`);\n }\n dnode.inserted = true;\n}\nfunction createDom(dnode, parentVNode, nextSiblings, insertBefore, projectionOptions, parentInstance, childNodes) {\n let domNode;\n const projectorState = projectorStateMap.get(projectionOptions.projectorInstance);\n if (isWNode(dnode)) {\n let { widgetConstructor } = dnode;\n const parentInstanceData = widgetInstanceMap.get(parentInstance);\n if (!isWidgetBaseConstructor(widgetConstructor)) {\n const item = parentInstanceData.registry().get(widgetConstructor);\n if (item === null) {\n return;\n }\n widgetConstructor = item;\n }\n const instance = new widgetConstructor();\n dnode.instance = instance;\n nextSiblingMap.set(instance, nextSiblings);\n const instanceData = widgetInstanceMap.get(instance);\n instanceData.invalidate = () => {\n instanceData.dirty = true;\n if (instanceData.rendering === false) {\n projectorState.renderQueue.push({ instance, depth: projectionOptions.depth });\n scheduleRender(projectionOptions);\n }\n };\n instanceData.rendering = true;\n instance.__setCoreProperties__(dnode.coreProperties);\n instance.__setChildren__(dnode.children);\n instance.__setProperties__(dnode.properties);\n const rendered = instance.__render__();\n instanceData.rendering = false;\n if (rendered) {\n const filteredRendered = filterAndDecorateChildren(rendered, instance);\n dnode.rendered = filteredRendered;\n addChildren(parentVNode, filteredRendered, projectionOptions, instance, insertBefore, childNodes);\n }\n instanceMap.set(instance, { dnode, parentVNode });\n instanceData.nodeHandler.addRoot();\n projectorState.afterRenderCallbacks.push(() => {\n instanceData.onAttach();\n });\n }\n else {\n if (projectorState.merge && projectorState.mergeElement !== undefined) {\n domNode = dnode.domNode = projectionOptions.mergeElement;\n projectorState.mergeElement = undefined;\n initPropertiesAndChildren(domNode, dnode, parentInstance, projectionOptions);\n return;\n }\n const doc = parentVNode.domNode.ownerDocument;\n if (!dnode.tag && typeof dnode.text === 'string') {\n if (dnode.domNode !== undefined && parentVNode.domNode) {\n const newDomNode = dnode.domNode.ownerDocument.createTextNode(dnode.text);\n if (parentVNode.domNode === dnode.domNode.parentNode) {\n parentVNode.domNode.replaceChild(newDomNode, dnode.domNode);\n }\n else {\n parentVNode.domNode.appendChild(newDomNode);\n dnode.domNode.parentNode && dnode.domNode.parentNode.removeChild(dnode.domNode);\n }\n dnode.domNode = newDomNode;\n }\n else {\n domNode = dnode.domNode = doc.createTextNode(dnode.text);\n if (insertBefore !== undefined) {\n parentVNode.domNode.insertBefore(domNode, insertBefore);\n }\n else {\n parentVNode.domNode.appendChild(domNode);\n }\n }\n }\n else {\n if (dnode.domNode === undefined) {\n if (dnode.tag === 'svg') {\n projectionOptions = Object.assign({}, projectionOptions, { namespace: NAMESPACE_SVG });\n }\n if (projectionOptions.namespace !== undefined) {\n domNode = dnode.domNode = doc.createElementNS(projectionOptions.namespace, dnode.tag);\n }\n else {\n domNode = dnode.domNode = dnode.domNode || doc.createElement(dnode.tag);\n }\n }\n else {\n domNode = dnode.domNode;\n }\n initPropertiesAndChildren(domNode, dnode, parentInstance, projectionOptions);\n if (insertBefore !== undefined) {\n parentVNode.domNode.insertBefore(domNode, insertBefore);\n }\n else if (domNode.parentNode !== parentVNode.domNode) {\n parentVNode.domNode.appendChild(domNode);\n }\n }\n }\n}\nfunction updateDom(previous, dnode, projectionOptions, parentVNode, parentInstance, oldNextSiblings, nextSiblings) {\n if (isWNode(dnode)) {\n const { instance } = previous;\n const { parentVNode, dnode: node } = instanceMap.get(instance);\n const previousRendered = node ? node.rendered : previous.rendered;\n const instanceData = widgetInstanceMap.get(instance);\n instanceData.rendering = true;\n instance.__setCoreProperties__(dnode.coreProperties);\n instance.__setChildren__(dnode.children);\n instance.__setProperties__(dnode.properties);\n nextSiblingMap.set(instance, nextSiblings);\n dnode.instance = instance;\n if (instanceData.dirty === true) {\n const rendered = instance.__render__();\n instanceData.rendering = false;\n dnode.rendered = filterAndDecorateChildren(rendered, instance);\n updateChildren(parentVNode, oldNextSiblings, previousRendered, dnode.rendered, instance, projectionOptions);\n }\n else {\n instanceData.rendering = false;\n dnode.rendered = previousRendered;\n }\n instanceMap.set(instance, { dnode, parentVNode });\n instanceData.nodeHandler.addRoot();\n }\n else {\n if (previous === dnode) {\n return false;\n }\n const domNode = (dnode.domNode = previous.domNode);\n let textUpdated = false;\n let updated = false;\n if (!dnode.tag && typeof dnode.text === 'string') {\n if (dnode.text !== previous.text) {\n const newDomNode = domNode.ownerDocument.createTextNode(dnode.text);\n domNode.parentNode.replaceChild(newDomNode, domNode);\n dnode.domNode = newDomNode;\n textUpdated = true;\n return textUpdated;\n }\n }\n else {\n if (dnode.tag && dnode.tag.lastIndexOf('svg', 0) === 0) {\n projectionOptions = Object.assign({}, projectionOptions, { namespace: NAMESPACE_SVG });\n }\n if (previous.children !== dnode.children) {\n const children = filterAndDecorateChildren(dnode.children, parentInstance);\n dnode.children = children;\n updated =\n updateChildren(dnode, oldNextSiblings, previous.children, children, parentInstance, projectionOptions) || updated;\n }\n const previousProperties = buildPreviousProperties(domNode, previous, dnode);\n if (dnode.attributes && dnode.events) {\n updateAttributes(domNode, previousProperties.attributes, dnode.attributes, projectionOptions);\n updated =\n updateProperties(domNode, previousProperties.properties, dnode.properties, projectionOptions, false) || updated;\n removeOrphanedEvents(domNode, previousProperties.events, dnode.events, projectionOptions, true);\n const events = dnode.events;\n Object.keys(events).forEach((event) => {\n updateEvent(domNode, event, events[event], projectionOptions, dnode.properties.bind, previousProperties.events[event]);\n });\n }\n else {\n updated =\n updateProperties(domNode, previousProperties.properties, dnode.properties, projectionOptions) ||\n updated;\n }\n if (dnode.properties.key !== null && dnode.properties.key !== undefined) {\n const instanceData = widgetInstanceMap.get(parentInstance);\n instanceData.nodeHandler.add(domNode, `${dnode.properties.key}`);\n }\n }\n if (updated && dnode.properties && dnode.properties.updateAnimation) {\n dnode.properties.updateAnimation(domNode, dnode.properties, previous.properties);\n }\n }\n}\nfunction addDeferredProperties(vnode, projectionOptions) {\n // transfer any properties that have been passed - as these must be decorated properties\n vnode.decoratedDeferredProperties = vnode.properties;\n const properties = vnode.deferredPropertiesCallback(!!vnode.inserted);\n const projectorState = projectorStateMap.get(projectionOptions.projectorInstance);\n vnode.properties = Object.assign({}, properties, vnode.decoratedDeferredProperties);\n projectorState.deferredRenderCallbacks.push(() => {\n const properties = Object.assign({}, vnode.deferredPropertiesCallback(!!vnode.inserted), vnode.decoratedDeferredProperties);\n updateProperties(vnode.domNode, vnode.properties, properties, projectionOptions);\n vnode.properties = properties;\n });\n}\nfunction runDeferredRenderCallbacks(projectionOptions) {\n const projectorState = projectorStateMap.get(projectionOptions.projectorInstance);\n if (projectorState.deferredRenderCallbacks.length) {\n if (projectionOptions.sync) {\n while (projectorState.deferredRenderCallbacks.length) {\n const callback = projectorState.deferredRenderCallbacks.shift();\n callback && callback();\n }\n }\n else {\n global.requestAnimationFrame(() => {\n while (projectorState.deferredRenderCallbacks.length) {\n const callback = projectorState.deferredRenderCallbacks.shift();\n callback && callback();\n }\n });\n }\n }\n}\nfunction runAfterRenderCallbacks(projectionOptions) {\n const projectorState = projectorStateMap.get(projectionOptions.projectorInstance);\n if (projectionOptions.sync) {\n while (projectorState.afterRenderCallbacks.length) {\n const callback = projectorState.afterRenderCallbacks.shift();\n callback && callback();\n }\n }\n else {\n if (global.requestIdleCallback) {\n global.requestIdleCallback(() => {\n while (projectorState.afterRenderCallbacks.length) {\n const callback = projectorState.afterRenderCallbacks.shift();\n callback && callback();\n }\n });\n }\n else {\n setTimeout(() => {\n while (projectorState.afterRenderCallbacks.length) {\n const callback = projectorState.afterRenderCallbacks.shift();\n callback && callback();\n }\n });\n }\n }\n}\nfunction scheduleRender(projectionOptions) {\n const projectorState = projectorStateMap.get(projectionOptions.projectorInstance);\n if (projectionOptions.sync) {\n render(projectionOptions);\n }\n else if (projectorState.renderScheduled === undefined) {\n projectorState.renderScheduled = global.requestAnimationFrame(() => {\n render(projectionOptions);\n });\n }\n}\nfunction render(projectionOptions) {\n const projectorState = projectorStateMap.get(projectionOptions.projectorInstance);\n projectorState.renderScheduled = undefined;\n const renderQueue = projectorState.renderQueue;\n const renders = [...renderQueue];\n projectorState.renderQueue = [];\n renders.sort((a, b) => a.depth - b.depth);\n const previouslyRendered = [];\n while (renders.length) {\n const { instance } = renders.shift();\n if (instanceMap.has(instance) && previouslyRendered.indexOf(instance) === -1) {\n previouslyRendered.push(instance);\n const { parentVNode, dnode } = instanceMap.get(instance);\n const instanceData = widgetInstanceMap.get(instance);\n const nextSiblings = nextSiblingMap.get(instance);\n updateDom(dnode, toInternalWNode(instance, instanceData), projectionOptions, parentVNode, instance, nextSiblings, nextSiblings);\n }\n }\n runAfterRenderCallbacks(projectionOptions);\n runDeferredRenderCallbacks(projectionOptions);\n}\nexport const dom = {\n append: function (parentNode, instance, projectionOptions = {}) {\n const instanceData = widgetInstanceMap.get(instance);\n const finalProjectorOptions = getProjectionOptions(projectionOptions, instance);\n const projectorState = {\n afterRenderCallbacks: [],\n deferredRenderCallbacks: [],\n nodeMap: new WeakMap(),\n renderScheduled: undefined,\n renderQueue: [],\n merge: projectionOptions.merge || false,\n mergeElement: projectionOptions.mergeElement\n };\n projectorStateMap.set(instance, projectorState);\n finalProjectorOptions.rootNode = parentNode;\n const parentVNode = toParentVNode(finalProjectorOptions.rootNode);\n const node = toInternalWNode(instance, instanceData);\n instanceMap.set(instance, { dnode: node, parentVNode });\n instanceData.invalidate = () => {\n instanceData.dirty = true;\n if (instanceData.rendering === false) {\n projectorState.renderQueue.push({ instance, depth: finalProjectorOptions.depth });\n scheduleRender(finalProjectorOptions);\n }\n };\n updateDom(node, node, finalProjectorOptions, parentVNode, instance, [], []);\n projectorState.afterRenderCallbacks.push(() => {\n instanceData.onAttach();\n });\n runDeferredRenderCallbacks(finalProjectorOptions);\n runAfterRenderCallbacks(finalProjectorOptions);\n return {\n domNode: finalProjectorOptions.rootNode\n };\n },\n create: function (instance, projectionOptions) {\n return this.append(document.createElement('div'), instance, projectionOptions);\n },\n merge: function (element, instance, projectionOptions = {}) {\n projectionOptions.merge = true;\n projectionOptions.mergeElement = element;\n const projection = this.append(element.parentNode, instance, projectionOptions);\n const projectorState = projectorStateMap.get(instance);\n projectorState.merge = false;\n return projection;\n }\n};\n//# sourceMappingURL=vdom.mjs.map" }, { - "id": "./node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--5-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", - "name": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js", - "index": 1, - "index2": 41, - "size": 292, + "id": 13, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/tslib/tslib.js", + "name": "./node_modules/tslib/tslib.js", + "index": 14, + "index2": 9, + "size": 10531, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ - "menu-item" + 0 + ], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + } ], - "assets": [], - "issuer": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", - "issuerId": 0, - "issuerName": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js", "failed": false, "errors": 0, "warnings": 0, + "assets": [], "reasons": [ { - "moduleId": 0, - "moduleIdentifier": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", - "module": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js", - "moduleName": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js", - "type": "single entry", - "userRequest": "imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", - "loc": "menu-item:100000" - } - ], - "usedExports": true, - "providedExports": null, - "optimizationBailout": [], - "depth": 1, - "source": "/*** IMPORTS FROM imports-loader ***/\nvar widgetFactory = require(\"src/menu-item/MenuItem\");\n\nvar registerCustomElement = require('@dojo/framework/widget-core/registerCustomElement').default;\n\nvar defaultExport = widgetFactory.default;\ndefaultExport && registerCustomElement(defaultExport);\n\n" - }, - { - "id": "./node_modules/process/browser.js", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--5-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/process/browser.js", - "name": "./node_modules/process/browser.js", - "index": 9, - "index2": 2, - "size": 5418, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu-item" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/has/has.mjs", - "issuerId": "./node_modules/@dojo/framework/has/has.mjs", - "issuerName": "./node_modules/@dojo/framework/has/has.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ + "moduleId": 19, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs 7cf860e45721ea2eddfdcf432935cea3", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "type": "harmony side effect evaluation", + "userRequest": "tslib", + "loc": "1:0-33" + }, { - "moduleId": "./node_modules/@dojo/framework/has/has.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/has/has.mjs", - "module": "./node_modules/@dojo/framework/has/has.mjs", - "moduleName": "./node_modules/@dojo/framework/has/has.mjs", - "type": "cjs require", - "userRequest": "process", - "loc": "1:0-40" - } - ], - "usedExports": true, - "providedExports": null, - "optimizationBailout": [], - "depth": 6, - "source": "// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n" - }, - { - "id": "./node_modules/tslib/tslib.es6.js", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--5-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/tslib/tslib.es6.js", - "name": "./node_modules/tslib/tslib.es6.js", - "index": 3, - "index2": 0, - "size": 8033, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu-item" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ + "moduleId": 19, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs 7cf860e45721ea2eddfdcf432935cea3", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "type": "harmony import specifier", + "userRequest": "tslib", + "loc": "111:73-87" + }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "type": "harmony import", + "moduleId": 19, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs 7cf860e45721ea2eddfdcf432935cea3", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "type": "harmony import specifier", "userRequest": "tslib", - "loc": "1:0-33" + "loc": "123:4-22" }, { - "moduleId": "./src/menu-item/MenuItem.ts", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--3-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--3-1!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--3-2!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu-item!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/src/menu-item/MenuItem.ts", - "module": "./src/menu-item/MenuItem.ts", - "moduleName": "./src/menu-item/MenuItem.ts", - "type": "harmony import", + "moduleId": 19, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs 7cf860e45721ea2eddfdcf432935cea3", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "type": "harmony import specifier", "userRequest": "tslib", - "loc": "1:0-33" + "loc": "127:13-31" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "module": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "type": "harmony import", + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-33" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "type": "harmony import", + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-33" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "tslib", + "loc": "32:25-43" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "tslib", + "loc": "148:4-22" } ], "usedExports": [ "__decorate", "__rest" ], - "providedExports": [ - "__extends", - "__assign", - "__rest", - "__decorate", - "__param", - "__metadata", - "__awaiter", - "__generator", - "__exportStar", - "__values", - "__read", - "__spread", - "__await", - "__asyncGenerator", - "__asyncDelegator", - "__asyncValues", - "__makeTemplateObject" + "providedExports": null, + "optimizationBailout": [ + "ModuleConcatenation bailout: Module is not an ECMAScript module" ], - "optimizationBailout": [], "depth": 3, - "source": "/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)\r\n t[p[i]] = s[p[i]];\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = y[op[0] & 2 ? \"return\" : op[0] ? \"throw\" : \"next\"]) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [0, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator], i = 0;\r\n if (m) return m.call(o);\r\n return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { if (o[n]) i[n] = function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; }; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator];\r\n return m ? m.call(o) : typeof __values === \"function\" ? __values(o) : o[Symbol.iterator]();\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n" + "source": "/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global global, define, System, Reflect, Promise */\r\nvar __extends;\r\nvar __assign;\r\nvar __rest;\r\nvar __decorate;\r\nvar __param;\r\nvar __metadata;\r\nvar __awaiter;\r\nvar __generator;\r\nvar __exportStar;\r\nvar __values;\r\nvar __read;\r\nvar __spread;\r\nvar __await;\r\nvar __asyncGenerator;\r\nvar __asyncDelegator;\r\nvar __asyncValues;\r\nvar __makeTemplateObject;\r\n(function (factory) {\r\n var root = typeof global === \"object\" ? global : typeof self === \"object\" ? self : typeof this === \"object\" ? this : {};\r\n if (typeof define === \"function\" && define.amd) {\r\n define(\"tslib\", [\"exports\"], function (exports) { factory(createExporter(root, createExporter(exports))); });\r\n }\r\n else if (typeof module === \"object\" && typeof module.exports === \"object\") {\r\n factory(createExporter(root, createExporter(module.exports)));\r\n }\r\n else {\r\n factory(createExporter(root));\r\n }\r\n function createExporter(exports, previous) {\r\n if (exports !== root) {\r\n if (typeof Object.create === \"function\") {\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n }\r\n else {\r\n exports.__esModule = true;\r\n }\r\n }\r\n return function (id, v) { return exports[id] = previous ? previous(id, v) : v; };\r\n }\r\n})\r\n(function (exporter) {\r\n var extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n\r\n __extends = function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n\r\n __assign = Object.assign || function (t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n\r\n __rest = function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)\r\n t[p[i]] = s[p[i]];\r\n return t;\r\n };\r\n\r\n __decorate = function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n };\r\n\r\n __param = function (paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n };\r\n\r\n __metadata = function (metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n };\r\n\r\n __awaiter = function (thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n };\r\n\r\n __generator = function (thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = y[op[0] & 2 ? \"return\" : op[0] ? \"throw\" : \"next\"]) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [0, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n };\r\n\r\n __exportStar = function (m, exports) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n };\r\n\r\n __values = function (o) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator], i = 0;\r\n if (m) return m.call(o);\r\n return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n };\r\n\r\n __read = function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n };\r\n\r\n __spread = function () {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n };\r\n\r\n __await = function (v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n };\r\n\r\n __asyncGenerator = function (thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n };\r\n\r\n __asyncDelegator = function (o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { if (o[n]) i[n] = function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; }; }\r\n };\r\n\r\n __asyncValues = function (o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator];\r\n return m ? m.call(o) : typeof __values === \"function\" ? __values(o) : o[Symbol.iterator]();\r\n };\r\n\r\n __makeTemplateObject = function (cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n };\r\n\r\n exporter(\"__extends\", __extends);\r\n exporter(\"__assign\", __assign);\r\n exporter(\"__rest\", __rest);\r\n exporter(\"__decorate\", __decorate);\r\n exporter(\"__param\", __param);\r\n exporter(\"__metadata\", __metadata);\r\n exporter(\"__awaiter\", __awaiter);\r\n exporter(\"__generator\", __generator);\r\n exporter(\"__exportStar\", __exportStar);\r\n exporter(\"__values\", __values);\r\n exporter(\"__read\", __read);\r\n exporter(\"__spread\", __spread);\r\n exporter(\"__await\", __await);\r\n exporter(\"__asyncGenerator\", __asyncGenerator);\r\n exporter(\"__asyncDelegator\", __asyncDelegator);\r\n exporter(\"__asyncValues\", __asyncValues);\r\n exporter(\"__makeTemplateObject\", __makeTemplateObject);\r\n});\r\n" }, { - "id": "./node_modules/webpack/buildin/global.js", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--5-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/webpack/buildin/global.js", - "name": "(webpack)/buildin/global.js", - "index": 8, - "index2": 1, - "size": 488, + "id": 14, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/diff.mjs", + "name": "./node_modules/@dojo/framework/widget-core/diff.mjs", + "index": 21, + "index2": 23, + "size": 1930, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ - "menu-item" + 0 + ], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "name": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs" + } ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/global.mjs", - "issuerId": "./node_modules/@dojo/framework/shim/global.mjs", - "issuerName": "./node_modules/@dojo/framework/shim/global.mjs", "failed": false, "errors": 0, "warnings": 0, + "assets": [], "reasons": [ { - "moduleId": "./node_modules/@dojo/framework/shim/global.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/global.mjs", - "module": "./node_modules/@dojo/framework/shim/global.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/global.mjs", - "type": "cjs require", - "userRequest": "global", - "loc": "1:0-47" + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony side effect evaluation", + "userRequest": "./diff", + "loc": "5:0-30" }, { - "moduleId": "./node_modules/@dojo/framework/has/has.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/has/has.mjs", - "module": "./node_modules/@dojo/framework/has/has.mjs", - "moduleName": "./node_modules/@dojo/framework/has/has.mjs", - "type": "cjs require", - "userRequest": "global", - "loc": "1:0-47" + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony import specifier", + "userRequest": "./diff", + "loc": "11:18-22" + }, + { + "moduleId": 19, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs 7cf860e45721ea2eddfdcf432935cea3", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "type": "harmony side effect evaluation", + "userRequest": "./../diff", + "loc": "2:0-33" + }, + { + "moduleId": 19, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs 7cf860e45721ea2eddfdcf432935cea3", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "type": "harmony side effect evaluation", + "userRequest": "./../diff", + "loc": "6:0-36" + }, + { + "moduleId": 19, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs 7cf860e45721ea2eddfdcf432935cea3", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "type": "harmony import specifier", + "userRequest": "./../diff", + "loc": "10:58-62" + }, + { + "moduleId": 19, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs 7cf860e45721ea2eddfdcf432935cea3", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "type": "harmony import specifier", + "userRequest": "./../diff", + "loc": "124:30-37" + }, + { + "moduleId": 19, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs 7cf860e45721ea2eddfdcf432935cea3", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "type": "harmony import specifier", + "userRequest": "./../diff", + "loc": "125:37-44" } ], - "usedExports": true, - "providedExports": null, + "usedExports": [ + "auto", + "shallow" + ], + "providedExports": [ + "always", + "ignore", + "reference", + "shallow", + "auto" + ], "optimizationBailout": [], "depth": 4, - "source": "var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || Function(\"return this\")() || (1,eval)(\"this\");\n} catch(e) {\n\t// This works if the window reference is available\n\tif(typeof window === \"object\")\n\t\tg = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n" + "source": "import { WIDGET_BASE_TYPE } from './Registry';\nfunction isObjectOrArray(value) {\n return Object.prototype.toString.call(value) === '[object Object]' || Array.isArray(value);\n}\nexport function always(previousProperty, newProperty) {\n return {\n changed: true,\n value: newProperty\n };\n}\nexport function ignore(previousProperty, newProperty) {\n return {\n changed: false,\n value: newProperty\n };\n}\nexport function reference(previousProperty, newProperty) {\n return {\n changed: previousProperty !== newProperty,\n value: newProperty\n };\n}\nexport function shallow(previousProperty, newProperty) {\n let changed = false;\n const validOldProperty = previousProperty && isObjectOrArray(previousProperty);\n const validNewProperty = newProperty && isObjectOrArray(newProperty);\n if (!validOldProperty || !validNewProperty) {\n return {\n changed: true,\n value: newProperty\n };\n }\n const previousKeys = Object.keys(previousProperty);\n const newKeys = Object.keys(newProperty);\n if (previousKeys.length !== newKeys.length) {\n changed = true;\n }\n else {\n changed = newKeys.some((key) => {\n return newProperty[key] !== previousProperty[key];\n });\n }\n return {\n changed,\n value: newProperty\n };\n}\nexport function auto(previousProperty, newProperty) {\n let result;\n if (typeof newProperty === 'function') {\n if (newProperty._type === WIDGET_BASE_TYPE) {\n result = reference(previousProperty, newProperty);\n }\n else {\n result = ignore(previousProperty, newProperty);\n }\n }\n else if (isObjectOrArray(newProperty)) {\n result = shallow(previousProperty, newProperty);\n }\n else {\n result = reference(previousProperty, newProperty);\n }\n return result;\n}\n//# sourceMappingURL=diff.mjs.map" }, { - "id": "./src/menu-item/MenuItem.ts", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--3-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--3-1!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--3-2!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu-item!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/src/menu-item/MenuItem.ts", - "name": "./src/menu-item/MenuItem.ts", - "index": 2, - "index2": 40, - "size": 1135, + "id": 15, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/object.mjs", + "name": "./node_modules/@dojo/framework/shim/object.mjs", + "index": 19, + "index2": 12, + "size": 4090, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ - "menu-item" + 0 + ], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", + "issuerId": 5, + "issuerName": "./node_modules/@dojo/framework/shim/Map.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "name": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs" + }, + { + "id": 5, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", + "name": "./node_modules/@dojo/framework/shim/Map.mjs" + } ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--5-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", - "issuerId": "./node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js", - "issuerName": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js", "failed": false, "errors": 0, "warnings": 0, + "assets": [], "reasons": [ { - "moduleId": "./node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--5-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", - "module": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js", - "moduleName": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js", - "type": "cjs require", - "userRequest": "src/menu-item/MenuItem", - "loc": "2:20-53" + "moduleId": 5, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", + "module": "./node_modules/@dojo/framework/shim/Map.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Map.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./object", + "loc": "3:0-42" + }, + { + "moduleId": 5, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", + "module": "./node_modules/@dojo/framework/shim/Map.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Map.mjs", + "type": "harmony import specifier", + "userRequest": "./object", + "loc": "33:24-32" + }, + { + "moduleId": 21, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/core/lang.mjs", + "module": "./node_modules/@dojo/framework/core/lang.mjs", + "moduleName": "./node_modules/@dojo/framework/core/lang.mjs", + "type": "harmony side effect evaluation", + "userRequest": "../shim/object", + "loc": "1:0-40" + }, + { + "moduleId": 21, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/core/lang.mjs", + "module": "./node_modules/@dojo/framework/core/lang.mjs", + "moduleName": "./node_modules/@dojo/framework/core/lang.mjs", + "type": "harmony side effect evaluation", + "userRequest": "../shim/object", + "loc": "2:0-40" + }, + { + "moduleId": 21, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/core/lang.mjs", + "module": "./node_modules/@dojo/framework/core/lang.mjs", + "moduleName": "./node_modules/@dojo/framework/core/lang.mjs", + "type": "harmony export imported specifier", + "userRequest": "../shim/object", + "loc": "2:0-40" + }, + { + "moduleId": 21, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/core/lang.mjs", + "module": "./node_modules/@dojo/framework/core/lang.mjs", + "moduleName": "./node_modules/@dojo/framework/core/lang.mjs", + "type": "harmony import specifier", + "userRequest": "../shim/object", + "loc": "78:11-17" } ], - "usedExports": true, + "usedExports": [ + "assign", + "is" + ], "providedExports": [ - "MenuItem", - "default" + "assign", + "getOwnPropertyDescriptor", + "getOwnPropertyNames", + "getOwnPropertySymbols", + "is", + "keys", + "getOwnPropertyDescriptors", + "entries", + "values" ], "optimizationBailout": [], - "depth": 2, - "source": "import * as tslib_1 from \"tslib\";\nimport { v } from '@dojo/framework/widget-core/d';\nimport { customElement } from '@dojo/framework/widget-core/decorators/customElement';\nimport { theme, ThemedMixin } from '@dojo/framework/widget-core/mixins/Themed';\nimport { WidgetBase } from '@dojo/framework/widget-core/WidgetBase';\nimport * as css from './menuItem.m.css';\nlet MenuItem = class MenuItem extends ThemedMixin(WidgetBase) {\n _onClick() {\n this.properties.onSelected && this.properties.onSelected(this.properties.data);\n }\n render() {\n const { title, selected } = this.properties;\n return v('li', { classes: this.theme(css.root) }, [\n v('span', {\n classes: this.theme([css.item, selected ? css.selected : null]),\n onclick: this._onClick\n }, [title])\n ]);\n }\n};\nMenuItem = tslib_1.__decorate([\n customElement({\n tag: 'demo-menu-item',\n attributes: ['title', 'selected'],\n events: ['onSelected'],\n properties: ['data', 'selected']\n }),\n theme(css)\n], MenuItem);\nexport { MenuItem };\nexport default MenuItem;\n" + "depth": 5, + "source": "import global from './global';\nimport has from './support/has';\nimport { isSymbol } from './Symbol';\nexport let assign;\n/**\n * Gets the own property descriptor of the specified object.\n * An own property descriptor is one that is defined directly on the object and is not\n * inherited from the object's prototype.\n * @param o Object that contains the property.\n * @param p Name of the property.\n */\nexport let getOwnPropertyDescriptor;\n/**\n * Returns the names of the own properties of an object. The own properties of an object are those that are defined directly\n * on that object, and are not inherited from the object's prototype. The properties of an object include both fields (objects) and functions.\n * @param o Object that contains the own properties.\n */\nexport let getOwnPropertyNames;\n/**\n * Returns an array of all symbol properties found directly on object o.\n * @param o Object to retrieve the symbols from.\n */\nexport let getOwnPropertySymbols;\n/**\n * Returns true if the values are the same value, false otherwise.\n * @param value1 The first value.\n * @param value2 The second value.\n */\nexport let is;\n/**\n * Returns the names of the enumerable properties and methods of an object.\n * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.\n */\nexport let keys;\n/* ES7 Object static methods */\nexport let getOwnPropertyDescriptors;\nexport let entries;\nexport let values;\nif (has('es6-object')) {\n const globalObject = global.Object;\n assign = globalObject.assign;\n getOwnPropertyDescriptor = globalObject.getOwnPropertyDescriptor;\n getOwnPropertyNames = globalObject.getOwnPropertyNames;\n getOwnPropertySymbols = globalObject.getOwnPropertySymbols;\n is = globalObject.is;\n keys = globalObject.keys;\n}\nelse {\n keys = function symbolAwareKeys(o) {\n return Object.keys(o).filter((key) => !Boolean(key.match(/^@@.+/)));\n };\n assign = function assign(target, ...sources) {\n if (target == null) {\n // TypeError if undefined or null\n throw new TypeError('Cannot convert undefined or null to object');\n }\n const to = Object(target);\n sources.forEach((nextSource) => {\n if (nextSource) {\n // Skip over if undefined or null\n keys(nextSource).forEach((nextKey) => {\n to[nextKey] = nextSource[nextKey];\n });\n }\n });\n return to;\n };\n getOwnPropertyDescriptor = function getOwnPropertyDescriptor(o, prop) {\n if (isSymbol(prop)) {\n return Object.getOwnPropertyDescriptor(o, prop);\n }\n else {\n return Object.getOwnPropertyDescriptor(o, prop);\n }\n };\n getOwnPropertyNames = function getOwnPropertyNames(o) {\n return Object.getOwnPropertyNames(o).filter((key) => !Boolean(key.match(/^@@.+/)));\n };\n getOwnPropertySymbols = function getOwnPropertySymbols(o) {\n return Object.getOwnPropertyNames(o)\n .filter((key) => Boolean(key.match(/^@@.+/)))\n .map((key) => Symbol.for(key.substring(2)));\n };\n is = function is(value1, value2) {\n if (value1 === value2) {\n return value1 !== 0 || 1 / value1 === 1 / value2; // -0\n }\n return value1 !== value1 && value2 !== value2; // NaN\n };\n}\nif (has('es2017-object')) {\n const globalObject = global.Object;\n getOwnPropertyDescriptors = globalObject.getOwnPropertyDescriptors;\n entries = globalObject.entries;\n values = globalObject.values;\n}\nelse {\n getOwnPropertyDescriptors = function getOwnPropertyDescriptors(o) {\n return getOwnPropertyNames(o).reduce((previous, key) => {\n previous[key] = getOwnPropertyDescriptor(o, key);\n return previous;\n }, {});\n };\n entries = function entries(o) {\n return keys(o).map((key) => [key, o[key]]);\n };\n values = function values(o) {\n return keys(o).map((key) => o[key]);\n };\n}\n//# sourceMappingURL=object.mjs.map" }, { - "id": "./src/menu-item/menuItem.m.css", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/extract-text-webpack-plugin/dist/loader.js??ref--10-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/style-loader/index.js!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-decorator-loader/index.js!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/css-loader/index.js??ref--10-3!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/postcss-loader/lib/index.js??postcss!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=css!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/src/menu-item/menuItem.m.css", - "name": "./src/menu-item/menuItem.m.css", - "index": 42, - "index2": 39, - "size": 196, + "id": 16, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Promise.mjs", + "name": "./node_modules/@dojo/framework/shim/Promise.mjs", + "index": 23, + "index2": 18, + "size": 8533, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ - "menu-item" + 0 ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--3-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--3-1!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--3-2!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu-item!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/src/menu-item/MenuItem.ts", - "issuerId": "./src/menu-item/MenuItem.ts", - "issuerName": "./src/menu-item/MenuItem.ts", - "failed": false, - "errors": 0, + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", + "issuerId": 8, + "issuerName": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "name": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs" + }, + { + "id": 8, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", + "name": "./node_modules/@dojo/framework/widget-core/Registry.mjs" + } + ], + "failed": false, + "errors": 0, "warnings": 0, + "assets": [], "reasons": [ { - "moduleId": "./src/menu-item/MenuItem.ts", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--3-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--3-1!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--3-2!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu-item!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/src/menu-item/MenuItem.ts", - "module": "./src/menu-item/MenuItem.ts", - "moduleName": "./src/menu-item/MenuItem.ts", - "type": "harmony import", - "userRequest": "./menuItem.m.css", - "loc": "6:0-40" + "moduleId": 8, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", + "module": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "type": "harmony side effect evaluation", + "userRequest": "../shim/Promise", + "loc": "1:0-38" + }, + { + "moduleId": 8, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", + "module": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "type": "harmony import specifier", + "userRequest": "../shim/Promise", + "loc": "46:28-35" + }, + { + "moduleId": 8, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", + "module": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "type": "harmony import specifier", + "userRequest": "../shim/Promise", + "loc": "82:28-35" + }, + { + "moduleId": 11, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/core/Evented.mjs 5a735fda53696584e4cc34e239a550e6", + "module": "./node_modules/@dojo/framework/core/Evented.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/core/Evented.mjs + 1 modules", + "type": "harmony side effect evaluation", + "userRequest": "../shim/Promise", + "loc": "2:0-38" + }, + { + "moduleId": 11, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/core/Evented.mjs 5a735fda53696584e4cc34e239a550e6", + "module": "./node_modules/@dojo/framework/core/Evented.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/core/Evented.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "../shim/Promise", + "loc": "7:11-18" + }, + { + "moduleId": 11, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/core/Evented.mjs 5a735fda53696584e4cc34e239a550e6", + "module": "./node_modules/@dojo/framework/core/Evented.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/core/Evented.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "../shim/Promise", + "loc": "45:19-26" } ], - "usedExports": true, - "providedExports": null, + "usedExports": [ + "default" + ], + "providedExports": [ + "ShimPromise", + "isThenable", + "default" + ], "optimizationBailout": [], - "depth": 3, - "source": "// removed by extract-text-webpack-plugin\nmodule.exports = {\" _key\":\"test-app/menuItem\",\"root\":\"menuItem-m__root__sUmUi\",\"item\":\"menuItem-m__item__2Mk6R\",\"selected\":\"menuItem-m__selected__1-f3I\"};" - } - ], - "filteredModules": 0, - "origins": [ - { - "moduleId": 0, - "module": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", - "moduleIdentifier": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", - "moduleName": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js", - "loc": "", - "name": "menu-item", - "reasons": [] - } - ] - } - ], - "modules": [ - { - "id": "./node_modules/@dojo/framework/core/Destroyable.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/core/Destroyable.mjs", - "name": "./node_modules/@dojo/framework/core/Destroyable.mjs", - "index": 25, - "index2": 17, - "size": 1665, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu-item" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/core/Evented.mjs", - "issuerId": "./node_modules/@dojo/framework/core/Evented.mjs", - "issuerName": "./node_modules/@dojo/framework/core/Evented.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ - { - "moduleId": "./node_modules/@dojo/framework/core/Evented.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/core/Evented.mjs", - "module": "./node_modules/@dojo/framework/core/Evented.mjs", - "moduleName": "./node_modules/@dojo/framework/core/Evented.mjs", - "type": "harmony import", - "userRequest": "./Destroyable", - "loc": "2:0-44" - } - ], - "usedExports": [ - "Destroyable" - ], - "providedExports": [ - "Destroyable", - "default" - ], - "optimizationBailout": [], - "depth": 6, - "source": "import { createCompositeHandle } from './lang';\nimport Promise from '../shim/Promise';\n/**\n * No operation function to replace own once instance is destoryed\n */\nfunction noop() {\n return Promise.resolve(false);\n}\n/**\n * No op function used to replace own, once instance has been destoryed\n */\nfunction destroyed() {\n throw new Error('Call made to destroyed method');\n}\nexport class Destroyable {\n /**\n * @constructor\n */\n constructor() {\n this.handles = [];\n }\n /**\n * Register handles for the instance that will be destroyed when `this.destroy` is called\n *\n * @param {Handle} handle The handle to add for the instance\n * @returns {Handle} a handle for the handle, removes the handle for the instance and calls destroy\n */\n own(handles) {\n const handle = Array.isArray(handles) ? createCompositeHandle(...handles) : handles;\n const { handles: _handles } = this;\n _handles.push(handle);\n return {\n destroy() {\n _handles.splice(_handles.indexOf(handle));\n handle.destroy();\n }\n };\n }\n /**\n * Destrpys all handers registered for the instance\n *\n * @returns {Promise {\n this.handles.forEach((handle) => {\n handle && handle.destroy && handle.destroy();\n });\n this.destroy = noop;\n this.own = destroyed;\n resolve(true);\n });\n }\n}\nexport default Destroyable;\n//# sourceMappingURL=Destroyable.mjs.map" - }, - { - "id": "./node_modules/@dojo/framework/core/Evented.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/core/Evented.mjs", - "name": "./node_modules/@dojo/framework/core/Evented.mjs", - "index": 24, - "index2": 18, - "size": 2151, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu-item" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ - { - "moduleId": "./node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", - "module": "./node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", - "type": "harmony import", - "userRequest": "../core/Evented", - "loc": "2:0-42" - }, - { - "moduleId": "./node_modules/@dojo/framework/widget-core/NodeHandler.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/NodeHandler.mjs", - "module": "./node_modules/@dojo/framework/widget-core/NodeHandler.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/NodeHandler.mjs", - "type": "harmony import", - "userRequest": "../core/Evented", - "loc": "1:0-42" + "depth": 5, + "source": "import global from './global';\nimport { queueMicroTask } from './support/queue';\nimport './Symbol';\nimport has from './support/has';\nexport let ShimPromise = global.Promise;\nexport const isThenable = function isThenable(value) {\n return value && typeof value.then === 'function';\n};\nif (!has('es6-promise')) {\n global.Promise = ShimPromise = (_a = class Promise {\n /**\n * Creates a new Promise.\n *\n * @constructor\n *\n * @param executor\n * The executor function is called immediately when the Promise is instantiated. It is responsible for\n * starting the asynchronous operation when it is invoked.\n *\n * The executor must call either the passed `resolve` function when the asynchronous operation has completed\n * successfully, or the `reject` function when the operation fails.\n */\n constructor(executor) {\n /**\n * The current state of this promise.\n */\n this.state = 1 /* Pending */;\n this[Symbol.toStringTag] = 'Promise';\n /**\n * If true, the resolution of this promise is chained (\"locked in\") to another promise.\n */\n let isChained = false;\n /**\n * Whether or not this promise is in a resolved state.\n */\n const isResolved = () => {\n return this.state !== 1 /* Pending */ || isChained;\n };\n /**\n * Callbacks that should be invoked once the asynchronous operation has completed.\n */\n let callbacks = [];\n /**\n * Initially pushes callbacks onto a queue for execution once this promise settles. After the promise settles,\n * enqueues callbacks for execution on the next event loop turn.\n */\n let whenFinished = function (callback) {\n if (callbacks) {\n callbacks.push(callback);\n }\n };\n /**\n * Settles this promise.\n *\n * @param newState The resolved state for this promise.\n * @param {T|any} value The resolved value for this promise.\n */\n const settle = (newState, value) => {\n // A promise can only be settled once.\n if (this.state !== 1 /* Pending */) {\n return;\n }\n this.state = newState;\n this.resolvedValue = value;\n whenFinished = queueMicroTask;\n // Only enqueue a callback runner if there are callbacks so that initially fulfilled Promises don't have to\n // wait an extra turn.\n if (callbacks && callbacks.length > 0) {\n queueMicroTask(function () {\n if (callbacks) {\n let count = callbacks.length;\n for (let i = 0; i < count; ++i) {\n callbacks[i].call(null);\n }\n callbacks = null;\n }\n });\n }\n };\n /**\n * Resolves this promise.\n *\n * @param newState The resolved state for this promise.\n * @param {T|any} value The resolved value for this promise.\n */\n const resolve = (newState, value) => {\n if (isResolved()) {\n return;\n }\n if (isThenable(value)) {\n value.then(settle.bind(null, 0 /* Fulfilled */), settle.bind(null, 2 /* Rejected */));\n isChained = true;\n }\n else {\n settle(newState, value);\n }\n };\n this.then = (onFulfilled, onRejected) => {\n return new Promise((resolve, reject) => {\n // whenFinished initially queues up callbacks for execution after the promise has settled. Once the\n // promise has settled, whenFinished will schedule callbacks for execution on the next turn through the\n // event loop.\n whenFinished(() => {\n const callback = this.state === 2 /* Rejected */ ? onRejected : onFulfilled;\n if (typeof callback === 'function') {\n try {\n resolve(callback(this.resolvedValue));\n }\n catch (error) {\n reject(error);\n }\n }\n else if (this.state === 2 /* Rejected */) {\n reject(this.resolvedValue);\n }\n else {\n resolve(this.resolvedValue);\n }\n });\n });\n };\n try {\n executor(resolve.bind(null, 0 /* Fulfilled */), resolve.bind(null, 2 /* Rejected */));\n }\n catch (error) {\n settle(2 /* Rejected */, error);\n }\n }\n static all(iterable) {\n return new this(function (resolve, reject) {\n const values = [];\n let complete = 0;\n let total = 0;\n let populating = true;\n function fulfill(index, value) {\n values[index] = value;\n ++complete;\n finish();\n }\n function finish() {\n if (populating || complete < total) {\n return;\n }\n resolve(values);\n }\n function processItem(index, item) {\n ++total;\n if (isThenable(item)) {\n // If an item Promise rejects, this Promise is immediately rejected with the item\n // Promise's rejection error.\n item.then(fulfill.bind(null, index), reject);\n }\n else {\n Promise.resolve(item).then(fulfill.bind(null, index));\n }\n }\n let i = 0;\n for (const value of iterable) {\n processItem(i, value);\n i++;\n }\n populating = false;\n finish();\n });\n }\n static race(iterable) {\n return new this(function (resolve, reject) {\n for (const item of iterable) {\n if (item instanceof Promise) {\n // If a Promise item rejects, this Promise is immediately rejected with the item\n // Promise's rejection error.\n item.then(resolve, reject);\n }\n else {\n Promise.resolve(item).then(resolve);\n }\n }\n });\n }\n static reject(reason) {\n return new this(function (resolve, reject) {\n reject(reason);\n });\n }\n static resolve(value) {\n return new this(function (resolve) {\n resolve(value);\n });\n }\n catch(onRejected) {\n return this.then(undefined, onRejected);\n }\n },\n _a[Symbol.species] = ShimPromise,\n _a);\n}\nexport default ShimPromise;\nvar _a;\n//# sourceMappingURL=Promise.mjs.map" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/Registry.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", - "module": "./node_modules/@dojo/framework/widget-core/Registry.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/Registry.mjs", - "type": "harmony import", - "userRequest": "../core/Evented", - "loc": "4:0-42" + "id": 17, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "name": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "index": 15, + "index2": 29, + "size": 17706, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + 0 + ], + "issuer": null, + "issuerId": null, + "issuerName": null, + "issuerPath": null, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony side effect evaluation", + "userRequest": "./WidgetBase", + "loc": "2:0-50" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "./WidgetBase", + "loc": "16:62-72" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "./WidgetBase", + "loc": "110:42-52" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "./WidgetBase", + "loc": "179:22-28" + }, + { + "moduleId": 32, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu-item!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu-item/MenuItem.ts a11fae23a54a3263cc267738b3b6cc1d", + "module": "./src/menu-item/MenuItem.ts + 2 modules", + "moduleName": "./src/menu-item/MenuItem.ts + 2 modules", + "type": "harmony side effect evaluation", + "userRequest": "@dojo/framework/widget-core/WidgetBase", + "loc": "5:0-68" + }, + { + "moduleId": 32, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu-item!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu-item/MenuItem.ts a11fae23a54a3263cc267738b3b6cc1d", + "module": "./src/menu-item/MenuItem.ts + 2 modules", + "moduleName": "./src/menu-item/MenuItem.ts + 2 modules", + "type": "harmony import specifier", + "userRequest": "@dojo/framework/widget-core/WidgetBase", + "loc": "7:50-60" + } + ], + "usedExports": [ + "WidgetBase", + "noBind" + ], + "providedExports": [ + "noBind", + "WidgetBase", + "default" + ], + "optimizationBailout": [ + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/core/Evented.mjs because of ./src/menu-item/MenuItem.ts", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/shim/Map.mjs because of ./src/menu-item/MenuItem.ts", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/shim/Symbol.mjs because of ./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/shim/WeakMap.mjs because of ./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/widget-core/Registry.mjs because of ./src/menu-item/MenuItem.ts", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/widget-core/d.mjs because of ./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/widget-core/diff.mjs because of ./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/widget-core/vdom.mjs because of ./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + ], + "depth": 3, + "modules": [ + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "name": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "index": 15, + "index2": 29, + "size": 13720, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony side effect evaluation", + "userRequest": "./WidgetBase", + "loc": "2:0-50" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "./WidgetBase", + "loc": "16:62-72" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "./WidgetBase", + "loc": "110:42-52" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "./WidgetBase", + "loc": "179:22-28" + }, + { + "moduleId": 32, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu-item!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu-item/MenuItem.ts a11fae23a54a3263cc267738b3b6cc1d", + "module": "./src/menu-item/MenuItem.ts + 2 modules", + "moduleName": "./src/menu-item/MenuItem.ts + 2 modules", + "type": "harmony side effect evaluation", + "userRequest": "@dojo/framework/widget-core/WidgetBase", + "loc": "5:0-68" + }, + { + "moduleId": 32, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu-item!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu-item/MenuItem.ts a11fae23a54a3263cc267738b3b6cc1d", + "module": "./src/menu-item/MenuItem.ts + 2 modules", + "moduleName": "./src/menu-item/MenuItem.ts + 2 modules", + "type": "harmony import specifier", + "userRequest": "@dojo/framework/widget-core/WidgetBase", + "loc": "7:50-60" + } + ], + "usedExports": [ + "WidgetBase", + "noBind" + ], + "providedExports": [ + "noBind", + "WidgetBase", + "default" + ], + "optimizationBailout": [], + "depth": 3, + "source": "import Map from '../shim/Map';\nimport WeakMap from '../shim/WeakMap';\nimport Symbol from '../shim/Symbol';\nimport { v } from './d';\nimport { auto } from './diff';\nimport RegistryHandler from './RegistryHandler';\nimport NodeHandler from './NodeHandler';\nimport { widgetInstanceMap } from './vdom';\nimport { isWidgetBaseConstructor, WIDGET_BASE_TYPE } from './Registry';\nconst decoratorMap = new Map();\nconst boundAuto = auto.bind(null);\nexport const noBind = Symbol.for('dojoNoBind');\n/**\n * Main widget base for all widgets to extend\n */\nexport class WidgetBase {\n /**\n * @constructor\n */\n constructor() {\n /**\n * Indicates if it is the initial set properties cycle\n */\n this._initialProperties = true;\n /**\n * Array of property keys considered changed from the previous set properties\n */\n this._changedPropertyKeys = [];\n this._nodeHandler = new NodeHandler();\n this._handles = [];\n this._children = [];\n this._decoratorCache = new Map();\n this._properties = {};\n this._boundRenderFunc = this.render.bind(this);\n this._boundInvalidate = this.invalidate.bind(this);\n widgetInstanceMap.set(this, {\n dirty: true,\n onAttach: () => {\n this.onAttach();\n },\n onDetach: () => {\n this.onDetach();\n this.destroy();\n },\n nodeHandler: this._nodeHandler,\n registry: () => {\n return this.registry;\n },\n coreProperties: {},\n rendering: false,\n inputProperties: {}\n });\n this._runAfterConstructors();\n }\n meta(MetaType) {\n if (this._metaMap === undefined) {\n this._metaMap = new Map();\n }\n let cached = this._metaMap.get(MetaType);\n if (!cached) {\n cached = new MetaType({\n invalidate: this._boundInvalidate,\n nodeHandler: this._nodeHandler,\n bind: this\n });\n this.own(cached);\n this._metaMap.set(MetaType, cached);\n }\n return cached;\n }\n onAttach() {\n // Do nothing by default.\n }\n onDetach() {\n // Do nothing by default.\n }\n get properties() {\n return this._properties;\n }\n get changedPropertyKeys() {\n return [...this._changedPropertyKeys];\n }\n __setCoreProperties__(coreProperties) {\n const { baseRegistry } = coreProperties;\n const instanceData = widgetInstanceMap.get(this);\n if (instanceData.coreProperties.baseRegistry !== baseRegistry) {\n if (this._registry === undefined) {\n this._registry = new RegistryHandler();\n this.own(this._registry);\n this.own(this._registry.on('invalidate', this._boundInvalidate));\n }\n this._registry.base = baseRegistry;\n this.invalidate();\n }\n instanceData.coreProperties = coreProperties;\n }\n __setProperties__(originalProperties) {\n const instanceData = widgetInstanceMap.get(this);\n instanceData.inputProperties = originalProperties;\n const properties = this._runBeforeProperties(originalProperties);\n const registeredDiffPropertyNames = this.getDecorator('registeredDiffProperty');\n const changedPropertyKeys = [];\n const propertyNames = Object.keys(properties);\n if (this._initialProperties === false || registeredDiffPropertyNames.length !== 0) {\n const allProperties = [...propertyNames, ...Object.keys(this._properties)];\n const checkedProperties = [];\n const diffPropertyResults = {};\n let runReactions = false;\n for (let i = 0; i < allProperties.length; i++) {\n const propertyName = allProperties[i];\n if (checkedProperties.indexOf(propertyName) !== -1) {\n continue;\n }\n checkedProperties.push(propertyName);\n const previousProperty = this._properties[propertyName];\n const newProperty = this._bindFunctionProperty(properties[propertyName], instanceData.coreProperties.bind);\n if (registeredDiffPropertyNames.indexOf(propertyName) !== -1) {\n runReactions = true;\n const diffFunctions = this.getDecorator(`diffProperty:${propertyName}`);\n for (let i = 0; i < diffFunctions.length; i++) {\n const result = diffFunctions[i](previousProperty, newProperty);\n if (result.changed && changedPropertyKeys.indexOf(propertyName) === -1) {\n changedPropertyKeys.push(propertyName);\n }\n if (propertyName in properties) {\n diffPropertyResults[propertyName] = result.value;\n }\n }\n }\n else {\n const result = boundAuto(previousProperty, newProperty);\n if (result.changed && changedPropertyKeys.indexOf(propertyName) === -1) {\n changedPropertyKeys.push(propertyName);\n }\n if (propertyName in properties) {\n diffPropertyResults[propertyName] = result.value;\n }\n }\n }\n if (runReactions) {\n const reactionFunctions = this.getDecorator('diffReaction');\n const executedReactions = [];\n reactionFunctions.forEach(({ reaction, propertyName }) => {\n const propertyChanged = changedPropertyKeys.indexOf(propertyName) !== -1;\n const reactionRun = executedReactions.indexOf(reaction) !== -1;\n if (propertyChanged && !reactionRun) {\n reaction.call(this, this._properties, diffPropertyResults);\n executedReactions.push(reaction);\n }\n });\n }\n this._properties = diffPropertyResults;\n this._changedPropertyKeys = changedPropertyKeys;\n }\n else {\n this._initialProperties = false;\n for (let i = 0; i < propertyNames.length; i++) {\n const propertyName = propertyNames[i];\n if (typeof properties[propertyName] === 'function') {\n properties[propertyName] = this._bindFunctionProperty(properties[propertyName], instanceData.coreProperties.bind);\n }\n else {\n changedPropertyKeys.push(propertyName);\n }\n }\n this._changedPropertyKeys = changedPropertyKeys;\n this._properties = Object.assign({}, properties);\n }\n if (this._changedPropertyKeys.length > 0) {\n this.invalidate();\n }\n }\n get children() {\n return this._children;\n }\n __setChildren__(children) {\n if (this._children.length > 0 || children.length > 0) {\n this._children = children;\n this.invalidate();\n }\n }\n __render__() {\n const instanceData = widgetInstanceMap.get(this);\n instanceData.dirty = false;\n const render = this._runBeforeRenders();\n let dNode = render();\n dNode = this.runAfterRenders(dNode);\n this._nodeHandler.clear();\n return dNode;\n }\n invalidate() {\n const instanceData = widgetInstanceMap.get(this);\n if (instanceData.invalidate) {\n instanceData.invalidate();\n }\n }\n render() {\n return v('div', {}, this.children);\n }\n /**\n * Function to add decorators to WidgetBase\n *\n * @param decoratorKey The key of the decorator\n * @param value The value of the decorator\n */\n addDecorator(decoratorKey, value) {\n value = Array.isArray(value) ? value : [value];\n if (this.hasOwnProperty('constructor')) {\n let decoratorList = decoratorMap.get(this.constructor);\n if (!decoratorList) {\n decoratorList = new Map();\n decoratorMap.set(this.constructor, decoratorList);\n }\n let specificDecoratorList = decoratorList.get(decoratorKey);\n if (!specificDecoratorList) {\n specificDecoratorList = [];\n decoratorList.set(decoratorKey, specificDecoratorList);\n }\n specificDecoratorList.push(...value);\n }\n else {\n const decorators = this.getDecorator(decoratorKey);\n this._decoratorCache.set(decoratorKey, [...decorators, ...value]);\n }\n }\n /**\n * Function to build the list of decorators from the global decorator map.\n *\n * @param decoratorKey The key of the decorator\n * @return An array of decorator values\n * @private\n */\n _buildDecoratorList(decoratorKey) {\n const allDecorators = [];\n let constructor = this.constructor;\n while (constructor) {\n const instanceMap = decoratorMap.get(constructor);\n if (instanceMap) {\n const decorators = instanceMap.get(decoratorKey);\n if (decorators) {\n allDecorators.unshift(...decorators);\n }\n }\n constructor = Object.getPrototypeOf(constructor);\n }\n return allDecorators;\n }\n /**\n * Function to retrieve decorator values\n *\n * @param decoratorKey The key of the decorator\n * @returns An array of decorator values\n */\n getDecorator(decoratorKey) {\n let allDecorators = this._decoratorCache.get(decoratorKey);\n if (allDecorators !== undefined) {\n return allDecorators;\n }\n allDecorators = this._buildDecoratorList(decoratorKey);\n this._decoratorCache.set(decoratorKey, allDecorators);\n return allDecorators;\n }\n /**\n * Binds unbound property functions to the specified `bind` property\n *\n * @param properties properties to check for functions\n */\n _bindFunctionProperty(property, bind) {\n if (typeof property === 'function' && !property[noBind] && isWidgetBaseConstructor(property) === false) {\n if (this._bindFunctionPropertyMap === undefined) {\n this._bindFunctionPropertyMap = new WeakMap();\n }\n const bindInfo = this._bindFunctionPropertyMap.get(property) || {};\n let { boundFunc, scope } = bindInfo;\n if (boundFunc === undefined || scope !== bind) {\n boundFunc = property.bind(bind);\n this._bindFunctionPropertyMap.set(property, { boundFunc, scope: bind });\n }\n return boundFunc;\n }\n return property;\n }\n get registry() {\n if (this._registry === undefined) {\n this._registry = new RegistryHandler();\n this.own(this._registry);\n this.own(this._registry.on('invalidate', this._boundInvalidate));\n }\n return this._registry;\n }\n _runBeforeProperties(properties) {\n const beforeProperties = this.getDecorator('beforeProperties');\n if (beforeProperties.length > 0) {\n return beforeProperties.reduce((properties, beforePropertiesFunction) => {\n return Object.assign({}, properties, beforePropertiesFunction.call(this, properties));\n }, Object.assign({}, properties));\n }\n return properties;\n }\n /**\n * Run all registered before renders and return the updated render method\n */\n _runBeforeRenders() {\n const beforeRenders = this.getDecorator('beforeRender');\n if (beforeRenders.length > 0) {\n return beforeRenders.reduce((render, beforeRenderFunction) => {\n const updatedRender = beforeRenderFunction.call(this, render, this._properties, this._children);\n if (!updatedRender) {\n console.warn('Render function not returned from beforeRender, using previous render');\n return render;\n }\n return updatedRender;\n }, this._boundRenderFunc);\n }\n return this._boundRenderFunc;\n }\n /**\n * Run all registered after renders and return the decorated DNodes\n *\n * @param dNode The DNodes to run through the after renders\n */\n runAfterRenders(dNode) {\n const afterRenders = this.getDecorator('afterRender');\n if (afterRenders.length > 0) {\n dNode = afterRenders.reduce((dNode, afterRenderFunction) => {\n return afterRenderFunction.call(this, dNode);\n }, dNode);\n }\n if (this._metaMap !== undefined) {\n this._metaMap.forEach((meta) => {\n meta.afterRender();\n });\n }\n return dNode;\n }\n _runAfterConstructors() {\n const afterConstructors = this.getDecorator('afterConstructor');\n if (afterConstructors.length > 0) {\n afterConstructors.forEach((afterConstructor) => afterConstructor.call(this));\n }\n }\n own(handle) {\n this._handles.push(handle);\n }\n destroy() {\n while (this._handles.length > 0) {\n const handle = this._handles.pop();\n if (handle) {\n handle.destroy();\n }\n }\n }\n}\n/**\n * static identifier\n */\nWidgetBase._type = WIDGET_BASE_TYPE;\nexport default WidgetBase;\n//# sourceMappingURL=WidgetBase.mjs.map" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", + "name": "./node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", + "index": 30, + "index2": 24, + "size": 2856, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "name": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./RegistryHandler", + "loc": "6:0-48" + }, + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "type": "harmony import specifier", + "userRequest": "./RegistryHandler", + "loc": "88:37-52" + }, + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "type": "harmony import specifier", + "userRequest": "./RegistryHandler", + "loc": "285:33-48" + } + ], + "usedExports": [ + "default" + ], + "providedExports": [ + "RegistryHandler", + "default" + ], + "optimizationBailout": [], + "depth": 4, + "source": "import { Map } from '../shim/Map';\nimport { Evented } from '../core/Evented';\nimport { Registry } from './Registry';\nexport class RegistryHandler extends Evented {\n constructor() {\n super();\n this._registry = new Registry();\n this._registryWidgetLabelMap = new Map();\n this._registryInjectorLabelMap = new Map();\n this.own(this._registry);\n const destroy = () => {\n if (this.baseRegistry) {\n this._registryWidgetLabelMap.delete(this.baseRegistry);\n this._registryInjectorLabelMap.delete(this.baseRegistry);\n this.baseRegistry = undefined;\n }\n };\n this.own({ destroy });\n }\n set base(baseRegistry) {\n if (this.baseRegistry) {\n this._registryWidgetLabelMap.delete(this.baseRegistry);\n this._registryInjectorLabelMap.delete(this.baseRegistry);\n }\n this.baseRegistry = baseRegistry;\n }\n define(label, widget) {\n this._registry.define(label, widget);\n }\n defineInjector(label, injector) {\n this._registry.defineInjector(label, injector);\n }\n has(label) {\n return this._registry.has(label) || Boolean(this.baseRegistry && this.baseRegistry.has(label));\n }\n hasInjector(label) {\n return this._registry.hasInjector(label) || Boolean(this.baseRegistry && this.baseRegistry.hasInjector(label));\n }\n get(label, globalPrecedence = false) {\n return this._get(label, globalPrecedence, 'get', this._registryWidgetLabelMap);\n }\n getInjector(label, globalPrecedence = false) {\n return this._get(label, globalPrecedence, 'getInjector', this._registryInjectorLabelMap);\n }\n _get(label, globalPrecedence, getFunctionName, labelMap) {\n const registries = globalPrecedence ? [this.baseRegistry, this._registry] : [this._registry, this.baseRegistry];\n for (let i = 0; i < registries.length; i++) {\n const registry = registries[i];\n if (!registry) {\n continue;\n }\n const item = registry[getFunctionName](label);\n const registeredLabels = labelMap.get(registry) || [];\n if (item) {\n return item;\n }\n else if (registeredLabels.indexOf(label) === -1) {\n const handle = registry.on(label, (event) => {\n if (event.action === 'loaded' &&\n this[getFunctionName](label, globalPrecedence) === event.item) {\n this.emit({ type: 'invalidate' });\n }\n });\n this.own(handle);\n labelMap.set(registry, [...registeredLabels, label]);\n }\n }\n return null;\n }\n}\nexport default RegistryHandler;\n//# sourceMappingURL=RegistryHandler.mjs.map" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/NodeHandler.mjs", + "name": "./node_modules/@dojo/framework/widget-core/NodeHandler.mjs", + "index": 31, + "index2": 25, + "size": 1090, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "name": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./NodeHandler", + "loc": "7:0-40" + }, + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "type": "harmony import specifier", + "userRequest": "./NodeHandler", + "loc": "29:32-43" + } + ], + "usedExports": [ + "default" + ], + "providedExports": [ + "NodeEventType", + "NodeHandler", + "default" + ], + "optimizationBailout": [], + "depth": 4, + "source": "import { Evented } from '../core/Evented';\nimport Map from '../shim/Map';\n/**\n * Enum to identify the type of event.\n * Listening to 'Projector' will notify when projector is created or updated\n * Listening to 'Widget' will notify when widget root is created or updated\n */\nexport var NodeEventType;\n(function (NodeEventType) {\n NodeEventType[\"Projector\"] = \"Projector\";\n NodeEventType[\"Widget\"] = \"Widget\";\n})(NodeEventType || (NodeEventType = {}));\nexport class NodeHandler extends Evented {\n constructor() {\n super(...arguments);\n this._nodeMap = new Map();\n }\n get(key) {\n return this._nodeMap.get(key);\n }\n has(key) {\n return this._nodeMap.has(key);\n }\n add(element, key) {\n this._nodeMap.set(key, element);\n this.emit({ type: key });\n }\n addRoot() {\n this.emit({ type: NodeEventType.Widget });\n }\n addProjector() {\n this.emit({ type: NodeEventType.Projector });\n }\n clear() {\n this._nodeMap.clear();\n }\n}\nexport default NodeHandler;\n//# sourceMappingURL=NodeHandler.mjs.map" + } + ], + "filteredModules": 0 }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/Injector.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Injector.mjs", - "module": "./node_modules/@dojo/framework/widget-core/Injector.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/Injector.mjs", - "type": "harmony import", - "userRequest": "../core/Evented", - "loc": "1:0-42" - } - ], - "usedExports": [ - "Evented" + "id": 18, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/webpack/buildin/global.js", + "name": "(webpack)/buildin/global.js", + "index": 8, + "index2": 1, + "size": 489, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + 0 + ], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/global.mjs", + "issuerId": 0, + "issuerName": "./node_modules/@dojo/framework/shim/global.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": 0, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/global.mjs", + "name": "./node_modules/@dojo/framework/shim/global.mjs" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": 0, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/global.mjs", + "module": "./node_modules/@dojo/framework/shim/global.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/global.mjs", + "type": "cjs require", + "userRequest": "global", + "loc": "1:0-47" + }, + { + "moduleId": 2, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/has/has.mjs", + "module": "./node_modules/@dojo/framework/has/has.mjs", + "moduleName": "./node_modules/@dojo/framework/has/has.mjs", + "type": "cjs require", + "userRequest": "global", + "loc": "1:0-47" + }, + { + "moduleId": 13, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/tslib/tslib.js", + "module": "./node_modules/tslib/tslib.js", + "moduleName": "./node_modules/tslib/tslib.js", + "type": "cjs require", + "userRequest": "global", + "loc": "1:0-41" + }, + { + "moduleId": 29, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/timers-browserify/main.js", + "module": "./node_modules/timers-browserify/main.js", + "moduleName": "./node_modules/timers-browserify/main.js", + "type": "cjs require", + "userRequest": "global", + "loc": "1:0-41" + }, + { + "moduleId": 30, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/setimmediate/setImmediate.js", + "module": "./node_modules/setimmediate/setImmediate.js", + "moduleName": "./node_modules/setimmediate/setImmediate.js", + "type": "cjs require", + "userRequest": "global", + "loc": "1:0-41" + } + ], + "usedExports": true, + "providedExports": null, + "optimizationBailout": [ + "ModuleConcatenation bailout: Module is not an ECMAScript module" + ], + "depth": 4, + "source": "var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || Function(\"return this\")() || (1, eval)(\"this\");\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n" + }, + { + "id": 19, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs 7cf860e45721ea2eddfdcf432935cea3", + "name": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "index": 39, + "index2": 38, + "size": 8226, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + 0 + ], + "issuer": null, + "issuerId": null, + "issuerName": null, + "issuerPath": null, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony side effect evaluation", + "userRequest": "./mixins/Themed", + "loc": "7:0-56" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "./mixins/Themed", + "loc": "116:33-54" + }, + { + "moduleId": 32, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu-item!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu-item/MenuItem.ts a11fae23a54a3263cc267738b3b6cc1d", + "module": "./src/menu-item/MenuItem.ts + 2 modules", + "moduleName": "./src/menu-item/MenuItem.ts + 2 modules", + "type": "harmony side effect evaluation", + "userRequest": "@dojo/framework/widget-core/mixins/Themed", + "loc": "4:0-79" + }, + { + "moduleId": 32, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu-item!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu-item/MenuItem.ts a11fae23a54a3263cc267738b3b6cc1d", + "module": "./src/menu-item/MenuItem.ts + 2 modules", + "moduleName": "./src/menu-item/MenuItem.ts + 2 modules", + "type": "harmony import specifier", + "userRequest": "@dojo/framework/widget-core/mixins/Themed", + "loc": "7:38-49" + }, + { + "moduleId": 32, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu-item!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu-item/MenuItem.ts a11fae23a54a3263cc267738b3b6cc1d", + "module": "./src/menu-item/MenuItem.ts + 2 modules", + "moduleName": "./src/menu-item/MenuItem.ts + 2 modules", + "type": "harmony import specifier", + "userRequest": "@dojo/framework/widget-core/mixins/Themed", + "loc": "28:4-9" + } + ], + "usedExports": [ + "ThemedMixin", + "registerThemeInjector", + "theme" + ], + "providedExports": [ + "INJECTED_THEME_KEY", + "theme", + "registerThemeInjector", + "ThemedMixin", + "default" + ], + "optimizationBailout": [ + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/core/Evented.mjs because of ./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/shim/WeakMap.mjs because of ./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/widget-core/decorators/beforeProperties.mjs because of ./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/widget-core/decorators/handleDecorator.mjs because of ./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/widget-core/diff.mjs because of ./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/tslib/tslib.js (<- Module is not an ECMAScript module)" + ], + "depth": 3, + "modules": [ + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "name": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "index": 39, + "index2": 38, + "size": 5157, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony side effect evaluation", + "userRequest": "./mixins/Themed", + "loc": "7:0-56" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "./mixins/Themed", + "loc": "116:33-54" + }, + { + "moduleId": 32, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu-item!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu-item/MenuItem.ts a11fae23a54a3263cc267738b3b6cc1d", + "module": "./src/menu-item/MenuItem.ts + 2 modules", + "moduleName": "./src/menu-item/MenuItem.ts + 2 modules", + "type": "harmony side effect evaluation", + "userRequest": "@dojo/framework/widget-core/mixins/Themed", + "loc": "4:0-79" + }, + { + "moduleId": 32, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu-item!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu-item/MenuItem.ts a11fae23a54a3263cc267738b3b6cc1d", + "module": "./src/menu-item/MenuItem.ts + 2 modules", + "moduleName": "./src/menu-item/MenuItem.ts + 2 modules", + "type": "harmony import specifier", + "userRequest": "@dojo/framework/widget-core/mixins/Themed", + "loc": "7:38-49" + }, + { + "moduleId": 32, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu-item!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu-item/MenuItem.ts a11fae23a54a3263cc267738b3b6cc1d", + "module": "./src/menu-item/MenuItem.ts + 2 modules", + "moduleName": "./src/menu-item/MenuItem.ts + 2 modules", + "type": "harmony import specifier", + "userRequest": "@dojo/framework/widget-core/mixins/Themed", + "loc": "28:4-9" + } + ], + "usedExports": [ + "ThemedMixin", + "registerThemeInjector", + "theme" + ], + "providedExports": [ + "INJECTED_THEME_KEY", + "theme", + "registerThemeInjector", + "ThemedMixin", + "default" + ], + "optimizationBailout": [], + "depth": 3, + "source": "import * as tslib_1 from \"tslib\";\nimport { Injector } from './../Injector';\nimport { inject } from './../decorators/inject';\nimport { handleDecorator } from './../decorators/handleDecorator';\nimport { diffProperty } from './../decorators/diffProperty';\nimport { shallow } from './../diff';\nconst THEME_KEY = ' _key';\nexport const INJECTED_THEME_KEY = Symbol('theme');\n/**\n * Decorator for base css classes\n */\nexport function theme(theme) {\n return handleDecorator((target) => {\n target.addDecorator('baseThemeClasses', theme);\n });\n}\n/**\n * Creates a reverse lookup for the classes passed in via the `theme` function.\n *\n * @param classes The baseClasses object\n * @requires\n */\nfunction createThemeClassesLookup(classes) {\n return classes.reduce((currentClassNames, baseClass) => {\n Object.keys(baseClass).forEach((key) => {\n currentClassNames[baseClass[key]] = key;\n });\n return currentClassNames;\n }, {});\n}\n/**\n * Convenience function that is given a theme and an optional registry, the theme\n * injector is defined against the registry, returning the theme.\n *\n * @param theme the theme to set\n * @param themeRegistry registry to define the theme injector against. Defaults\n * to the global registry\n *\n * @returns the theme injector used to set the theme\n */\nexport function registerThemeInjector(theme, themeRegistry) {\n const themeInjector = new Injector(theme);\n themeRegistry.defineInjector(INJECTED_THEME_KEY, (invalidator) => {\n themeInjector.setInvalidator(invalidator);\n return () => themeInjector.get();\n });\n return themeInjector;\n}\n/**\n * Function that returns a class decorated with with Themed functionality\n */\nexport function ThemedMixin(Base) {\n let Themed = class Themed extends Base {\n constructor() {\n super(...arguments);\n /**\n * Registered base theme keys\n */\n this._registeredBaseThemeKeys = [];\n /**\n * Indicates if classes meta data need to be calculated.\n */\n this._recalculateClasses = true;\n /**\n * Loaded theme\n */\n this._theme = {};\n }\n theme(classes) {\n if (this._recalculateClasses) {\n this._recalculateThemeClasses();\n }\n if (Array.isArray(classes)) {\n return classes.map((className) => this._getThemeClass(className));\n }\n return this._getThemeClass(classes);\n }\n /**\n * Function fired when `theme` or `extraClasses` are changed.\n */\n onPropertiesChanged() {\n this._recalculateClasses = true;\n }\n _getThemeClass(className) {\n if (className === undefined || className === null) {\n return className;\n }\n const extraClasses = this.properties.extraClasses || {};\n const themeClassName = this._baseThemeClassesReverseLookup[className];\n let resultClassNames = [];\n if (!themeClassName) {\n console.warn(`Class name: '${className}' not found in theme`);\n return null;\n }\n if (extraClasses[themeClassName]) {\n resultClassNames.push(extraClasses[themeClassName]);\n }\n if (this._theme[themeClassName]) {\n resultClassNames.push(this._theme[themeClassName]);\n }\n else {\n resultClassNames.push(this._registeredBaseTheme[themeClassName]);\n }\n return resultClassNames.join(' ');\n }\n _recalculateThemeClasses() {\n const { theme = {} } = this.properties;\n const baseThemes = this.getDecorator('baseThemeClasses');\n if (!this._registeredBaseTheme) {\n this._registeredBaseTheme = baseThemes.reduce((finalBaseTheme, baseTheme) => {\n const _a = THEME_KEY, key = baseTheme[_a], classes = tslib_1.__rest(baseTheme, [typeof _a === \"symbol\" ? _a : _a + \"\"]);\n this._registeredBaseThemeKeys.push(key);\n return Object.assign({}, finalBaseTheme, classes);\n }, {});\n this._baseThemeClassesReverseLookup = createThemeClassesLookup(baseThemes);\n }\n this._theme = this._registeredBaseThemeKeys.reduce((baseTheme, themeKey) => {\n return Object.assign({}, baseTheme, theme[themeKey]);\n }, {});\n this._recalculateClasses = false;\n }\n };\n tslib_1.__decorate([\n diffProperty('theme', shallow),\n diffProperty('extraClasses', shallow)\n ], Themed.prototype, \"onPropertiesChanged\", null);\n Themed = tslib_1.__decorate([\n inject({\n name: INJECTED_THEME_KEY,\n getProperties: (theme, properties) => {\n if (!properties.theme) {\n return { theme };\n }\n return {};\n }\n })\n ], Themed);\n return Themed;\n}\nexport default ThemedMixin;\n//# sourceMappingURL=Themed.mjs.map" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Injector.mjs", + "name": "./node_modules/@dojo/framework/widget-core/Injector.mjs", + "index": 40, + "index2": 34, + "size": 493, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "name": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./../Injector", + "loc": "2:0-41" + }, + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "type": "harmony import specifier", + "userRequest": "./../Injector", + "loc": "42:30-38" + } + ], + "usedExports": [ + "Injector" + ], + "providedExports": [ + "Injector", + "default" + ], + "optimizationBailout": [], + "depth": 4, + "source": "import { Evented } from '../core/Evented';\nexport class Injector extends Evented {\n constructor(payload) {\n super();\n this._payload = payload;\n }\n setInvalidator(invalidator) {\n this._invalidator = invalidator;\n }\n get() {\n return this._payload;\n }\n set(payload) {\n this._payload = payload;\n if (this._invalidator) {\n this._invalidator();\n }\n }\n}\nexport default Injector;\n//# sourceMappingURL=Injector.mjs.map" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/inject.mjs", + "name": "./node_modules/@dojo/framework/widget-core/decorators/inject.mjs", + "index": 41, + "index2": 36, + "size": 1532, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "name": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./../decorators/inject", + "loc": "3:0-48" + }, + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "type": "harmony import specifier", + "userRequest": "./../decorators/inject", + "loc": "128:8-14" + } + ], + "usedExports": [ + "inject" + ], + "providedExports": [ + "inject", + "default" + ], + "optimizationBailout": [], + "depth": 4, + "source": "import WeakMap from '../../shim/WeakMap';\nimport { handleDecorator } from './handleDecorator';\nimport { beforeProperties } from './beforeProperties';\n/**\n * Map of instances against registered injectors.\n */\nconst registeredInjectorsMap = new WeakMap();\n/**\n * Decorator retrieves an injector from an available registry using the name and\n * calls the `getProperties` function with the payload from the injector\n * and current properties with the the injected properties returned.\n *\n * @param InjectConfig the inject configuration\n */\nexport function inject({ name, getProperties }) {\n return handleDecorator((target, propertyKey) => {\n beforeProperties(function (properties) {\n const injectorItem = this.registry.getInjector(name);\n if (injectorItem) {\n const { injector, invalidator } = injectorItem;\n const registeredInjectors = registeredInjectorsMap.get(this) || [];\n if (registeredInjectors.length === 0) {\n registeredInjectorsMap.set(this, registeredInjectors);\n }\n if (registeredInjectors.indexOf(injectorItem) === -1) {\n this.own(invalidator.on('invalidate', () => {\n this.invalidate();\n }));\n registeredInjectors.push(injectorItem);\n }\n return getProperties(injector(), properties);\n }\n })(target);\n });\n}\nexport default inject;\n//# sourceMappingURL=inject.mjs.map" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/diffProperty.mjs", + "name": "./node_modules/@dojo/framework/widget-core/decorators/diffProperty.mjs", + "index": 43, + "index2": 37, + "size": 1014, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "name": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./../decorators/diffProperty", + "loc": "5:0-60" + }, + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "type": "harmony import specifier", + "userRequest": "./../decorators/diffProperty", + "loc": "124:8-20" + }, + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "type": "harmony import specifier", + "userRequest": "./../decorators/diffProperty", + "loc": "125:8-20" + } + ], + "usedExports": [ + "diffProperty" + ], + "providedExports": [ + "diffProperty", + "default" + ], + "optimizationBailout": [], + "depth": 4, + "source": "import { handleDecorator } from './handleDecorator';\nimport { auto } from './../diff';\n/**\n * Decorator that can be used to register a function as a specific property diff\n *\n * @param propertyName The name of the property of which the diff function is applied\n * @param diffType The diff type, default is DiffType.AUTO.\n * @param diffFunction A diff function to run if diffType if DiffType.CUSTOM\n */\nexport function diffProperty(propertyName, diffFunction = auto, reactionFunction) {\n return handleDecorator((target, propertyKey) => {\n target.addDecorator(`diffProperty:${propertyName}`, diffFunction.bind(null));\n target.addDecorator('registeredDiffProperty', propertyName);\n if (reactionFunction || propertyKey) {\n target.addDecorator('diffReaction', {\n propertyName,\n reaction: propertyKey ? target[propertyKey] : reactionFunction\n });\n }\n });\n}\nexport default diffProperty;\n//# sourceMappingURL=diffProperty.mjs.map" + } + ], + "filteredModules": 0 + }, + { + "id": 20, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/mini-css-extract-plugin/dist/loader.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-decorator-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/css-loader/index.js??ref--14-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/postcss-loader/src/index.js??postcss!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=css!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu-item/menuItem.m.css", + "name": "./src/menu-item/menuItem.m.css", + "index": 45, + "index2": 43, + "size": 194, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + 0 + ], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu-item!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu-item/MenuItem.ts", + "issuerId": null, + "issuerName": "./src/menu-item/MenuItem.ts", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu-item!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu-item/MenuItem.ts", + "name": "./src/menu-item/MenuItem.ts" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": 32, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu-item!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu-item/MenuItem.ts a11fae23a54a3263cc267738b3b6cc1d", + "module": "./src/menu-item/MenuItem.ts + 2 modules", + "moduleName": "./src/menu-item/MenuItem.ts + 2 modules", + "type": "harmony side effect evaluation", + "userRequest": "./menuItem.m.css", + "loc": "6:0-40" + }, + { + "moduleId": 32, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu-item!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu-item/MenuItem.ts a11fae23a54a3263cc267738b3b6cc1d", + "module": "./src/menu-item/MenuItem.ts + 2 modules", + "moduleName": "./src/menu-item/MenuItem.ts + 2 modules", + "type": "harmony import specifier", + "userRequest": "./menuItem.m.css", + "loc": "13:45-53" + }, + { + "moduleId": 32, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu-item!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu-item/MenuItem.ts a11fae23a54a3263cc267738b3b6cc1d", + "module": "./src/menu-item/MenuItem.ts + 2 modules", + "moduleName": "./src/menu-item/MenuItem.ts + 2 modules", + "type": "harmony import specifier", + "userRequest": "./menuItem.m.css", + "loc": "15:37-45" + }, + { + "moduleId": 32, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu-item!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu-item/MenuItem.ts a11fae23a54a3263cc267738b3b6cc1d", + "module": "./src/menu-item/MenuItem.ts + 2 modules", + "moduleName": "./src/menu-item/MenuItem.ts + 2 modules", + "type": "harmony import specifier", + "userRequest": "./menuItem.m.css", + "loc": "15:58-70" + }, + { + "moduleId": 32, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu-item!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu-item/MenuItem.ts a11fae23a54a3263cc267738b3b6cc1d", + "module": "./src/menu-item/MenuItem.ts + 2 modules", + "moduleName": "./src/menu-item/MenuItem.ts + 2 modules", + "type": "harmony import specifier", + "userRequest": "./menuItem.m.css", + "loc": "28:10-13" + } + ], + "usedExports": true, + "providedExports": null, + "optimizationBailout": [ + "ModuleConcatenation bailout: Module is not an ECMAScript module" + ], + "depth": 3, + "source": "// extracted by mini-css-extract-plugin\nmodule.exports = {\" _key\":\"test-app/menuItem\",\"root\":\"menuItem-m__root__sUmUi\",\"item\":\"menuItem-m__item__2Mk6R\",\"selected\":\"menuItem-m__selected__1-f3I\"};" + }, + { + "id": 21, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/core/lang.mjs", + "name": "./node_modules/@dojo/framework/core/lang.mjs", + "index": 29, + "index2": 19, + "size": 6837, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + 0 + ], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", + "name": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": 11, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/core/Evented.mjs 5a735fda53696584e4cc34e239a550e6", + "module": "./node_modules/@dojo/framework/core/Evented.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/core/Evented.mjs + 1 modules", + "type": "harmony side effect evaluation", + "userRequest": "./lang", + "loc": "1:0-47" + }, + { + "moduleId": 11, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/core/Evented.mjs 5a735fda53696584e4cc34e239a550e6", + "module": "./node_modules/@dojo/framework/core/Evented.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/core/Evented.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./lang", + "loc": "29:48-69" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony side effect evaluation", + "userRequest": "../../core/lang", + "loc": "2:0-41" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "../../core/lang", + "loc": "98:40-46" + } + ], + "usedExports": [ + "assign", + "createCompositeHandle" + ], + "providedExports": [ + "assign", + "create", + "deepAssign", + "deepMixin", + "duplicate", + "isIdentical", + "lateBind", + "mixin", + "partial", + "createHandle", + "createCompositeHandle" + ], + "optimizationBailout": [], + "depth": 4, + "source": "import { assign } from '../shim/object';\nexport { assign } from '../shim/object';\nconst slice = Array.prototype.slice;\nconst hasOwnProperty = Object.prototype.hasOwnProperty;\n/**\n * Type guard that ensures that the value can be coerced to Object\n * to weed out host objects that do not derive from Object.\n * This function is used to check if we want to deep copy an object or not.\n * Note: In ES6 it is possible to modify an object's Symbol.toStringTag property, which will\n * change the value returned by `toString`. This is a rare edge case that is difficult to handle,\n * so it is not handled here.\n * @param value The value to check\n * @return If the value is coercible into an Object\n */\nfunction shouldDeepCopyObject(value) {\n return Object.prototype.toString.call(value) === '[object Object]';\n}\nfunction copyArray(array, inherited) {\n return array.map(function (item) {\n if (Array.isArray(item)) {\n return copyArray(item, inherited);\n }\n return !shouldDeepCopyObject(item)\n ? item\n : _mixin({\n deep: true,\n inherited: inherited,\n sources: [item],\n target: {}\n });\n });\n}\nfunction _mixin(kwArgs) {\n const deep = kwArgs.deep;\n const inherited = kwArgs.inherited;\n const target = kwArgs.target;\n const copied = kwArgs.copied || [];\n const copiedClone = [...copied];\n for (let i = 0; i < kwArgs.sources.length; i++) {\n const source = kwArgs.sources[i];\n if (source === null || source === undefined) {\n continue;\n }\n for (let key in source) {\n if (inherited || hasOwnProperty.call(source, key)) {\n let value = source[key];\n if (copiedClone.indexOf(value) !== -1) {\n continue;\n }\n if (deep) {\n if (Array.isArray(value)) {\n value = copyArray(value, inherited);\n }\n else if (shouldDeepCopyObject(value)) {\n const targetValue = target[key] || {};\n copied.push(source);\n value = _mixin({\n deep: true,\n inherited: inherited,\n sources: [value],\n target: targetValue,\n copied\n });\n }\n }\n target[key] = value;\n }\n }\n }\n return target;\n}\nexport function create(prototype, ...mixins) {\n if (!mixins.length) {\n throw new RangeError('lang.create requires at least one mixin object.');\n }\n const args = mixins.slice();\n args.unshift(Object.create(prototype));\n return assign.apply(null, args);\n}\nexport function deepAssign(target, ...sources) {\n return _mixin({\n deep: true,\n inherited: false,\n sources: sources,\n target: target\n });\n}\nexport function deepMixin(target, ...sources) {\n return _mixin({\n deep: true,\n inherited: true,\n sources: sources,\n target: target\n });\n}\n/**\n * Creates a new object using the provided source's prototype as the prototype for the new object, and then\n * deep copies the provided source's values into the new target.\n *\n * @param source The object to duplicate\n * @return The new object\n */\nexport function duplicate(source) {\n const target = Object.create(Object.getPrototypeOf(source));\n return deepMixin(target, source);\n}\n/**\n * Determines whether two values are the same value.\n *\n * @param a First value to compare\n * @param b Second value to compare\n * @return true if the values are the same; false otherwise\n */\nexport function isIdentical(a, b) {\n return (a === b ||\n /* both values are NaN */\n (a !== a && b !== b));\n}\n/**\n * Returns a function that binds a method to the specified object at runtime. This is similar to\n * `Function.prototype.bind`, but instead of a function it takes the name of a method on an object.\n * As a result, the function returned by `lateBind` will always call the function currently assigned to\n * the specified property on the object as of the moment the function it returns is called.\n *\n * @param instance The context object\n * @param method The name of the method on the context object to bind to itself\n * @param suppliedArgs An optional array of values to prepend to the `instance[method]` arguments list\n * @return The bound function\n */\nexport function lateBind(instance, method, ...suppliedArgs) {\n return suppliedArgs.length\n ? function () {\n const args = arguments.length ? suppliedArgs.concat(slice.call(arguments)) : suppliedArgs;\n // TS7017\n return instance[method].apply(instance, args);\n }\n : function () {\n // TS7017\n return instance[method].apply(instance, arguments);\n };\n}\nexport function mixin(target, ...sources) {\n return _mixin({\n deep: false,\n inherited: true,\n sources: sources,\n target: target\n });\n}\n/**\n * Returns a function which invokes the given function with the given arguments prepended to its argument list.\n * Like `Function.prototype.bind`, but does not alter execution context.\n *\n * @param targetFunction The function that needs to be bound\n * @param suppliedArgs An optional array of arguments to prepend to the `targetFunction` arguments list\n * @return The bound function\n */\nexport function partial(targetFunction, ...suppliedArgs) {\n return function () {\n const args = arguments.length ? suppliedArgs.concat(slice.call(arguments)) : suppliedArgs;\n return targetFunction.apply(this, args);\n };\n}\n/**\n * Returns an object with a destroy method that, when called, calls the passed-in destructor.\n * This is intended to provide a unified interface for creating \"remove\" / \"destroy\" handlers for\n * event listeners, timers, etc.\n *\n * @param destructor A function that will be called when the handle's `destroy` method is invoked\n * @return The handle object\n */\nexport function createHandle(destructor) {\n let called = false;\n return {\n destroy: function () {\n if (!called) {\n called = true;\n destructor();\n }\n }\n };\n}\n/**\n * Returns a single handle that can be used to destroy multiple handles simultaneously.\n *\n * @param handles An array of handles with `destroy` methods\n * @return The handle object\n */\nexport function createCompositeHandle(...handles) {\n return createHandle(function () {\n for (let i = 0; i < handles.length; i++) {\n handles[i].destroy();\n }\n });\n}\n//# sourceMappingURL=lang.mjs.map" + }, + { + "id": 22, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/beforeProperties.mjs", + "name": "./node_modules/@dojo/framework/widget-core/decorators/beforeProperties.mjs", + "index": 42, + "index2": 35, + "size": 331, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + 0 + ], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/alwaysRender.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/widget-core/decorators/alwaysRender.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/alwaysRender.mjs", + "name": "./node_modules/@dojo/framework/widget-core/decorators/alwaysRender.mjs" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": 19, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs 7cf860e45721ea2eddfdcf432935cea3", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "type": "harmony side effect evaluation", + "userRequest": "./beforeProperties", + "loc": "3:0-54" + }, + { + "moduleId": 19, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs 7cf860e45721ea2eddfdcf432935cea3", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "type": "harmony import specifier", + "userRequest": "./beforeProperties", + "loc": "17:8-24" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony side effect evaluation", + "userRequest": "./beforeProperties", + "loc": "2:0-54" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "./beforeProperties", + "loc": "5:8-24" + } + ], + "usedExports": [ + "beforeProperties" + ], + "providedExports": [ + "beforeProperties", + "default" + ], + "optimizationBailout": [], + "depth": 4, + "source": "import { handleDecorator } from './handleDecorator';\nexport function beforeProperties(method) {\n return handleDecorator((target, propertyKey) => {\n target.addDecorator('beforeProperties', propertyKey ? target[propertyKey] : method);\n });\n}\nexport default beforeProperties;\n//# sourceMappingURL=beforeProperties.mjs.map" + }, + { + "id": 23, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "name": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "index": 33, + "index2": 27, + "size": 10713, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + 0 + ], + "issuer": null, + "issuerId": null, + "issuerName": null, + "issuerPath": null, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony side effect evaluation", + "userRequest": "../shim/array", + "loc": "2:0-50" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "../shim/array", + "loc": "581:21-30" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony side effect evaluation", + "userRequest": "../shim/array", + "loc": "4:0-37" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "../shim/array", + "loc": "97:12-16" + } + ], + "usedExports": [ + "from" + ], + "providedExports": [ + "from", + "of", + "copyWithin", + "fill", + "find", + "findIndex", + "includes" + ], + "optimizationBailout": [ + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/shim/global.mjs (<- Module uses injected variables (global))", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/shim/iterator.mjs because of ./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/shim/support/has.mjs because of ./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/shim/support/util.mjs because of ./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + ], + "depth": 3, + "modules": [ + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", + "name": "./node_modules/@dojo/framework/shim/array.mjs", + "index": 33, + "index2": 27, + "size": 8969, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony side effect evaluation", + "userRequest": "../shim/array", + "loc": "2:0-50" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "../shim/array", + "loc": "581:21-30" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony side effect evaluation", + "userRequest": "../shim/array", + "loc": "4:0-37" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "../shim/array", + "loc": "97:12-16" + } + ], + "usedExports": [ + "from" + ], + "providedExports": [ + "from", + "of", + "copyWithin", + "fill", + "find", + "findIndex", + "includes" + ], + "optimizationBailout": [], + "depth": 3, + "source": "import global from './global';\nimport { isArrayLike, isIterable } from './iterator';\nimport { MAX_SAFE_INTEGER } from './number';\nimport has from './support/has';\nimport { wrapNative } from './support/util';\nexport let from;\n/**\n * Creates a new array from the function parameters.\n *\n * @param arguments Any number of arguments for the array\n * @return An array from the given arguments\n */\nexport let of;\n/* ES6 Array instance methods */\n/**\n * Copies data internally within an array or array-like object.\n *\n * @param target The target array-like object\n * @param offset The index to start copying values to; if negative, it counts backwards from length\n * @param start The first (inclusive) index to copy; if negative, it counts backwards from length\n * @param end The last (exclusive) index to copy; if negative, it counts backwards from length\n * @return The target\n */\nexport let copyWithin;\n/**\n * Fills elements of an array-like object with the specified value.\n *\n * @param target The target to fill\n * @param value The value to fill each element of the target with\n * @param start The first index to fill\n * @param end The (exclusive) index at which to stop filling\n * @return The filled target\n */\nexport let fill;\n/**\n * Finds and returns the first instance matching the callback or undefined if one is not found.\n *\n * @param target An array-like object\n * @param callback A function returning if the current value matches a criteria\n * @param thisArg The execution context for the find function\n * @return The first element matching the callback, or undefined if one does not exist\n */\nexport let find;\n/**\n * Performs a linear search and returns the first index whose value satisfies the passed callback,\n * or -1 if no values satisfy it.\n *\n * @param target An array-like object\n * @param callback A function returning true if the current value satisfies its criteria\n * @param thisArg The execution context for the find function\n * @return The first index whose value satisfies the passed callback, or -1 if no values satisfy it\n */\nexport let findIndex;\n/* ES7 Array instance methods */\n/**\n * Determines whether an array includes a given value\n *\n * @param target the target array-like object\n * @param searchElement the item to search for\n * @param fromIndex the starting index to search from\n * @return `true` if the array includes the element, otherwise `false`\n */\nexport let includes;\nif (has('es6-array') && has('es6-array-fill')) {\n from = global.Array.from;\n of = global.Array.of;\n copyWithin = wrapNative(global.Array.prototype.copyWithin);\n fill = wrapNative(global.Array.prototype.fill);\n find = wrapNative(global.Array.prototype.find);\n findIndex = wrapNative(global.Array.prototype.findIndex);\n}\nelse {\n // It is only older versions of Safari/iOS that have a bad fill implementation and so aren't in the wild\n // To make things easier, if there is a bad fill implementation, the whole set of functions will be filled\n /**\n * Ensures a non-negative, non-infinite, safe integer.\n *\n * @param length The number to validate\n * @return A proper length\n */\n const toLength = function toLength(length) {\n if (isNaN(length)) {\n return 0;\n }\n length = Number(length);\n if (isFinite(length)) {\n length = Math.floor(length);\n }\n // Ensure a non-negative, real, safe integer\n return Math.min(Math.max(length, 0), MAX_SAFE_INTEGER);\n };\n /**\n * From ES6 7.1.4 ToInteger()\n *\n * @param value A value to convert\n * @return An integer\n */\n const toInteger = function toInteger(value) {\n value = Number(value);\n if (isNaN(value)) {\n return 0;\n }\n if (value === 0 || !isFinite(value)) {\n return value;\n }\n return (value > 0 ? 1 : -1) * Math.floor(Math.abs(value));\n };\n /**\n * Normalizes an offset against a given length, wrapping it if negative.\n *\n * @param value The original offset\n * @param length The total length to normalize against\n * @return If negative, provide a distance from the end (length); otherwise provide a distance from 0\n */\n const normalizeOffset = function normalizeOffset(value, length) {\n return value < 0 ? Math.max(length + value, 0) : Math.min(value, length);\n };\n from = function from(arrayLike, mapFunction, thisArg) {\n if (arrayLike == null) {\n throw new TypeError('from: requires an array-like object');\n }\n if (mapFunction && thisArg) {\n mapFunction = mapFunction.bind(thisArg);\n }\n /* tslint:disable-next-line:variable-name */\n const Constructor = this;\n const length = toLength(arrayLike.length);\n // Support extension\n const array = typeof Constructor === 'function' ? Object(new Constructor(length)) : new Array(length);\n if (!isArrayLike(arrayLike) && !isIterable(arrayLike)) {\n return array;\n }\n // if this is an array and the normalized length is 0, just return an empty array. this prevents a problem\n // with the iteration on IE when using a NaN array length.\n if (isArrayLike(arrayLike)) {\n if (length === 0) {\n return [];\n }\n for (let i = 0; i < arrayLike.length; i++) {\n array[i] = mapFunction ? mapFunction(arrayLike[i], i) : arrayLike[i];\n }\n }\n else {\n let i = 0;\n for (const value of arrayLike) {\n array[i] = mapFunction ? mapFunction(value, i) : value;\n i++;\n }\n }\n if (arrayLike.length !== undefined) {\n array.length = length;\n }\n return array;\n };\n of = function of(...items) {\n return Array.prototype.slice.call(items);\n };\n copyWithin = function copyWithin(target, offset, start, end) {\n if (target == null) {\n throw new TypeError('copyWithin: target must be an array-like object');\n }\n const length = toLength(target.length);\n offset = normalizeOffset(toInteger(offset), length);\n start = normalizeOffset(toInteger(start), length);\n end = normalizeOffset(end === undefined ? length : toInteger(end), length);\n let count = Math.min(end - start, length - offset);\n let direction = 1;\n if (offset > start && offset < start + count) {\n direction = -1;\n start += count - 1;\n offset += count - 1;\n }\n while (count > 0) {\n if (start in target) {\n target[offset] = target[start];\n }\n else {\n delete target[offset];\n }\n offset += direction;\n start += direction;\n count--;\n }\n return target;\n };\n fill = function fill(target, value, start, end) {\n const length = toLength(target.length);\n let i = normalizeOffset(toInteger(start), length);\n end = normalizeOffset(end === undefined ? length : toInteger(end), length);\n while (i < end) {\n target[i++] = value;\n }\n return target;\n };\n find = function find(target, callback, thisArg) {\n const index = findIndex(target, callback, thisArg);\n return index !== -1 ? target[index] : undefined;\n };\n findIndex = function findIndex(target, callback, thisArg) {\n const length = toLength(target.length);\n if (!callback) {\n throw new TypeError('find: second argument must be a function');\n }\n if (thisArg) {\n callback = callback.bind(thisArg);\n }\n for (let i = 0; i < length; i++) {\n if (callback(target[i], i, target)) {\n return i;\n }\n }\n return -1;\n };\n}\nif (has('es7-array')) {\n includes = wrapNative(global.Array.prototype.includes);\n}\nelse {\n /**\n * Ensures a non-negative, non-infinite, safe integer.\n *\n * @param length The number to validate\n * @return A proper length\n */\n const toLength = function toLength(length) {\n length = Number(length);\n if (isNaN(length)) {\n return 0;\n }\n if (isFinite(length)) {\n length = Math.floor(length);\n }\n // Ensure a non-negative, real, safe integer\n return Math.min(Math.max(length, 0), MAX_SAFE_INTEGER);\n };\n includes = function includes(target, searchElement, fromIndex = 0) {\n let len = toLength(target.length);\n for (let i = fromIndex; i < len; ++i) {\n const currentElement = target[i];\n if (searchElement === currentElement ||\n (searchElement !== searchElement && currentElement !== currentElement)) {\n return true;\n }\n }\n return false;\n };\n}\n//# sourceMappingURL=array.mjs.map" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/number.mjs", + "name": "./node_modules/@dojo/framework/shim/number.mjs", + "index": 34, + "index2": 26, + "size": 1724, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/shim/array.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", + "name": "./node_modules/@dojo/framework/shim/array.mjs" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", + "module": "./node_modules/@dojo/framework/shim/array.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./number", + "loc": "3:0-44" + }, + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", + "module": "./node_modules/@dojo/framework/shim/array.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs", + "type": "harmony import specifier", + "userRequest": "./number", + "loc": "90:45-61" + }, + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", + "module": "./node_modules/@dojo/framework/shim/array.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs", + "type": "harmony import specifier", + "userRequest": "./number", + "loc": "234:45-61" + } + ], + "usedExports": [ + "MAX_SAFE_INTEGER" + ], + "providedExports": [ + "EPSILON", + "MAX_SAFE_INTEGER", + "MIN_SAFE_INTEGER", + "isNaN", + "isFinite", + "isInteger", + "isSafeInteger" + ], + "optimizationBailout": [], + "depth": 4, + "source": "import global from './global';\n/**\n * The smallest interval between two representable numbers.\n */\nexport const EPSILON = 1;\n/**\n * The maximum safe integer in JavaScript\n */\nexport const MAX_SAFE_INTEGER = Math.pow(2, 53) - 1;\n/**\n * The minimum safe integer in JavaScript\n */\nexport const MIN_SAFE_INTEGER = -MAX_SAFE_INTEGER;\n/**\n * Determines whether the passed value is NaN without coersion.\n *\n * @param value The value to test\n * @return true if the value is NaN, false if it is not\n */\nexport function isNaN(value) {\n return typeof value === 'number' && global.isNaN(value);\n}\n/**\n * Determines whether the passed value is a finite number without coersion.\n *\n * @param value The value to test\n * @return true if the value is finite, false if it is not\n */\nexport function isFinite(value) {\n return typeof value === 'number' && global.isFinite(value);\n}\n/**\n * Determines whether the passed value is an integer.\n *\n * @param value The value to test\n * @return true if the value is an integer, false if it is not\n */\nexport function isInteger(value) {\n return isFinite(value) && Math.floor(value) === value;\n}\n/**\n * Determines whether the passed value is an integer that is 'safe,' meaning:\n * 1. it can be expressed as an IEEE-754 double precision number\n * 2. it has a one-to-one mapping to a mathematical integer, meaning its\n * IEEE-754 representation cannot be the result of rounding any other\n * integer to fit the IEEE-754 representation\n *\n * @param value The value to test\n * @return true if the value is an integer, false if it is not\n */\nexport function isSafeInteger(value) {\n return isInteger(value) && Math.abs(value) <= MAX_SAFE_INTEGER;\n}\n//# sourceMappingURL=number.mjs.map" + } + ], + "filteredModules": 0 + }, + { + "id": 24, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "index": 13, + "index2": 40, + "size": 17815, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + 0 + ], + "issuer": null, + "issuerId": null, + "issuerName": null, + "issuerPath": null, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": 28, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "module": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js", + "moduleName": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js", + "type": "cjs require", + "userRequest": "@dojo/framework/widget-core/registerCustomElement", + "loc": "4:28-88" + }, + { + "moduleId": 32, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu-item!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu-item/MenuItem.ts a11fae23a54a3263cc267738b3b6cc1d", + "module": "./src/menu-item/MenuItem.ts + 2 modules", + "moduleName": "./src/menu-item/MenuItem.ts + 2 modules", + "type": "harmony side effect evaluation", + "userRequest": "../registerCustomElement", + "loc": "1:0-66" + }, + { + "moduleId": 32, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu-item!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu-item/MenuItem.ts a11fae23a54a3263cc267738b3b6cc1d", + "module": "./src/menu-item/MenuItem.ts + 2 modules", + "moduleName": "./src/menu-item/MenuItem.ts + 2 modules", + "type": "harmony import specifier", + "userRequest": "../registerCustomElement", + "loc": "7:96-118" + } + ], + "usedExports": true, + "providedExports": [ + "CustomElementChildType", + "DomToWidgetWrapper", + "create", + "register", + "default" + ], + "optimizationBailout": [ + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/core/lang.mjs because of ./src/menu-item/MenuItem.ts", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/shim/array.mjs because of ./src/menu-item/MenuItem.ts", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/shim/global.mjs (<- Module uses injected variables (global))", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/widget-core/WidgetBase.mjs because of ./src/menu-item/MenuItem.ts", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/widget-core/d.mjs because of ./src/menu-item/MenuItem.ts", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/widget-core/decorators/beforeProperties.mjs because of ./src/menu-item/MenuItem.ts", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/widget-core/decorators/handleDecorator.mjs because of ./src/menu-item/MenuItem.ts", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs because of ./src/menu-item/MenuItem.ts", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/widget-core/vdom.mjs because of ./src/menu-item/MenuItem.ts", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/tslib/tslib.js (<- Module is not an ECMAScript module)" + ], + "depth": 2, + "modules": [ + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "index": 13, + "index2": 40, + "size": 9118, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "issuerId": 28, + "issuerName": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": 28, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "module": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js", + "moduleName": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js", + "type": "cjs require", + "userRequest": "@dojo/framework/widget-core/registerCustomElement", + "loc": "4:28-88" + }, + { + "moduleId": 32, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu-item!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu-item/MenuItem.ts a11fae23a54a3263cc267738b3b6cc1d", + "module": "./src/menu-item/MenuItem.ts + 2 modules", + "moduleName": "./src/menu-item/MenuItem.ts + 2 modules", + "type": "harmony side effect evaluation", + "userRequest": "../registerCustomElement", + "loc": "1:0-66" + }, + { + "moduleId": 32, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu-item!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu-item/MenuItem.ts a11fae23a54a3263cc267738b3b6cc1d", + "module": "./src/menu-item/MenuItem.ts + 2 modules", + "moduleName": "./src/menu-item/MenuItem.ts + 2 modules", + "type": "harmony import specifier", + "userRequest": "../registerCustomElement", + "loc": "7:96-118" + } + ], + "usedExports": true, + "providedExports": [ + "CustomElementChildType", + "DomToWidgetWrapper", + "create", + "register", + "default" + ], + "optimizationBailout": [ + "ModuleConcatenation bailout: Module is referenced from these modules with unsupported syntax: ./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js (referenced with cjs require)" + ], + "depth": 2, + "source": "import * as tslib_1 from \"tslib\";\nimport { WidgetBase, noBind } from './WidgetBase';\nimport { ProjectorMixin } from './mixins/Projector';\nimport { from } from '../shim/array';\nimport { w, dom } from './d';\nimport global from '../shim/global';\nimport { registerThemeInjector } from './mixins/Themed';\nimport { alwaysRender } from './decorators/alwaysRender';\nexport var CustomElementChildType;\n(function (CustomElementChildType) {\n CustomElementChildType[\"DOJO\"] = \"DOJO\";\n CustomElementChildType[\"NODE\"] = \"NODE\";\n CustomElementChildType[\"TEXT\"] = \"TEXT\";\n})(CustomElementChildType || (CustomElementChildType = {}));\nexport function DomToWidgetWrapper(domNode) {\n let DomToWidgetWrapper = class DomToWidgetWrapper extends WidgetBase {\n render() {\n const properties = Object.keys(this.properties).reduce((props, key) => {\n const value = this.properties[key];\n if (key.indexOf('on') === 0) {\n key = `__${key}`;\n }\n props[key] = value;\n return props;\n }, {});\n return dom({ node: domNode, props: properties, diffType: 'dom' });\n }\n static get domNode() {\n return domNode;\n }\n };\n DomToWidgetWrapper = tslib_1.__decorate([\n alwaysRender()\n ], DomToWidgetWrapper);\n return DomToWidgetWrapper;\n}\nexport function create(descriptor, WidgetConstructor) {\n const { attributes, childType, registryFactory } = descriptor;\n const attributeMap = {};\n attributes.forEach((propertyName) => {\n const attributeName = propertyName.toLowerCase();\n attributeMap[attributeName] = propertyName;\n });\n return class extends HTMLElement {\n constructor() {\n super(...arguments);\n this._properties = {};\n this._children = [];\n this._eventProperties = {};\n this._initialised = false;\n }\n connectedCallback() {\n if (this._initialised) {\n return;\n }\n const domProperties = {};\n const { attributes, properties, events } = descriptor;\n this._properties = Object.assign({}, this._properties, this._attributesToProperties(attributes));\n [...attributes, ...properties].forEach((propertyName) => {\n const value = this[propertyName];\n const filteredPropertyName = propertyName.replace(/^on/, '__');\n if (value !== undefined) {\n this._properties[propertyName] = value;\n }\n if (filteredPropertyName !== propertyName) {\n domProperties[filteredPropertyName] = {\n get: () => this._getProperty(propertyName),\n set: (value) => this._setProperty(propertyName, value)\n };\n }\n domProperties[propertyName] = {\n get: () => this._getProperty(propertyName),\n set: (value) => this._setProperty(propertyName, value)\n };\n });\n events.forEach((propertyName) => {\n const eventName = propertyName.replace(/^on/, '').toLowerCase();\n const filteredPropertyName = propertyName.replace(/^on/, '__on');\n domProperties[filteredPropertyName] = {\n get: () => this._getEventProperty(propertyName),\n set: (value) => this._setEventProperty(propertyName, value)\n };\n this._eventProperties[propertyName] = undefined;\n this._properties[propertyName] = (...args) => {\n const eventCallback = this._getEventProperty(propertyName);\n if (typeof eventCallback === 'function') {\n eventCallback(...args);\n }\n this.dispatchEvent(new CustomEvent(eventName, {\n bubbles: false,\n detail: args\n }));\n };\n });\n Object.defineProperties(this, domProperties);\n const children = childType === CustomElementChildType.TEXT ? this.childNodes : this.children;\n from(children).forEach((childNode) => {\n if (childType === CustomElementChildType.DOJO) {\n childNode.addEventListener('dojo-ce-render', () => this._render());\n childNode.addEventListener('dojo-ce-connected', () => this._render());\n this._children.push(DomToWidgetWrapper(childNode));\n }\n else {\n this._children.push(dom({ node: childNode, diffType: 'dom' }));\n }\n });\n this.addEventListener('dojo-ce-connected', (e) => this._childConnected(e));\n const widgetProperties = this._properties;\n const renderChildren = () => this.__children__();\n const Wrapper = class extends WidgetBase {\n render() {\n return w(WidgetConstructor, widgetProperties, renderChildren());\n }\n };\n const registry = registryFactory();\n const themeContext = registerThemeInjector(this._getTheme(), registry);\n global.addEventListener('dojo-theme-set', () => themeContext.set(this._getTheme()));\n const Projector = ProjectorMixin(Wrapper);\n this._projector = new Projector();\n this._projector.setProperties({ registry });\n this._projector.append(this);\n this._initialised = true;\n this.dispatchEvent(new CustomEvent('dojo-ce-connected', {\n bubbles: true,\n detail: this\n }));\n }\n _getTheme() {\n if (global && global.dojoce && global.dojoce.theme) {\n return global.dojoce.themes[global.dojoce.theme];\n }\n }\n _childConnected(e) {\n const node = e.detail;\n if (node.parentNode === this) {\n const exists = this._children.some((child) => child.domNode === node);\n if (!exists) {\n node.addEventListener('dojo-ce-render', () => this._render());\n this._children.push(DomToWidgetWrapper(node));\n this._render();\n }\n }\n }\n _render() {\n if (this._projector) {\n this._projector.invalidate();\n this.dispatchEvent(new CustomEvent('dojo-ce-render', {\n bubbles: false,\n detail: this\n }));\n }\n }\n __properties__() {\n return Object.assign({}, this._properties, this._eventProperties);\n }\n __children__() {\n if (childType === CustomElementChildType.DOJO) {\n return this._children.filter((Child) => Child.domNode.isWidget).map((Child) => {\n const { domNode } = Child;\n return w(Child, Object.assign({}, domNode.__properties__()), [...domNode.__children__()]);\n });\n }\n else {\n return this._children;\n }\n }\n attributeChangedCallback(name, oldValue, value) {\n const propertyName = attributeMap[name];\n this._setProperty(propertyName, value);\n }\n _setEventProperty(propertyName, value) {\n this._eventProperties[propertyName] = value;\n }\n _getEventProperty(propertyName) {\n return this._eventProperties[propertyName];\n }\n _setProperty(propertyName, value) {\n if (typeof value === 'function') {\n value[noBind] = true;\n }\n this._properties[propertyName] = value;\n this._render();\n }\n _getProperty(propertyName) {\n return this._properties[propertyName];\n }\n _attributesToProperties(attributes) {\n return attributes.reduce((properties, propertyName) => {\n const attributeName = propertyName.toLowerCase();\n const value = this.getAttribute(attributeName);\n if (value !== null) {\n properties[propertyName] = value;\n }\n return properties;\n }, {});\n }\n static get observedAttributes() {\n return Object.keys(attributeMap);\n }\n get isWidget() {\n return true;\n }\n };\n}\nexport function register(WidgetConstructor) {\n const descriptor = WidgetConstructor.prototype && WidgetConstructor.prototype.__customElementDescriptor;\n if (!descriptor) {\n throw new Error('Cannot get descriptor for Custom Element, have you added the @customElement decorator to your Widget?');\n }\n global.customElements.define(descriptor.tagName, create(descriptor, WidgetConstructor));\n}\nexport default register;\n//# sourceMappingURL=registerCustomElement.mjs.map" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", + "name": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", + "index": 35, + "index2": 33, + "size": 5683, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./mixins/Projector", + "loc": "3:0-52" + }, + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "type": "harmony import specifier", + "userRequest": "./mixins/Projector", + "loc": "118:30-44" + } + ], + "usedExports": [ + "ProjectorMixin" + ], + "providedExports": [ + "ProjectorAttachState", + "AttachType", + "ProjectorMixin", + "default" + ], + "optimizationBailout": [], + "depth": 3, + "source": "import * as tslib_1 from \"tslib\";\nimport { assign } from '../../core/lang';\nimport cssTransitions from '../animations/cssTransitions';\nimport { afterRender } from './../decorators/afterRender';\nimport { v } from './../d';\nimport { dom } from './../vdom';\n/**\n * Represents the attach state of the projector\n */\nexport var ProjectorAttachState;\n(function (ProjectorAttachState) {\n ProjectorAttachState[ProjectorAttachState[\"Attached\"] = 1] = \"Attached\";\n ProjectorAttachState[ProjectorAttachState[\"Detached\"] = 2] = \"Detached\";\n})(ProjectorAttachState || (ProjectorAttachState = {}));\n/**\n * Attach type for the projector\n */\nexport var AttachType;\n(function (AttachType) {\n AttachType[AttachType[\"Append\"] = 1] = \"Append\";\n AttachType[AttachType[\"Merge\"] = 2] = \"Merge\";\n})(AttachType || (AttachType = {}));\nexport function ProjectorMixin(Base) {\n class Projector extends Base {\n constructor(...args) {\n super(...args);\n this._root = document.body;\n this._async = true;\n this._projectorProperties = {};\n this._projectionOptions = {\n transitions: cssTransitions\n };\n this.root = document.body;\n this.projectorState = ProjectorAttachState.Detached;\n }\n append(root) {\n const options = {\n type: AttachType.Append,\n root\n };\n return this._attach(options);\n }\n merge(root) {\n const options = {\n type: AttachType.Merge,\n root\n };\n return this._attach(options);\n }\n set root(root) {\n if (this.projectorState === ProjectorAttachState.Attached) {\n throw new Error('Projector already attached, cannot change root element');\n }\n this._root = root;\n }\n get root() {\n return this._root;\n }\n get async() {\n return this._async;\n }\n set async(async) {\n if (this.projectorState === ProjectorAttachState.Attached) {\n throw new Error('Projector already attached, cannot change async mode');\n }\n this._async = async;\n }\n sandbox(doc = document) {\n if (this.projectorState === ProjectorAttachState.Attached) {\n throw new Error('Projector already attached, cannot create sandbox');\n }\n this._async = false;\n const previousRoot = this.root;\n /* free up the document fragment for GC */\n this.own({\n destroy: () => {\n this._root = previousRoot;\n }\n });\n this._attach({\n /* DocumentFragment is not assignable to Element, but provides everything needed to work */\n root: doc.createDocumentFragment(),\n type: AttachType.Append\n });\n }\n setChildren(children) {\n this.__setChildren__(children);\n }\n setProperties(properties) {\n this.__setProperties__(properties);\n }\n __setProperties__(properties) {\n if (this._projectorProperties && this._projectorProperties.registry !== properties.registry) {\n if (this._projectorProperties.registry) {\n this._projectorProperties.registry.destroy();\n }\n }\n this._projectorProperties = assign({}, properties);\n super.__setCoreProperties__({ bind: this, baseRegistry: properties.registry });\n super.__setProperties__(properties);\n }\n toHtml() {\n if (this.projectorState !== ProjectorAttachState.Attached || !this._projection) {\n throw new Error('Projector is not attached, cannot return an HTML string of projection.');\n }\n return this._projection.domNode.childNodes[0].outerHTML;\n }\n afterRender(result) {\n let node = result;\n if (typeof result === 'string' || result === null || result === undefined) {\n node = v('span', {}, [result]);\n }\n return node;\n }\n destroy() {\n super.destroy();\n }\n _attach({ type, root }) {\n if (root) {\n this.root = root;\n }\n if (this._attachHandle) {\n return this._attachHandle;\n }\n this.projectorState = ProjectorAttachState.Attached;\n const handle = {\n destroy: () => {\n if (this.projectorState === ProjectorAttachState.Attached) {\n this._projection = undefined;\n this.projectorState = ProjectorAttachState.Detached;\n }\n }\n };\n this.own(handle);\n this._attachHandle = handle;\n this._projectionOptions = Object.assign({}, this._projectionOptions, { sync: !this._async });\n switch (type) {\n case AttachType.Append:\n this._projection = dom.append(this.root, this, this._projectionOptions);\n break;\n case AttachType.Merge:\n this._projection = dom.merge(this.root, this, this._projectionOptions);\n break;\n }\n return this._attachHandle;\n }\n }\n tslib_1.__decorate([\n afterRender()\n ], Projector.prototype, \"afterRender\", null);\n return Projector;\n}\nexport default ProjectorMixin;\n//# sourceMappingURL=Projector.mjs.map" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/alwaysRender.mjs", + "name": "./node_modules/@dojo/framework/widget-core/decorators/alwaysRender.mjs", + "index": 44, + "index2": 39, + "size": 365, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./decorators/alwaysRender", + "loc": "8:0-57" + }, + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "type": "harmony import specifier", + "userRequest": "./decorators/alwaysRender", + "loc": "33:8-20" + } + ], + "usedExports": [ + "alwaysRender" + ], + "providedExports": [ + "alwaysRender", + "default" + ], + "optimizationBailout": [], + "depth": 3, + "source": "import { handleDecorator } from './handleDecorator';\nimport { beforeProperties } from './beforeProperties';\nexport function alwaysRender() {\n return handleDecorator((target, propertyKey) => {\n beforeProperties(function () {\n this.invalidate();\n })(target);\n });\n}\nexport default alwaysRender;\n//# sourceMappingURL=alwaysRender.mjs.map" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/animations/cssTransitions.mjs", + "name": "./node_modules/@dojo/framework/widget-core/animations/cssTransitions.mjs", + "index": 36, + "index2": 30, + "size": 2288, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", + "name": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", + "type": "harmony side effect evaluation", + "userRequest": "../animations/cssTransitions", + "loc": "3:0-58" + }, + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", + "type": "harmony import specifier", + "userRequest": "../animations/cssTransitions", + "loc": "31:29-43" + } + ], + "usedExports": [ + "default" + ], + "providedExports": [ + "default" + ], + "optimizationBailout": [], + "depth": 4, + "source": "let browserSpecificTransitionEndEventName = '';\nlet browserSpecificAnimationEndEventName = '';\nfunction determineBrowserStyleNames(element) {\n if ('WebkitTransition' in element.style) {\n browserSpecificTransitionEndEventName = 'webkitTransitionEnd';\n browserSpecificAnimationEndEventName = 'webkitAnimationEnd';\n }\n else if ('transition' in element.style || 'MozTransition' in element.style) {\n browserSpecificTransitionEndEventName = 'transitionend';\n browserSpecificAnimationEndEventName = 'animationend';\n }\n else {\n throw new Error('Your browser is not supported');\n }\n}\nfunction initialize(element) {\n if (browserSpecificAnimationEndEventName === '') {\n determineBrowserStyleNames(element);\n }\n}\nfunction runAndCleanUp(element, startAnimation, finishAnimation) {\n initialize(element);\n let finished = false;\n let transitionEnd = function () {\n if (!finished) {\n finished = true;\n element.removeEventListener(browserSpecificTransitionEndEventName, transitionEnd);\n element.removeEventListener(browserSpecificAnimationEndEventName, transitionEnd);\n finishAnimation();\n }\n };\n startAnimation();\n element.addEventListener(browserSpecificAnimationEndEventName, transitionEnd);\n element.addEventListener(browserSpecificTransitionEndEventName, transitionEnd);\n}\nfunction exit(node, properties, exitAnimation, removeNode) {\n const activeClass = properties.exitAnimationActive || `${exitAnimation}-active`;\n runAndCleanUp(node, () => {\n node.classList.add(exitAnimation);\n requestAnimationFrame(function () {\n node.classList.add(activeClass);\n });\n }, () => {\n removeNode();\n });\n}\nfunction enter(node, properties, enterAnimation) {\n const activeClass = properties.enterAnimationActive || `${enterAnimation}-active`;\n runAndCleanUp(node, () => {\n node.classList.add(enterAnimation);\n requestAnimationFrame(function () {\n node.classList.add(activeClass);\n });\n }, () => {\n node.classList.remove(enterAnimation);\n node.classList.remove(activeClass);\n });\n}\nexport default {\n enter,\n exit\n};\n//# sourceMappingURL=cssTransitions.mjs.map" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/afterRender.mjs", + "name": "./node_modules/@dojo/framework/widget-core/decorators/afterRender.mjs", + "index": 37, + "index2": 32, + "size": 311, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", + "name": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./../decorators/afterRender", + "loc": "4:0-58" + }, + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", + "type": "harmony import specifier", + "userRequest": "./../decorators/afterRender", + "loc": "149:8-19" + } + ], + "usedExports": [ + "afterRender" + ], + "providedExports": [ + "afterRender", + "default" + ], + "optimizationBailout": [], + "depth": 4, + "source": "import { handleDecorator } from './handleDecorator';\nexport function afterRender(method) {\n return handleDecorator((target, propertyKey) => {\n target.addDecorator('afterRender', propertyKey ? target[propertyKey] : method);\n });\n}\nexport default afterRender;\n//# sourceMappingURL=afterRender.mjs.map" + } + ], + "filteredModules": 0 + }, + { + "id": 25, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "name": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "index": 24, + "index2": 17, + "size": 6317, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + 0 + ], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Promise.mjs", + "issuerId": 16, + "issuerName": "./node_modules/@dojo/framework/shim/Promise.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "name": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs" + }, + { + "id": 8, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", + "name": "./node_modules/@dojo/framework/widget-core/Registry.mjs" + }, + { + "id": 16, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Promise.mjs", + "name": "./node_modules/@dojo/framework/shim/Promise.mjs" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": 16, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Promise.mjs", + "module": "./node_modules/@dojo/framework/shim/Promise.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Promise.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./support/queue", + "loc": "2:0-49" + }, + { + "moduleId": 16, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Promise.mjs", + "module": "./node_modules/@dojo/framework/shim/Promise.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Promise.mjs", + "type": "harmony import specifier", + "userRequest": "./support/queue", + "loc": "65:35-49" + }, + { + "moduleId": 16, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Promise.mjs", + "module": "./node_modules/@dojo/framework/shim/Promise.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Promise.mjs", + "type": "harmony import specifier", + "userRequest": "./support/queue", + "loc": "69:24-38" + } + ], + "usedExports": [ + "queueMicroTask" + ], + "providedExports": [ + "queueTask", + "queueAnimationTask", + "queueMicroTask" + ], + "optimizationBailout": [ + "ModuleConcatenation bailout: Module uses injected variables (setImmediate)" + ], + "depth": 6, + "source": "import global from '../global';\nimport has from './has';\nfunction executeTask(item) {\n if (item && item.isActive && item.callback) {\n item.callback();\n }\n}\nfunction getQueueHandle(item, destructor) {\n return {\n destroy: function () {\n this.destroy = function () { };\n item.isActive = false;\n item.callback = null;\n if (destructor) {\n destructor();\n }\n }\n };\n}\nlet checkMicroTaskQueue;\nlet microTasks;\n/**\n * Schedules a callback to the macrotask queue.\n *\n * @param callback the function to be queued and later executed.\n * @returns An object with a `destroy` method that, when called, prevents the registered callback from executing.\n */\nexport const queueTask = (function () {\n let destructor;\n let enqueue;\n // Since the IE implementation of `setImmediate` is not flawless, we will test for `postMessage` first.\n if (has('postmessage')) {\n const queue = [];\n global.addEventListener('message', function (event) {\n // Confirm that the event was triggered by the current window and by this particular implementation.\n if (event.source === global && event.data === 'dojo-queue-message') {\n event.stopPropagation();\n if (queue.length) {\n executeTask(queue.shift());\n }\n }\n });\n enqueue = function (item) {\n queue.push(item);\n global.postMessage('dojo-queue-message', '*');\n };\n }\n else if (has('setimmediate')) {\n destructor = global.clearImmediate;\n enqueue = function (item) {\n return setImmediate(executeTask.bind(null, item));\n };\n }\n else {\n destructor = global.clearTimeout;\n enqueue = function (item) {\n return setTimeout(executeTask.bind(null, item), 0);\n };\n }\n function queueTask(callback) {\n const item = {\n isActive: true,\n callback: callback\n };\n const id = enqueue(item);\n return getQueueHandle(item, destructor &&\n function () {\n destructor(id);\n });\n }\n // TODO: Use aspect.before when it is available.\n return has('microtasks')\n ? queueTask\n : function (callback) {\n checkMicroTaskQueue();\n return queueTask(callback);\n };\n})();\n// When no mechanism for registering microtasks is exposed by the environment, microtasks will\n// be queued and then executed in a single macrotask before the other macrotasks are executed.\nif (!has('microtasks')) {\n let isMicroTaskQueued = false;\n microTasks = [];\n checkMicroTaskQueue = function () {\n if (!isMicroTaskQueued) {\n isMicroTaskQueued = true;\n queueTask(function () {\n isMicroTaskQueued = false;\n if (microTasks.length) {\n let item;\n while ((item = microTasks.shift())) {\n executeTask(item);\n }\n }\n });\n }\n };\n}\n/**\n * Schedules an animation task with `window.requestAnimationFrame` if it exists, or with `queueTask` otherwise.\n *\n * Since requestAnimationFrame's behavior does not match that expected from `queueTask`, it is not used there.\n * However, at times it makes more sense to delegate to requestAnimationFrame; hence the following method.\n *\n * @param callback the function to be queued and later executed.\n * @returns An object with a `destroy` method that, when called, prevents the registered callback from executing.\n */\nexport const queueAnimationTask = (function () {\n if (!has('raf')) {\n return queueTask;\n }\n function queueAnimationTask(callback) {\n const item = {\n isActive: true,\n callback: callback\n };\n const rafId = requestAnimationFrame(executeTask.bind(null, item));\n return getQueueHandle(item, function () {\n cancelAnimationFrame(rafId);\n });\n }\n // TODO: Use aspect.before when it is available.\n return has('microtasks')\n ? queueAnimationTask\n : function (callback) {\n checkMicroTaskQueue();\n return queueAnimationTask(callback);\n };\n})();\n/**\n * Schedules a callback to the microtask queue.\n *\n * Any callbacks registered with `queueMicroTask` will be executed before the next macrotask. If no native\n * mechanism for scheduling macrotasks is exposed, then any callbacks will be fired before any macrotask\n * registered with `queueTask` or `queueAnimationTask`.\n *\n * @param callback the function to be queued and later executed.\n * @returns An object with a `destroy` method that, when called, prevents the registered callback from executing.\n */\nexport let queueMicroTask = (function () {\n let enqueue;\n if (has('host-node')) {\n enqueue = function (item) {\n global.process.nextTick(executeTask.bind(null, item));\n };\n }\n else if (has('es6-promise')) {\n enqueue = function (item) {\n global.Promise.resolve(item).then(executeTask);\n };\n }\n else if (has('dom-mutationobserver')) {\n /* tslint:disable-next-line:variable-name */\n const HostMutationObserver = global.MutationObserver || global.WebKitMutationObserver;\n const node = document.createElement('div');\n const queue = [];\n const observer = new HostMutationObserver(function () {\n while (queue.length > 0) {\n const item = queue.shift();\n if (item && item.isActive && item.callback) {\n item.callback();\n }\n }\n });\n observer.observe(node, { attributes: true });\n enqueue = function (item) {\n queue.push(item);\n node.setAttribute('queueStatus', '1');\n };\n }\n else {\n enqueue = function (item) {\n checkMicroTaskQueue();\n microTasks.push(item);\n };\n }\n return function (callback) {\n const item = {\n isActive: true,\n callback: callback\n };\n enqueue(item);\n return getQueueHandle(item);\n };\n})();\n//# sourceMappingURL=queue.mjs.map" + }, + { + "id": 26, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/process/browser.js", + "name": "./node_modules/process/browser.js", + "index": 9, + "index2": 2, + "size": 5418, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + 0 + ], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/has/has.mjs", + "issuerId": 2, + "issuerName": "./node_modules/@dojo/framework/has/has.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", + "name": "./node_modules/@dojo/framework/shim/array.mjs" + }, + { + "id": 4, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "name": "./node_modules/@dojo/framework/shim/support/has.mjs" + }, + { + "id": 2, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/has/has.mjs", + "name": "./node_modules/@dojo/framework/has/has.mjs" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": 2, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/has/has.mjs", + "module": "./node_modules/@dojo/framework/has/has.mjs", + "moduleName": "./node_modules/@dojo/framework/has/has.mjs", + "type": "cjs require", + "userRequest": "process", + "loc": "1:0-40" + }, + { + "moduleId": 30, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/setimmediate/setImmediate.js", + "module": "./node_modules/setimmediate/setImmediate.js", + "moduleName": "./node_modules/setimmediate/setImmediate.js", + "type": "cjs require", + "userRequest": "process", + "loc": "1:0-34" + } + ], + "usedExports": true, + "providedExports": null, + "optimizationBailout": [ + "ModuleConcatenation bailout: Module is not an ECMAScript module" + ], + "depth": 6, + "source": "// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n" + }, + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js", + "index": 0, + "index2": 46, + "size": 28, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + 0 + ], + "issuer": null, + "issuerId": null, + "issuerName": null, + "issuerPath": null, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": null, + "moduleIdentifier": null, + "module": null, + "moduleName": null, + "type": "multi entry" + } + ], + "usedExports": true, + "providedExports": null, + "optimizationBailout": [ + "ModuleConcatenation bailout: Module is not an ECMAScript module" + ], + "depth": 0 + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js", + "index": 1, + "index2": 45, + "size": 292, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + 0 + ], + "issuer": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "issuerId": 27, + "issuerName": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": 27, + "moduleIdentifier": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "module": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js", + "moduleName": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js", + "type": "single entry", + "userRequest": "imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "loc": "menu-item[0]" + } + ], + "usedExports": true, + "providedExports": null, + "optimizationBailout": [ + "ModuleConcatenation bailout: Module is not an ECMAScript module" + ], + "depth": 1, + "source": "/*** IMPORTS FROM imports-loader ***/\nvar widgetFactory = require(\"src/menu-item/MenuItem\");\n\nvar registerCustomElement = require('@dojo/framework/widget-core/registerCustomElement').default;\n\nvar defaultExport = widgetFactory.default;\ndefaultExport && registerCustomElement(defaultExport);\n\n" + }, + { + "id": 29, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/timers-browserify/main.js", + "name": "./node_modules/timers-browserify/main.js", + "index": 25, + "index2": 16, + "size": 2022, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + 0 + ], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "issuerId": 25, + "issuerName": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "name": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs" + }, + { + "id": 8, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", + "name": "./node_modules/@dojo/framework/widget-core/Registry.mjs" + }, + { + "id": 16, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Promise.mjs", + "name": "./node_modules/@dojo/framework/shim/Promise.mjs" + }, + { + "id": 25, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "name": "./node_modules/@dojo/framework/shim/support/queue.mjs" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": 25, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "module": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "type": "cjs require", + "userRequest": "setImmediate", + "loc": "1:0-50" + } + ], + "usedExports": true, + "providedExports": null, + "optimizationBailout": [ + "ModuleConcatenation bailout: Module is not an ECMAScript module" + ], + "depth": 7, + "source": "var scope = (typeof global !== \"undefined\" && global) ||\n (typeof self !== \"undefined\" && self) ||\n window;\nvar apply = Function.prototype.apply;\n\n// DOM APIs, for completeness\n\nexports.setTimeout = function() {\n return new Timeout(apply.call(setTimeout, scope, arguments), clearTimeout);\n};\nexports.setInterval = function() {\n return new Timeout(apply.call(setInterval, scope, arguments), clearInterval);\n};\nexports.clearTimeout =\nexports.clearInterval = function(timeout) {\n if (timeout) {\n timeout.close();\n }\n};\n\nfunction Timeout(id, clearFn) {\n this._id = id;\n this._clearFn = clearFn;\n}\nTimeout.prototype.unref = Timeout.prototype.ref = function() {};\nTimeout.prototype.close = function() {\n this._clearFn.call(scope, this._id);\n};\n\n// Does not start the time, just sets up the members needed.\nexports.enroll = function(item, msecs) {\n clearTimeout(item._idleTimeoutId);\n item._idleTimeout = msecs;\n};\n\nexports.unenroll = function(item) {\n clearTimeout(item._idleTimeoutId);\n item._idleTimeout = -1;\n};\n\nexports._unrefActive = exports.active = function(item) {\n clearTimeout(item._idleTimeoutId);\n\n var msecs = item._idleTimeout;\n if (msecs >= 0) {\n item._idleTimeoutId = setTimeout(function onTimeout() {\n if (item._onTimeout)\n item._onTimeout();\n }, msecs);\n }\n};\n\n// setimmediate attaches itself to the global object\nrequire(\"setimmediate\");\n// On some exotic environments, it's not clear which object `setimmediate` was\n// able to install onto. Search each possibility in the same order as the\n// `setimmediate` library.\nexports.setImmediate = (typeof self !== \"undefined\" && self.setImmediate) ||\n (typeof global !== \"undefined\" && global.setImmediate) ||\n (this && this.setImmediate);\nexports.clearImmediate = (typeof self !== \"undefined\" && self.clearImmediate) ||\n (typeof global !== \"undefined\" && global.clearImmediate) ||\n (this && this.clearImmediate);\n" + }, + { + "id": 30, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/setimmediate/setImmediate.js", + "name": "./node_modules/setimmediate/setImmediate.js", + "index": 26, + "index2": 15, + "size": 6473, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + 0 + ], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/timers-browserify/main.js", + "issuerId": 29, + "issuerName": "./node_modules/timers-browserify/main.js", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu-item/MenuItem!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu-item/MenuItem!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "name": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs" + }, + { + "id": 8, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", + "name": "./node_modules/@dojo/framework/widget-core/Registry.mjs" + }, + { + "id": 16, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Promise.mjs", + "name": "./node_modules/@dojo/framework/shim/Promise.mjs" + }, + { + "id": 25, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "name": "./node_modules/@dojo/framework/shim/support/queue.mjs" + }, + { + "id": 29, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/timers-browserify/main.js", + "name": "./node_modules/timers-browserify/main.js" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": 29, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/timers-browserify/main.js", + "module": "./node_modules/timers-browserify/main.js", + "moduleName": "./node_modules/timers-browserify/main.js", + "type": "cjs require", + "userRequest": "setimmediate", + "loc": "54:0-23" + } + ], + "usedExports": true, + "providedExports": null, + "optimizationBailout": [ + "ModuleConcatenation bailout: Module is not an ECMAScript module" + ], + "depth": 8, + "source": "(function (global, undefined) {\n \"use strict\";\n\n if (global.setImmediate) {\n return;\n }\n\n var nextHandle = 1; // Spec says greater than zero\n var tasksByHandle = {};\n var currentlyRunningATask = false;\n var doc = global.document;\n var registerImmediate;\n\n function setImmediate(callback) {\n // Callback can either be a function or a string\n if (typeof callback !== \"function\") {\n callback = new Function(\"\" + callback);\n }\n // Copy function arguments\n var args = new Array(arguments.length - 1);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i + 1];\n }\n // Store and register the task\n var task = { callback: callback, args: args };\n tasksByHandle[nextHandle] = task;\n registerImmediate(nextHandle);\n return nextHandle++;\n }\n\n function clearImmediate(handle) {\n delete tasksByHandle[handle];\n }\n\n function run(task) {\n var callback = task.callback;\n var args = task.args;\n switch (args.length) {\n case 0:\n callback();\n break;\n case 1:\n callback(args[0]);\n break;\n case 2:\n callback(args[0], args[1]);\n break;\n case 3:\n callback(args[0], args[1], args[2]);\n break;\n default:\n callback.apply(undefined, args);\n break;\n }\n }\n\n function runIfPresent(handle) {\n // From the spec: \"Wait until any invocations of this algorithm started before this one have completed.\"\n // So if we're currently running a task, we'll need to delay this invocation.\n if (currentlyRunningATask) {\n // Delay by doing a setTimeout. setImmediate was tried instead, but in Firefox 7 it generated a\n // \"too much recursion\" error.\n setTimeout(runIfPresent, 0, handle);\n } else {\n var task = tasksByHandle[handle];\n if (task) {\n currentlyRunningATask = true;\n try {\n run(task);\n } finally {\n clearImmediate(handle);\n currentlyRunningATask = false;\n }\n }\n }\n }\n\n function installNextTickImplementation() {\n registerImmediate = function(handle) {\n process.nextTick(function () { runIfPresent(handle); });\n };\n }\n\n function canUsePostMessage() {\n // The test against `importScripts` prevents this implementation from being installed inside a web worker,\n // where `global.postMessage` means something completely different and can't be used for this purpose.\n if (global.postMessage && !global.importScripts) {\n var postMessageIsAsynchronous = true;\n var oldOnMessage = global.onmessage;\n global.onmessage = function() {\n postMessageIsAsynchronous = false;\n };\n global.postMessage(\"\", \"*\");\n global.onmessage = oldOnMessage;\n return postMessageIsAsynchronous;\n }\n }\n\n function installPostMessageImplementation() {\n // Installs an event handler on `global` for the `message` event: see\n // * https://developer.mozilla.org/en/DOM/window.postMessage\n // * http://www.whatwg.org/specs/web-apps/current-work/multipage/comms.html#crossDocumentMessages\n\n var messagePrefix = \"setImmediate$\" + Math.random() + \"$\";\n var onGlobalMessage = function(event) {\n if (event.source === global &&\n typeof event.data === \"string\" &&\n event.data.indexOf(messagePrefix) === 0) {\n runIfPresent(+event.data.slice(messagePrefix.length));\n }\n };\n\n if (global.addEventListener) {\n global.addEventListener(\"message\", onGlobalMessage, false);\n } else {\n global.attachEvent(\"onmessage\", onGlobalMessage);\n }\n\n registerImmediate = function(handle) {\n global.postMessage(messagePrefix + handle, \"*\");\n };\n }\n\n function installMessageChannelImplementation() {\n var channel = new MessageChannel();\n channel.port1.onmessage = function(event) {\n var handle = event.data;\n runIfPresent(handle);\n };\n\n registerImmediate = function(handle) {\n channel.port2.postMessage(handle);\n };\n }\n\n function installReadyStateChangeImplementation() {\n var html = doc.documentElement;\n registerImmediate = function(handle) {\n // Create a - - - - - - - - - diff --git a/test-app/fixtures/unix/info/menu/stats.json b/test-app/fixtures/unix/info/menu/stats.json index b49a6c3..e54131b 100644 --- a/test-app/fixtures/unix/info/menu/stats.json +++ b/test-app/fixtures/unix/info/menu/stats.json @@ -1,46 +1,24 @@ { "errors": [], "warnings": [], - "version": "3.8.1", - "hash": "a59a9399cca9f1d650e4", - "time": 7106, + "version": "4.25.1", + "hash": "d685f4cc36d92f253f5c", + "time": 3222, + "builtAt": 1544033808266, "publicPath": "", + "outputPath": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/output/dist/menu", "assetsByChunkName": { "menu": [ - "menu-1.0.0.js", "menu-1.0.0.css", - "menu-1.0.0.js.map", - "menu-1.0.0.css.map" + "menu-1.0.0.js" ] }, "assets": [ - { - "name": "menu-1.0.0.js", - "size": 55351, - "chunks": [ - "menu" - ], - "chunkNames": [ - "menu" - ], - "emitted": true - }, { "name": "menu-1.0.0.css", - "size": 421, - "chunks": [ - "menu" - ], - "chunkNames": [ - "menu" - ], - "emitted": true - }, - { - "name": "menu-1.0.0.js.map", - "size": 276121, + "size": 348, "chunks": [ - "menu" + 0 ], "chunkNames": [ "menu" @@ -48,10 +26,10 @@ "emitted": true }, { - "name": "menu-1.0.0.css.map", - "size": 462, + "name": "menu-1.0.0.js", + "size": 68702, "chunks": [ - "menu" + 0 ], "chunkNames": [ "menu" @@ -63,757 +41,924 @@ "entrypoints": { "menu": { "chunks": [ - "menu" + 0 ], "assets": [ - "menu-1.0.0.js", "menu-1.0.0.css", - "menu-1.0.0.js.map", - "menu-1.0.0.css.map" - ] + "menu-1.0.0.js" + ], + "children": {}, + "childAssets": {} + } + }, + "namedChunkGroups": { + "menu": { + "chunks": [ + 0 + ], + "assets": [ + "menu-1.0.0.css", + "menu-1.0.0.js" + ], + "children": {}, + "childAssets": {} } }, "chunks": [ { - "id": "menu", + "id": 0, "rendered": true, "initial": true, "entry": true, - "extraAsync": false, - "size": 192526, + "size": 212364, "names": [ "menu" ], "files": [ - "menu-1.0.0.js", "menu-1.0.0.css", - "menu-1.0.0.js.map", - "menu-1.0.0.css.map" + "menu-1.0.0.js" ], - "hash": "71d5bafa98ac47d4ea99", + "hash": "38b936f5fa672e08128d", + "siblings": [], "parents": [], + "children": [], + "childrenByOrder": {}, "modules": [ { - "id": "./node_modules/@dojo/framework/core/Destroyable.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/core/Destroyable.mjs", - "name": "./node_modules/@dojo/framework/core/Destroyable.mjs", - "index": 25, - "index2": 17, - "size": 1665, + "id": 0, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/global.mjs", + "name": "./node_modules/@dojo/framework/shim/global.mjs", + "index": 10, + "index2": 4, + "size": 465, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ - "menu" + 0 ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/core/Evented.mjs", - "issuerId": "./node_modules/@dojo/framework/core/Evented.mjs", - "issuerName": "./node_modules/@dojo/framework/core/Evented.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "issuerPath": [ { - "moduleId": "./node_modules/@dojo/framework/core/Evented.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/core/Evented.mjs", - "module": "./node_modules/@dojo/framework/core/Evented.mjs", - "moduleName": "./node_modules/@dojo/framework/core/Evented.mjs", - "type": "harmony import", - "userRequest": "./Destroyable", - "loc": "2:0-44" + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" } ], - "usedExports": [ - "Destroyable" - ], - "providedExports": [ - "Destroyable", - "default" - ], - "optimizationBailout": [], - "depth": 6, - "source": "import { createCompositeHandle } from './lang';\nimport Promise from '../shim/Promise';\n/**\n * No operation function to replace own once instance is destoryed\n */\nfunction noop() {\n return Promise.resolve(false);\n}\n/**\n * No op function used to replace own, once instance has been destoryed\n */\nfunction destroyed() {\n throw new Error('Call made to destroyed method');\n}\nexport class Destroyable {\n /**\n * @constructor\n */\n constructor() {\n this.handles = [];\n }\n /**\n * Register handles for the instance that will be destroyed when `this.destroy` is called\n *\n * @param {Handle} handle The handle to add for the instance\n * @returns {Handle} a handle for the handle, removes the handle for the instance and calls destroy\n */\n own(handles) {\n const handle = Array.isArray(handles) ? createCompositeHandle(...handles) : handles;\n const { handles: _handles } = this;\n _handles.push(handle);\n return {\n destroy() {\n _handles.splice(_handles.indexOf(handle));\n handle.destroy();\n }\n };\n }\n /**\n * Destrpys all handers registered for the instance\n *\n * @returns {Promise {\n this.handles.forEach((handle) => {\n handle && handle.destroy && handle.destroy();\n });\n this.destroy = noop;\n this.own = destroyed;\n resolve(true);\n });\n }\n}\nexport default Destroyable;\n//# sourceMappingURL=Destroyable.mjs.map" - }, - { - "id": "./node_modules/@dojo/framework/core/Evented.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/core/Evented.mjs", - "name": "./node_modules/@dojo/framework/core/Evented.mjs", - "index": 24, - "index2": 18, - "size": 2151, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", "failed": false, "errors": 0, "warnings": 0, + "assets": [], "reasons": [ { - "moduleId": "./node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", - "module": "./node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", - "type": "harmony import", - "userRequest": "../core/Evented", - "loc": "2:0-42" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony side effect evaluation", + "userRequest": "../global", + "loc": "2:0-31" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/NodeHandler.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/NodeHandler.mjs", - "module": "./node_modules/@dojo/framework/widget-core/NodeHandler.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/NodeHandler.mjs", - "type": "harmony import", - "userRequest": "../core/Evented", - "loc": "1:0-42" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "8:49-55" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/Registry.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", - "module": "./node_modules/@dojo/framework/widget-core/Registry.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/Registry.mjs", - "type": "harmony import", - "userRequest": "../core/Evented", - "loc": "4:0-42" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "9:66-72" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/Injector.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Injector.mjs", - "module": "./node_modules/@dojo/framework/widget-core/Injector.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/Injector.mjs", - "type": "harmony import", - "userRequest": "../core/Evented", - "loc": "1:0-42" - } - ], - "usedExports": [ - "Evented" - ], - "providedExports": [ - "isGlobMatch", - "Evented", - "default" - ], - "optimizationBailout": [], - "depth": 5, - "source": "import Map from '../shim/Map';\nimport { Destroyable } from './Destroyable';\n/**\n * Map of computed regular expressions, keyed by string\n */\nconst regexMap = new Map();\n/**\n * Determines is the event type glob has been matched\n *\n * @returns boolean that indicates if the glob is matched\n */\nexport function isGlobMatch(globString, targetString) {\n if (typeof targetString === 'string' && typeof globString === 'string' && globString.indexOf('*') !== -1) {\n let regex;\n if (regexMap.has(globString)) {\n regex = regexMap.get(globString);\n }\n else {\n regex = new RegExp(`^${globString.replace(/\\*/g, '.*')}$`);\n regexMap.set(globString, regex);\n }\n return regex.test(targetString);\n }\n else {\n return globString === targetString;\n }\n}\n/**\n * Event Class\n */\nexport class Evented extends Destroyable {\n constructor() {\n super(...arguments);\n /**\n * map of listeners keyed by event type\n */\n this.listenersMap = new Map();\n }\n emit(event) {\n this.listenersMap.forEach((methods, type) => {\n if (isGlobMatch(type, event.type)) {\n [...methods].forEach((method) => {\n method.call(this, event);\n });\n }\n });\n }\n on(type, listener) {\n if (Array.isArray(listener)) {\n const handles = listener.map((listener) => this._addListener(type, listener));\n return {\n destroy() {\n handles.forEach((handle) => handle.destroy());\n }\n };\n }\n return this._addListener(type, listener);\n }\n _addListener(type, listener) {\n const listeners = this.listenersMap.get(type) || [];\n listeners.push(listener);\n this.listenersMap.set(type, listeners);\n return {\n destroy: () => {\n const listeners = this.listenersMap.get(type) || [];\n listeners.splice(listeners.indexOf(listener), 1);\n }\n };\n }\n}\nexport default Evented;\n//# sourceMappingURL=Evented.mjs.map" - }, - { - "id": "./node_modules/@dojo/framework/core/lang.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/core/lang.mjs", - "name": "./node_modules/@dojo/framework/core/lang.mjs", - "index": 26, - "index2": 16, - "size": 6837, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ - { - "moduleId": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "module": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "type": "harmony import", - "userRequest": "../../core/lang", - "loc": "2:0-41" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "12:18-24" }, { - "moduleId": "./node_modules/@dojo/framework/core/Destroyable.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/core/Destroyable.mjs", - "module": "./node_modules/@dojo/framework/core/Destroyable.mjs", - "moduleName": "./node_modules/@dojo/framework/core/Destroyable.mjs", - "type": "harmony import", - "userRequest": "./lang", - "loc": "1:0-47" - } - ], - "usedExports": [ - "assign", - "createCompositeHandle" - ], - "providedExports": [ - "assign", - "create", - "deepAssign", - "deepMixin", - "duplicate", - "isIdentical", - "lateBind", - "mixin", - "partial", - "createHandle", - "createCompositeHandle" - ], - "optimizationBailout": [], - "depth": 4, - "source": "import { assign } from '../shim/object';\nexport { assign } from '../shim/object';\nconst slice = Array.prototype.slice;\nconst hasOwnProperty = Object.prototype.hasOwnProperty;\n/**\n * Type guard that ensures that the value can be coerced to Object\n * to weed out host objects that do not derive from Object.\n * This function is used to check if we want to deep copy an object or not.\n * Note: In ES6 it is possible to modify an object's Symbol.toStringTag property, which will\n * change the value returned by `toString`. This is a rare edge case that is difficult to handle,\n * so it is not handled here.\n * @param value The value to check\n * @return If the value is coercible into an Object\n */\nfunction shouldDeepCopyObject(value) {\n return Object.prototype.toString.call(value) === '[object Object]';\n}\nfunction copyArray(array, inherited) {\n return array.map(function (item) {\n if (Array.isArray(item)) {\n return copyArray(item, inherited);\n }\n return !shouldDeepCopyObject(item)\n ? item\n : _mixin({\n deep: true,\n inherited: inherited,\n sources: [item],\n target: {}\n });\n });\n}\nfunction _mixin(kwArgs) {\n const deep = kwArgs.deep;\n const inherited = kwArgs.inherited;\n const target = kwArgs.target;\n const copied = kwArgs.copied || [];\n const copiedClone = [...copied];\n for (let i = 0; i < kwArgs.sources.length; i++) {\n const source = kwArgs.sources[i];\n if (source === null || source === undefined) {\n continue;\n }\n for (let key in source) {\n if (inherited || hasOwnProperty.call(source, key)) {\n let value = source[key];\n if (copiedClone.indexOf(value) !== -1) {\n continue;\n }\n if (deep) {\n if (Array.isArray(value)) {\n value = copyArray(value, inherited);\n }\n else if (shouldDeepCopyObject(value)) {\n const targetValue = target[key] || {};\n copied.push(source);\n value = _mixin({\n deep: true,\n inherited: inherited,\n sources: [value],\n target: targetValue,\n copied\n });\n }\n }\n target[key] = value;\n }\n }\n }\n return target;\n}\nexport function create(prototype, ...mixins) {\n if (!mixins.length) {\n throw new RangeError('lang.create requires at least one mixin object.');\n }\n const args = mixins.slice();\n args.unshift(Object.create(prototype));\n return assign.apply(null, args);\n}\nexport function deepAssign(target, ...sources) {\n return _mixin({\n deep: true,\n inherited: false,\n sources: sources,\n target: target\n });\n}\nexport function deepMixin(target, ...sources) {\n return _mixin({\n deep: true,\n inherited: true,\n sources: sources,\n target: target\n });\n}\n/**\n * Creates a new object using the provided source's prototype as the prototype for the new object, and then\n * deep copies the provided source's values into the new target.\n *\n * @param source The object to duplicate\n * @return The new object\n */\nexport function duplicate(source) {\n const target = Object.create(Object.getPrototypeOf(source));\n return deepMixin(target, source);\n}\n/**\n * Determines whether two values are the same value.\n *\n * @param a First value to compare\n * @param b Second value to compare\n * @return true if the values are the same; false otherwise\n */\nexport function isIdentical(a, b) {\n return (a === b ||\n /* both values are NaN */\n (a !== a && b !== b));\n}\n/**\n * Returns a function that binds a method to the specified object at runtime. This is similar to\n * `Function.prototype.bind`, but instead of a function it takes the name of a method on an object.\n * As a result, the function returned by `lateBind` will always call the function currently assigned to\n * the specified property on the object as of the moment the function it returns is called.\n *\n * @param instance The context object\n * @param method The name of the method on the context object to bind to itself\n * @param suppliedArgs An optional array of values to prepend to the `instance[method]` arguments list\n * @return The bound function\n */\nexport function lateBind(instance, method, ...suppliedArgs) {\n return suppliedArgs.length\n ? function () {\n const args = arguments.length ? suppliedArgs.concat(slice.call(arguments)) : suppliedArgs;\n // TS7017\n return instance[method].apply(instance, args);\n }\n : function () {\n // TS7017\n return instance[method].apply(instance, arguments);\n };\n}\nexport function mixin(target, ...sources) {\n return _mixin({\n deep: false,\n inherited: true,\n sources: sources,\n target: target\n });\n}\n/**\n * Returns a function which invokes the given function with the given arguments prepended to its argument list.\n * Like `Function.prototype.bind`, but does not alter execution context.\n *\n * @param targetFunction The function that needs to be bound\n * @param suppliedArgs An optional array of arguments to prepend to the `targetFunction` arguments list\n * @return The bound function\n */\nexport function partial(targetFunction, ...suppliedArgs) {\n return function () {\n const args = arguments.length ? suppliedArgs.concat(slice.call(arguments)) : suppliedArgs;\n return targetFunction.apply(this, args);\n };\n}\n/**\n * Returns an object with a destroy method that, when called, calls the passed-in destructor.\n * This is intended to provide a unified interface for creating \"remove\" / \"destroy\" handlers for\n * event listeners, timers, etc.\n *\n * @param destructor A function that will be called when the handle's `destroy` method is invoked\n * @return The handle object\n */\nexport function createHandle(destructor) {\n let called = false;\n return {\n destroy: function () {\n if (!called) {\n called = true;\n destructor();\n }\n }\n };\n}\n/**\n * Returns a single handle that can be used to destroy multiple handles simultaneously.\n *\n * @param handles An array of handles with `destroy` methods\n * @return The handle object\n */\nexport function createCompositeHandle(...handles) {\n return createHandle(function () {\n for (let i = 0; i < handles.length; i++) {\n handles[i].destroy();\n }\n });\n}\n//# sourceMappingURL=lang.mjs.map" - }, - { - "id": "./node_modules/@dojo/framework/has/has.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/has/has.mjs", - "name": "./node_modules/@dojo/framework/has/has.mjs", - "index": 7, - "index2": 3, - "size": 6321, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", - "issuerId": "./node_modules/@dojo/framework/shim/support/has.mjs", - "issuerName": "./node_modules/@dojo/framework/shim/support/has.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ - { - "moduleId": "./node_modules/@dojo/framework/shim/support/has.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", "module": "./node_modules/@dojo/framework/shim/support/has.mjs", "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", - "type": "harmony import", - "userRequest": "../../has/has", - "loc": "1:0-41" + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "18:37-43" }, { - "moduleId": "./node_modules/@dojo/framework/shim/support/has.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", "module": "./node_modules/@dojo/framework/shim/support/has.mjs", "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", - "type": "harmony import", - "userRequest": "../../has/has", - "loc": "4:0-30" - } - ], - "usedExports": [ - "add", - "default" - ], - "providedExports": [ - "testCache", - "testFunctions", - "load", - "normalize", - "exists", - "add", - "default" - ], - "optimizationBailout": [], - "depth": 5, - "source": "function isFeatureTestThenable(value) {\n return value && value.then;\n}\n/**\n * A cache of results of feature tests\n */\nexport const testCache = {};\n/**\n * A cache of the un-resolved feature tests\n */\nexport const testFunctions = {};\n/**\n * A cache of unresolved thenables (probably promises)\n * @type {{}}\n */\nconst testThenables = {};\n/**\n * A reference to the global scope (`window` in a browser, `global` in NodeJS)\n */\nconst globalScope = (function () {\n /* istanbul ignore else */\n if (typeof window !== 'undefined') {\n // Browsers\n return window;\n }\n else if (typeof global !== 'undefined') {\n // Node\n return global;\n }\n else if (typeof self !== 'undefined') {\n // Web workers\n return self;\n }\n /* istanbul ignore next */\n return {};\n})();\n/* Grab the staticFeatures if there are available */\nconst { staticFeatures } = globalScope.DojoHasEnvironment || {};\n/* Cleaning up the DojoHasEnviornment */\nif ('DojoHasEnvironment' in globalScope) {\n delete globalScope.DojoHasEnvironment;\n}\n/**\n * Custom type guard to narrow the `staticFeatures` to either a map or a function that\n * returns a map.\n *\n * @param value The value to guard for\n */\nfunction isStaticFeatureFunction(value) {\n return typeof value === 'function';\n}\n/**\n * The cache of asserted features that were available in the global scope when the\n * module loaded\n */\nconst staticCache = staticFeatures\n ? isStaticFeatureFunction(staticFeatures)\n ? staticFeatures.apply(globalScope)\n : staticFeatures\n : {}; /* Providing an empty cache, if none was in the environment\n\n/**\n* AMD plugin function.\n*\n* Conditional loads modules based on a has feature test value.\n*\n* @param resourceId Gives the resolved module id to load.\n* @param require The loader require function with respect to the module that contained the plugin resource in its\n* dependency list.\n* @param load Callback to loader that consumes result of plugin demand.\n*/\nexport function load(resourceId, require, load, config) {\n resourceId ? require([resourceId], load) : load();\n}\n/**\n * AMD plugin function.\n *\n * Resolves resourceId into a module id based on possibly-nested tenary expression that branches on has feature test\n * value(s).\n *\n * @param resourceId The id of the module\n * @param normalize Resolves a relative module id into an absolute module id\n */\nexport function normalize(resourceId, normalize) {\n const tokens = resourceId.match(/[\\?:]|[^:\\?]*/g) || [];\n let i = 0;\n function get(skip) {\n const term = tokens[i++];\n if (term === ':') {\n // empty string module name, resolves to null\n return null;\n }\n else {\n // postfixed with a ? means it is a feature to branch on, the term is the name of the feature\n if (tokens[i++] === '?') {\n if (!skip && has(term)) {\n // matched the feature, get the first value from the options\n return get();\n }\n else {\n // did not match, get the second value, passing over the first\n get(true);\n return get(skip);\n }\n }\n // a module\n return term;\n }\n }\n const id = get();\n return id && normalize(id);\n}\n/**\n * Check if a feature has already been registered\n *\n * @param feature the name of the feature\n */\nexport function exists(feature) {\n const normalizedFeature = feature.toLowerCase();\n return Boolean(normalizedFeature in staticCache || normalizedFeature in testCache || testFunctions[normalizedFeature]);\n}\n/**\n * Register a new test for a named feature.\n *\n * @example\n * has.add('dom-addeventlistener', !!document.addEventListener);\n *\n * @example\n * has.add('touch-events', function () {\n * return 'ontouchstart' in document\n * });\n *\n * @param feature the name of the feature\n * @param value the value reported of the feature, or a function that will be executed once on first test\n * @param overwrite if an existing value should be overwritten. Defaults to false.\n */\nexport function add(feature, value, overwrite = false) {\n const normalizedFeature = feature.toLowerCase();\n if (exists(normalizedFeature) && !overwrite && !(normalizedFeature in staticCache)) {\n throw new TypeError(`Feature \"${feature}\" exists and overwrite not true.`);\n }\n if (typeof value === 'function') {\n testFunctions[normalizedFeature] = value;\n }\n else if (isFeatureTestThenable(value)) {\n testThenables[feature] = value.then((resolvedValue) => {\n testCache[feature] = resolvedValue;\n delete testThenables[feature];\n }, () => {\n delete testThenables[feature];\n });\n }\n else {\n testCache[normalizedFeature] = value;\n delete testFunctions[normalizedFeature];\n }\n}\n/**\n * Return the current value of a named feature.\n *\n * @param feature The name (if a string) or identifier (if an integer) of the feature to test.\n */\nexport default function has(feature) {\n let result;\n const normalizedFeature = feature.toLowerCase();\n if (normalizedFeature in staticCache) {\n result = staticCache[normalizedFeature];\n }\n else if (testFunctions[normalizedFeature]) {\n result = testCache[normalizedFeature] = testFunctions[normalizedFeature].call(null);\n delete testFunctions[normalizedFeature];\n }\n else if (normalizedFeature in testCache) {\n result = testCache[normalizedFeature];\n }\n else if (feature in testThenables) {\n return false;\n }\n else {\n throw new TypeError(`Attempt to detect unregistered has feature \"${feature}\"`);\n }\n return result;\n}\n/*\n * Out of the box feature tests\n */\n/* Environments */\n/* Used as a value to provide a debug only code path */\nadd('debug', true);\n/* Detects if the environment is \"browser like\" */\nadd('host-browser', typeof document !== 'undefined' && typeof location !== 'undefined');\n/* Detects if the environment appears to be NodeJS */\nadd('host-node', function () {\n if (typeof process === 'object' && process.versions && process.versions.node) {\n return process.versions.node;\n }\n});\n//# sourceMappingURL=has.mjs.map" - }, - { - "id": "./node_modules/@dojo/framework/shim/Map.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", - "name": "./node_modules/@dojo/framework/shim/Map.mjs", - "index": 15, - "index2": 12, - "size": 3331, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "21:15-21" + }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "type": "harmony import", - "userRequest": "../shim/Map", - "loc": "1:0-30" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "28:28-34" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", - "module": "./node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", - "type": "harmony import", - "userRequest": "../shim/Map", - "loc": "1:0-34" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "61:29-35" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/NodeHandler.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/NodeHandler.mjs", - "module": "./node_modules/@dojo/framework/widget-core/NodeHandler.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/NodeHandler.mjs", - "type": "harmony import", - "userRequest": "../shim/Map", - "loc": "2:0-30" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "64:18-24" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/Registry.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", - "module": "./node_modules/@dojo/framework/widget-core/Registry.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/Registry.mjs", - "type": "harmony import", - "userRequest": "../shim/Map", - "loc": "2:0-30" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "73:91-97" }, { - "moduleId": "./node_modules/@dojo/framework/core/Evented.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/core/Evented.mjs", - "module": "./node_modules/@dojo/framework/core/Evented.mjs", - "moduleName": "./node_modules/@dojo/framework/core/Evented.mjs", - "type": "harmony import", - "userRequest": "../shim/Map", - "loc": "1:0-30" - } - ], - "usedExports": [ - "Map", - "default" - ], - "providedExports": [ - "Map", - "default" - ], - "optimizationBailout": [], - "depth": 4, - "source": "import { isArrayLike, ShimIterator } from './iterator';\nimport global from './global';\nimport { is as objectIs } from './object';\nimport has from './support/has';\nimport './Symbol';\nexport let Map = global.Map;\nif (!true) {\n Map = (_a = class Map {\n constructor(iterable) {\n this._keys = [];\n this._values = [];\n this[Symbol.toStringTag] = 'Map';\n if (iterable) {\n if (isArrayLike(iterable)) {\n for (let i = 0; i < iterable.length; i++) {\n const value = iterable[i];\n this.set(value[0], value[1]);\n }\n }\n else {\n for (const value of iterable) {\n this.set(value[0], value[1]);\n }\n }\n }\n }\n /**\n * An alternative to Array.prototype.indexOf using Object.is\n * to check for equality. See http://mzl.la/1zuKO2V\n */\n _indexOfKey(keys, key) {\n for (let i = 0, length = keys.length; i < length; i++) {\n if (objectIs(keys[i], key)) {\n return i;\n }\n }\n return -1;\n }\n get size() {\n return this._keys.length;\n }\n clear() {\n this._keys.length = this._values.length = 0;\n }\n delete(key) {\n const index = this._indexOfKey(this._keys, key);\n if (index < 0) {\n return false;\n }\n this._keys.splice(index, 1);\n this._values.splice(index, 1);\n return true;\n }\n entries() {\n const values = this._keys.map((key, i) => {\n return [key, this._values[i]];\n });\n return new ShimIterator(values);\n }\n forEach(callback, context) {\n const keys = this._keys;\n const values = this._values;\n for (let i = 0, length = keys.length; i < length; i++) {\n callback.call(context, values[i], keys[i], this);\n }\n }\n get(key) {\n const index = this._indexOfKey(this._keys, key);\n return index < 0 ? undefined : this._values[index];\n }\n has(key) {\n return this._indexOfKey(this._keys, key) > -1;\n }\n keys() {\n return new ShimIterator(this._keys);\n }\n set(key, value) {\n let index = this._indexOfKey(this._keys, key);\n index = index < 0 ? this._keys.length : index;\n this._keys[index] = key;\n this._values[index] = value;\n return this;\n }\n values() {\n return new ShimIterator(this._values);\n }\n [Symbol.iterator]() {\n return this.entries();\n }\n },\n _a[Symbol.species] = _a,\n _a);\n}\nexport default Map;\nvar _a;\n//# sourceMappingURL=Map.mjs.map" - }, - { - "id": "./node_modules/@dojo/framework/shim/Promise.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Promise.mjs", - "name": "./node_modules/@dojo/framework/shim/Promise.mjs", - "index": 22, - "index2": 15, - "size": 8519, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/Registry.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/Registry.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "76:85-91" + }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/Registry.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", - "module": "./node_modules/@dojo/framework/widget-core/Registry.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/Registry.mjs", - "type": "harmony import", - "userRequest": "../shim/Promise", - "loc": "1:0-38" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "79:34-40" }, { - "moduleId": "./node_modules/@dojo/framework/core/Destroyable.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/core/Destroyable.mjs", - "module": "./node_modules/@dojo/framework/core/Destroyable.mjs", - "moduleName": "./node_modules/@dojo/framework/core/Destroyable.mjs", - "type": "harmony import", - "userRequest": "../shim/Promise", - "loc": "2:0-38" - } - ], - "usedExports": [ - "default" - ], - "providedExports": [ - "ShimPromise", - "isThenable", - "default" - ], - "optimizationBailout": [], - "depth": 5, - "source": "import global from './global';\nimport { queueMicroTask } from './support/queue';\nimport './Symbol';\nimport has from './support/has';\nexport let ShimPromise = global.Promise;\nexport const isThenable = function isThenable(value) {\n return value && typeof value.then === 'function';\n};\nif (!true) {\n global.Promise = ShimPromise = (_a = class Promise {\n /**\n * Creates a new Promise.\n *\n * @constructor\n *\n * @param executor\n * The executor function is called immediately when the Promise is instantiated. It is responsible for\n * starting the asynchronous operation when it is invoked.\n *\n * The executor must call either the passed `resolve` function when the asynchronous operation has completed\n * successfully, or the `reject` function when the operation fails.\n */\n constructor(executor) {\n /**\n * The current state of this promise.\n */\n this.state = 1 /* Pending */;\n this[Symbol.toStringTag] = 'Promise';\n /**\n * If true, the resolution of this promise is chained (\"locked in\") to another promise.\n */\n let isChained = false;\n /**\n * Whether or not this promise is in a resolved state.\n */\n const isResolved = () => {\n return this.state !== 1 /* Pending */ || isChained;\n };\n /**\n * Callbacks that should be invoked once the asynchronous operation has completed.\n */\n let callbacks = [];\n /**\n * Initially pushes callbacks onto a queue for execution once this promise settles. After the promise settles,\n * enqueues callbacks for execution on the next event loop turn.\n */\n let whenFinished = function (callback) {\n if (callbacks) {\n callbacks.push(callback);\n }\n };\n /**\n * Settles this promise.\n *\n * @param newState The resolved state for this promise.\n * @param {T|any} value The resolved value for this promise.\n */\n const settle = (newState, value) => {\n // A promise can only be settled once.\n if (this.state !== 1 /* Pending */) {\n return;\n }\n this.state = newState;\n this.resolvedValue = value;\n whenFinished = queueMicroTask;\n // Only enqueue a callback runner if there are callbacks so that initially fulfilled Promises don't have to\n // wait an extra turn.\n if (callbacks && callbacks.length > 0) {\n queueMicroTask(function () {\n if (callbacks) {\n let count = callbacks.length;\n for (let i = 0; i < count; ++i) {\n callbacks[i].call(null);\n }\n callbacks = null;\n }\n });\n }\n };\n /**\n * Resolves this promise.\n *\n * @param newState The resolved state for this promise.\n * @param {T|any} value The resolved value for this promise.\n */\n const resolve = (newState, value) => {\n if (isResolved()) {\n return;\n }\n if (isThenable(value)) {\n value.then(settle.bind(null, 0 /* Fulfilled */), settle.bind(null, 2 /* Rejected */));\n isChained = true;\n }\n else {\n settle(newState, value);\n }\n };\n this.then = (onFulfilled, onRejected) => {\n return new Promise((resolve, reject) => {\n // whenFinished initially queues up callbacks for execution after the promise has settled. Once the\n // promise has settled, whenFinished will schedule callbacks for execution on the next turn through the\n // event loop.\n whenFinished(() => {\n const callback = this.state === 2 /* Rejected */ ? onRejected : onFulfilled;\n if (typeof callback === 'function') {\n try {\n resolve(callback(this.resolvedValue));\n }\n catch (error) {\n reject(error);\n }\n }\n else if (this.state === 2 /* Rejected */) {\n reject(this.resolvedValue);\n }\n else {\n resolve(this.resolvedValue);\n }\n });\n });\n };\n try {\n executor(resolve.bind(null, 0 /* Fulfilled */), resolve.bind(null, 2 /* Rejected */));\n }\n catch (error) {\n settle(2 /* Rejected */, error);\n }\n }\n static all(iterable) {\n return new this(function (resolve, reject) {\n const values = [];\n let complete = 0;\n let total = 0;\n let populating = true;\n function fulfill(index, value) {\n values[index] = value;\n ++complete;\n finish();\n }\n function finish() {\n if (populating || complete < total) {\n return;\n }\n resolve(values);\n }\n function processItem(index, item) {\n ++total;\n if (isThenable(item)) {\n // If an item Promise rejects, this Promise is immediately rejected with the item\n // Promise's rejection error.\n item.then(fulfill.bind(null, index), reject);\n }\n else {\n Promise.resolve(item).then(fulfill.bind(null, index));\n }\n }\n let i = 0;\n for (const value of iterable) {\n processItem(i, value);\n i++;\n }\n populating = false;\n finish();\n });\n }\n static race(iterable) {\n return new this(function (resolve, reject) {\n for (const item of iterable) {\n if (item instanceof Promise) {\n // If a Promise item rejects, this Promise is immediately rejected with the item\n // Promise's rejection error.\n item.then(resolve, reject);\n }\n else {\n Promise.resolve(item).then(resolve);\n }\n }\n });\n }\n static reject(reason) {\n return new this(function (resolve, reject) {\n reject(reason);\n });\n }\n static resolve(value) {\n return new this(function (resolve) {\n resolve(value);\n });\n }\n catch(onRejected) {\n return this.then(undefined, onRejected);\n }\n },\n _a[Symbol.species] = ShimPromise,\n _a);\n}\nexport default ShimPromise;\nvar _a;\n//# sourceMappingURL=Promise.mjs.map" - }, - { - "id": "./node_modules/@dojo/framework/shim/Symbol.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", - "name": "./node_modules/@dojo/framework/shim/Symbol.mjs", - "index": 5, - "index2": 7, - "size": 5929, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "81:32-38" + }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "type": "harmony import", - "userRequest": "../shim/Symbol", - "loc": "3:0-36" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "84:15-21" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/d.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/d.mjs", - "module": "./node_modules/@dojo/framework/widget-core/d.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/d.mjs", - "type": "harmony import", - "userRequest": "../shim/Symbol", - "loc": "1:0-36" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "86:24-30" }, { - "moduleId": "./node_modules/@dojo/framework/shim/Map.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", - "module": "./node_modules/@dojo/framework/shim/Map.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/Map.mjs", - "type": "harmony import", - "userRequest": "./Symbol", - "loc": "5:0-18" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "96:28-34" }, { - "moduleId": "./node_modules/@dojo/framework/shim/WeakMap.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/WeakMap.mjs", - "module": "./node_modules/@dojo/framework/shim/WeakMap.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/WeakMap.mjs", - "type": "harmony import", - "userRequest": "./Symbol", - "loc": "4:0-18" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "105:32-38" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/Registry.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", - "module": "./node_modules/@dojo/framework/widget-core/Registry.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/Registry.mjs", - "type": "harmony import", - "userRequest": "../shim/Symbol", - "loc": "3:0-36" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "113:17-23" }, { - "moduleId": "./node_modules/@dojo/framework/shim/iterator.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs", - "module": "./node_modules/@dojo/framework/shim/iterator.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs", - "type": "harmony import", - "userRequest": "./Symbol", - "loc": "1:0-18" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "117:30-36" }, { - "moduleId": "./node_modules/@dojo/framework/shim/object.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/object.mjs", - "module": "./node_modules/@dojo/framework/shim/object.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/object.mjs", - "type": "harmony import", - "userRequest": "./Symbol", - "loc": "3:0-36" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "123:56-62" }, { - "moduleId": "./node_modules/@dojo/framework/shim/Promise.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Promise.mjs", - "module": "./node_modules/@dojo/framework/shim/Promise.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/Promise.mjs", - "type": "harmony import", - "userRequest": "./Symbol", - "loc": "3:0-18" - } - ], - "usedExports": [ - "default" - ], - "providedExports": [ - "Symbol", - "isSymbol", - "default" - ], - "optimizationBailout": [], - "depth": 4, - "source": "import has from './support/has';\nimport global from './global';\nimport { getValueDescriptor } from './support/util';\nexport let Symbol = global.Symbol;\nif (!true) {\n /**\n * Throws if the value is not a symbol, used internally within the Shim\n * @param {any} value The value to check\n * @return {symbol} Returns the symbol or throws\n */\n const validateSymbol = function validateSymbol(value) {\n if (!isSymbol(value)) {\n throw new TypeError(value + ' is not a symbol');\n }\n return value;\n };\n const defineProperties = Object.defineProperties;\n const defineProperty = Object.defineProperty;\n const create = Object.create;\n const objPrototype = Object.prototype;\n const globalSymbols = {};\n const getSymbolName = (function () {\n const created = create(null);\n return function (desc) {\n let postfix = 0;\n let name;\n while (created[String(desc) + (postfix || '')]) {\n ++postfix;\n }\n desc += String(postfix || '');\n created[desc] = true;\n name = '@@' + desc;\n // FIXME: Temporary guard until the duplicate execution when testing can be\n // pinned down.\n if (!Object.getOwnPropertyDescriptor(objPrototype, name)) {\n defineProperty(objPrototype, name, {\n set: function (value) {\n defineProperty(this, name, getValueDescriptor(value));\n }\n });\n }\n return name;\n };\n })();\n const InternalSymbol = function Symbol(description) {\n if (this instanceof InternalSymbol) {\n throw new TypeError('TypeError: Symbol is not a constructor');\n }\n return Symbol(description);\n };\n Symbol = global.Symbol = function Symbol(description) {\n if (this instanceof Symbol) {\n throw new TypeError('TypeError: Symbol is not a constructor');\n }\n const sym = Object.create(InternalSymbol.prototype);\n description = description === undefined ? '' : String(description);\n return defineProperties(sym, {\n __description__: getValueDescriptor(description),\n __name__: getValueDescriptor(getSymbolName(description))\n });\n };\n /* Decorate the Symbol function with the appropriate properties */\n defineProperty(Symbol, 'for', getValueDescriptor(function (key) {\n if (globalSymbols[key]) {\n return globalSymbols[key];\n }\n return (globalSymbols[key] = Symbol(String(key)));\n }));\n defineProperties(Symbol, {\n keyFor: getValueDescriptor(function (sym) {\n let key;\n validateSymbol(sym);\n for (key in globalSymbols) {\n if (globalSymbols[key] === sym) {\n return key;\n }\n }\n }),\n hasInstance: getValueDescriptor(Symbol.for('hasInstance'), false, false),\n isConcatSpreadable: getValueDescriptor(Symbol.for('isConcatSpreadable'), false, false),\n iterator: getValueDescriptor(Symbol.for('iterator'), false, false),\n match: getValueDescriptor(Symbol.for('match'), false, false),\n observable: getValueDescriptor(Symbol.for('observable'), false, false),\n replace: getValueDescriptor(Symbol.for('replace'), false, false),\n search: getValueDescriptor(Symbol.for('search'), false, false),\n species: getValueDescriptor(Symbol.for('species'), false, false),\n split: getValueDescriptor(Symbol.for('split'), false, false),\n toPrimitive: getValueDescriptor(Symbol.for('toPrimitive'), false, false),\n toStringTag: getValueDescriptor(Symbol.for('toStringTag'), false, false),\n unscopables: getValueDescriptor(Symbol.for('unscopables'), false, false)\n });\n /* Decorate the InternalSymbol object */\n defineProperties(InternalSymbol.prototype, {\n constructor: getValueDescriptor(Symbol),\n toString: getValueDescriptor(function () {\n return this.__name__;\n }, false, false)\n });\n /* Decorate the Symbol.prototype */\n defineProperties(Symbol.prototype, {\n toString: getValueDescriptor(function () {\n return 'Symbol (' + validateSymbol(this).__description__ + ')';\n }),\n valueOf: getValueDescriptor(function () {\n return validateSymbol(this);\n })\n });\n defineProperty(Symbol.prototype, Symbol.toPrimitive, getValueDescriptor(function () {\n return validateSymbol(this);\n }));\n defineProperty(Symbol.prototype, Symbol.toStringTag, getValueDescriptor('Symbol', false, false, true));\n defineProperty(InternalSymbol.prototype, Symbol.toPrimitive, getValueDescriptor(Symbol.prototype[Symbol.toPrimitive], false, false, true));\n defineProperty(InternalSymbol.prototype, Symbol.toStringTag, getValueDescriptor(Symbol.prototype[Symbol.toStringTag], false, false, true));\n}\n/**\n * A custom guard function that determines if an object is a symbol or not\n * @param {any} value The value to check to see if it is a symbol or not\n * @return {is symbol} Returns true if a symbol or not (and narrows the type guard)\n */\nexport function isSymbol(value) {\n return (value && (typeof value === 'symbol' || value['@@toStringTag'] === 'Symbol')) || false;\n}\n/**\n * Fill any missing well known symbols if the native Symbol is missing them\n */\n[\n 'hasInstance',\n 'isConcatSpreadable',\n 'iterator',\n 'species',\n 'replace',\n 'search',\n 'split',\n 'match',\n 'toPrimitive',\n 'toStringTag',\n 'unscopables',\n 'observable'\n].forEach((wellKnown) => {\n if (!Symbol[wellKnown]) {\n Object.defineProperty(Symbol, wellKnown, getValueDescriptor(Symbol.for(wellKnown), false, false));\n }\n});\nexport default Symbol;\n//# sourceMappingURL=Symbol.mjs.map" - }, - { - "id": "./node_modules/@dojo/framework/shim/WeakMap.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/WeakMap.mjs", - "name": "./node_modules/@dojo/framework/shim/WeakMap.mjs", - "index": 19, - "index2": 13, - "size": 3748, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "126:31-37" + }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "type": "harmony import", - "userRequest": "../shim/WeakMap", - "loc": "2:0-38" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "129:15-21" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/vdom.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", - "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", - "type": "harmony import", - "userRequest": "../shim/WeakMap", - "loc": "5:0-38" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "133:24-30" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/decorators/inject.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/inject.mjs", - "module": "./node_modules/@dojo/framework/widget-core/decorators/inject.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/decorators/inject.mjs", - "type": "harmony import", - "userRequest": "../../shim/WeakMap", - "loc": "1:0-41" - } - ], - "usedExports": [ - "default" - ], - "providedExports": [ - "WeakMap", - "default" - ], - "optimizationBailout": [], - "depth": 4, - "source": "import global from './global';\nimport { isArrayLike } from './iterator';\nimport has from './support/has';\nimport './Symbol';\nexport let WeakMap = global.WeakMap;\nif (!true) {\n const DELETED = {};\n const getUID = function getUID() {\n return Math.floor(Math.random() * 100000000);\n };\n const generateName = (function () {\n let startId = Math.floor(Date.now() % 100000000);\n return function generateName() {\n return '__wm' + getUID() + (startId++ + '__');\n };\n })();\n WeakMap = class WeakMap {\n constructor(iterable) {\n this[Symbol.toStringTag] = 'WeakMap';\n this._name = generateName();\n this._frozenEntries = [];\n if (iterable) {\n if (isArrayLike(iterable)) {\n for (let i = 0; i < iterable.length; i++) {\n const item = iterable[i];\n this.set(item[0], item[1]);\n }\n }\n else {\n for (const [key, value] of iterable) {\n this.set(key, value);\n }\n }\n }\n }\n _getFrozenEntryIndex(key) {\n for (let i = 0; i < this._frozenEntries.length; i++) {\n if (this._frozenEntries[i].key === key) {\n return i;\n }\n }\n return -1;\n }\n delete(key) {\n if (key === undefined || key === null) {\n return false;\n }\n const entry = key[this._name];\n if (entry && entry.key === key && entry.value !== DELETED) {\n entry.value = DELETED;\n return true;\n }\n const frozenIndex = this._getFrozenEntryIndex(key);\n if (frozenIndex >= 0) {\n this._frozenEntries.splice(frozenIndex, 1);\n return true;\n }\n return false;\n }\n get(key) {\n if (key === undefined || key === null) {\n return undefined;\n }\n const entry = key[this._name];\n if (entry && entry.key === key && entry.value !== DELETED) {\n return entry.value;\n }\n const frozenIndex = this._getFrozenEntryIndex(key);\n if (frozenIndex >= 0) {\n return this._frozenEntries[frozenIndex].value;\n }\n }\n has(key) {\n if (key === undefined || key === null) {\n return false;\n }\n const entry = key[this._name];\n if (Boolean(entry && entry.key === key && entry.value !== DELETED)) {\n return true;\n }\n const frozenIndex = this._getFrozenEntryIndex(key);\n if (frozenIndex >= 0) {\n return true;\n }\n return false;\n }\n set(key, value) {\n if (!key || (typeof key !== 'object' && typeof key !== 'function')) {\n throw new TypeError('Invalid value used as weak map key');\n }\n let entry = key[this._name];\n if (!entry || entry.key !== key) {\n entry = Object.create(null, {\n key: { value: key }\n });\n if (Object.isFrozen(key)) {\n this._frozenEntries.push(entry);\n }\n else {\n Object.defineProperty(key, this._name, {\n value: entry\n });\n }\n }\n entry.value = value;\n return this;\n }\n };\n}\nexport default WeakMap;\n//# sourceMappingURL=WeakMap.mjs.map" - }, - { - "id": "./node_modules/@dojo/framework/shim/array.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", - "name": "./node_modules/@dojo/framework/shim/array.mjs", - "index": 30, - "index2": 24, - "size": 8928, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "144:18-24" + }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "type": "harmony import", - "userRequest": "../shim/array", - "loc": "4:0-37" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "144:58-64" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/vdom.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", - "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", - "type": "harmony import", - "userRequest": "../shim/array", - "loc": "2:0-50" - } - ], - "usedExports": [ - "from" - ], - "providedExports": [ - "from", - "of", - "copyWithin", - "fill", - "find", - "findIndex", - "includes" - ], - "optimizationBailout": [], - "depth": 3, - "source": "import global from './global';\nimport { isArrayLike, isIterable } from './iterator';\nimport { MAX_SAFE_INTEGER } from './number';\nimport has from './support/has';\nimport { wrapNative } from './support/util';\nexport let from;\n/**\n * Creates a new array from the function parameters.\n *\n * @param arguments Any number of arguments for the array\n * @return An array from the given arguments\n */\nexport let of;\n/* ES6 Array instance methods */\n/**\n * Copies data internally within an array or array-like object.\n *\n * @param target The target array-like object\n * @param offset The index to start copying values to; if negative, it counts backwards from length\n * @param start The first (inclusive) index to copy; if negative, it counts backwards from length\n * @param end The last (exclusive) index to copy; if negative, it counts backwards from length\n * @return The target\n */\nexport let copyWithin;\n/**\n * Fills elements of an array-like object with the specified value.\n *\n * @param target The target to fill\n * @param value The value to fill each element of the target with\n * @param start The first index to fill\n * @param end The (exclusive) index at which to stop filling\n * @return The filled target\n */\nexport let fill;\n/**\n * Finds and returns the first instance matching the callback or undefined if one is not found.\n *\n * @param target An array-like object\n * @param callback A function returning if the current value matches a criteria\n * @param thisArg The execution context for the find function\n * @return The first element matching the callback, or undefined if one does not exist\n */\nexport let find;\n/**\n * Performs a linear search and returns the first index whose value satisfies the passed callback,\n * or -1 if no values satisfy it.\n *\n * @param target An array-like object\n * @param callback A function returning true if the current value satisfies its criteria\n * @param thisArg The execution context for the find function\n * @return The first index whose value satisfies the passed callback, or -1 if no values satisfy it\n */\nexport let findIndex;\n/* ES7 Array instance methods */\n/**\n * Determines whether an array includes a given value\n *\n * @param target the target array-like object\n * @param searchElement the item to search for\n * @param fromIndex the starting index to search from\n * @return `true` if the array includes the element, otherwise `false`\n */\nexport let includes;\nif (true && true) {\n from = global.Array.from;\n of = global.Array.of;\n copyWithin = wrapNative(global.Array.prototype.copyWithin);\n fill = wrapNative(global.Array.prototype.fill);\n find = wrapNative(global.Array.prototype.find);\n findIndex = wrapNative(global.Array.prototype.findIndex);\n}\nelse {\n // It is only older versions of Safari/iOS that have a bad fill implementation and so aren't in the wild\n // To make things easier, if there is a bad fill implementation, the whole set of functions will be filled\n /**\n * Ensures a non-negative, non-infinite, safe integer.\n *\n * @param length The number to validate\n * @return A proper length\n */\n const toLength = function toLength(length) {\n if (isNaN(length)) {\n return 0;\n }\n length = Number(length);\n if (isFinite(length)) {\n length = Math.floor(length);\n }\n // Ensure a non-negative, real, safe integer\n return Math.min(Math.max(length, 0), MAX_SAFE_INTEGER);\n };\n /**\n * From ES6 7.1.4 ToInteger()\n *\n * @param value A value to convert\n * @return An integer\n */\n const toInteger = function toInteger(value) {\n value = Number(value);\n if (isNaN(value)) {\n return 0;\n }\n if (value === 0 || !isFinite(value)) {\n return value;\n }\n return (value > 0 ? 1 : -1) * Math.floor(Math.abs(value));\n };\n /**\n * Normalizes an offset against a given length, wrapping it if negative.\n *\n * @param value The original offset\n * @param length The total length to normalize against\n * @return If negative, provide a distance from the end (length); otherwise provide a distance from 0\n */\n const normalizeOffset = function normalizeOffset(value, length) {\n return value < 0 ? Math.max(length + value, 0) : Math.min(value, length);\n };\n from = function from(arrayLike, mapFunction, thisArg) {\n if (arrayLike == null) {\n throw new TypeError('from: requires an array-like object');\n }\n if (mapFunction && thisArg) {\n mapFunction = mapFunction.bind(thisArg);\n }\n /* tslint:disable-next-line:variable-name */\n const Constructor = this;\n const length = toLength(arrayLike.length);\n // Support extension\n const array = typeof Constructor === 'function' ? Object(new Constructor(length)) : new Array(length);\n if (!isArrayLike(arrayLike) && !isIterable(arrayLike)) {\n return array;\n }\n // if this is an array and the normalized length is 0, just return an empty array. this prevents a problem\n // with the iteration on IE when using a NaN array length.\n if (isArrayLike(arrayLike)) {\n if (length === 0) {\n return [];\n }\n for (let i = 0; i < arrayLike.length; i++) {\n array[i] = mapFunction ? mapFunction(arrayLike[i], i) : arrayLike[i];\n }\n }\n else {\n let i = 0;\n for (const value of arrayLike) {\n array[i] = mapFunction ? mapFunction(value, i) : value;\n i++;\n }\n }\n if (arrayLike.length !== undefined) {\n array.length = length;\n }\n return array;\n };\n of = function of(...items) {\n return Array.prototype.slice.call(items);\n };\n copyWithin = function copyWithin(target, offset, start, end) {\n if (target == null) {\n throw new TypeError('copyWithin: target must be an array-like object');\n }\n const length = toLength(target.length);\n offset = normalizeOffset(toInteger(offset), length);\n start = normalizeOffset(toInteger(start), length);\n end = normalizeOffset(end === undefined ? length : toInteger(end), length);\n let count = Math.min(end - start, length - offset);\n let direction = 1;\n if (offset > start && offset < start + count) {\n direction = -1;\n start += count - 1;\n offset += count - 1;\n }\n while (count > 0) {\n if (start in target) {\n target[offset] = target[start];\n }\n else {\n delete target[offset];\n }\n offset += direction;\n start += direction;\n count--;\n }\n return target;\n };\n fill = function fill(target, value, start, end) {\n const length = toLength(target.length);\n let i = normalizeOffset(toInteger(start), length);\n end = normalizeOffset(end === undefined ? length : toInteger(end), length);\n while (i < end) {\n target[i++] = value;\n }\n return target;\n };\n find = function find(target, callback, thisArg) {\n const index = findIndex(target, callback, thisArg);\n return index !== -1 ? target[index] : undefined;\n };\n findIndex = function findIndex(target, callback, thisArg) {\n const length = toLength(target.length);\n if (!callback) {\n throw new TypeError('find: second argument must be a function');\n }\n if (thisArg) {\n callback = callback.bind(thisArg);\n }\n for (let i = 0; i < length; i++) {\n if (callback(target[i], i, target)) {\n return i;\n }\n }\n return -1;\n };\n}\nif (true) {\n includes = wrapNative(global.Array.prototype.includes);\n}\nelse {\n /**\n * Ensures a non-negative, non-infinite, safe integer.\n *\n * @param length The number to validate\n * @return A proper length\n */\n const toLength = function toLength(length) {\n length = Number(length);\n if (isNaN(length)) {\n return 0;\n }\n if (isFinite(length)) {\n length = Math.floor(length);\n }\n // Ensure a non-negative, real, safe integer\n return Math.min(Math.max(length, 0), MAX_SAFE_INTEGER);\n };\n includes = function includes(target, searchElement, fromIndex = 0) {\n let len = toLength(target.length);\n for (let i = fromIndex; i < len; ++i) {\n const currentElement = target[i];\n if (searchElement === currentElement ||\n (searchElement !== searchElement && currentElement !== currentElement)) {\n return true;\n }\n }\n return false;\n };\n}\n//# sourceMappingURL=array.mjs.map" - }, - { - "id": "./node_modules/@dojo/framework/shim/global.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/global.mjs", - "name": "./node_modules/@dojo/framework/shim/global.mjs", - "index": 10, - "index2": 4, - "size": 465, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "146:24-30" + }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "type": "harmony import", - "userRequest": "../shim/global", - "loc": "6:0-36" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "147:33-39" }, { - "moduleId": "./node_modules/@dojo/framework/shim/array.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", - "module": "./node_modules/@dojo/framework/shim/array.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/array.mjs", - "type": "harmony import", + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "150:39-45" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "150:66-72" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "157:37-43" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "157:64-70" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "165:53-59" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "165:87-93" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "166:37-43" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "167:33-39" + }, + { + "moduleId": 5, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", + "module": "./node_modules/@dojo/framework/shim/Map.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Map.mjs", + "type": "harmony side effect evaluation", "userRequest": "./global", - "loc": "1:0-30" + "loc": "2:0-30" }, { - "moduleId": "./node_modules/@dojo/framework/shim/Map.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", + "moduleId": 5, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", "module": "./node_modules/@dojo/framework/shim/Map.mjs", "moduleName": "./node_modules/@dojo/framework/shim/Map.mjs", - "type": "harmony import", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "6:17-23" + }, + { + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony side effect evaluation", "userRequest": "./global", "loc": "2:0-30" }, { - "moduleId": "./node_modules/@dojo/framework/shim/WeakMap.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/WeakMap.mjs", + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "4:20-26" + }, + { + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "51:13-19" + }, + { + "moduleId": 9, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/WeakMap.mjs", "module": "./node_modules/@dojo/framework/shim/WeakMap.mjs", "moduleName": "./node_modules/@dojo/framework/shim/WeakMap.mjs", - "type": "harmony import", + "type": "harmony side effect evaluation", "userRequest": "./global", "loc": "1:0-30" }, { - "moduleId": "./node_modules/@dojo/framework/shim/Symbol.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", - "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", - "type": "harmony import", + "moduleId": 9, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/WeakMap.mjs", + "module": "./node_modules/@dojo/framework/shim/WeakMap.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/WeakMap.mjs", + "type": "harmony import specifier", "userRequest": "./global", - "loc": "2:0-30" + "loc": "5:21-27" + }, + { + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony side effect evaluation", + "userRequest": "./global", + "loc": "1:0-30" + }, + { + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "107:20-26" + }, + { + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "108:10-16" + }, + { + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "109:29-35" + }, + { + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "110:26-32" + }, + { + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "111:26-32" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/vdom.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "112:27-33" + }, + { + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "113:24-30" + }, + { + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "114:28-34" + }, + { + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "253:24-30" + }, + { + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "254:26-32" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", - "type": "harmony import", + "type": "harmony side effect evaluation", "userRequest": "../shim/global", "loc": "1:0-36" }, { - "moduleId": "./node_modules/@dojo/framework/shim/number.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/number.mjs", - "module": "./node_modules/@dojo/framework/shim/number.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/number.mjs", - "type": "harmony import", + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "../shim/global", + "loc": "824:12-18" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "../shim/global", + "loc": "842:12-18" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "../shim/global", + "loc": "843:12-18" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "../shim/global", + "loc": "866:41-47" + }, + { + "moduleId": 15, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/object.mjs", + "module": "./node_modules/@dojo/framework/shim/object.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/object.mjs", + "type": "harmony side effect evaluation", "userRequest": "./global", "loc": "1:0-30" }, { - "moduleId": "./node_modules/@dojo/framework/shim/support/has.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", - "module": "./node_modules/@dojo/framework/shim/support/has.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", - "type": "harmony import", - "userRequest": "../global", - "loc": "2:0-31" + "moduleId": 15, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/object.mjs", + "module": "./node_modules/@dojo/framework/shim/object.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/object.mjs", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "40:25-31" }, { - "moduleId": "./node_modules/@dojo/framework/shim/object.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/object.mjs", + "moduleId": 15, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/object.mjs", "module": "./node_modules/@dojo/framework/shim/object.mjs", "moduleName": "./node_modules/@dojo/framework/shim/object.mjs", - "type": "harmony import", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "92:25-31" + }, + { + "moduleId": 16, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Promise.mjs", + "module": "./node_modules/@dojo/framework/shim/Promise.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Promise.mjs", + "type": "harmony side effect evaluation", "userRequest": "./global", "loc": "1:0-30" }, { - "moduleId": "./node_modules/@dojo/framework/shim/Promise.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Promise.mjs", + "moduleId": 16, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Promise.mjs", + "module": "./node_modules/@dojo/framework/shim/Promise.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Promise.mjs", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "5:25-31" + }, + { + "moduleId": 16, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Promise.mjs", "module": "./node_modules/@dojo/framework/shim/Promise.mjs", "moduleName": "./node_modules/@dojo/framework/shim/Promise.mjs", - "type": "harmony import", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "10:4-10" + }, + { + "moduleId": 22, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony side effect evaluation", "userRequest": "./global", "loc": "1:0-30" }, { - "moduleId": "./node_modules/@dojo/framework/shim/string.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/string.mjs", - "module": "./node_modules/@dojo/framework/shim/string.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/string.mjs", - "type": "harmony import", + "moduleId": 22, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony side effect evaluation", "userRequest": "./global", "loc": "1:0-30" }, { - "moduleId": "./node_modules/@dojo/framework/shim/support/queue.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "moduleId": 22, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "21:40-46" + }, + { + "moduleId": 22, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "30:40-46" + }, + { + "moduleId": 22, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "65:11-17" + }, + { + "moduleId": 22, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "66:9-15" + }, + { + "moduleId": 22, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "67:28-34" + }, + { + "moduleId": 22, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "68:22-28" + }, + { + "moduleId": 22, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "69:22-28" + }, + { + "moduleId": 22, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "70:27-33" + }, + { + "moduleId": 22, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./global", + "loc": "216:26-32" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony side effect evaluation", + "userRequest": "../shim/global", + "loc": "6:0-36" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "../shim/global", + "loc": "117:12-18" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "../shim/global", + "loc": "129:16-22" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "../shim/global", + "loc": "129:26-32" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "../shim/global", + "loc": "129:43-49" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "../shim/global", + "loc": "130:23-29" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "../shim/global", + "loc": "130:44-50" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "../shim/global", + "loc": "210:4-10" + }, + { + "moduleId": 25, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", "module": "./node_modules/@dojo/framework/shim/support/queue.mjs", "moduleName": "./node_modules/@dojo/framework/shim/support/queue.mjs", - "type": "harmony import", + "type": "harmony side effect evaluation", "userRequest": "../global", "loc": "1:0-31" + }, + { + "moduleId": 25, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "module": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "34:8-14" + }, + { + "moduleId": 25, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "module": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "36:33-39" + }, + { + "moduleId": 25, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "module": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "45:12-18" + }, + { + "moduleId": 25, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "module": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "49:21-27" + }, + { + "moduleId": 25, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "module": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "55:21-27" + }, + { + "moduleId": 25, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "module": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "144:12-18" + }, + { + "moduleId": 25, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "module": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "149:12-18" + }, + { + "moduleId": 25, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "module": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "154:37-43" + }, + { + "moduleId": 25, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "module": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "type": "harmony import specifier", + "userRequest": "../global", + "loc": "154:64-70" } ], "usedExports": [ @@ -822,441 +967,433 @@ "providedExports": [ "default" ], - "optimizationBailout": [], + "optimizationBailout": [ + "ModuleConcatenation bailout: Module uses injected variables (global)" + ], "depth": 3, "source": "const globalObject = (function () {\n // the only reliable means to get the global object is\n // `Function('return this')()`\n // However, this causes CSP violations in Chrome apps.\n if (typeof self !== 'undefined') {\n return self;\n }\n if (typeof window !== 'undefined') {\n return window;\n }\n if (typeof global !== 'undefined') {\n return global;\n }\n})();\nexport default globalObject;\n//# sourceMappingURL=global.mjs.map" }, { - "id": "./node_modules/@dojo/framework/shim/iterator.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs", - "name": "./node_modules/@dojo/framework/shim/iterator.mjs", - "index": 16, - "index2": 10, - "size": 3158, + "id": 1, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/util.mjs", + "name": "./node_modules/@dojo/framework/shim/support/util.mjs", + "index": 11, + "index2": 6, + "size": 853, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ - "menu" + 0 ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", - "issuerId": "./node_modules/@dojo/framework/shim/array.mjs", + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", + "issuerId": null, "issuerName": "./node_modules/@dojo/framework/shim/array.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ + "issuerPath": [ { - "moduleId": "./node_modules/@dojo/framework/shim/array.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", - "module": "./node_modules/@dojo/framework/shim/array.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/array.mjs", - "type": "harmony import", - "userRequest": "./iterator", - "loc": "2:0-53" + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" }, { - "moduleId": "./node_modules/@dojo/framework/shim/Map.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", - "module": "./node_modules/@dojo/framework/shim/Map.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/Map.mjs", - "type": "harmony import", - "userRequest": "./iterator", - "loc": "1:0-55" + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" }, { - "moduleId": "./node_modules/@dojo/framework/shim/WeakMap.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/WeakMap.mjs", - "module": "./node_modules/@dojo/framework/shim/WeakMap.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/WeakMap.mjs", - "type": "harmony import", - "userRequest": "./iterator", - "loc": "2:0-41" - } - ], - "usedExports": false, - "providedExports": [ - "ShimIterator", - "isIterable", - "isArrayLike", - "get", - "forOf" - ], - "optimizationBailout": [], - "depth": 4, - "source": "import './Symbol';\nimport { HIGH_SURROGATE_MAX, HIGH_SURROGATE_MIN } from './string';\nconst staticDone = { done: true, value: undefined };\n/**\n * A class that _shims_ an iterator interface on array like objects.\n */\nexport class ShimIterator {\n constructor(list) {\n this._nextIndex = -1;\n if (isIterable(list)) {\n this._nativeIterator = list[Symbol.iterator]();\n }\n else {\n this._list = list;\n }\n }\n /**\n * Return the next iteration result for the Iterator\n */\n next() {\n if (this._nativeIterator) {\n return this._nativeIterator.next();\n }\n if (!this._list) {\n return staticDone;\n }\n if (++this._nextIndex < this._list.length) {\n return {\n done: false,\n value: this._list[this._nextIndex]\n };\n }\n return staticDone;\n }\n [Symbol.iterator]() {\n return this;\n }\n}\n/**\n * A type guard for checking if something has an Iterable interface\n *\n * @param value The value to type guard against\n */\nexport function isIterable(value) {\n return value && typeof value[Symbol.iterator] === 'function';\n}\n/**\n * A type guard for checking if something is ArrayLike\n *\n * @param value The value to type guard against\n */\nexport function isArrayLike(value) {\n return value && typeof value.length === 'number';\n}\n/**\n * Returns the iterator for an object\n *\n * @param iterable The iterable object to return the iterator for\n */\nexport function get(iterable) {\n if (isIterable(iterable)) {\n return iterable[Symbol.iterator]();\n }\n else if (isArrayLike(iterable)) {\n return new ShimIterator(iterable);\n }\n}\n/**\n * Shims the functionality of `for ... of` blocks\n *\n * @param iterable The object the provides an interator interface\n * @param callback The callback which will be called for each item of the iterable\n * @param thisArg Optional scope to pass the callback\n */\nexport function forOf(iterable, callback, thisArg) {\n let broken = false;\n function doBreak() {\n broken = true;\n }\n /* We need to handle iteration of double byte strings properly */\n if (isArrayLike(iterable) && typeof iterable === 'string') {\n const l = iterable.length;\n for (let i = 0; i < l; ++i) {\n let char = iterable[i];\n if (i + 1 < l) {\n const code = char.charCodeAt(0);\n if (code >= HIGH_SURROGATE_MIN && code <= HIGH_SURROGATE_MAX) {\n char += iterable[++i];\n }\n }\n callback.call(thisArg, char, iterable, doBreak);\n if (broken) {\n return;\n }\n }\n }\n else {\n const iterator = get(iterable);\n if (iterator) {\n let result = iterator.next();\n while (!result.done) {\n callback.call(thisArg, result.value, iterable, doBreak);\n if (broken) {\n return;\n }\n result = iterator.next();\n }\n }\n }\n}\n//# sourceMappingURL=iterator.mjs.map" - }, - { - "id": "./node_modules/@dojo/framework/shim/number.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/number.mjs", - "name": "./node_modules/@dojo/framework/shim/number.mjs", - "index": 31, - "index2": 23, - "size": 1724, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", - "issuerId": "./node_modules/@dojo/framework/shim/array.mjs", - "issuerName": "./node_modules/@dojo/framework/shim/array.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, { - "moduleId": "./node_modules/@dojo/framework/shim/array.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", - "module": "./node_modules/@dojo/framework/shim/array.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/array.mjs", - "type": "harmony import", - "userRequest": "./number", - "loc": "3:0-44" + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", + "name": "./node_modules/@dojo/framework/shim/array.mjs" } ], - "usedExports": false, - "providedExports": [ - "EPSILON", - "MAX_SAFE_INTEGER", - "MIN_SAFE_INTEGER", - "isNaN", - "isFinite", - "isInteger", - "isSafeInteger" - ], - "optimizationBailout": [], - "depth": 4, - "source": "import global from './global';\n/**\n * The smallest interval between two representable numbers.\n */\nexport const EPSILON = 1;\n/**\n * The maximum safe integer in JavaScript\n */\nexport const MAX_SAFE_INTEGER = Math.pow(2, 53) - 1;\n/**\n * The minimum safe integer in JavaScript\n */\nexport const MIN_SAFE_INTEGER = -MAX_SAFE_INTEGER;\n/**\n * Determines whether the passed value is NaN without coersion.\n *\n * @param value The value to test\n * @return true if the value is NaN, false if it is not\n */\nexport function isNaN(value) {\n return typeof value === 'number' && global.isNaN(value);\n}\n/**\n * Determines whether the passed value is a finite number without coersion.\n *\n * @param value The value to test\n * @return true if the value is finite, false if it is not\n */\nexport function isFinite(value) {\n return typeof value === 'number' && global.isFinite(value);\n}\n/**\n * Determines whether the passed value is an integer.\n *\n * @param value The value to test\n * @return true if the value is an integer, false if it is not\n */\nexport function isInteger(value) {\n return isFinite(value) && Math.floor(value) === value;\n}\n/**\n * Determines whether the passed value is an integer that is 'safe,' meaning:\n * 1. it can be expressed as an IEEE-754 double precision number\n * 2. it has a one-to-one mapping to a mathematical integer, meaning its\n * IEEE-754 representation cannot be the result of rounding any other\n * integer to fit the IEEE-754 representation\n *\n * @param value The value to test\n * @return true if the value is an integer, false if it is not\n */\nexport function isSafeInteger(value) {\n return isInteger(value) && Math.abs(value) <= MAX_SAFE_INTEGER;\n}\n//# sourceMappingURL=number.mjs.map" - }, - { - "id": "./node_modules/@dojo/framework/shim/object.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/object.mjs", - "name": "./node_modules/@dojo/framework/shim/object.mjs", - "index": 18, - "index2": 11, - "size": 4061, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", - "issuerId": "./node_modules/@dojo/framework/shim/Map.mjs", - "issuerName": "./node_modules/@dojo/framework/shim/Map.mjs", "failed": false, "errors": 0, "warnings": 0, + "assets": [], "reasons": [ { - "moduleId": "./node_modules/@dojo/framework/shim/Map.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", - "module": "./node_modules/@dojo/framework/shim/Map.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/Map.mjs", - "type": "harmony import", - "userRequest": "./object", - "loc": "3:0-42" + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./support/util", + "loc": "3:0-52" }, { - "moduleId": "./node_modules/@dojo/framework/core/lang.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/core/lang.mjs", - "module": "./node_modules/@dojo/framework/core/lang.mjs", - "moduleName": "./node_modules/@dojo/framework/core/lang.mjs", - "type": "harmony import", - "userRequest": "../shim/object", - "loc": "1:0-40" + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "38:51-69" }, { - "moduleId": "./node_modules/@dojo/framework/core/lang.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/core/lang.mjs", - "module": "./node_modules/@dojo/framework/core/lang.mjs", - "moduleName": "./node_modules/@dojo/framework/core/lang.mjs", - "type": "harmony import", - "userRequest": "../shim/object", - "loc": "2:0-40" - } - ], - "usedExports": [ - "assign" - ], - "providedExports": [ - "assign", - "getOwnPropertyDescriptor", - "getOwnPropertyNames", - "getOwnPropertySymbols", - "is", - "keys", - "getOwnPropertyDescriptors", - "entries", - "values" - ], - "optimizationBailout": [], - "depth": 5, - "source": "import global from './global';\nimport has from './support/has';\nimport { isSymbol } from './Symbol';\nexport let assign;\n/**\n * Gets the own property descriptor of the specified object.\n * An own property descriptor is one that is defined directly on the object and is not\n * inherited from the object's prototype.\n * @param o Object that contains the property.\n * @param p Name of the property.\n */\nexport let getOwnPropertyDescriptor;\n/**\n * Returns the names of the own properties of an object. The own properties of an object are those that are defined directly\n * on that object, and are not inherited from the object's prototype. The properties of an object include both fields (objects) and functions.\n * @param o Object that contains the own properties.\n */\nexport let getOwnPropertyNames;\n/**\n * Returns an array of all symbol properties found directly on object o.\n * @param o Object to retrieve the symbols from.\n */\nexport let getOwnPropertySymbols;\n/**\n * Returns true if the values are the same value, false otherwise.\n * @param value1 The first value.\n * @param value2 The second value.\n */\nexport let is;\n/**\n * Returns the names of the enumerable properties and methods of an object.\n * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.\n */\nexport let keys;\n/* ES7 Object static methods */\nexport let getOwnPropertyDescriptors;\nexport let entries;\nexport let values;\nif (true) {\n const globalObject = global.Object;\n assign = globalObject.assign;\n getOwnPropertyDescriptor = globalObject.getOwnPropertyDescriptor;\n getOwnPropertyNames = globalObject.getOwnPropertyNames;\n getOwnPropertySymbols = globalObject.getOwnPropertySymbols;\n is = globalObject.is;\n keys = globalObject.keys;\n}\nelse {\n keys = function symbolAwareKeys(o) {\n return Object.keys(o).filter((key) => !Boolean(key.match(/^@@.+/)));\n };\n assign = function assign(target, ...sources) {\n if (target == null) {\n // TypeError if undefined or null\n throw new TypeError('Cannot convert undefined or null to object');\n }\n const to = Object(target);\n sources.forEach((nextSource) => {\n if (nextSource) {\n // Skip over if undefined or null\n keys(nextSource).forEach((nextKey) => {\n to[nextKey] = nextSource[nextKey];\n });\n }\n });\n return to;\n };\n getOwnPropertyDescriptor = function getOwnPropertyDescriptor(o, prop) {\n if (isSymbol(prop)) {\n return Object.getOwnPropertyDescriptor(o, prop);\n }\n else {\n return Object.getOwnPropertyDescriptor(o, prop);\n }\n };\n getOwnPropertyNames = function getOwnPropertyNames(o) {\n return Object.getOwnPropertyNames(o).filter((key) => !Boolean(key.match(/^@@.+/)));\n };\n getOwnPropertySymbols = function getOwnPropertySymbols(o) {\n return Object.getOwnPropertyNames(o)\n .filter((key) => Boolean(key.match(/^@@.+/)))\n .map((key) => Symbol.for(key.substring(2)));\n };\n is = function is(value1, value2) {\n if (value1 === value2) {\n return value1 !== 0 || 1 / value1 === 1 / value2; // -0\n }\n return value1 !== value1 && value2 !== value2; // NaN\n };\n}\nif (true) {\n const globalObject = global.Object;\n getOwnPropertyDescriptors = globalObject.getOwnPropertyDescriptors;\n entries = globalObject.entries;\n values = globalObject.values;\n}\nelse {\n getOwnPropertyDescriptors = function getOwnPropertyDescriptors(o) {\n return getOwnPropertyNames(o).reduce((previous, key) => {\n previous[key] = getOwnPropertyDescriptor(o, key);\n return previous;\n }, {});\n };\n entries = function entries(o) {\n return keys(o).map((key) => [key, o[key]]);\n };\n values = function values(o) {\n return keys(o).map((key) => o[key]);\n };\n}\n//# sourceMappingURL=object.mjs.map" - }, - { - "id": "./node_modules/@dojo/framework/shim/string.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/string.mjs", - "name": "./node_modules/@dojo/framework/shim/string.mjs", - "index": 17, - "index2": 9, - "size": 12420, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs", - "issuerId": "./node_modules/@dojo/framework/shim/iterator.mjs", - "issuerName": "./node_modules/@dojo/framework/shim/iterator.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "58:29-47" + }, { - "moduleId": "./node_modules/@dojo/framework/shim/iterator.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs", - "module": "./node_modules/@dojo/framework/shim/iterator.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs", - "type": "harmony import", - "userRequest": "./string", - "loc": "2:0-66" - } - ], - "usedExports": [ - "HIGH_SURROGATE_MAX", - "HIGH_SURROGATE_MIN" - ], - "providedExports": [ - "HIGH_SURROGATE_MIN", - "HIGH_SURROGATE_MAX", - "LOW_SURROGATE_MIN", - "LOW_SURROGATE_MAX", - "fromCodePoint", - "raw", - "codePointAt", - "endsWith", - "includes", - "normalize", - "repeat", - "startsWith", - "padEnd", - "padStart" - ], - "optimizationBailout": [], - "depth": 5, - "source": "import global from './global';\nimport has from './support/has';\nimport { wrapNative } from './support/util';\n/**\n * The minimum location of high surrogates\n */\nexport const HIGH_SURROGATE_MIN = 0xd800;\n/**\n * The maximum location of high surrogates\n */\nexport const HIGH_SURROGATE_MAX = 0xdbff;\n/**\n * The minimum location of low surrogates\n */\nexport const LOW_SURROGATE_MIN = 0xdc00;\n/**\n * The maximum location of low surrogates\n */\nexport const LOW_SURROGATE_MAX = 0xdfff;\n/* ES6 static methods */\n/**\n * Return the String value whose elements are, in order, the elements in the List elements.\n * If length is 0, the empty string is returned.\n * @param codePoints The code points to generate the string\n */\nexport let fromCodePoint;\n/**\n * `raw` is intended for use as a tag function of a Tagged Template String. When called\n * as such the first argument will be a well formed template call site object and the rest\n * parameter will contain the substitution values.\n * @param template A well-formed template string call site representation.\n * @param substitutions A set of substitution values.\n */\nexport let raw;\n/* ES6 instance methods */\n/**\n * Returns a nonnegative integer Number less than 1114112 (0x110000) that is the code point\n * value of the UTF-16 encoded code point starting at the string element at position pos in\n * the String resulting from converting this object to a String.\n * If there is no element at that position, the result is undefined.\n * If a valid UTF-16 surrogate pair does not begin at pos, the result is the code unit at pos.\n */\nexport let codePointAt;\n/**\n * Returns true if the sequence of elements of searchString converted to a String is the\n * same as the corresponding elements of this object (converted to a String) starting at\n * endPosition – length(this). Otherwise returns false.\n */\nexport let endsWith;\n/**\n * Returns true if searchString appears as a substring of the result of converting this\n * object to a String, at one or more positions that are\n * greater than or equal to position; otherwise, returns false.\n * @param target The target string\n * @param searchString search string\n * @param position If position is undefined, 0 is assumed, so as to search all of the String.\n */\nexport let includes;\n/**\n * Returns the String value result of normalizing the string into the normalization form\n * named by form as specified in Unicode Standard Annex #15, Unicode Normalization Forms.\n * @param target The target string\n * @param form Applicable values: \"NFC\", \"NFD\", \"NFKC\", or \"NFKD\", If not specified default\n * is \"NFC\"\n */\nexport let normalize;\n/**\n * Returns a String value that is made from count copies appended together. If count is 0,\n * T is the empty String is returned.\n * @param count number of copies to append\n */\nexport let repeat;\n/**\n * Returns true if the sequence of elements of searchString converted to a String is the\n * same as the corresponding elements of this object (converted to a String) starting at\n * position. Otherwise returns false.\n */\nexport let startsWith;\n/* ES7 instance methods */\n/**\n * Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length.\n * The padding is applied from the end (right) of the current string.\n *\n * @param target The target string\n * @param maxLength The length of the resulting string once the current string has been padded.\n * If this parameter is smaller than the current string's length, the current string will be returned as it is.\n *\n * @param fillString The string to pad the current string with.\n * If this string is too long, it will be truncated and the left-most part will be applied.\n * The default value for this parameter is \" \" (U+0020).\n */\nexport let padEnd;\n/**\n * Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length.\n * The padding is applied from the start (left) of the current string.\n *\n * @param target The target string\n * @param maxLength The length of the resulting string once the current string has been padded.\n * If this parameter is smaller than the current string's length, the current string will be returned as it is.\n *\n * @param fillString The string to pad the current string with.\n * If this string is too long, it will be truncated and the left-most part will be applied.\n * The default value for this parameter is \" \" (U+0020).\n */\nexport let padStart;\nif (true && true) {\n fromCodePoint = global.String.fromCodePoint;\n raw = global.String.raw;\n codePointAt = wrapNative(global.String.prototype.codePointAt);\n endsWith = wrapNative(global.String.prototype.endsWith);\n includes = wrapNative(global.String.prototype.includes);\n normalize = wrapNative(global.String.prototype.normalize);\n repeat = wrapNative(global.String.prototype.repeat);\n startsWith = wrapNative(global.String.prototype.startsWith);\n}\nelse {\n /**\n * Validates that text is defined, and normalizes position (based on the given default if the input is NaN).\n * Used by startsWith, includes, and endsWith.\n *\n * @return Normalized position.\n */\n const normalizeSubstringArgs = function (name, text, search, position, isEnd = false) {\n if (text == null) {\n throw new TypeError('string.' + name + ' requires a valid string to search against.');\n }\n const length = text.length;\n position = position !== position ? (isEnd ? length : 0) : position;\n return [text, String(search), Math.min(Math.max(position, 0), length)];\n };\n fromCodePoint = function fromCodePoint(...codePoints) {\n // Adapted from https://github.com/mathiasbynens/String.fromCodePoint\n const length = arguments.length;\n if (!length) {\n return '';\n }\n const fromCharCode = String.fromCharCode;\n const MAX_SIZE = 0x4000;\n let codeUnits = [];\n let index = -1;\n let result = '';\n while (++index < length) {\n let codePoint = Number(arguments[index]);\n // Code points must be finite integers within the valid range\n let isValid = isFinite(codePoint) && Math.floor(codePoint) === codePoint && codePoint >= 0 && codePoint <= 0x10ffff;\n if (!isValid) {\n throw RangeError('string.fromCodePoint: Invalid code point ' + codePoint);\n }\n if (codePoint <= 0xffff) {\n // BMP code point\n codeUnits.push(codePoint);\n }\n else {\n // Astral code point; split in surrogate halves\n // https://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae\n codePoint -= 0x10000;\n let highSurrogate = (codePoint >> 10) + HIGH_SURROGATE_MIN;\n let lowSurrogate = (codePoint % 0x400) + LOW_SURROGATE_MIN;\n codeUnits.push(highSurrogate, lowSurrogate);\n }\n if (index + 1 === length || codeUnits.length > MAX_SIZE) {\n result += fromCharCode.apply(null, codeUnits);\n codeUnits.length = 0;\n }\n }\n return result;\n };\n raw = function raw(callSite, ...substitutions) {\n let rawStrings = callSite.raw;\n let result = '';\n let numSubstitutions = substitutions.length;\n if (callSite == null || callSite.raw == null) {\n throw new TypeError('string.raw requires a valid callSite object with a raw value');\n }\n for (let i = 0, length = rawStrings.length; i < length; i++) {\n result += rawStrings[i] + (i < numSubstitutions && i < length - 1 ? substitutions[i] : '');\n }\n return result;\n };\n codePointAt = function codePointAt(text, position = 0) {\n // Adapted from https://github.com/mathiasbynens/String.prototype.codePointAt\n if (text == null) {\n throw new TypeError('string.codePointAt requries a valid string.');\n }\n const length = text.length;\n if (position !== position) {\n position = 0;\n }\n if (position < 0 || position >= length) {\n return undefined;\n }\n // Get the first code unit\n const first = text.charCodeAt(position);\n if (first >= HIGH_SURROGATE_MIN && first <= HIGH_SURROGATE_MAX && length > position + 1) {\n // Start of a surrogate pair (high surrogate and there is a next code unit); check for low surrogate\n // https://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae\n const second = text.charCodeAt(position + 1);\n if (second >= LOW_SURROGATE_MIN && second <= LOW_SURROGATE_MAX) {\n return (first - HIGH_SURROGATE_MIN) * 0x400 + second - LOW_SURROGATE_MIN + 0x10000;\n }\n }\n return first;\n };\n endsWith = function endsWith(text, search, endPosition) {\n if (endPosition == null) {\n endPosition = text.length;\n }\n [text, search, endPosition] = normalizeSubstringArgs('endsWith', text, search, endPosition, true);\n const start = endPosition - search.length;\n if (start < 0) {\n return false;\n }\n return text.slice(start, endPosition) === search;\n };\n includes = function includes(text, search, position = 0) {\n [text, search, position] = normalizeSubstringArgs('includes', text, search, position);\n return text.indexOf(search, position) !== -1;\n };\n repeat = function repeat(text, count = 0) {\n // Adapted from https://github.com/mathiasbynens/String.prototype.repeat\n if (text == null) {\n throw new TypeError('string.repeat requires a valid string.');\n }\n if (count !== count) {\n count = 0;\n }\n if (count < 0 || count === Infinity) {\n throw new RangeError('string.repeat requires a non-negative finite count.');\n }\n let result = '';\n while (count) {\n if (count % 2) {\n result += text;\n }\n if (count > 1) {\n text += text;\n }\n count >>= 1;\n }\n return result;\n };\n startsWith = function startsWith(text, search, position = 0) {\n search = String(search);\n [text, search, position] = normalizeSubstringArgs('startsWith', text, search, position);\n const end = position + search.length;\n if (end > text.length) {\n return false;\n }\n return text.slice(position, end) === search;\n };\n}\nif (true) {\n padEnd = wrapNative(global.String.prototype.padEnd);\n padStart = wrapNative(global.String.prototype.padStart);\n}\nelse {\n padEnd = function padEnd(text, maxLength, fillString = ' ') {\n if (text === null || text === undefined) {\n throw new TypeError('string.repeat requires a valid string.');\n }\n if (maxLength === Infinity) {\n throw new RangeError('string.padEnd requires a non-negative finite count.');\n }\n if (maxLength === null || maxLength === undefined || maxLength < 0) {\n maxLength = 0;\n }\n let strText = String(text);\n const padding = maxLength - strText.length;\n if (padding > 0) {\n strText +=\n repeat(fillString, Math.floor(padding / fillString.length)) +\n fillString.slice(0, padding % fillString.length);\n }\n return strText;\n };\n padStart = function padStart(text, maxLength, fillString = ' ') {\n if (text === null || text === undefined) {\n throw new TypeError('string.repeat requires a valid string.');\n }\n if (maxLength === Infinity) {\n throw new RangeError('string.padStart requires a non-negative finite count.');\n }\n if (maxLength === null || maxLength === undefined || maxLength < 0) {\n maxLength = 0;\n }\n let strText = String(text);\n const padding = maxLength - strText.length;\n if (padding > 0) {\n strText =\n repeat(fillString, Math.floor(padding / fillString.length)) +\n fillString.slice(0, padding % fillString.length) +\n strText;\n }\n return strText;\n };\n}\n//# sourceMappingURL=string.mjs.map" - }, - { - "id": "./node_modules/@dojo/framework/shim/support/has.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", - "name": "./node_modules/@dojo/framework/shim/support/has.mjs", - "index": 6, - "index2": 5, - "size": 6299, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", - "issuerId": "./node_modules/@dojo/framework/shim/array.mjs", - "issuerName": "./node_modules/@dojo/framework/shim/array.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "59:22-40" + }, { - "moduleId": "./node_modules/@dojo/framework/shim/array.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", - "module": "./node_modules/@dojo/framework/shim/array.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/array.mjs", - "type": "harmony import", - "userRequest": "./support/has", - "loc": "4:0-32" + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "63:34-52" }, { - "moduleId": "./node_modules/@dojo/framework/shim/Map.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", - "module": "./node_modules/@dojo/framework/shim/Map.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/Map.mjs", - "type": "harmony import", - "userRequest": "./support/has", - "loc": "4:0-32" + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "70:16-34" }, { - "moduleId": "./node_modules/@dojo/framework/shim/WeakMap.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/WeakMap.mjs", - "module": "./node_modules/@dojo/framework/shim/WeakMap.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/WeakMap.mjs", - "type": "harmony import", - "userRequest": "./support/has", - "loc": "3:0-32" + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "79:21-39" }, { - "moduleId": "./node_modules/@dojo/framework/shim/Symbol.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", - "type": "harmony import", - "userRequest": "./support/has", - "loc": "1:0-32" + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "80:28-46" }, { - "moduleId": "./node_modules/@dojo/framework/shim/object.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/object.mjs", - "module": "./node_modules/@dojo/framework/shim/object.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/object.mjs", - "type": "harmony import", - "userRequest": "./support/has", - "loc": "2:0-32" + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "81:18-36" }, { - "moduleId": "./node_modules/@dojo/framework/shim/Promise.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Promise.mjs", - "module": "./node_modules/@dojo/framework/shim/Promise.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/Promise.mjs", - "type": "harmony import", - "userRequest": "./support/has", - "loc": "4:0-32" + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "82:15-33" }, { - "moduleId": "./node_modules/@dojo/framework/shim/string.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/string.mjs", - "module": "./node_modules/@dojo/framework/shim/string.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/string.mjs", - "type": "harmony import", - "userRequest": "./support/has", - "loc": "2:0-32" + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "83:20-38" }, { - "moduleId": "./node_modules/@dojo/framework/shim/support/queue.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", - "module": "./node_modules/@dojo/framework/shim/support/queue.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/support/queue.mjs", - "type": "harmony import", - "userRequest": "./has", - "loc": "2:0-24" - } - ], - "usedExports": false, - "providedExports": [ - "default", - "testCache", - "testFunctions", - "load", - "normalize", - "exists", - "add" - ], - "optimizationBailout": [], - "depth": 4, - "source": "import has, { add } from '../../has/has';\nimport global from '../global';\nexport default has;\nexport * from '../../has/has';\n/* ECMAScript 6 and 7 Features */\n/* Array */\nadd('es6-array', () => {\n return (['from', 'of'].every((key) => key in global.Array) &&\n ['findIndex', 'find', 'copyWithin'].every((key) => key in global.Array.prototype));\n}, true);\nadd('es6-array-fill', () => {\n if ('fill' in global.Array.prototype) {\n /* Some versions of Safari do not properly implement this */\n return [1].fill(9, Number.POSITIVE_INFINITY)[0] === 1;\n }\n return false;\n}, true);\nadd('es7-array', () => 'includes' in global.Array.prototype, true);\n/* Map */\nadd('es6-map', () => {\n if (typeof global.Map === 'function') {\n /*\n IE11 and older versions of Safari are missing critical ES6 Map functionality\n We wrap this in a try/catch because sometimes the Map constructor exists, but does not\n take arguments (iOS 8.4)\n */\n try {\n const map = new global.Map([[0, 1]]);\n return map.has(0) &&\n typeof map.keys === 'function' &&\n true &&\n typeof map.values === 'function' &&\n typeof map.entries === 'function';\n }\n catch (e) {\n /* istanbul ignore next: not testing on iOS at the moment */\n return false;\n }\n }\n return false;\n}, true);\n/* Math */\nadd('es6-math', () => {\n return [\n 'clz32',\n 'sign',\n 'log10',\n 'log2',\n 'log1p',\n 'expm1',\n 'cosh',\n 'sinh',\n 'tanh',\n 'acosh',\n 'asinh',\n 'atanh',\n 'trunc',\n 'fround',\n 'cbrt',\n 'hypot'\n ].every((name) => typeof global.Math[name] === 'function');\n}, true);\nadd('es6-math-imul', () => {\n if ('imul' in global.Math) {\n /* Some versions of Safari on ios do not properly implement this */\n return Math.imul(0xffffffff, 5) === -5;\n }\n return false;\n}, true);\n/* Object */\nadd('es6-object', () => {\n return true &&\n ['assign', 'is', 'getOwnPropertySymbols', 'setPrototypeOf'].every((name) => typeof global.Object[name] === 'function');\n}, true);\nadd('es2017-object', () => {\n return ['values', 'entries', 'getOwnPropertyDescriptors'].every((name) => typeof global.Object[name] === 'function');\n}, true);\n/* Observable */\nadd('es-observable', () => typeof global.Observable !== 'undefined', true);\n/* Promise */\nadd('es6-promise', () => typeof global.Promise !== 'undefined' && true, true);\n/* Set */\nadd('es6-set', () => {\n if (typeof global.Set === 'function') {\n /* IE11 and older versions of Safari are missing critical ES6 Set functionality */\n const set = new global.Set([1]);\n return set.has(1) && 'keys' in set && typeof set.keys === 'function' && true;\n }\n return false;\n}, true);\n/* String */\nadd('es6-string', () => {\n return ([\n /* static methods */\n 'fromCodePoint'\n ].every((key) => typeof global.String[key] === 'function') &&\n [\n /* instance methods */\n 'codePointAt',\n 'normalize',\n 'repeat',\n 'startsWith',\n 'endsWith',\n 'includes'\n ].every((key) => typeof global.String.prototype[key] === 'function'));\n}, true);\nadd('es6-string-raw', () => {\n function getCallSite(callSite, ...substitutions) {\n const result = [...callSite];\n result.raw = callSite.raw;\n return result;\n }\n if ('raw' in global.String) {\n let b = 1;\n let callSite = getCallSite `a\\n${b}`;\n callSite.raw = ['a\\\\n'];\n const supportsTrunc = global.String.raw(callSite, 42) === 'a:\\\\n';\n return supportsTrunc;\n }\n return false;\n}, true);\nadd('es2017-string', () => {\n return ['padStart', 'padEnd'].every((key) => typeof global.String.prototype[key] === 'function');\n}, true);\n/* Symbol */\nadd('es6-symbol', () => typeof global.Symbol !== 'undefined' && typeof Symbol() === 'symbol', true);\n/* WeakMap */\nadd('es6-weakmap', () => {\n if (typeof global.WeakMap !== 'undefined') {\n /* IE11 and older versions of Safari are missing critical ES6 Map functionality */\n const key1 = {};\n const key2 = {};\n const map = new global.WeakMap([[key1, 1]]);\n Object.freeze(key1);\n return map.get(key1) === 1 && map.set(key2, 2) === map && true;\n }\n return false;\n}, true);\n/* Miscellaneous features */\nadd('microtasks', () => true || false || true, true);\nadd('postmessage', () => {\n // If window is undefined, and we have postMessage, it probably means we're in a web worker. Web workers have\n // post message but it doesn't work how we expect it to, so it's best just to pretend it doesn't exist.\n return typeof global.window !== 'undefined' && typeof global.postMessage === 'function';\n}, true);\nadd('raf', () => typeof global.requestAnimationFrame === 'function', true);\nadd('setimmediate', () => typeof global.setImmediate !== 'undefined', true);\n/* DOM Features */\nadd('dom-mutationobserver', () => {\n if (true && Boolean(global.MutationObserver || global.WebKitMutationObserver)) {\n // IE11 has an unreliable MutationObserver implementation where setProperty() does not\n // generate a mutation event, observers can crash, and the queue does not drain\n // reliably. The following feature test was adapted from\n // https://gist.github.com/t10ko/4aceb8c71681fdb275e33efe5e576b14\n const example = document.createElement('div');\n /* tslint:disable-next-line:variable-name */\n const HostMutationObserver = global.MutationObserver || global.WebKitMutationObserver;\n const observer = new HostMutationObserver(function () { });\n observer.observe(example, { attributes: true });\n example.style.setProperty('display', 'block');\n return Boolean(observer.takeRecords().length);\n }\n return false;\n}, true);\nadd('dom-webanimation', () => true && global.Animation !== undefined && global.KeyframeEffect !== undefined, true);\nadd('abort-controller', () => typeof global.AbortController !== 'undefined');\nadd('abort-signal', () => typeof global.AbortSignal !== 'undefined');\n//# sourceMappingURL=has.mjs.map" - }, - { - "id": "./node_modules/@dojo/framework/shim/support/queue.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", - "name": "./node_modules/@dojo/framework/shim/support/queue.mjs", - "index": 23, - "index2": 14, - "size": 6196, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Promise.mjs", - "issuerId": "./node_modules/@dojo/framework/shim/Promise.mjs", - "issuerName": "./node_modules/@dojo/framework/shim/Promise.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "84:17-35" + }, { - "moduleId": "./node_modules/@dojo/framework/shim/Promise.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Promise.mjs", - "module": "./node_modules/@dojo/framework/shim/Promise.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/Promise.mjs", - "type": "harmony import", - "userRequest": "./support/queue", - "loc": "2:0-49" - } - ], - "usedExports": false, - "providedExports": [ - "queueTask", - "queueAnimationTask", - "queueMicroTask" - ], - "optimizationBailout": [], - "depth": 6, - "source": "import global from '../global';\nimport has from './has';\nfunction executeTask(item) {\n if (item && item.isActive && item.callback) {\n item.callback();\n }\n}\nfunction getQueueHandle(item, destructor) {\n return {\n destroy: function () {\n this.destroy = function () { };\n item.isActive = false;\n item.callback = null;\n if (destructor) {\n destructor();\n }\n }\n };\n}\nlet checkMicroTaskQueue;\nlet microTasks;\n/**\n * Schedules a callback to the macrotask queue.\n *\n * @param callback the function to be queued and later executed.\n * @returns An object with a `destroy` method that, when called, prevents the registered callback from executing.\n */\nexport const queueTask = (function () {\n let destructor;\n let enqueue;\n // Since the IE implementation of `setImmediate` is not flawless, we will test for `postMessage` first.\n if (true) {\n const queue = [];\n global.addEventListener('message', function (event) {\n // Confirm that the event was triggered by the current window and by this particular implementation.\n if (event.source === global && event.data === 'dojo-queue-message') {\n event.stopPropagation();\n if (queue.length) {\n executeTask(queue.shift());\n }\n }\n });\n enqueue = function (item) {\n queue.push(item);\n global.postMessage('dojo-queue-message', '*');\n };\n }\n else if (false) {\n destructor = global.clearImmediate;\n enqueue = function (item) {\n return setImmediate(executeTask.bind(null, item));\n };\n }\n else {\n destructor = global.clearTimeout;\n enqueue = function (item) {\n return setTimeout(executeTask.bind(null, item), 0);\n };\n }\n function queueTask(callback) {\n const item = {\n isActive: true,\n callback: callback\n };\n const id = enqueue(item);\n return getQueueHandle(item, destructor &&\n function () {\n destructor(id);\n });\n }\n // TODO: Use aspect.before when it is available.\n return true\n ? queueTask\n : function (callback) {\n checkMicroTaskQueue();\n return queueTask(callback);\n };\n})();\n// When no mechanism for registering microtasks is exposed by the environment, microtasks will\n// be queued and then executed in a single macrotask before the other macrotasks are executed.\nif (!true) {\n let isMicroTaskQueued = false;\n microTasks = [];\n checkMicroTaskQueue = function () {\n if (!isMicroTaskQueued) {\n isMicroTaskQueued = true;\n queueTask(function () {\n isMicroTaskQueued = false;\n if (microTasks.length) {\n let item;\n while ((item = microTasks.shift())) {\n executeTask(item);\n }\n }\n });\n }\n };\n}\n/**\n * Schedules an animation task with `window.requestAnimationFrame` if it exists, or with `queueTask` otherwise.\n *\n * Since requestAnimationFrame's behavior does not match that expected from `queueTask`, it is not used there.\n * However, at times it makes more sense to delegate to requestAnimationFrame; hence the following method.\n *\n * @param callback the function to be queued and later executed.\n * @returns An object with a `destroy` method that, when called, prevents the registered callback from executing.\n */\nexport const queueAnimationTask = (function () {\n if (!true) {\n return queueTask;\n }\n function queueAnimationTask(callback) {\n const item = {\n isActive: true,\n callback: callback\n };\n const rafId = requestAnimationFrame(executeTask.bind(null, item));\n return getQueueHandle(item, function () {\n cancelAnimationFrame(rafId);\n });\n }\n // TODO: Use aspect.before when it is available.\n return true\n ? queueAnimationTask\n : function (callback) {\n checkMicroTaskQueue();\n return queueAnimationTask(callback);\n };\n})();\n/**\n * Schedules a callback to the microtask queue.\n *\n * Any callbacks registered with `queueMicroTask` will be executed before the next macrotask. If no native\n * mechanism for scheduling macrotasks is exposed, then any callbacks will be fired before any macrotask\n * registered with `queueTask` or `queueAnimationTask`.\n *\n * @param callback the function to be queued and later executed.\n * @returns An object with a `destroy` method that, when called, prevents the registered callback from executing.\n */\nexport let queueMicroTask = (function () {\n let enqueue;\n if (false) {\n enqueue = function (item) {\n global.process.nextTick(executeTask.bind(null, item));\n };\n }\n else if (true) {\n enqueue = function (item) {\n global.Promise.resolve(item).then(executeTask);\n };\n }\n else if (true) {\n /* tslint:disable-next-line:variable-name */\n const HostMutationObserver = global.MutationObserver || global.WebKitMutationObserver;\n const node = document.createElement('div');\n const queue = [];\n const observer = new HostMutationObserver(function () {\n while (queue.length > 0) {\n const item = queue.shift();\n if (item && item.isActive && item.callback) {\n item.callback();\n }\n }\n });\n observer.observe(node, { attributes: true });\n enqueue = function (item) {\n queue.push(item);\n node.setAttribute('queueStatus', '1');\n };\n }\n else {\n enqueue = function (item) {\n checkMicroTaskQueue();\n microTasks.push(item);\n };\n }\n return function (callback) {\n const item = {\n isActive: true,\n callback: callback\n };\n enqueue(item);\n return getQueueHandle(item);\n };\n})();\n//# sourceMappingURL=queue.mjs.map" - }, - { - "id": "./node_modules/@dojo/framework/shim/support/util.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/util.mjs", - "name": "./node_modules/@dojo/framework/shim/support/util.mjs", - "index": 11, - "index2": 6, - "size": 853, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", - "issuerId": "./node_modules/@dojo/framework/shim/array.mjs", - "issuerName": "./node_modules/@dojo/framework/shim/array.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "85:16-34" + }, { - "moduleId": "./node_modules/@dojo/framework/shim/array.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", - "module": "./node_modules/@dojo/framework/shim/array.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/array.mjs", - "type": "harmony import", + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", "userRequest": "./support/util", - "loc": "5:0-44" + "loc": "86:17-35" }, { - "moduleId": "./node_modules/@dojo/framework/shim/Symbol.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", - "type": "harmony import", + "type": "harmony import specifier", "userRequest": "./support/util", - "loc": "3:0-52" + "loc": "87:15-33" + }, + { + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "88:21-39" + }, + { + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "89:21-39" + }, + { + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "90:21-39" + }, + { + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "94:21-39" + }, + { + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "95:18-36" + }, + { + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "101:18-36" + }, + { + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "104:17-35" + }, + { + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "108:57-75" + }, + { + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "111:57-75" + }, + { + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "112:65-83" + }, + { + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "113:65-83" + }, + { + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "141:49-67" }, { - "moduleId": "./node_modules/@dojo/framework/shim/string.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/string.mjs", - "module": "./node_modules/@dojo/framework/shim/string.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/string.mjs", - "type": "harmony import", + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony side effect evaluation", "userRequest": "./support/util", "loc": "3:0-44" + }, + { + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "109:18-28" + }, + { + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "110:15-25" + }, + { + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "111:15-25" + }, + { + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "112:16-26" + }, + { + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "113:13-23" + }, + { + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "114:17-27" + }, + { + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "253:13-23" + }, + { + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "254:15-25" + }, + { + "moduleId": 22, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony side effect evaluation", + "userRequest": "./support/util", + "loc": "5:0-44" + }, + { + "moduleId": 22, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "67:17-27" + }, + { + "moduleId": 22, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "68:11-21" + }, + { + "moduleId": 22, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "69:11-21" + }, + { + "moduleId": 22, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "70:16-26" + }, + { + "moduleId": 22, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./support/util", + "loc": "216:15-25" } ], "usedExports": [ @@ -1272,382 +1409,769 @@ "source": "/**\n * Helper function to generate a value property descriptor\n *\n * @param value The value the property descriptor should be set to\n * @param enumerable If the property should be enumberable, defaults to false\n * @param writable If the property should be writable, defaults to true\n * @param configurable If the property should be configurable, defaults to true\n * @return The property descriptor object\n */\nexport function getValueDescriptor(value, enumerable = false, writable = true, configurable = true) {\n return {\n value: value,\n enumerable: enumerable,\n writable: writable,\n configurable: configurable\n };\n}\nexport function wrapNative(nativeFunction) {\n return function (target, ...args) {\n return nativeFunction.apply(target, args);\n };\n}\n//# sourceMappingURL=util.mjs.map" }, { - "id": "./node_modules/@dojo/framework/widget-core/Injector.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Injector.mjs", - "name": "./node_modules/@dojo/framework/widget-core/Injector.mjs", - "index": 37, - "index2": 31, - "size": 493, + "id": 2, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/has/has.mjs", + "name": "./node_modules/@dojo/framework/has/has.mjs", + "index": 7, + "index2": 3, + "size": 6321, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ - "menu" + 0 ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "issuerId": 4, + "issuerName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "issuerPath": [ { - "moduleId": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "type": "harmony import", - "userRequest": "./../Injector", - "loc": "2:0-41" - } - ], - "usedExports": [ - "Injector" - ], - "providedExports": [ - "Injector", - "default" - ], - "optimizationBailout": [], - "depth": 4, - "source": "import { Evented } from '../core/Evented';\nexport class Injector extends Evented {\n constructor(payload) {\n super();\n this._payload = payload;\n }\n setInvalidator(invalidator) {\n this._invalidator = invalidator;\n }\n get() {\n return this._payload;\n }\n set(payload) {\n this._payload = payload;\n if (this._invalidator) {\n this._invalidator();\n }\n }\n}\nexport default Injector;\n//# sourceMappingURL=Injector.mjs.map" - }, - { - "id": "./node_modules/@dojo/framework/widget-core/NodeHandler.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/NodeHandler.mjs", - "name": "./node_modules/@dojo/framework/widget-core/NodeHandler.mjs", - "index": 28, - "index2": 22, - "size": 1090, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "type": "harmony import", - "userRequest": "./NodeHandler", - "loc": "7:0-40" + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", + "name": "./node_modules/@dojo/framework/shim/array.mjs" + }, + { + "id": 4, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "name": "./node_modules/@dojo/framework/shim/support/has.mjs" } ], - "usedExports": [ - "default" - ], - "providedExports": [ - "NodeEventType", - "NodeHandler", - "default" - ], - "optimizationBailout": [], - "depth": 4, - "source": "import { Evented } from '../core/Evented';\nimport Map from '../shim/Map';\n/**\n * Enum to identify the type of event.\n * Listening to 'Projector' will notify when projector is created or updated\n * Listening to 'Widget' will notify when widget root is created or updated\n */\nexport var NodeEventType;\n(function (NodeEventType) {\n NodeEventType[\"Projector\"] = \"Projector\";\n NodeEventType[\"Widget\"] = \"Widget\";\n})(NodeEventType || (NodeEventType = {}));\nexport class NodeHandler extends Evented {\n constructor() {\n super(...arguments);\n this._nodeMap = new Map();\n }\n get(key) {\n return this._nodeMap.get(key);\n }\n has(key) {\n return this._nodeMap.has(key);\n }\n add(element, key) {\n this._nodeMap.set(key, element);\n this.emit({ type: key });\n }\n addRoot() {\n this.emit({ type: NodeEventType.Widget });\n }\n addProjector() {\n this.emit({ type: NodeEventType.Projector });\n }\n clear() {\n this._nodeMap.clear();\n }\n}\nexport default NodeHandler;\n//# sourceMappingURL=NodeHandler.mjs.map" - }, - { - "id": "./node_modules/@dojo/framework/widget-core/Registry.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", - "name": "./node_modules/@dojo/framework/widget-core/Registry.mjs", - "index": 21, - "index2": 19, - "size": 3690, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", "failed": false, "errors": 0, "warnings": 0, + "assets": [], "reasons": [ { - "moduleId": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "type": "harmony import", - "userRequest": "./Registry", - "loc": "9:0-71" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony side effect evaluation", + "userRequest": "../../has/has", + "loc": "1:0-41" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/diff.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/diff.mjs", - "module": "./node_modules/@dojo/framework/widget-core/diff.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/diff.mjs", - "type": "harmony import", - "userRequest": "./Registry", - "loc": "1:0-46" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "3:15-18" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", - "module": "./node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", - "type": "harmony import", - "userRequest": "./Registry", - "loc": "3:0-38" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony side effect evaluation", + "userRequest": "../../has/has", + "loc": "4:0-30" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/vdom.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", - "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", - "type": "harmony import", - "userRequest": "./Registry", - "loc": "4:0-53" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony export imported specifier", + "userRequest": "../../has/has", + "loc": "4:0-30" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/decorators/customElement.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/customElement.mjs", - "module": "./node_modules/@dojo/framework/widget-core/decorators/customElement.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/decorators/customElement.mjs", - "type": "harmony import", - "userRequest": "../Registry", - "loc": "2:0-35" + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "7:0-3" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "11:0-3" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "18:0-3" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "20:0-3" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "31:16-19" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "43:0-3" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "63:0-3" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "71:0-3" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "72:12-15" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "75:0-3" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "79:0-3" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "81:0-3" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "81:66-69" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "83:0-3" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "87:80-83" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "92:0-3" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "107:0-3" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "122:0-3" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "126:0-3" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "128:0-3" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "135:66-69" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "140:0-3" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "140:24-27" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "140:46-49" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "140:66-69" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "141:0-3" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "146:0-3" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "147:0-3" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "149:0-3" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "150:8-11" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "165:0-3" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "165:30-33" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "166:0-3" + }, + { + "moduleId": 4, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "module": "./node_modules/@dojo/framework/shim/support/has.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/has.mjs", + "type": "harmony import specifier", + "userRequest": "../../has/has", + "loc": "167:0-3" } ], "usedExports": [ - "Registry", - "WIDGET_BASE_TYPE", - "default", - "isWidgetBaseConstructor" + "add", + "default" ], "providedExports": [ - "WIDGET_BASE_TYPE", - "isWidgetBaseConstructor", - "isWidgetConstructorDefaultExport", - "Registry", + "testCache", + "testFunctions", + "load", + "normalize", + "exists", + "add", "default" ], - "optimizationBailout": [], - "depth": 4, - "source": "import Promise from '../shim/Promise';\nimport Map from '../shim/Map';\nimport Symbol from '../shim/Symbol';\nimport { Evented } from '../core/Evented';\n/**\n * Widget base symbol type\n */\nexport const WIDGET_BASE_TYPE = Symbol('Widget Base');\n/**\n * Checks is the item is a subclass of WidgetBase (or a WidgetBase)\n *\n * @param item the item to check\n * @returns true/false indicating if the item is a WidgetBaseConstructor\n */\nexport function isWidgetBaseConstructor(item) {\n return Boolean(item && item._type === WIDGET_BASE_TYPE);\n}\nexport function isWidgetConstructorDefaultExport(item) {\n return Boolean(item &&\n item.hasOwnProperty('__esModule') &&\n item.hasOwnProperty('default') &&\n isWidgetBaseConstructor(item.default));\n}\n/**\n * The Registry implementation\n */\nexport class Registry extends Evented {\n /**\n * Emit loaded event for registry label\n */\n emitLoadedEvent(widgetLabel, item) {\n this.emit({\n type: widgetLabel,\n action: 'loaded',\n item\n });\n }\n define(label, item) {\n if (this._widgetRegistry === undefined) {\n this._widgetRegistry = new Map();\n }\n if (this._widgetRegistry.has(label)) {\n throw new Error(`widget has already been registered for '${label.toString()}'`);\n }\n this._widgetRegistry.set(label, item);\n if (item instanceof Promise) {\n item.then((widgetCtor) => {\n this._widgetRegistry.set(label, widgetCtor);\n this.emitLoadedEvent(label, widgetCtor);\n return widgetCtor;\n }, (error) => {\n throw error;\n });\n }\n else if (isWidgetBaseConstructor(item)) {\n this.emitLoadedEvent(label, item);\n }\n }\n defineInjector(label, injectorFactory) {\n if (this._injectorRegistry === undefined) {\n this._injectorRegistry = new Map();\n }\n if (this._injectorRegistry.has(label)) {\n throw new Error(`injector has already been registered for '${label.toString()}'`);\n }\n const invalidator = new Evented();\n const injectorItem = {\n injector: injectorFactory(() => invalidator.emit({ type: 'invalidate' })),\n invalidator\n };\n this._injectorRegistry.set(label, injectorItem);\n this.emitLoadedEvent(label, injectorItem);\n }\n get(label) {\n if (!this._widgetRegistry || !this.has(label)) {\n return null;\n }\n const item = this._widgetRegistry.get(label);\n if (isWidgetBaseConstructor(item)) {\n return item;\n }\n if (item instanceof Promise) {\n return null;\n }\n const promise = item();\n this._widgetRegistry.set(label, promise);\n promise.then((widgetCtor) => {\n if (isWidgetConstructorDefaultExport(widgetCtor)) {\n widgetCtor = widgetCtor.default;\n }\n this._widgetRegistry.set(label, widgetCtor);\n this.emitLoadedEvent(label, widgetCtor);\n return widgetCtor;\n }, (error) => {\n throw error;\n });\n return null;\n }\n getInjector(label) {\n if (!this._injectorRegistry || !this.hasInjector(label)) {\n return null;\n }\n return this._injectorRegistry.get(label);\n }\n has(label) {\n return Boolean(this._widgetRegistry && this._widgetRegistry.has(label));\n }\n hasInjector(label) {\n return Boolean(this._injectorRegistry && this._injectorRegistry.has(label));\n }\n}\nexport default Registry;\n//# sourceMappingURL=Registry.mjs.map" + "optimizationBailout": [ + "ModuleConcatenation bailout: Module uses injected variables (global, process)" + ], + "depth": 5, + "source": "function isFeatureTestThenable(value) {\n return value && value.then;\n}\n/**\n * A cache of results of feature tests\n */\nexport const testCache = {};\n/**\n * A cache of the un-resolved feature tests\n */\nexport const testFunctions = {};\n/**\n * A cache of unresolved thenables (probably promises)\n * @type {{}}\n */\nconst testThenables = {};\n/**\n * A reference to the global scope (`window` in a browser, `global` in NodeJS)\n */\nconst globalScope = (function () {\n /* istanbul ignore else */\n if (typeof window !== 'undefined') {\n // Browsers\n return window;\n }\n else if (typeof global !== 'undefined') {\n // Node\n return global;\n }\n else if (typeof self !== 'undefined') {\n // Web workers\n return self;\n }\n /* istanbul ignore next */\n return {};\n})();\n/* Grab the staticFeatures if there are available */\nconst { staticFeatures } = globalScope.DojoHasEnvironment || {};\n/* Cleaning up the DojoHasEnviornment */\nif ('DojoHasEnvironment' in globalScope) {\n delete globalScope.DojoHasEnvironment;\n}\n/**\n * Custom type guard to narrow the `staticFeatures` to either a map or a function that\n * returns a map.\n *\n * @param value The value to guard for\n */\nfunction isStaticFeatureFunction(value) {\n return typeof value === 'function';\n}\n/**\n * The cache of asserted features that were available in the global scope when the\n * module loaded\n */\nconst staticCache = staticFeatures\n ? isStaticFeatureFunction(staticFeatures)\n ? staticFeatures.apply(globalScope)\n : staticFeatures\n : {}; /* Providing an empty cache, if none was in the environment\n\n/**\n* AMD plugin function.\n*\n* Conditional loads modules based on a has feature test value.\n*\n* @param resourceId Gives the resolved module id to load.\n* @param require The loader require function with respect to the module that contained the plugin resource in its\n* dependency list.\n* @param load Callback to loader that consumes result of plugin demand.\n*/\nexport function load(resourceId, require, load, config) {\n resourceId ? require([resourceId], load) : load();\n}\n/**\n * AMD plugin function.\n *\n * Resolves resourceId into a module id based on possibly-nested tenary expression that branches on has feature test\n * value(s).\n *\n * @param resourceId The id of the module\n * @param normalize Resolves a relative module id into an absolute module id\n */\nexport function normalize(resourceId, normalize) {\n const tokens = resourceId.match(/[\\?:]|[^:\\?]*/g) || [];\n let i = 0;\n function get(skip) {\n const term = tokens[i++];\n if (term === ':') {\n // empty string module name, resolves to null\n return null;\n }\n else {\n // postfixed with a ? means it is a feature to branch on, the term is the name of the feature\n if (tokens[i++] === '?') {\n if (!skip && has(term)) {\n // matched the feature, get the first value from the options\n return get();\n }\n else {\n // did not match, get the second value, passing over the first\n get(true);\n return get(skip);\n }\n }\n // a module\n return term;\n }\n }\n const id = get();\n return id && normalize(id);\n}\n/**\n * Check if a feature has already been registered\n *\n * @param feature the name of the feature\n */\nexport function exists(feature) {\n const normalizedFeature = feature.toLowerCase();\n return Boolean(normalizedFeature in staticCache || normalizedFeature in testCache || testFunctions[normalizedFeature]);\n}\n/**\n * Register a new test for a named feature.\n *\n * @example\n * has.add('dom-addeventlistener', !!document.addEventListener);\n *\n * @example\n * has.add('touch-events', function () {\n * return 'ontouchstart' in document\n * });\n *\n * @param feature the name of the feature\n * @param value the value reported of the feature, or a function that will be executed once on first test\n * @param overwrite if an existing value should be overwritten. Defaults to false.\n */\nexport function add(feature, value, overwrite = false) {\n const normalizedFeature = feature.toLowerCase();\n if (exists(normalizedFeature) && !overwrite && !(normalizedFeature in staticCache)) {\n throw new TypeError(`Feature \"${feature}\" exists and overwrite not true.`);\n }\n if (typeof value === 'function') {\n testFunctions[normalizedFeature] = value;\n }\n else if (isFeatureTestThenable(value)) {\n testThenables[feature] = value.then((resolvedValue) => {\n testCache[feature] = resolvedValue;\n delete testThenables[feature];\n }, () => {\n delete testThenables[feature];\n });\n }\n else {\n testCache[normalizedFeature] = value;\n delete testFunctions[normalizedFeature];\n }\n}\n/**\n * Return the current value of a named feature.\n *\n * @param feature The name (if a string) or identifier (if an integer) of the feature to test.\n */\nexport default function has(feature) {\n let result;\n const normalizedFeature = feature.toLowerCase();\n if (normalizedFeature in staticCache) {\n result = staticCache[normalizedFeature];\n }\n else if (testFunctions[normalizedFeature]) {\n result = testCache[normalizedFeature] = testFunctions[normalizedFeature].call(null);\n delete testFunctions[normalizedFeature];\n }\n else if (normalizedFeature in testCache) {\n result = testCache[normalizedFeature];\n }\n else if (feature in testThenables) {\n return false;\n }\n else {\n throw new TypeError(`Attempt to detect unregistered has feature \"${feature}\"`);\n }\n return result;\n}\n/*\n * Out of the box feature tests\n */\n/* Environments */\n/* Used as a value to provide a debug only code path */\nadd('debug', true);\n/* Detects if the environment is \"browser like\" */\nadd('host-browser', typeof document !== 'undefined' && typeof location !== 'undefined');\n/* Detects if the environment appears to be NodeJS */\nadd('host-node', function () {\n if (typeof process === 'object' && process.versions && process.versions.node) {\n return process.versions.node;\n }\n});\n//# sourceMappingURL=has.mjs.map" }, { - "id": "./node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", - "name": "./node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", - "index": 27, - "index2": 21, - "size": 2856, + "id": 3, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/d.mjs", + "name": "./node_modules/@dojo/framework/widget-core/d.mjs", + "index": 4, + "index2": 8, + "size": 3267, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ - "menu" + 0 + ], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + } ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", "failed": false, "errors": 0, "warnings": 0, + "assets": [], "reasons": [ { - "moduleId": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "type": "harmony import", - "userRequest": "./RegistryHandler", - "loc": "6:0-48" - } - ], - "usedExports": [ - "default" - ], - "providedExports": [ - "RegistryHandler", - "default" - ], - "optimizationBailout": [], - "depth": 4, - "source": "import { Map } from '../shim/Map';\nimport { Evented } from '../core/Evented';\nimport { Registry } from './Registry';\nexport class RegistryHandler extends Evented {\n constructor() {\n super();\n this._registry = new Registry();\n this._registryWidgetLabelMap = new Map();\n this._registryInjectorLabelMap = new Map();\n this.own(this._registry);\n const destroy = () => {\n if (this.baseRegistry) {\n this._registryWidgetLabelMap.delete(this.baseRegistry);\n this._registryInjectorLabelMap.delete(this.baseRegistry);\n this.baseRegistry = undefined;\n }\n };\n this.own({ destroy });\n }\n set base(baseRegistry) {\n if (this.baseRegistry) {\n this._registryWidgetLabelMap.delete(this.baseRegistry);\n this._registryInjectorLabelMap.delete(this.baseRegistry);\n }\n this.baseRegistry = baseRegistry;\n }\n define(label, widget) {\n this._registry.define(label, widget);\n }\n defineInjector(label, injector) {\n this._registry.defineInjector(label, injector);\n }\n has(label) {\n return this._registry.has(label) || Boolean(this.baseRegistry && this.baseRegistry.has(label));\n }\n hasInjector(label) {\n return this._registry.hasInjector(label) || Boolean(this.baseRegistry && this.baseRegistry.hasInjector(label));\n }\n get(label, globalPrecedence = false) {\n return this._get(label, globalPrecedence, 'get', this._registryWidgetLabelMap);\n }\n getInjector(label, globalPrecedence = false) {\n return this._get(label, globalPrecedence, 'getInjector', this._registryInjectorLabelMap);\n }\n _get(label, globalPrecedence, getFunctionName, labelMap) {\n const registries = globalPrecedence ? [this.baseRegistry, this._registry] : [this._registry, this.baseRegistry];\n for (let i = 0; i < registries.length; i++) {\n const registry = registries[i];\n if (!registry) {\n continue;\n }\n const item = registry[getFunctionName](label);\n const registeredLabels = labelMap.get(registry) || [];\n if (item) {\n return item;\n }\n else if (registeredLabels.indexOf(label) === -1) {\n const handle = registry.on(label, (event) => {\n if (event.action === 'loaded' &&\n this[getFunctionName](label, globalPrecedence) === event.item) {\n this.emit({ type: 'invalidate' });\n }\n });\n this.own(handle);\n labelMap.set(registry, [...registeredLabels, label]);\n }\n }\n return null;\n }\n}\nexport default RegistryHandler;\n//# sourceMappingURL=RegistryHandler.mjs.map" - }, - { - "id": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "name": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "index": 14, - "index2": 26, - "size": 13720, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./d", + "loc": "3:0-65" + }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "type": "harmony import", - "userRequest": "./WidgetBase", - "loc": "2:0-50" + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "16:8-15" }, { - "moduleId": "./src/menu/Menu.ts", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--3-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--3-1!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--3-2!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/src/menu/Menu.ts", - "module": "./src/menu/Menu.ts", - "moduleName": "./src/menu/Menu.ts", - "type": "harmony import", - "userRequest": "@dojo/framework/widget-core/WidgetBase", - "loc": "5:0-68" - } - ], - "usedExports": [ - "WidgetBase", - "noBind" - ], - "providedExports": [ - "noBind", - "WidgetBase", - "default" - ], - "optimizationBailout": [], - "depth": 3, - "source": "import Map from '../shim/Map';\nimport WeakMap from '../shim/WeakMap';\nimport Symbol from '../shim/Symbol';\nimport { v } from './d';\nimport { auto } from './diff';\nimport RegistryHandler from './RegistryHandler';\nimport NodeHandler from './NodeHandler';\nimport { widgetInstanceMap } from './vdom';\nimport { isWidgetBaseConstructor, WIDGET_BASE_TYPE } from './Registry';\nconst decoratorMap = new Map();\nconst boundAuto = auto.bind(null);\nexport const noBind = Symbol.for('dojoNoBind');\n/**\n * Main widget base for all widgets to extend\n */\nexport class WidgetBase {\n /**\n * @constructor\n */\n constructor() {\n /**\n * Indicates if it is the initial set properties cycle\n */\n this._initialProperties = true;\n /**\n * Array of property keys considered changed from the previous set properties\n */\n this._changedPropertyKeys = [];\n this._nodeHandler = new NodeHandler();\n this._handles = [];\n this._children = [];\n this._decoratorCache = new Map();\n this._properties = {};\n this._boundRenderFunc = this.render.bind(this);\n this._boundInvalidate = this.invalidate.bind(this);\n widgetInstanceMap.set(this, {\n dirty: true,\n onAttach: () => {\n this.onAttach();\n },\n onDetach: () => {\n this.onDetach();\n this.destroy();\n },\n nodeHandler: this._nodeHandler,\n registry: () => {\n return this.registry;\n },\n coreProperties: {},\n rendering: false,\n inputProperties: {}\n });\n this._runAfterConstructors();\n }\n meta(MetaType) {\n if (this._metaMap === undefined) {\n this._metaMap = new Map();\n }\n let cached = this._metaMap.get(MetaType);\n if (!cached) {\n cached = new MetaType({\n invalidate: this._boundInvalidate,\n nodeHandler: this._nodeHandler,\n bind: this\n });\n this.own(cached);\n this._metaMap.set(MetaType, cached);\n }\n return cached;\n }\n onAttach() {\n // Do nothing by default.\n }\n onDetach() {\n // Do nothing by default.\n }\n get properties() {\n return this._properties;\n }\n get changedPropertyKeys() {\n return [...this._changedPropertyKeys];\n }\n __setCoreProperties__(coreProperties) {\n const { baseRegistry } = coreProperties;\n const instanceData = widgetInstanceMap.get(this);\n if (instanceData.coreProperties.baseRegistry !== baseRegistry) {\n if (this._registry === undefined) {\n this._registry = new RegistryHandler();\n this.own(this._registry);\n this.own(this._registry.on('invalidate', this._boundInvalidate));\n }\n this._registry.base = baseRegistry;\n this.invalidate();\n }\n instanceData.coreProperties = coreProperties;\n }\n __setProperties__(originalProperties) {\n const instanceData = widgetInstanceMap.get(this);\n instanceData.inputProperties = originalProperties;\n const properties = this._runBeforeProperties(originalProperties);\n const registeredDiffPropertyNames = this.getDecorator('registeredDiffProperty');\n const changedPropertyKeys = [];\n const propertyNames = Object.keys(properties);\n if (this._initialProperties === false || registeredDiffPropertyNames.length !== 0) {\n const allProperties = [...propertyNames, ...Object.keys(this._properties)];\n const checkedProperties = [];\n const diffPropertyResults = {};\n let runReactions = false;\n for (let i = 0; i < allProperties.length; i++) {\n const propertyName = allProperties[i];\n if (checkedProperties.indexOf(propertyName) !== -1) {\n continue;\n }\n checkedProperties.push(propertyName);\n const previousProperty = this._properties[propertyName];\n const newProperty = this._bindFunctionProperty(properties[propertyName], instanceData.coreProperties.bind);\n if (registeredDiffPropertyNames.indexOf(propertyName) !== -1) {\n runReactions = true;\n const diffFunctions = this.getDecorator(`diffProperty:${propertyName}`);\n for (let i = 0; i < diffFunctions.length; i++) {\n const result = diffFunctions[i](previousProperty, newProperty);\n if (result.changed && changedPropertyKeys.indexOf(propertyName) === -1) {\n changedPropertyKeys.push(propertyName);\n }\n if (propertyName in properties) {\n diffPropertyResults[propertyName] = result.value;\n }\n }\n }\n else {\n const result = boundAuto(previousProperty, newProperty);\n if (result.changed && changedPropertyKeys.indexOf(propertyName) === -1) {\n changedPropertyKeys.push(propertyName);\n }\n if (propertyName in properties) {\n diffPropertyResults[propertyName] = result.value;\n }\n }\n }\n if (runReactions) {\n const reactionFunctions = this.getDecorator('diffReaction');\n const executedReactions = [];\n reactionFunctions.forEach(({ reaction, propertyName }) => {\n const propertyChanged = changedPropertyKeys.indexOf(propertyName) !== -1;\n const reactionRun = executedReactions.indexOf(reaction) !== -1;\n if (propertyChanged && !reactionRun) {\n reaction.call(this, this._properties, diffPropertyResults);\n executedReactions.push(reaction);\n }\n });\n }\n this._properties = diffPropertyResults;\n this._changedPropertyKeys = changedPropertyKeys;\n }\n else {\n this._initialProperties = false;\n for (let i = 0; i < propertyNames.length; i++) {\n const propertyName = propertyNames[i];\n if (typeof properties[propertyName] === 'function') {\n properties[propertyName] = this._bindFunctionProperty(properties[propertyName], instanceData.coreProperties.bind);\n }\n else {\n changedPropertyKeys.push(propertyName);\n }\n }\n this._changedPropertyKeys = changedPropertyKeys;\n this._properties = Object.assign({}, properties);\n }\n if (this._changedPropertyKeys.length > 0) {\n this.invalidate();\n }\n }\n get children() {\n return this._children;\n }\n __setChildren__(children) {\n if (this._children.length > 0 || children.length > 0) {\n this._children = children;\n this.invalidate();\n }\n }\n __render__() {\n const instanceData = widgetInstanceMap.get(this);\n instanceData.dirty = false;\n const render = this._runBeforeRenders();\n let dNode = render();\n dNode = this.runAfterRenders(dNode);\n this._nodeHandler.clear();\n return dNode;\n }\n invalidate() {\n const instanceData = widgetInstanceMap.get(this);\n if (instanceData.invalidate) {\n instanceData.invalidate();\n }\n }\n render() {\n return v('div', {}, this.children);\n }\n /**\n * Function to add decorators to WidgetBase\n *\n * @param decoratorKey The key of the decorator\n * @param value The value of the decorator\n */\n addDecorator(decoratorKey, value) {\n value = Array.isArray(value) ? value : [value];\n if (this.hasOwnProperty('constructor')) {\n let decoratorList = decoratorMap.get(this.constructor);\n if (!decoratorList) {\n decoratorList = new Map();\n decoratorMap.set(this.constructor, decoratorList);\n }\n let specificDecoratorList = decoratorList.get(decoratorKey);\n if (!specificDecoratorList) {\n specificDecoratorList = [];\n decoratorList.set(decoratorKey, specificDecoratorList);\n }\n specificDecoratorList.push(...value);\n }\n else {\n const decorators = this.getDecorator(decoratorKey);\n this._decoratorCache.set(decoratorKey, [...decorators, ...value]);\n }\n }\n /**\n * Function to build the list of decorators from the global decorator map.\n *\n * @param decoratorKey The key of the decorator\n * @return An array of decorator values\n * @private\n */\n _buildDecoratorList(decoratorKey) {\n const allDecorators = [];\n let constructor = this.constructor;\n while (constructor) {\n const instanceMap = decoratorMap.get(constructor);\n if (instanceMap) {\n const decorators = instanceMap.get(decoratorKey);\n if (decorators) {\n allDecorators.unshift(...decorators);\n }\n }\n constructor = Object.getPrototypeOf(constructor);\n }\n return allDecorators;\n }\n /**\n * Function to retrieve decorator values\n *\n * @param decoratorKey The key of the decorator\n * @returns An array of decorator values\n */\n getDecorator(decoratorKey) {\n let allDecorators = this._decoratorCache.get(decoratorKey);\n if (allDecorators !== undefined) {\n return allDecorators;\n }\n allDecorators = this._buildDecoratorList(decoratorKey);\n this._decoratorCache.set(decoratorKey, allDecorators);\n return allDecorators;\n }\n /**\n * Binds unbound property functions to the specified `bind` property\n *\n * @param properties properties to check for functions\n */\n _bindFunctionProperty(property, bind) {\n if (typeof property === 'function' && !property[noBind] && isWidgetBaseConstructor(property) === false) {\n if (this._bindFunctionPropertyMap === undefined) {\n this._bindFunctionPropertyMap = new WeakMap();\n }\n const bindInfo = this._bindFunctionPropertyMap.get(property) || {};\n let { boundFunc, scope } = bindInfo;\n if (boundFunc === undefined || scope !== bind) {\n boundFunc = property.bind(bind);\n this._bindFunctionPropertyMap.set(property, { boundFunc, scope: bind });\n }\n return boundFunc;\n }\n return property;\n }\n get registry() {\n if (this._registry === undefined) {\n this._registry = new RegistryHandler();\n this.own(this._registry);\n this.own(this._registry.on('invalidate', this._boundInvalidate));\n }\n return this._registry;\n }\n _runBeforeProperties(properties) {\n const beforeProperties = this.getDecorator('beforeProperties');\n if (beforeProperties.length > 0) {\n return beforeProperties.reduce((properties, beforePropertiesFunction) => {\n return Object.assign({}, properties, beforePropertiesFunction.call(this, properties));\n }, Object.assign({}, properties));\n }\n return properties;\n }\n /**\n * Run all registered before renders and return the updated render method\n */\n _runBeforeRenders() {\n const beforeRenders = this.getDecorator('beforeRender');\n if (beforeRenders.length > 0) {\n return beforeRenders.reduce((render, beforeRenderFunction) => {\n const updatedRender = beforeRenderFunction.call(this, render, this._properties, this._children);\n if (!updatedRender) {\n console.warn('Render function not returned from beforeRender, using previous render');\n return render;\n }\n return updatedRender;\n }, this._boundRenderFunc);\n }\n return this._boundRenderFunc;\n }\n /**\n * Run all registered after renders and return the decorated DNodes\n *\n * @param dNode The DNodes to run through the after renders\n */\n runAfterRenders(dNode) {\n const afterRenders = this.getDecorator('afterRender');\n if (afterRenders.length > 0) {\n dNode = afterRenders.reduce((dNode, afterRenderFunction) => {\n return afterRenderFunction.call(this, dNode);\n }, dNode);\n }\n if (this._metaMap !== undefined) {\n this._metaMap.forEach((meta) => {\n meta.afterRender();\n });\n }\n return dNode;\n }\n _runAfterConstructors() {\n const afterConstructors = this.getDecorator('afterConstructor');\n if (afterConstructors.length > 0) {\n afterConstructors.forEach((afterConstructor) => afterConstructor.call(this));\n }\n }\n own(handle) {\n this._handles.push(handle);\n }\n destroy() {\n while (this._handles.length > 0) {\n const handle = this._handles.pop();\n if (handle) {\n handle.destroy();\n }\n }\n }\n}\n/**\n * static identifier\n */\nWidgetBase._type = WIDGET_BASE_TYPE;\nexport default WidgetBase;\n//# sourceMappingURL=WidgetBase.mjs.map" - }, - { - "id": "./node_modules/@dojo/framework/widget-core/animations/cssTransitions.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/animations/cssTransitions.mjs", - "name": "./node_modules/@dojo/framework/widget-core/animations/cssTransitions.mjs", - "index": 33, - "index2": 27, - "size": 2288, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "16:27-34" + }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "module": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "type": "harmony import", - "userRequest": "../animations/cssTransitions", - "loc": "3:0-58" - } - ], - "usedExports": [ - "default" - ], - "providedExports": [ - "default" - ], - "optimizationBailout": [], - "depth": 4, - "source": "let browserSpecificTransitionEndEventName = '';\nlet browserSpecificAnimationEndEventName = '';\nfunction determineBrowserStyleNames(element) {\n if ('WebkitTransition' in element.style) {\n browserSpecificTransitionEndEventName = 'webkitTransitionEnd';\n browserSpecificAnimationEndEventName = 'webkitAnimationEnd';\n }\n else if ('transition' in element.style || 'MozTransition' in element.style) {\n browserSpecificTransitionEndEventName = 'transitionend';\n browserSpecificAnimationEndEventName = 'animationend';\n }\n else {\n throw new Error('Your browser is not supported');\n }\n}\nfunction initialize(element) {\n if (browserSpecificAnimationEndEventName === '') {\n determineBrowserStyleNames(element);\n }\n}\nfunction runAndCleanUp(element, startAnimation, finishAnimation) {\n initialize(element);\n let finished = false;\n let transitionEnd = function () {\n if (!finished) {\n finished = true;\n element.removeEventListener(browserSpecificTransitionEndEventName, transitionEnd);\n element.removeEventListener(browserSpecificAnimationEndEventName, transitionEnd);\n finishAnimation();\n }\n };\n startAnimation();\n element.addEventListener(browserSpecificAnimationEndEventName, transitionEnd);\n element.addEventListener(browserSpecificTransitionEndEventName, transitionEnd);\n}\nfunction exit(node, properties, exitAnimation, removeNode) {\n const activeClass = properties.exitAnimationActive || `${exitAnimation}-active`;\n runAndCleanUp(node, () => {\n node.classList.add(exitAnimation);\n requestAnimationFrame(function () {\n node.classList.add(activeClass);\n });\n }, () => {\n removeNode();\n });\n}\nfunction enter(node, properties, enterAnimation) {\n const activeClass = properties.enterAnimationActive || `${enterAnimation}-active`;\n runAndCleanUp(node, () => {\n node.classList.add(enterAnimation);\n requestAnimationFrame(function () {\n node.classList.add(activeClass);\n });\n }, () => {\n node.classList.remove(enterAnimation);\n node.classList.remove(activeClass);\n });\n}\nexport default {\n enter,\n exit\n};\n//# sourceMappingURL=cssTransitions.mjs.map" - }, - { - "id": "./node_modules/@dojo/framework/widget-core/d.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/d.mjs", - "name": "./node_modules/@dojo/framework/widget-core/d.mjs", - "index": 4, - "index2": 8, - "size": 3267, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "17:12-22" + }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "type": "harmony import", + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", "userRequest": "./d", - "loc": "5:0-29" + "loc": "17:34-44" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "type": "harmony import", + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "30:13-20" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "30:32-39" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "314:14-19" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "324:14-19" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "335:14-19" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "353:16-23" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "379:8-15" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "392:8-15" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "434:8-15" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "445:24-31" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "473:12-19" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "474:32-39" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "499:24-31" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "537:16-23" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "564:16-23" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "588:12-19" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "632:8-15" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "726:8-15" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony side effect evaluation", "userRequest": "./d", "loc": "4:0-24" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "module": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "type": "harmony import", + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "198:15-16" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony side effect evaluation", + "userRequest": "./d", + "loc": "5:0-29" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony side effect evaluation", "userRequest": "./../d", "loc": "5:0-27" }, { - "moduleId": "./src/menu/Menu.ts", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--3-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--3-1!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--3-2!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/src/menu/Menu.ts", - "module": "./src/menu/Menu.ts", - "moduleName": "./src/menu/Menu.ts", - "type": "harmony import", + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "26:19-22" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "104:40-43" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "./../d", + "loc": "111:23-24" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "112:27-28" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "./d", + "loc": "160:27-28" + }, + { + "moduleId": 32, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu/Menu.ts 47795eafebb02535b67ce03321dbb770", + "module": "./src/menu/Menu.ts + 2 modules", + "moduleName": "./src/menu/Menu.ts + 2 modules", + "type": "harmony side effect evaluation", "userRequest": "@dojo/framework/widget-core/d", "loc": "2:0-50" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/vdom.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", - "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", - "type": "harmony import", - "userRequest": "./d", - "loc": "3:0-65" + "moduleId": 32, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu/Menu.ts 47795eafebb02535b67ce03321dbb770", + "module": "./src/menu/Menu.ts + 2 modules", + "moduleName": "./src/menu/Menu.ts + 2 modules", + "type": "harmony import specifier", + "userRequest": "@dojo/framework/widget-core/d", + "loc": "28:15-16" + }, + { + "moduleId": 32, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu/Menu.ts 47795eafebb02535b67ce03321dbb770", + "module": "./src/menu/Menu.ts + 2 modules", + "moduleName": "./src/menu/Menu.ts + 2 modules", + "type": "harmony import specifier", + "userRequest": "@dojo/framework/widget-core/d", + "loc": "29:12-13" } ], "usedExports": [ @@ -1678,331 +2202,863 @@ "source": "import Symbol from '../shim/Symbol';\n/**\n * The symbol identifier for a WNode type\n */\nexport const WNODE = Symbol('Identifier for a WNode.');\n/**\n * The symbol identifier for a VNode type\n */\nexport const VNODE = Symbol('Identifier for a VNode.');\n/**\n * The symbol identifier for a VNode type created using dom()\n */\nexport const DOMVNODE = Symbol('Identifier for a VNode created using existing dom.');\n/**\n * Helper function that returns true if the `DNode` is a `WNode` using the `type` property\n */\nexport function isWNode(child) {\n return Boolean(child && typeof child !== 'string' && child.type === WNODE);\n}\n/**\n * Helper function that returns true if the `DNode` is a `VNode` using the `type` property\n */\nexport function isVNode(child) {\n return Boolean(child && typeof child !== 'string' && (child.type === VNODE || child.type === DOMVNODE));\n}\n/**\n * Helper function that returns true if the `DNode` is a `VNode` created with `dom()` using the `type` property\n */\nexport function isDomVNode(child) {\n return Boolean(child && typeof child !== 'string' && child.type === DOMVNODE);\n}\nexport function isElementNode(value) {\n return !!value.tagName;\n}\nexport function decorate(dNodes, optionsOrModifier, predicate) {\n let shallow = false;\n let modifier;\n if (typeof optionsOrModifier === 'function') {\n modifier = optionsOrModifier;\n }\n else {\n modifier = optionsOrModifier.modifier;\n predicate = optionsOrModifier.predicate;\n shallow = optionsOrModifier.shallow || false;\n }\n let nodes = Array.isArray(dNodes) ? [...dNodes] : [dNodes];\n function breaker() {\n nodes = [];\n }\n while (nodes.length) {\n const node = nodes.shift();\n if (node) {\n if (!shallow && (isWNode(node) || isVNode(node)) && node.children) {\n nodes = [...nodes, ...node.children];\n }\n if (!predicate || predicate(node)) {\n modifier(node, breaker);\n }\n }\n }\n return dNodes;\n}\n/**\n * Wrapper function for calls to create a widget.\n */\nexport function w(widgetConstructor, properties, children = []) {\n return {\n children,\n widgetConstructor,\n properties,\n type: WNODE\n };\n}\nexport function v(tag, propertiesOrChildren = {}, children = undefined) {\n let properties = propertiesOrChildren;\n let deferredPropertiesCallback;\n if (Array.isArray(propertiesOrChildren)) {\n children = propertiesOrChildren;\n properties = {};\n }\n if (typeof properties === 'function') {\n deferredPropertiesCallback = properties;\n properties = {};\n }\n return {\n tag,\n deferredPropertiesCallback,\n children,\n properties,\n type: VNODE\n };\n}\n/**\n * Create a VNode for an existing DOM Node.\n */\nexport function dom({ node, attrs = {}, props = {}, on = {}, diffType = 'none' }, children) {\n return {\n tag: isElementNode(node) ? node.tagName.toLowerCase() : '',\n properties: props,\n attributes: attrs,\n events: on,\n children,\n type: DOMVNODE,\n domNode: node,\n text: isElementNode(node) ? undefined : node.data,\n diffType\n };\n}\n//# sourceMappingURL=d.mjs.map" }, { - "id": "./node_modules/@dojo/framework/widget-core/decorators/afterRender.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/afterRender.mjs", - "name": "./node_modules/@dojo/framework/widget-core/decorators/afterRender.mjs", - "index": 34, - "index2": 29, - "size": 311, + "id": 4, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "name": "./node_modules/@dojo/framework/shim/support/has.mjs", + "index": 6, + "index2": 5, + "size": 6446, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ - "menu" + 0 + ], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/shim/array.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", + "name": "./node_modules/@dojo/framework/shim/array.mjs" + } ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", "failed": false, "errors": 0, "warnings": 0, + "assets": [], "reasons": [ { - "moduleId": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "module": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "type": "harmony import", - "userRequest": "./../decorators/afterRender", - "loc": "4:0-58" - } + "moduleId": 5, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", + "module": "./node_modules/@dojo/framework/shim/Map.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Map.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./support/has", + "loc": "4:0-32" + }, + { + "moduleId": 5, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", + "module": "./node_modules/@dojo/framework/shim/Map.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Map.mjs", + "type": "harmony import specifier", + "userRequest": "./support/has", + "loc": "7:5-8" + }, + { + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./support/has", + "loc": "1:0-32" + }, + { + "moduleId": 6, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "module": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "type": "harmony import specifier", + "userRequest": "./support/has", + "loc": "5:5-8" + }, + { + "moduleId": 9, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/WeakMap.mjs", + "module": "./node_modules/@dojo/framework/shim/WeakMap.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/WeakMap.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./support/has", + "loc": "3:0-32" + }, + { + "moduleId": 9, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/WeakMap.mjs", + "module": "./node_modules/@dojo/framework/shim/WeakMap.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/WeakMap.mjs", + "type": "harmony import specifier", + "userRequest": "./support/has", + "loc": "6:5-8" + }, + { + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony side effect evaluation", + "userRequest": "./support/has", + "loc": "2:0-32" + }, + { + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./support/has", + "loc": "106:4-7" + }, + { + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./support/has", + "loc": "106:25-28" + }, + { + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./support/has", + "loc": "252:4-7" + }, + { + "moduleId": 15, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/object.mjs", + "module": "./node_modules/@dojo/framework/shim/object.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/object.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./support/has", + "loc": "2:0-32" + }, + { + "moduleId": 15, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/object.mjs", + "module": "./node_modules/@dojo/framework/shim/object.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/object.mjs", + "type": "harmony import specifier", + "userRequest": "./support/has", + "loc": "39:4-7" + }, + { + "moduleId": 15, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/object.mjs", + "module": "./node_modules/@dojo/framework/shim/object.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/object.mjs", + "type": "harmony import specifier", + "userRequest": "./support/has", + "loc": "91:4-7" + }, + { + "moduleId": 16, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Promise.mjs", + "module": "./node_modules/@dojo/framework/shim/Promise.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Promise.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./support/has", + "loc": "4:0-32" + }, + { + "moduleId": 16, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Promise.mjs", + "module": "./node_modules/@dojo/framework/shim/Promise.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Promise.mjs", + "type": "harmony import specifier", + "userRequest": "./support/has", + "loc": "9:5-8" + }, + { + "moduleId": 22, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony side effect evaluation", + "userRequest": "./support/has", + "loc": "4:0-32" + }, + { + "moduleId": 22, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./support/has", + "loc": "64:4-7" + }, + { + "moduleId": 22, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./support/has", + "loc": "64:24-27" + }, + { + "moduleId": 22, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./support/has", + "loc": "215:4-7" + }, + { + "moduleId": 25, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "module": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./has", + "loc": "2:0-24" + }, + { + "moduleId": 25, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "module": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "type": "harmony import specifier", + "userRequest": "./has", + "loc": "32:8-11" + }, + { + "moduleId": 25, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "module": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "type": "harmony import specifier", + "userRequest": "./has", + "loc": "48:13-16" + }, + { + "moduleId": 25, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "module": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "type": "harmony import specifier", + "userRequest": "./has", + "loc": "72:11-14" + }, + { + "moduleId": 25, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "module": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "type": "harmony import specifier", + "userRequest": "./has", + "loc": "81:5-8" + }, + { + "moduleId": 25, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "module": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "type": "harmony import specifier", + "userRequest": "./has", + "loc": "109:9-12" + }, + { + "moduleId": 25, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "module": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "type": "harmony import specifier", + "userRequest": "./has", + "loc": "123:11-14" + }, + { + "moduleId": 25, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "module": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "type": "harmony import specifier", + "userRequest": "./has", + "loc": "142:8-11" + }, + { + "moduleId": 25, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "module": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "type": "harmony import specifier", + "userRequest": "./has", + "loc": "147:13-16" + }, + { + "moduleId": 25, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "module": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "type": "harmony import specifier", + "userRequest": "./has", + "loc": "152:13-16" + } ], "usedExports": [ - "afterRender" + "default" ], "providedExports": [ - "afterRender", - "default" + "default", + "testCache", + "testFunctions", + "load", + "normalize", + "exists", + "add" ], "optimizationBailout": [], "depth": 4, - "source": "import { handleDecorator } from './handleDecorator';\nexport function afterRender(method) {\n return handleDecorator((target, propertyKey) => {\n target.addDecorator('afterRender', propertyKey ? target[propertyKey] : method);\n });\n}\nexport default afterRender;\n//# sourceMappingURL=afterRender.mjs.map" + "source": "import has, { add } from '../../has/has';\nimport global from '../global';\nexport default has;\nexport * from '../../has/has';\n/* ECMAScript 6 and 7 Features */\n/* Array */\nadd('es6-array', () => {\n return (['from', 'of'].every((key) => key in global.Array) &&\n ['findIndex', 'find', 'copyWithin'].every((key) => key in global.Array.prototype));\n}, true);\nadd('es6-array-fill', () => {\n if ('fill' in global.Array.prototype) {\n /* Some versions of Safari do not properly implement this */\n return [1].fill(9, Number.POSITIVE_INFINITY)[0] === 1;\n }\n return false;\n}, true);\nadd('es7-array', () => 'includes' in global.Array.prototype, true);\n/* Map */\nadd('es6-map', () => {\n if (typeof global.Map === 'function') {\n /*\n IE11 and older versions of Safari are missing critical ES6 Map functionality\n We wrap this in a try/catch because sometimes the Map constructor exists, but does not\n take arguments (iOS 8.4)\n */\n try {\n const map = new global.Map([[0, 1]]);\n return (map.has(0) &&\n typeof map.keys === 'function' &&\n has('es6-symbol') &&\n typeof map.values === 'function' &&\n typeof map.entries === 'function');\n }\n catch (e) {\n /* istanbul ignore next: not testing on iOS at the moment */\n return false;\n }\n }\n return false;\n}, true);\n/* Math */\nadd('es6-math', () => {\n return [\n 'clz32',\n 'sign',\n 'log10',\n 'log2',\n 'log1p',\n 'expm1',\n 'cosh',\n 'sinh',\n 'tanh',\n 'acosh',\n 'asinh',\n 'atanh',\n 'trunc',\n 'fround',\n 'cbrt',\n 'hypot'\n ].every((name) => typeof global.Math[name] === 'function');\n}, true);\nadd('es6-math-imul', () => {\n if ('imul' in global.Math) {\n /* Some versions of Safari on ios do not properly implement this */\n return Math.imul(0xffffffff, 5) === -5;\n }\n return false;\n}, true);\n/* Object */\nadd('es6-object', () => {\n return (has('es6-symbol') &&\n ['assign', 'is', 'getOwnPropertySymbols', 'setPrototypeOf'].every((name) => typeof global.Object[name] === 'function'));\n}, true);\nadd('es2017-object', () => {\n return ['values', 'entries', 'getOwnPropertyDescriptors'].every((name) => typeof global.Object[name] === 'function');\n}, true);\n/* Observable */\nadd('es-observable', () => typeof global.Observable !== 'undefined', true);\n/* Promise */\nadd('es6-promise', () => typeof global.Promise !== 'undefined' && has('es6-symbol'), true);\n/* Set */\nadd('es6-set', () => {\n if (typeof global.Set === 'function') {\n /* IE11 and older versions of Safari are missing critical ES6 Set functionality */\n const set = new global.Set([1]);\n return set.has(1) && 'keys' in set && typeof set.keys === 'function' && has('es6-symbol');\n }\n return false;\n}, true);\n/* String */\nadd('es6-string', () => {\n return ([\n /* static methods */\n 'fromCodePoint'\n ].every((key) => typeof global.String[key] === 'function') &&\n [\n /* instance methods */\n 'codePointAt',\n 'normalize',\n 'repeat',\n 'startsWith',\n 'endsWith',\n 'includes'\n ].every((key) => typeof global.String.prototype[key] === 'function'));\n}, true);\nadd('es6-string-raw', () => {\n function getCallSite(callSite, ...substitutions) {\n const result = [...callSite];\n result.raw = callSite.raw;\n return result;\n }\n if ('raw' in global.String) {\n let b = 1;\n let callSite = getCallSite `a\\n${b}`;\n callSite.raw = ['a\\\\n'];\n const supportsTrunc = global.String.raw(callSite, 42) === 'a:\\\\n';\n return supportsTrunc;\n }\n return false;\n}, true);\nadd('es2017-string', () => {\n return ['padStart', 'padEnd'].every((key) => typeof global.String.prototype[key] === 'function');\n}, true);\n/* Symbol */\nadd('es6-symbol', () => typeof global.Symbol !== 'undefined' && typeof Symbol() === 'symbol', true);\n/* WeakMap */\nadd('es6-weakmap', () => {\n if (typeof global.WeakMap !== 'undefined') {\n /* IE11 and older versions of Safari are missing critical ES6 Map functionality */\n const key1 = {};\n const key2 = {};\n const map = new global.WeakMap([[key1, 1]]);\n Object.freeze(key1);\n return map.get(key1) === 1 && map.set(key2, 2) === map && has('es6-symbol');\n }\n return false;\n}, true);\n/* Miscellaneous features */\nadd('microtasks', () => has('es6-promise') || has('host-node') || has('dom-mutationobserver'), true);\nadd('postmessage', () => {\n // If window is undefined, and we have postMessage, it probably means we're in a web worker. Web workers have\n // post message but it doesn't work how we expect it to, so it's best just to pretend it doesn't exist.\n return typeof global.window !== 'undefined' && typeof global.postMessage === 'function';\n}, true);\nadd('raf', () => typeof global.requestAnimationFrame === 'function', true);\nadd('setimmediate', () => typeof global.setImmediate !== 'undefined', true);\n/* DOM Features */\nadd('dom-mutationobserver', () => {\n if (has('host-browser') && Boolean(global.MutationObserver || global.WebKitMutationObserver)) {\n // IE11 has an unreliable MutationObserver implementation where setProperty() does not\n // generate a mutation event, observers can crash, and the queue does not drain\n // reliably. The following feature test was adapted from\n // https://gist.github.com/t10ko/4aceb8c71681fdb275e33efe5e576b14\n const example = document.createElement('div');\n /* tslint:disable-next-line:variable-name */\n const HostMutationObserver = global.MutationObserver || global.WebKitMutationObserver;\n const observer = new HostMutationObserver(function () { });\n observer.observe(example, { attributes: true });\n example.style.setProperty('display', 'block');\n return Boolean(observer.takeRecords().length);\n }\n return false;\n}, true);\nadd('dom-webanimation', () => has('host-browser') && global.Animation !== undefined && global.KeyframeEffect !== undefined, true);\nadd('abort-controller', () => typeof global.AbortController !== 'undefined');\nadd('abort-signal', () => typeof global.AbortSignal !== 'undefined');\n//# sourceMappingURL=has.mjs.map" }, { - "id": "./node_modules/@dojo/framework/widget-core/decorators/alwaysRender.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/alwaysRender.mjs", - "name": "./node_modules/@dojo/framework/widget-core/decorators/alwaysRender.mjs", - "index": 41, - "index2": 36, - "size": 365, + "id": 5, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", + "name": "./node_modules/@dojo/framework/shim/Map.mjs", + "index": 16, + "index2": 13, + "size": 3341, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ - "menu" + 0 + ], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "name": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs" + } ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", "failed": false, "errors": 0, "warnings": 0, + "assets": [], "reasons": [ { - "moduleId": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "type": "harmony import", - "userRequest": "./decorators/alwaysRender", - "loc": "8:0-57" + "moduleId": 8, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", + "module": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "type": "harmony side effect evaluation", + "userRequest": "../shim/Map", + "loc": "2:0-30" + }, + { + "moduleId": 8, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", + "module": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "type": "harmony import specifier", + "userRequest": "../shim/Map", + "loc": "40:39-42" + }, + { + "moduleId": 8, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", + "module": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "type": "harmony import specifier", + "userRequest": "../shim/Map", + "loc": "61:41-44" + }, + { + "moduleId": 11, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/core/Evented.mjs 5a735fda53696584e4cc34e239a550e6", + "module": "./node_modules/@dojo/framework/core/Evented.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/core/Evented.mjs + 1 modules", + "type": "harmony side effect evaluation", + "userRequest": "../shim/Map", + "loc": "1:0-30" + }, + { + "moduleId": 11, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/core/Evented.mjs 5a735fda53696584e4cc34e239a550e6", + "module": "./node_modules/@dojo/framework/core/Evented.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/core/Evented.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "../shim/Map", + "loc": "6:21-24" + }, + { + "moduleId": 11, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/core/Evented.mjs 5a735fda53696584e4cc34e239a550e6", + "module": "./node_modules/@dojo/framework/core/Evented.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/core/Evented.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "../shim/Map", + "loc": "37:32-35" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony side effect evaluation", + "userRequest": "../shim/Map", + "loc": "1:0-34" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony side effect evaluation", + "userRequest": "../shim/Map", + "loc": "1:0-30" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony side effect evaluation", + "userRequest": "../shim/Map", + "loc": "2:0-30" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony import specifier", + "userRequest": "../shim/Map", + "loc": "8:43-46" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony import specifier", + "userRequest": "../shim/Map", + "loc": "9:45-48" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony import specifier", + "userRequest": "../shim/Map", + "loc": "10:25-28" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony import specifier", + "userRequest": "../shim/Map", + "loc": "16:28-31" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony import specifier", + "userRequest": "../shim/Map", + "loc": "32:35-38" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony import specifier", + "userRequest": "../shim/Map", + "loc": "57:32-35" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony import specifier", + "userRequest": "../shim/Map", + "loc": "211:36-39" } ], "usedExports": [ - "alwaysRender" + "Map", + "default" ], "providedExports": [ - "alwaysRender", + "Map", "default" ], "optimizationBailout": [], - "depth": 3, - "source": "import { handleDecorator } from './handleDecorator';\nimport { beforeProperties } from './beforeProperties';\nexport function alwaysRender() {\n return handleDecorator((target, propertyKey) => {\n beforeProperties(function () {\n this.invalidate();\n })(target);\n });\n}\nexport default alwaysRender;\n//# sourceMappingURL=alwaysRender.mjs.map" + "depth": 4, + "source": "import { isArrayLike, ShimIterator } from './iterator';\nimport global from './global';\nimport { is as objectIs } from './object';\nimport has from './support/has';\nimport './Symbol';\nexport let Map = global.Map;\nif (!has('es6-map')) {\n Map = (_a = class Map {\n constructor(iterable) {\n this._keys = [];\n this._values = [];\n this[Symbol.toStringTag] = 'Map';\n if (iterable) {\n if (isArrayLike(iterable)) {\n for (let i = 0; i < iterable.length; i++) {\n const value = iterable[i];\n this.set(value[0], value[1]);\n }\n }\n else {\n for (const value of iterable) {\n this.set(value[0], value[1]);\n }\n }\n }\n }\n /**\n * An alternative to Array.prototype.indexOf using Object.is\n * to check for equality. See http://mzl.la/1zuKO2V\n */\n _indexOfKey(keys, key) {\n for (let i = 0, length = keys.length; i < length; i++) {\n if (objectIs(keys[i], key)) {\n return i;\n }\n }\n return -1;\n }\n get size() {\n return this._keys.length;\n }\n clear() {\n this._keys.length = this._values.length = 0;\n }\n delete(key) {\n const index = this._indexOfKey(this._keys, key);\n if (index < 0) {\n return false;\n }\n this._keys.splice(index, 1);\n this._values.splice(index, 1);\n return true;\n }\n entries() {\n const values = this._keys.map((key, i) => {\n return [key, this._values[i]];\n });\n return new ShimIterator(values);\n }\n forEach(callback, context) {\n const keys = this._keys;\n const values = this._values;\n for (let i = 0, length = keys.length; i < length; i++) {\n callback.call(context, values[i], keys[i], this);\n }\n }\n get(key) {\n const index = this._indexOfKey(this._keys, key);\n return index < 0 ? undefined : this._values[index];\n }\n has(key) {\n return this._indexOfKey(this._keys, key) > -1;\n }\n keys() {\n return new ShimIterator(this._keys);\n }\n set(key, value) {\n let index = this._indexOfKey(this._keys, key);\n index = index < 0 ? this._keys.length : index;\n this._keys[index] = key;\n this._values[index] = value;\n return this;\n }\n values() {\n return new ShimIterator(this._values);\n }\n [Symbol.iterator]() {\n return this.entries();\n }\n },\n _a[Symbol.species] = _a,\n _a);\n}\nexport default Map;\nvar _a;\n//# sourceMappingURL=Map.mjs.map" }, { - "id": "./node_modules/@dojo/framework/widget-core/decorators/beforeProperties.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/beforeProperties.mjs", - "name": "./node_modules/@dojo/framework/widget-core/decorators/beforeProperties.mjs", - "index": 39, - "index2": 32, - "size": 331, + "id": 6, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Symbol.mjs", + "name": "./node_modules/@dojo/framework/shim/Symbol.mjs", + "index": 5, + "index2": 7, + "size": 5942, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ - "menu" + 0 ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/alwaysRender.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/decorators/alwaysRender.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/decorators/alwaysRender.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/d.mjs", + "issuerId": 3, + "issuerName": "./node_modules/@dojo/framework/widget-core/d.mjs", + "issuerPath": [ { - "moduleId": "./node_modules/@dojo/framework/widget-core/decorators/alwaysRender.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/alwaysRender.mjs", - "module": "./node_modules/@dojo/framework/widget-core/decorators/alwaysRender.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/decorators/alwaysRender.mjs", - "type": "harmony import", - "userRequest": "./beforeProperties", - "loc": "2:0-54" + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/decorators/inject.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/inject.mjs", - "module": "./node_modules/@dojo/framework/widget-core/decorators/inject.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/decorators/inject.mjs", - "type": "harmony import", - "userRequest": "./beforeProperties", - "loc": "3:0-54" - } - ], - "usedExports": [ - "beforeProperties" - ], - "providedExports": [ - "beforeProperties", - "default" - ], - "optimizationBailout": [], - "depth": 4, - "source": "import { handleDecorator } from './handleDecorator';\nexport function beforeProperties(method) {\n return handleDecorator((target, propertyKey) => {\n target.addDecorator('beforeProperties', propertyKey ? target[propertyKey] : method);\n });\n}\nexport default beforeProperties;\n//# sourceMappingURL=beforeProperties.mjs.map" - }, - { - "id": "./node_modules/@dojo/framework/widget-core/decorators/customElement.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/customElement.mjs", - "name": "./node_modules/@dojo/framework/widget-core/decorators/customElement.mjs", - "index": 12, - "index2": 38, - "size": 728, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--3-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--3-1!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--3-2!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/src/menu/Menu.ts", - "issuerId": "./src/menu/Menu.ts", - "issuerName": "./src/menu/Menu.ts", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, { - "moduleId": "./src/menu/Menu.ts", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--3-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--3-1!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--3-2!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/src/menu/Menu.ts", - "module": "./src/menu/Menu.ts", - "moduleName": "./src/menu/Menu.ts", - "type": "harmony import", - "userRequest": "@dojo/framework/widget-core/decorators/customElement", - "loc": "3:0-85" + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": 3, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/d.mjs", + "name": "./node_modules/@dojo/framework/widget-core/d.mjs" } ], - "usedExports": [ - "customElement" - ], - "providedExports": [ - "customElement", - "default" - ], - "optimizationBailout": [], - "depth": 3, - "source": "import { CustomElementChildType } from '../registerCustomElement';\nimport Registry from '../Registry';\n/**\n * This Decorator is provided properties that define the behavior of a custom element, and\n * registers that custom element.\n */\nexport function customElement({ tag, properties = [], attributes = [], events = [], childType = CustomElementChildType.DOJO, registryFactory = () => new Registry() }) {\n return function (target) {\n target.prototype.__customElementDescriptor = {\n tagName: tag,\n attributes,\n properties,\n events,\n childType,\n registryFactory\n };\n };\n}\nexport default customElement;\n//# sourceMappingURL=customElement.mjs.map" - }, - { - "id": 0, - "identifier": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", - "name": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js", - "index": 0, - "index2": 42, - "size": 28, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu" - ], - "assets": [], - "issuer": null, - "issuerId": null, - "issuerName": null, "failed": false, "errors": 0, "warnings": 0, - "reasons": [], - "usedExports": true, - "providedExports": null, - "optimizationBailout": [], - "depth": 0 - }, - { - "id": "./node_modules/@dojo/framework/widget-core/decorators/diffProperty.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/diffProperty.mjs", - "name": "./node_modules/@dojo/framework/widget-core/decorators/diffProperty.mjs", - "index": 40, - "index2": 34, - "size": 1014, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu" - ], "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "failed": false, - "errors": 0, - "warnings": 0, "reasons": [ { - "moduleId": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "type": "harmony import", - "userRequest": "./../decorators/diffProperty", - "loc": "5:0-60" + "moduleId": 3, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/d.mjs", + "module": "./node_modules/@dojo/framework/widget-core/d.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/d.mjs", + "type": "harmony side effect evaluation", + "userRequest": "../shim/Symbol", + "loc": "1:0-36" + }, + { + "moduleId": 3, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/d.mjs", + "module": "./node_modules/@dojo/framework/widget-core/d.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/d.mjs", + "type": "harmony import specifier", + "userRequest": "../shim/Symbol", + "loc": "5:21-27" + }, + { + "moduleId": 3, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/d.mjs", + "module": "./node_modules/@dojo/framework/widget-core/d.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/d.mjs", + "type": "harmony import specifier", + "userRequest": "../shim/Symbol", + "loc": "9:21-27" + }, + { + "moduleId": 3, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/d.mjs", + "module": "./node_modules/@dojo/framework/widget-core/d.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/d.mjs", + "type": "harmony import specifier", + "userRequest": "../shim/Symbol", + "loc": "13:24-30" + }, + { + "moduleId": 5, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", + "module": "./node_modules/@dojo/framework/shim/Map.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Map.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./Symbol", + "loc": "5:0-18" + }, + { + "moduleId": 8, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", + "module": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "type": "harmony side effect evaluation", + "userRequest": "../shim/Symbol", + "loc": "3:0-36" + }, + { + "moduleId": 8, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", + "module": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "type": "harmony import specifier", + "userRequest": "../shim/Symbol", + "loc": "8:32-38" + }, + { + "moduleId": 9, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/WeakMap.mjs", + "module": "./node_modules/@dojo/framework/shim/WeakMap.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/WeakMap.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./Symbol", + "loc": "4:0-18" + }, + { + "moduleId": 10, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "type": "harmony side effect evaluation", + "userRequest": "./Symbol", + "loc": "1:0-18" + }, + { + "moduleId": 15, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/object.mjs", + "module": "./node_modules/@dojo/framework/shim/object.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/object.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./Symbol", + "loc": "3:0-36" + }, + { + "moduleId": 15, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/object.mjs", + "module": "./node_modules/@dojo/framework/shim/object.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/object.mjs", + "type": "harmony import specifier", + "userRequest": "./Symbol", + "loc": "69:12-20" + }, + { + "moduleId": 16, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Promise.mjs", + "module": "./node_modules/@dojo/framework/shim/Promise.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Promise.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./Symbol", + "loc": "3:0-18" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony side effect evaluation", + "userRequest": "../shim/Symbol", + "loc": "3:0-36" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony import specifier", + "userRequest": "../shim/Symbol", + "loc": "12:22-28" } ], "usedExports": [ - "diffProperty" + "default", + "isSymbol" ], "providedExports": [ - "diffProperty", + "Symbol", + "isSymbol", "default" ], "optimizationBailout": [], "depth": 4, - "source": "import { handleDecorator } from './handleDecorator';\nimport { auto } from './../diff';\n/**\n * Decorator that can be used to register a function as a specific property diff\n *\n * @param propertyName The name of the property of which the diff function is applied\n * @param diffType The diff type, default is DiffType.AUTO.\n * @param diffFunction A diff function to run if diffType if DiffType.CUSTOM\n */\nexport function diffProperty(propertyName, diffFunction = auto, reactionFunction) {\n return handleDecorator((target, propertyKey) => {\n target.addDecorator(`diffProperty:${propertyName}`, diffFunction.bind(null));\n target.addDecorator('registeredDiffProperty', propertyName);\n if (reactionFunction || propertyKey) {\n target.addDecorator('diffReaction', {\n propertyName,\n reaction: propertyKey ? target[propertyKey] : reactionFunction\n });\n }\n });\n}\nexport default diffProperty;\n//# sourceMappingURL=diffProperty.mjs.map" + "source": "import has from './support/has';\nimport global from './global';\nimport { getValueDescriptor } from './support/util';\nexport let Symbol = global.Symbol;\nif (!has('es6-symbol')) {\n /**\n * Throws if the value is not a symbol, used internally within the Shim\n * @param {any} value The value to check\n * @return {symbol} Returns the symbol or throws\n */\n const validateSymbol = function validateSymbol(value) {\n if (!isSymbol(value)) {\n throw new TypeError(value + ' is not a symbol');\n }\n return value;\n };\n const defineProperties = Object.defineProperties;\n const defineProperty = Object.defineProperty;\n const create = Object.create;\n const objPrototype = Object.prototype;\n const globalSymbols = {};\n const getSymbolName = (function () {\n const created = create(null);\n return function (desc) {\n let postfix = 0;\n let name;\n while (created[String(desc) + (postfix || '')]) {\n ++postfix;\n }\n desc += String(postfix || '');\n created[desc] = true;\n name = '@@' + desc;\n // FIXME: Temporary guard until the duplicate execution when testing can be\n // pinned down.\n if (!Object.getOwnPropertyDescriptor(objPrototype, name)) {\n defineProperty(objPrototype, name, {\n set: function (value) {\n defineProperty(this, name, getValueDescriptor(value));\n }\n });\n }\n return name;\n };\n })();\n const InternalSymbol = function Symbol(description) {\n if (this instanceof InternalSymbol) {\n throw new TypeError('TypeError: Symbol is not a constructor');\n }\n return Symbol(description);\n };\n Symbol = global.Symbol = function Symbol(description) {\n if (this instanceof Symbol) {\n throw new TypeError('TypeError: Symbol is not a constructor');\n }\n const sym = Object.create(InternalSymbol.prototype);\n description = description === undefined ? '' : String(description);\n return defineProperties(sym, {\n __description__: getValueDescriptor(description),\n __name__: getValueDescriptor(getSymbolName(description))\n });\n };\n /* Decorate the Symbol function with the appropriate properties */\n defineProperty(Symbol, 'for', getValueDescriptor(function (key) {\n if (globalSymbols[key]) {\n return globalSymbols[key];\n }\n return (globalSymbols[key] = Symbol(String(key)));\n }));\n defineProperties(Symbol, {\n keyFor: getValueDescriptor(function (sym) {\n let key;\n validateSymbol(sym);\n for (key in globalSymbols) {\n if (globalSymbols[key] === sym) {\n return key;\n }\n }\n }),\n hasInstance: getValueDescriptor(Symbol.for('hasInstance'), false, false),\n isConcatSpreadable: getValueDescriptor(Symbol.for('isConcatSpreadable'), false, false),\n iterator: getValueDescriptor(Symbol.for('iterator'), false, false),\n match: getValueDescriptor(Symbol.for('match'), false, false),\n observable: getValueDescriptor(Symbol.for('observable'), false, false),\n replace: getValueDescriptor(Symbol.for('replace'), false, false),\n search: getValueDescriptor(Symbol.for('search'), false, false),\n species: getValueDescriptor(Symbol.for('species'), false, false),\n split: getValueDescriptor(Symbol.for('split'), false, false),\n toPrimitive: getValueDescriptor(Symbol.for('toPrimitive'), false, false),\n toStringTag: getValueDescriptor(Symbol.for('toStringTag'), false, false),\n unscopables: getValueDescriptor(Symbol.for('unscopables'), false, false)\n });\n /* Decorate the InternalSymbol object */\n defineProperties(InternalSymbol.prototype, {\n constructor: getValueDescriptor(Symbol),\n toString: getValueDescriptor(function () {\n return this.__name__;\n }, false, false)\n });\n /* Decorate the Symbol.prototype */\n defineProperties(Symbol.prototype, {\n toString: getValueDescriptor(function () {\n return 'Symbol (' + validateSymbol(this).__description__ + ')';\n }),\n valueOf: getValueDescriptor(function () {\n return validateSymbol(this);\n })\n });\n defineProperty(Symbol.prototype, Symbol.toPrimitive, getValueDescriptor(function () {\n return validateSymbol(this);\n }));\n defineProperty(Symbol.prototype, Symbol.toStringTag, getValueDescriptor('Symbol', false, false, true));\n defineProperty(InternalSymbol.prototype, Symbol.toPrimitive, getValueDescriptor(Symbol.prototype[Symbol.toPrimitive], false, false, true));\n defineProperty(InternalSymbol.prototype, Symbol.toStringTag, getValueDescriptor(Symbol.prototype[Symbol.toStringTag], false, false, true));\n}\n/**\n * A custom guard function that determines if an object is a symbol or not\n * @param {any} value The value to check to see if it is a symbol or not\n * @return {is symbol} Returns true if a symbol or not (and narrows the type guard)\n */\nexport function isSymbol(value) {\n return (value && (typeof value === 'symbol' || value['@@toStringTag'] === 'Symbol')) || false;\n}\n/**\n * Fill any missing well known symbols if the native Symbol is missing them\n */\n[\n 'hasInstance',\n 'isConcatSpreadable',\n 'iterator',\n 'species',\n 'replace',\n 'search',\n 'split',\n 'match',\n 'toPrimitive',\n 'toStringTag',\n 'unscopables',\n 'observable'\n].forEach((wellKnown) => {\n if (!Symbol[wellKnown]) {\n Object.defineProperty(Symbol, wellKnown, getValueDescriptor(Symbol.for(wellKnown), false, false));\n }\n});\nexport default Symbol;\n//# sourceMappingURL=Symbol.mjs.map" }, { - "id": "./node_modules/@dojo/framework/widget-core/decorators/handleDecorator.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/handleDecorator.mjs", + "id": 7, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/handleDecorator.mjs", "name": "./node_modules/@dojo/framework/widget-core/decorators/handleDecorator.mjs", - "index": 35, - "index2": 28, + "index": 38, + "index2": 31, "size": 512, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ - "menu" + 0 ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "issuerId": null, "issuerName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "name": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs" + } + ], "failed": false, "errors": 0, "warnings": 0, + "assets": [], "reasons": [ { - "moduleId": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "type": "harmony import", + "moduleId": 19, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs 7cf860e45721ea2eddfdcf432935cea3", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "type": "harmony side effect evaluation", + "userRequest": "./handleDecorator", + "loc": "1:0-52" + }, + { + "moduleId": 19, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs 7cf860e45721ea2eddfdcf432935cea3", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "type": "harmony side effect evaluation", + "userRequest": "./handleDecorator", + "loc": "2:0-52" + }, + { + "moduleId": 19, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs 7cf860e45721ea2eddfdcf432935cea3", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "type": "harmony side effect evaluation", "userRequest": "./../decorators/handleDecorator", "loc": "4:0-66" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/decorators/alwaysRender.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/alwaysRender.mjs", - "module": "./node_modules/@dojo/framework/widget-core/decorators/alwaysRender.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/decorators/alwaysRender.mjs", - "type": "harmony import", + "moduleId": 19, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs 7cf860e45721ea2eddfdcf432935cea3", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "type": "harmony import specifier", "userRequest": "./handleDecorator", - "loc": "1:0-52" + "loc": "11:11-26" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/decorators/afterRender.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/afterRender.mjs", - "module": "./node_modules/@dojo/framework/widget-core/decorators/afterRender.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/decorators/afterRender.mjs", - "type": "harmony import", - "userRequest": "./handleDecorator", - "loc": "1:0-52" + "moduleId": 19, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs 7cf860e45721ea2eddfdcf432935cea3", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "type": "harmony import specifier", + "userRequest": "./../decorators/handleDecorator", + "loc": "13:11-26" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/decorators/inject.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/inject.mjs", - "module": "./node_modules/@dojo/framework/widget-core/decorators/inject.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/decorators/inject.mjs", - "type": "harmony import", + "moduleId": 19, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs 7cf860e45721ea2eddfdcf432935cea3", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "type": "harmony import specifier", "userRequest": "./handleDecorator", - "loc": "2:0-52" + "loc": "16:11-26" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/decorators/diffProperty.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/diffProperty.mjs", - "module": "./node_modules/@dojo/framework/widget-core/decorators/diffProperty.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/decorators/diffProperty.mjs", - "type": "harmony import", + "moduleId": 21, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/beforeProperties.mjs", + "module": "./node_modules/@dojo/framework/widget-core/decorators/beforeProperties.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/decorators/beforeProperties.mjs", + "type": "harmony side effect evaluation", "userRequest": "./handleDecorator", "loc": "1:0-52" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/decorators/beforeProperties.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/beforeProperties.mjs", + "moduleId": 21, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/beforeProperties.mjs", "module": "./node_modules/@dojo/framework/widget-core/decorators/beforeProperties.mjs", "moduleName": "./node_modules/@dojo/framework/widget-core/decorators/beforeProperties.mjs", - "type": "harmony import", + "type": "harmony import specifier", + "userRequest": "./handleDecorator", + "loc": "3:11-26" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony side effect evaluation", + "userRequest": "./handleDecorator", + "loc": "1:0-52" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony side effect evaluation", "userRequest": "./handleDecorator", "loc": "1:0-52" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "./handleDecorator", + "loc": "3:11-26" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "./handleDecorator", + "loc": "4:11-26" } ], "usedExports": [ @@ -2017,307 +3073,1194 @@ "source": "/**\n * Generic decorator handler to take care of whether or not the decorator was called at the class level\n * or the method level.\n *\n * @param handler\n */\nexport function handleDecorator(handler) {\n return function (target, propertyKey, descriptor) {\n if (typeof target === 'function') {\n handler(target.prototype, undefined);\n }\n else {\n handler(target, propertyKey);\n }\n };\n}\nexport default handleDecorator;\n//# sourceMappingURL=handleDecorator.mjs.map" }, { - "id": "./node_modules/@dojo/framework/widget-core/decorators/inject.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/inject.mjs", - "name": "./node_modules/@dojo/framework/widget-core/decorators/inject.mjs", - "index": 38, - "index2": 33, - "size": 1532, + "id": 8, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", + "name": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "index": 22, + "index2": 22, + "size": 3690, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ - "menu" + 0 + ], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "name": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs" + } ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", "failed": false, "errors": 0, "warnings": 0, + "assets": [], "reasons": [ { - "moduleId": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "type": "harmony import", - "userRequest": "./../decorators/inject", - "loc": "3:0-48" - } - ], - "usedExports": [ - "inject" - ], - "providedExports": [ - "inject", - "default" - ], - "optimizationBailout": [], - "depth": 4, - "source": "import WeakMap from '../../shim/WeakMap';\nimport { handleDecorator } from './handleDecorator';\nimport { beforeProperties } from './beforeProperties';\n/**\n * Map of instances against registered injectors.\n */\nconst registeredInjectorsMap = new WeakMap();\n/**\n * Decorator retrieves an injector from an available registry using the name and\n * calls the `getProperties` function with the payload from the injector\n * and current properties with the the injected properties returned.\n *\n * @param InjectConfig the inject configuration\n */\nexport function inject({ name, getProperties }) {\n return handleDecorator((target, propertyKey) => {\n beforeProperties(function (properties) {\n const injectorItem = this.registry.getInjector(name);\n if (injectorItem) {\n const { injector, invalidator } = injectorItem;\n const registeredInjectors = registeredInjectorsMap.get(this) || [];\n if (registeredInjectors.length === 0) {\n registeredInjectorsMap.set(this, registeredInjectors);\n }\n if (registeredInjectors.indexOf(injectorItem) === -1) {\n this.own(invalidator.on('invalidate', () => {\n this.invalidate();\n }));\n registeredInjectors.push(injectorItem);\n }\n return getProperties(injector(), properties);\n }\n })(target);\n });\n}\nexport default inject;\n//# sourceMappingURL=inject.mjs.map" - }, - { - "id": "./node_modules/@dojo/framework/widget-core/diff.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/diff.mjs", - "name": "./node_modules/@dojo/framework/widget-core/diff.mjs", - "index": 20, - "index2": 20, - "size": 1930, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./Registry", + "loc": "4:0-53" + }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "type": "harmony import", - "userRequest": "./diff", - "loc": "5:0-30" + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "./Registry", + "loc": "635:13-36" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "type": "harmony import", - "userRequest": "./../diff", - "loc": "6:0-36" + "moduleId": 14, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/diff.mjs", + "module": "./node_modules/@dojo/framework/widget-core/diff.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/diff.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./Registry", + "loc": "1:0-46" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/decorators/diffProperty.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/diffProperty.mjs", - "module": "./node_modules/@dojo/framework/widget-core/decorators/diffProperty.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/decorators/diffProperty.mjs", - "type": "harmony import", - "userRequest": "./../diff", - "loc": "2:0-33" + "moduleId": 14, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/diff.mjs", + "module": "./node_modules/@dojo/framework/widget-core/diff.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/diff.mjs", + "type": "harmony import specifier", + "userRequest": "./Registry", + "loc": "51:34-50" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony side effect evaluation", + "userRequest": "./Registry", + "loc": "3:0-38" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony import specifier", + "userRequest": "./Registry", + "loc": "7:29-37" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony side effect evaluation", + "userRequest": "./Registry", + "loc": "9:0-71" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony import specifier", + "userRequest": "./Registry", + "loc": "269:67-90" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony import specifier", + "userRequest": "./Registry", + "loc": "357:19-35" + }, + { + "moduleId": 32, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu/Menu.ts 47795eafebb02535b67ce03321dbb770", + "module": "./src/menu/Menu.ts + 2 modules", + "moduleName": "./src/menu/Menu.ts + 2 modules", + "type": "harmony side effect evaluation", + "userRequest": "../Registry", + "loc": "2:0-35" + }, + { + "moduleId": 32, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu/Menu.ts 47795eafebb02535b67ce03321dbb770", + "module": "./src/menu/Menu.ts + 2 modules", + "moduleName": "./src/menu/Menu.ts + 2 modules", + "type": "harmony import specifier", + "userRequest": "../Registry", + "loc": "7:153-161" } ], "usedExports": [ - "auto", - "shallow" + "Registry", + "WIDGET_BASE_TYPE", + "default", + "isWidgetBaseConstructor" ], "providedExports": [ - "always", - "ignore", - "reference", - "shallow", - "auto" + "WIDGET_BASE_TYPE", + "isWidgetBaseConstructor", + "isWidgetConstructorDefaultExport", + "Registry", + "default" ], "optimizationBailout": [], "depth": 4, - "source": "import { WIDGET_BASE_TYPE } from './Registry';\nfunction isObjectOrArray(value) {\n return Object.prototype.toString.call(value) === '[object Object]' || Array.isArray(value);\n}\nexport function always(previousProperty, newProperty) {\n return {\n changed: true,\n value: newProperty\n };\n}\nexport function ignore(previousProperty, newProperty) {\n return {\n changed: false,\n value: newProperty\n };\n}\nexport function reference(previousProperty, newProperty) {\n return {\n changed: previousProperty !== newProperty,\n value: newProperty\n };\n}\nexport function shallow(previousProperty, newProperty) {\n let changed = false;\n const validOldProperty = previousProperty && isObjectOrArray(previousProperty);\n const validNewProperty = newProperty && isObjectOrArray(newProperty);\n if (!validOldProperty || !validNewProperty) {\n return {\n changed: true,\n value: newProperty\n };\n }\n const previousKeys = Object.keys(previousProperty);\n const newKeys = Object.keys(newProperty);\n if (previousKeys.length !== newKeys.length) {\n changed = true;\n }\n else {\n changed = newKeys.some((key) => {\n return newProperty[key] !== previousProperty[key];\n });\n }\n return {\n changed,\n value: newProperty\n };\n}\nexport function auto(previousProperty, newProperty) {\n let result;\n if (typeof newProperty === 'function') {\n if (newProperty._type === WIDGET_BASE_TYPE) {\n result = reference(previousProperty, newProperty);\n }\n else {\n result = ignore(previousProperty, newProperty);\n }\n }\n else if (isObjectOrArray(newProperty)) {\n result = shallow(previousProperty, newProperty);\n }\n else {\n result = reference(previousProperty, newProperty);\n }\n return result;\n}\n//# sourceMappingURL=diff.mjs.map" + "source": "import Promise from '../shim/Promise';\nimport Map from '../shim/Map';\nimport Symbol from '../shim/Symbol';\nimport { Evented } from '../core/Evented';\n/**\n * Widget base symbol type\n */\nexport const WIDGET_BASE_TYPE = Symbol('Widget Base');\n/**\n * Checks is the item is a subclass of WidgetBase (or a WidgetBase)\n *\n * @param item the item to check\n * @returns true/false indicating if the item is a WidgetBaseConstructor\n */\nexport function isWidgetBaseConstructor(item) {\n return Boolean(item && item._type === WIDGET_BASE_TYPE);\n}\nexport function isWidgetConstructorDefaultExport(item) {\n return Boolean(item &&\n item.hasOwnProperty('__esModule') &&\n item.hasOwnProperty('default') &&\n isWidgetBaseConstructor(item.default));\n}\n/**\n * The Registry implementation\n */\nexport class Registry extends Evented {\n /**\n * Emit loaded event for registry label\n */\n emitLoadedEvent(widgetLabel, item) {\n this.emit({\n type: widgetLabel,\n action: 'loaded',\n item\n });\n }\n define(label, item) {\n if (this._widgetRegistry === undefined) {\n this._widgetRegistry = new Map();\n }\n if (this._widgetRegistry.has(label)) {\n throw new Error(`widget has already been registered for '${label.toString()}'`);\n }\n this._widgetRegistry.set(label, item);\n if (item instanceof Promise) {\n item.then((widgetCtor) => {\n this._widgetRegistry.set(label, widgetCtor);\n this.emitLoadedEvent(label, widgetCtor);\n return widgetCtor;\n }, (error) => {\n throw error;\n });\n }\n else if (isWidgetBaseConstructor(item)) {\n this.emitLoadedEvent(label, item);\n }\n }\n defineInjector(label, injectorFactory) {\n if (this._injectorRegistry === undefined) {\n this._injectorRegistry = new Map();\n }\n if (this._injectorRegistry.has(label)) {\n throw new Error(`injector has already been registered for '${label.toString()}'`);\n }\n const invalidator = new Evented();\n const injectorItem = {\n injector: injectorFactory(() => invalidator.emit({ type: 'invalidate' })),\n invalidator\n };\n this._injectorRegistry.set(label, injectorItem);\n this.emitLoadedEvent(label, injectorItem);\n }\n get(label) {\n if (!this._widgetRegistry || !this.has(label)) {\n return null;\n }\n const item = this._widgetRegistry.get(label);\n if (isWidgetBaseConstructor(item)) {\n return item;\n }\n if (item instanceof Promise) {\n return null;\n }\n const promise = item();\n this._widgetRegistry.set(label, promise);\n promise.then((widgetCtor) => {\n if (isWidgetConstructorDefaultExport(widgetCtor)) {\n widgetCtor = widgetCtor.default;\n }\n this._widgetRegistry.set(label, widgetCtor);\n this.emitLoadedEvent(label, widgetCtor);\n return widgetCtor;\n }, (error) => {\n throw error;\n });\n return null;\n }\n getInjector(label) {\n if (!this._injectorRegistry || !this.hasInjector(label)) {\n return null;\n }\n return this._injectorRegistry.get(label);\n }\n has(label) {\n return Boolean(this._widgetRegistry && this._widgetRegistry.has(label));\n }\n hasInjector(label) {\n return Boolean(this._injectorRegistry && this._injectorRegistry.has(label));\n }\n}\nexport default Registry;\n//# sourceMappingURL=Registry.mjs.map" }, { - "id": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "name": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "index": 32, - "index2": 30, - "size": 5683, + "id": 9, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/WeakMap.mjs", + "name": "./node_modules/@dojo/framework/shim/WeakMap.mjs", + "index": 20, + "index2": 14, + "size": 3762, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ - "menu" + 0 + ], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "name": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs" + } ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", "failed": false, "errors": 0, "warnings": 0, + "assets": [], "reasons": [ { - "moduleId": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "type": "harmony import", - "userRequest": "./mixins/Projector", - "loc": "3:0-52" + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony side effect evaluation", + "userRequest": "../shim/WeakMap", + "loc": "5:0-38" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "../shim/WeakMap", + "loc": "11:37-44" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "../shim/WeakMap", + "loc": "12:24-31" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "../shim/WeakMap", + "loc": "13:27-34" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "../shim/WeakMap", + "loc": "14:30-37" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "../shim/WeakMap", + "loc": "71:64-71" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "../shim/WeakMap", + "loc": "899:25-32" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony side effect evaluation", + "userRequest": "../shim/WeakMap", + "loc": "2:0-38" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony import specifier", + "userRequest": "../shim/WeakMap", + "loc": "271:52-59" + }, + { + "moduleId": 19, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs 7cf860e45721ea2eddfdcf432935cea3", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "type": "harmony side effect evaluation", + "userRequest": "../../shim/WeakMap", + "loc": "1:0-41" + }, + { + "moduleId": 19, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs 7cf860e45721ea2eddfdcf432935cea3", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "type": "harmony import specifier", + "userRequest": "../../shim/WeakMap", + "loc": "7:35-42" } ], "usedExports": [ - "ProjectorMixin" + "default" ], "providedExports": [ - "ProjectorAttachState", - "AttachType", - "ProjectorMixin", + "WeakMap", "default" ], "optimizationBailout": [], - "depth": 3, - "source": "import * as tslib_1 from \"tslib\";\nimport { assign } from '../../core/lang';\nimport cssTransitions from '../animations/cssTransitions';\nimport { afterRender } from './../decorators/afterRender';\nimport { v } from './../d';\nimport { dom } from './../vdom';\n/**\n * Represents the attach state of the projector\n */\nexport var ProjectorAttachState;\n(function (ProjectorAttachState) {\n ProjectorAttachState[ProjectorAttachState[\"Attached\"] = 1] = \"Attached\";\n ProjectorAttachState[ProjectorAttachState[\"Detached\"] = 2] = \"Detached\";\n})(ProjectorAttachState || (ProjectorAttachState = {}));\n/**\n * Attach type for the projector\n */\nexport var AttachType;\n(function (AttachType) {\n AttachType[AttachType[\"Append\"] = 1] = \"Append\";\n AttachType[AttachType[\"Merge\"] = 2] = \"Merge\";\n})(AttachType || (AttachType = {}));\nexport function ProjectorMixin(Base) {\n class Projector extends Base {\n constructor(...args) {\n super(...args);\n this._root = document.body;\n this._async = true;\n this._projectorProperties = {};\n this._projectionOptions = {\n transitions: cssTransitions\n };\n this.root = document.body;\n this.projectorState = ProjectorAttachState.Detached;\n }\n append(root) {\n const options = {\n type: AttachType.Append,\n root\n };\n return this._attach(options);\n }\n merge(root) {\n const options = {\n type: AttachType.Merge,\n root\n };\n return this._attach(options);\n }\n set root(root) {\n if (this.projectorState === ProjectorAttachState.Attached) {\n throw new Error('Projector already attached, cannot change root element');\n }\n this._root = root;\n }\n get root() {\n return this._root;\n }\n get async() {\n return this._async;\n }\n set async(async) {\n if (this.projectorState === ProjectorAttachState.Attached) {\n throw new Error('Projector already attached, cannot change async mode');\n }\n this._async = async;\n }\n sandbox(doc = document) {\n if (this.projectorState === ProjectorAttachState.Attached) {\n throw new Error('Projector already attached, cannot create sandbox');\n }\n this._async = false;\n const previousRoot = this.root;\n /* free up the document fragment for GC */\n this.own({\n destroy: () => {\n this._root = previousRoot;\n }\n });\n this._attach({\n /* DocumentFragment is not assignable to Element, but provides everything needed to work */\n root: doc.createDocumentFragment(),\n type: AttachType.Append\n });\n }\n setChildren(children) {\n this.__setChildren__(children);\n }\n setProperties(properties) {\n this.__setProperties__(properties);\n }\n __setProperties__(properties) {\n if (this._projectorProperties && this._projectorProperties.registry !== properties.registry) {\n if (this._projectorProperties.registry) {\n this._projectorProperties.registry.destroy();\n }\n }\n this._projectorProperties = assign({}, properties);\n super.__setCoreProperties__({ bind: this, baseRegistry: properties.registry });\n super.__setProperties__(properties);\n }\n toHtml() {\n if (this.projectorState !== ProjectorAttachState.Attached || !this._projection) {\n throw new Error('Projector is not attached, cannot return an HTML string of projection.');\n }\n return this._projection.domNode.childNodes[0].outerHTML;\n }\n afterRender(result) {\n let node = result;\n if (typeof result === 'string' || result === null || result === undefined) {\n node = v('span', {}, [result]);\n }\n return node;\n }\n destroy() {\n super.destroy();\n }\n _attach({ type, root }) {\n if (root) {\n this.root = root;\n }\n if (this._attachHandle) {\n return this._attachHandle;\n }\n this.projectorState = ProjectorAttachState.Attached;\n const handle = {\n destroy: () => {\n if (this.projectorState === ProjectorAttachState.Attached) {\n this._projection = undefined;\n this.projectorState = ProjectorAttachState.Detached;\n }\n }\n };\n this.own(handle);\n this._attachHandle = handle;\n this._projectionOptions = Object.assign({}, this._projectionOptions, { sync: !this._async });\n switch (type) {\n case AttachType.Append:\n this._projection = dom.append(this.root, this, this._projectionOptions);\n break;\n case AttachType.Merge:\n this._projection = dom.merge(this.root, this, this._projectionOptions);\n break;\n }\n return this._attachHandle;\n }\n }\n tslib_1.__decorate([\n afterRender()\n ], Projector.prototype, \"afterRender\", null);\n return Projector;\n}\nexport default ProjectorMixin;\n//# sourceMappingURL=Projector.mjs.map" + "depth": 4, + "source": "import global from './global';\nimport { isArrayLike } from './iterator';\nimport has from './support/has';\nimport './Symbol';\nexport let WeakMap = global.WeakMap;\nif (!has('es6-weakmap')) {\n const DELETED = {};\n const getUID = function getUID() {\n return Math.floor(Math.random() * 100000000);\n };\n const generateName = (function () {\n let startId = Math.floor(Date.now() % 100000000);\n return function generateName() {\n return '__wm' + getUID() + (startId++ + '__');\n };\n })();\n WeakMap = class WeakMap {\n constructor(iterable) {\n this[Symbol.toStringTag] = 'WeakMap';\n this._name = generateName();\n this._frozenEntries = [];\n if (iterable) {\n if (isArrayLike(iterable)) {\n for (let i = 0; i < iterable.length; i++) {\n const item = iterable[i];\n this.set(item[0], item[1]);\n }\n }\n else {\n for (const [key, value] of iterable) {\n this.set(key, value);\n }\n }\n }\n }\n _getFrozenEntryIndex(key) {\n for (let i = 0; i < this._frozenEntries.length; i++) {\n if (this._frozenEntries[i].key === key) {\n return i;\n }\n }\n return -1;\n }\n delete(key) {\n if (key === undefined || key === null) {\n return false;\n }\n const entry = key[this._name];\n if (entry && entry.key === key && entry.value !== DELETED) {\n entry.value = DELETED;\n return true;\n }\n const frozenIndex = this._getFrozenEntryIndex(key);\n if (frozenIndex >= 0) {\n this._frozenEntries.splice(frozenIndex, 1);\n return true;\n }\n return false;\n }\n get(key) {\n if (key === undefined || key === null) {\n return undefined;\n }\n const entry = key[this._name];\n if (entry && entry.key === key && entry.value !== DELETED) {\n return entry.value;\n }\n const frozenIndex = this._getFrozenEntryIndex(key);\n if (frozenIndex >= 0) {\n return this._frozenEntries[frozenIndex].value;\n }\n }\n has(key) {\n if (key === undefined || key === null) {\n return false;\n }\n const entry = key[this._name];\n if (Boolean(entry && entry.key === key && entry.value !== DELETED)) {\n return true;\n }\n const frozenIndex = this._getFrozenEntryIndex(key);\n if (frozenIndex >= 0) {\n return true;\n }\n return false;\n }\n set(key, value) {\n if (!key || (typeof key !== 'object' && typeof key !== 'function')) {\n throw new TypeError('Invalid value used as weak map key');\n }\n let entry = key[this._name];\n if (!entry || entry.key !== key) {\n entry = Object.create(null, {\n key: { value: key }\n });\n if (Object.isFrozen(key)) {\n this._frozenEntries.push(entry);\n }\n else {\n Object.defineProperty(key, this._name, {\n value: entry\n });\n }\n }\n entry.value = value;\n return this;\n }\n };\n}\nexport default WeakMap;\n//# sourceMappingURL=WeakMap.mjs.map" }, { - "id": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "name": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "index": 36, - "index2": 35, - "size": 5157, + "id": 10, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs d3466ab36fa14cc201a3e91ed81786e9", + "name": "./node_modules/@dojo/framework/shim/iterator.mjs + 1 modules", + "index": 17, + "index2": 11, + "size": 15644, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ - "menu" + 0 ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "issuer": null, + "issuerId": null, + "issuerName": null, + "issuerPath": null, "failed": false, "errors": 0, "warnings": 0, + "assets": [], "reasons": [ { - "moduleId": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "type": "harmony import", - "userRequest": "./mixins/Themed", - "loc": "7:0-56" + "moduleId": 5, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", + "module": "./node_modules/@dojo/framework/shim/Map.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Map.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./iterator", + "loc": "1:0-55" }, { - "moduleId": "./src/menu/Menu.ts", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--3-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--3-1!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--3-2!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/src/menu/Menu.ts", - "module": "./src/menu/Menu.ts", - "moduleName": "./src/menu/Menu.ts", - "type": "harmony import", - "userRequest": "@dojo/framework/widget-core/mixins/Themed", - "loc": "4:0-79" + "moduleId": 5, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", + "module": "./node_modules/@dojo/framework/shim/Map.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Map.mjs", + "type": "harmony import specifier", + "userRequest": "./iterator", + "loc": "14:24-35" + }, + { + "moduleId": 5, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", + "module": "./node_modules/@dojo/framework/shim/Map.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Map.mjs", + "type": "harmony import specifier", + "userRequest": "./iterator", + "loc": "58:27-39" + }, + { + "moduleId": 5, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", + "module": "./node_modules/@dojo/framework/shim/Map.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Map.mjs", + "type": "harmony import specifier", + "userRequest": "./iterator", + "loc": "75:27-39" + }, + { + "moduleId": 5, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", + "module": "./node_modules/@dojo/framework/shim/Map.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Map.mjs", + "type": "harmony import specifier", + "userRequest": "./iterator", + "loc": "85:27-39" + }, + { + "moduleId": 9, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/WeakMap.mjs", + "module": "./node_modules/@dojo/framework/shim/WeakMap.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/WeakMap.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./iterator", + "loc": "2:0-41" + }, + { + "moduleId": 9, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/WeakMap.mjs", + "module": "./node_modules/@dojo/framework/shim/WeakMap.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/WeakMap.mjs", + "type": "harmony import specifier", + "userRequest": "./iterator", + "loc": "23:20-31" + }, + { + "moduleId": 22, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony side effect evaluation", + "userRequest": "./iterator", + "loc": "2:0-53" + }, + { + "moduleId": 22, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./iterator", + "loc": "130:13-24" + }, + { + "moduleId": 22, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./iterator", + "loc": "130:40-50" + }, + { + "moduleId": 22, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./iterator", + "loc": "135:12-23" } ], "usedExports": [ - "ThemedMixin", - "registerThemeInjector", - "theme" + "ShimIterator", + "isArrayLike", + "isIterable" ], "providedExports": [ - "INJECTED_THEME_KEY", - "theme", - "registerThemeInjector", - "ThemedMixin", - "default" + "ShimIterator", + "isIterable", + "isArrayLike", + "get", + "forOf" ], - "optimizationBailout": [], - "depth": 3, - "source": "import * as tslib_1 from \"tslib\";\nimport { Injector } from './../Injector';\nimport { inject } from './../decorators/inject';\nimport { handleDecorator } from './../decorators/handleDecorator';\nimport { diffProperty } from './../decorators/diffProperty';\nimport { shallow } from './../diff';\nconst THEME_KEY = ' _key';\nexport const INJECTED_THEME_KEY = Symbol('theme');\n/**\n * Decorator for base css classes\n */\nexport function theme(theme) {\n return handleDecorator((target) => {\n target.addDecorator('baseThemeClasses', theme);\n });\n}\n/**\n * Creates a reverse lookup for the classes passed in via the `theme` function.\n *\n * @param classes The baseClasses object\n * @requires\n */\nfunction createThemeClassesLookup(classes) {\n return classes.reduce((currentClassNames, baseClass) => {\n Object.keys(baseClass).forEach((key) => {\n currentClassNames[baseClass[key]] = key;\n });\n return currentClassNames;\n }, {});\n}\n/**\n * Convenience function that is given a theme and an optional registry, the theme\n * injector is defined against the registry, returning the theme.\n *\n * @param theme the theme to set\n * @param themeRegistry registry to define the theme injector against. Defaults\n * to the global registry\n *\n * @returns the theme injector used to set the theme\n */\nexport function registerThemeInjector(theme, themeRegistry) {\n const themeInjector = new Injector(theme);\n themeRegistry.defineInjector(INJECTED_THEME_KEY, (invalidator) => {\n themeInjector.setInvalidator(invalidator);\n return () => themeInjector.get();\n });\n return themeInjector;\n}\n/**\n * Function that returns a class decorated with with Themed functionality\n */\nexport function ThemedMixin(Base) {\n let Themed = class Themed extends Base {\n constructor() {\n super(...arguments);\n /**\n * Registered base theme keys\n */\n this._registeredBaseThemeKeys = [];\n /**\n * Indicates if classes meta data need to be calculated.\n */\n this._recalculateClasses = true;\n /**\n * Loaded theme\n */\n this._theme = {};\n }\n theme(classes) {\n if (this._recalculateClasses) {\n this._recalculateThemeClasses();\n }\n if (Array.isArray(classes)) {\n return classes.map((className) => this._getThemeClass(className));\n }\n return this._getThemeClass(classes);\n }\n /**\n * Function fired when `theme` or `extraClasses` are changed.\n */\n onPropertiesChanged() {\n this._recalculateClasses = true;\n }\n _getThemeClass(className) {\n if (className === undefined || className === null) {\n return className;\n }\n const extraClasses = this.properties.extraClasses || {};\n const themeClassName = this._baseThemeClassesReverseLookup[className];\n let resultClassNames = [];\n if (!themeClassName) {\n console.warn(`Class name: '${className}' not found in theme`);\n return null;\n }\n if (extraClasses[themeClassName]) {\n resultClassNames.push(extraClasses[themeClassName]);\n }\n if (this._theme[themeClassName]) {\n resultClassNames.push(this._theme[themeClassName]);\n }\n else {\n resultClassNames.push(this._registeredBaseTheme[themeClassName]);\n }\n return resultClassNames.join(' ');\n }\n _recalculateThemeClasses() {\n const { theme = {} } = this.properties;\n const baseThemes = this.getDecorator('baseThemeClasses');\n if (!this._registeredBaseTheme) {\n this._registeredBaseTheme = baseThemes.reduce((finalBaseTheme, baseTheme) => {\n const _a = THEME_KEY, key = baseTheme[_a], classes = tslib_1.__rest(baseTheme, [typeof _a === \"symbol\" ? _a : _a + \"\"]);\n this._registeredBaseThemeKeys.push(key);\n return Object.assign({}, finalBaseTheme, classes);\n }, {});\n this._baseThemeClassesReverseLookup = createThemeClassesLookup(baseThemes);\n }\n this._theme = this._registeredBaseThemeKeys.reduce((baseTheme, themeKey) => {\n return Object.assign({}, baseTheme, theme[themeKey]);\n }, {});\n this._recalculateClasses = false;\n }\n };\n tslib_1.__decorate([\n diffProperty('theme', shallow),\n diffProperty('extraClasses', shallow)\n ], Themed.prototype, \"onPropertiesChanged\", null);\n Themed = tslib_1.__decorate([\n inject({\n name: INJECTED_THEME_KEY,\n getProperties: (theme, properties) => {\n if (!properties.theme) {\n return { theme };\n }\n return {};\n }\n })\n ], Themed);\n return Themed;\n}\nexport default ThemedMixin;\n//# sourceMappingURL=Themed.mjs.map" - }, - { - "id": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "index": 13, - "index2": 37, - "size": 9118, - "cacheable": true, - "built": true, + "optimizationBailout": [ + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/shim/Symbol.mjs because of ./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/shim/global.mjs (<- Module uses injected variables (global))", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/shim/support/has.mjs because of ./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/shim/support/util.mjs because of ./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + ], + "depth": 4, + "modules": [ + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs", + "name": "./node_modules/@dojo/framework/shim/iterator.mjs", + "index": 17, + "index2": 11, + "size": 3158, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/shim/array.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", + "name": "./node_modules/@dojo/framework/shim/array.mjs" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": 5, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", + "module": "./node_modules/@dojo/framework/shim/Map.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Map.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./iterator", + "loc": "1:0-55" + }, + { + "moduleId": 5, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", + "module": "./node_modules/@dojo/framework/shim/Map.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Map.mjs", + "type": "harmony import specifier", + "userRequest": "./iterator", + "loc": "14:24-35" + }, + { + "moduleId": 5, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", + "module": "./node_modules/@dojo/framework/shim/Map.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Map.mjs", + "type": "harmony import specifier", + "userRequest": "./iterator", + "loc": "58:27-39" + }, + { + "moduleId": 5, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", + "module": "./node_modules/@dojo/framework/shim/Map.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Map.mjs", + "type": "harmony import specifier", + "userRequest": "./iterator", + "loc": "75:27-39" + }, + { + "moduleId": 5, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", + "module": "./node_modules/@dojo/framework/shim/Map.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Map.mjs", + "type": "harmony import specifier", + "userRequest": "./iterator", + "loc": "85:27-39" + }, + { + "moduleId": 9, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/WeakMap.mjs", + "module": "./node_modules/@dojo/framework/shim/WeakMap.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/WeakMap.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./iterator", + "loc": "2:0-41" + }, + { + "moduleId": 9, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/WeakMap.mjs", + "module": "./node_modules/@dojo/framework/shim/WeakMap.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/WeakMap.mjs", + "type": "harmony import specifier", + "userRequest": "./iterator", + "loc": "23:20-31" + }, + { + "moduleId": 22, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony side effect evaluation", + "userRequest": "./iterator", + "loc": "2:0-53" + }, + { + "moduleId": 22, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./iterator", + "loc": "130:13-24" + }, + { + "moduleId": 22, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./iterator", + "loc": "130:40-50" + }, + { + "moduleId": 22, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "module": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./iterator", + "loc": "135:12-23" + } + ], + "usedExports": [ + "ShimIterator", + "isArrayLike", + "isIterable" + ], + "providedExports": [ + "ShimIterator", + "isIterable", + "isArrayLike", + "get", + "forOf" + ], + "optimizationBailout": [], + "depth": 4, + "source": "import './Symbol';\nimport { HIGH_SURROGATE_MAX, HIGH_SURROGATE_MIN } from './string';\nconst staticDone = { done: true, value: undefined };\n/**\n * A class that _shims_ an iterator interface on array like objects.\n */\nexport class ShimIterator {\n constructor(list) {\n this._nextIndex = -1;\n if (isIterable(list)) {\n this._nativeIterator = list[Symbol.iterator]();\n }\n else {\n this._list = list;\n }\n }\n /**\n * Return the next iteration result for the Iterator\n */\n next() {\n if (this._nativeIterator) {\n return this._nativeIterator.next();\n }\n if (!this._list) {\n return staticDone;\n }\n if (++this._nextIndex < this._list.length) {\n return {\n done: false,\n value: this._list[this._nextIndex]\n };\n }\n return staticDone;\n }\n [Symbol.iterator]() {\n return this;\n }\n}\n/**\n * A type guard for checking if something has an Iterable interface\n *\n * @param value The value to type guard against\n */\nexport function isIterable(value) {\n return value && typeof value[Symbol.iterator] === 'function';\n}\n/**\n * A type guard for checking if something is ArrayLike\n *\n * @param value The value to type guard against\n */\nexport function isArrayLike(value) {\n return value && typeof value.length === 'number';\n}\n/**\n * Returns the iterator for an object\n *\n * @param iterable The iterable object to return the iterator for\n */\nexport function get(iterable) {\n if (isIterable(iterable)) {\n return iterable[Symbol.iterator]();\n }\n else if (isArrayLike(iterable)) {\n return new ShimIterator(iterable);\n }\n}\n/**\n * Shims the functionality of `for ... of` blocks\n *\n * @param iterable The object the provides an interator interface\n * @param callback The callback which will be called for each item of the iterable\n * @param thisArg Optional scope to pass the callback\n */\nexport function forOf(iterable, callback, thisArg) {\n let broken = false;\n function doBreak() {\n broken = true;\n }\n /* We need to handle iteration of double byte strings properly */\n if (isArrayLike(iterable) && typeof iterable === 'string') {\n const l = iterable.length;\n for (let i = 0; i < l; ++i) {\n let char = iterable[i];\n if (i + 1 < l) {\n const code = char.charCodeAt(0);\n if (code >= HIGH_SURROGATE_MIN && code <= HIGH_SURROGATE_MAX) {\n char += iterable[++i];\n }\n }\n callback.call(thisArg, char, iterable, doBreak);\n if (broken) {\n return;\n }\n }\n }\n else {\n const iterator = get(iterable);\n if (iterator) {\n let result = iterator.next();\n while (!result.done) {\n callback.call(thisArg, result.value, iterable, doBreak);\n if (broken) {\n return;\n }\n result = iterator.next();\n }\n }\n }\n}\n//# sourceMappingURL=iterator.mjs.map" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/string.mjs", + "name": "./node_modules/@dojo/framework/shim/string.mjs", + "index": 18, + "index2": 10, + "size": 12466, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/shim/iterator.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", + "name": "./node_modules/@dojo/framework/shim/array.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs", + "name": "./node_modules/@dojo/framework/shim/iterator.mjs" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./string", + "loc": "2:0-66" + }, + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs", + "type": "harmony import specifier", + "userRequest": "./string", + "loc": "87:28-46" + }, + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/iterator.mjs", + "module": "./node_modules/@dojo/framework/shim/iterator.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/iterator.mjs", + "type": "harmony import specifier", + "userRequest": "./string", + "loc": "87:58-76" + } + ], + "usedExports": [ + "HIGH_SURROGATE_MIN", + "HIGH_SURROGATE_MAX" + ], + "providedExports": [ + "HIGH_SURROGATE_MIN", + "HIGH_SURROGATE_MAX", + "LOW_SURROGATE_MIN", + "LOW_SURROGATE_MAX", + "fromCodePoint", + "raw", + "codePointAt", + "endsWith", + "includes", + "normalize", + "repeat", + "startsWith", + "padEnd", + "padStart" + ], + "optimizationBailout": [], + "depth": 5, + "source": "import global from './global';\nimport has from './support/has';\nimport { wrapNative } from './support/util';\n/**\n * The minimum location of high surrogates\n */\nexport const HIGH_SURROGATE_MIN = 0xd800;\n/**\n * The maximum location of high surrogates\n */\nexport const HIGH_SURROGATE_MAX = 0xdbff;\n/**\n * The minimum location of low surrogates\n */\nexport const LOW_SURROGATE_MIN = 0xdc00;\n/**\n * The maximum location of low surrogates\n */\nexport const LOW_SURROGATE_MAX = 0xdfff;\n/* ES6 static methods */\n/**\n * Return the String value whose elements are, in order, the elements in the List elements.\n * If length is 0, the empty string is returned.\n * @param codePoints The code points to generate the string\n */\nexport let fromCodePoint;\n/**\n * `raw` is intended for use as a tag function of a Tagged Template String. When called\n * as such the first argument will be a well formed template call site object and the rest\n * parameter will contain the substitution values.\n * @param template A well-formed template string call site representation.\n * @param substitutions A set of substitution values.\n */\nexport let raw;\n/* ES6 instance methods */\n/**\n * Returns a nonnegative integer Number less than 1114112 (0x110000) that is the code point\n * value of the UTF-16 encoded code point starting at the string element at position pos in\n * the String resulting from converting this object to a String.\n * If there is no element at that position, the result is undefined.\n * If a valid UTF-16 surrogate pair does not begin at pos, the result is the code unit at pos.\n */\nexport let codePointAt;\n/**\n * Returns true if the sequence of elements of searchString converted to a String is the\n * same as the corresponding elements of this object (converted to a String) starting at\n * endPosition – length(this). Otherwise returns false.\n */\nexport let endsWith;\n/**\n * Returns true if searchString appears as a substring of the result of converting this\n * object to a String, at one or more positions that are\n * greater than or equal to position; otherwise, returns false.\n * @param target The target string\n * @param searchString search string\n * @param position If position is undefined, 0 is assumed, so as to search all of the String.\n */\nexport let includes;\n/**\n * Returns the String value result of normalizing the string into the normalization form\n * named by form as specified in Unicode Standard Annex #15, Unicode Normalization Forms.\n * @param target The target string\n * @param form Applicable values: \"NFC\", \"NFD\", \"NFKC\", or \"NFKD\", If not specified default\n * is \"NFC\"\n */\nexport let normalize;\n/**\n * Returns a String value that is made from count copies appended together. If count is 0,\n * T is the empty String is returned.\n * @param count number of copies to append\n */\nexport let repeat;\n/**\n * Returns true if the sequence of elements of searchString converted to a String is the\n * same as the corresponding elements of this object (converted to a String) starting at\n * position. Otherwise returns false.\n */\nexport let startsWith;\n/* ES7 instance methods */\n/**\n * Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length.\n * The padding is applied from the end (right) of the current string.\n *\n * @param target The target string\n * @param maxLength The length of the resulting string once the current string has been padded.\n * If this parameter is smaller than the current string's length, the current string will be returned as it is.\n *\n * @param fillString The string to pad the current string with.\n * If this string is too long, it will be truncated and the left-most part will be applied.\n * The default value for this parameter is \" \" (U+0020).\n */\nexport let padEnd;\n/**\n * Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length.\n * The padding is applied from the start (left) of the current string.\n *\n * @param target The target string\n * @param maxLength The length of the resulting string once the current string has been padded.\n * If this parameter is smaller than the current string's length, the current string will be returned as it is.\n *\n * @param fillString The string to pad the current string with.\n * If this string is too long, it will be truncated and the left-most part will be applied.\n * The default value for this parameter is \" \" (U+0020).\n */\nexport let padStart;\nif (has('es6-string') && has('es6-string-raw')) {\n fromCodePoint = global.String.fromCodePoint;\n raw = global.String.raw;\n codePointAt = wrapNative(global.String.prototype.codePointAt);\n endsWith = wrapNative(global.String.prototype.endsWith);\n includes = wrapNative(global.String.prototype.includes);\n normalize = wrapNative(global.String.prototype.normalize);\n repeat = wrapNative(global.String.prototype.repeat);\n startsWith = wrapNative(global.String.prototype.startsWith);\n}\nelse {\n /**\n * Validates that text is defined, and normalizes position (based on the given default if the input is NaN).\n * Used by startsWith, includes, and endsWith.\n *\n * @return Normalized position.\n */\n const normalizeSubstringArgs = function (name, text, search, position, isEnd = false) {\n if (text == null) {\n throw new TypeError('string.' + name + ' requires a valid string to search against.');\n }\n const length = text.length;\n position = position !== position ? (isEnd ? length : 0) : position;\n return [text, String(search), Math.min(Math.max(position, 0), length)];\n };\n fromCodePoint = function fromCodePoint(...codePoints) {\n // Adapted from https://github.com/mathiasbynens/String.fromCodePoint\n const length = arguments.length;\n if (!length) {\n return '';\n }\n const fromCharCode = String.fromCharCode;\n const MAX_SIZE = 0x4000;\n let codeUnits = [];\n let index = -1;\n let result = '';\n while (++index < length) {\n let codePoint = Number(arguments[index]);\n // Code points must be finite integers within the valid range\n let isValid = isFinite(codePoint) && Math.floor(codePoint) === codePoint && codePoint >= 0 && codePoint <= 0x10ffff;\n if (!isValid) {\n throw RangeError('string.fromCodePoint: Invalid code point ' + codePoint);\n }\n if (codePoint <= 0xffff) {\n // BMP code point\n codeUnits.push(codePoint);\n }\n else {\n // Astral code point; split in surrogate halves\n // https://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae\n codePoint -= 0x10000;\n let highSurrogate = (codePoint >> 10) + HIGH_SURROGATE_MIN;\n let lowSurrogate = (codePoint % 0x400) + LOW_SURROGATE_MIN;\n codeUnits.push(highSurrogate, lowSurrogate);\n }\n if (index + 1 === length || codeUnits.length > MAX_SIZE) {\n result += fromCharCode.apply(null, codeUnits);\n codeUnits.length = 0;\n }\n }\n return result;\n };\n raw = function raw(callSite, ...substitutions) {\n let rawStrings = callSite.raw;\n let result = '';\n let numSubstitutions = substitutions.length;\n if (callSite == null || callSite.raw == null) {\n throw new TypeError('string.raw requires a valid callSite object with a raw value');\n }\n for (let i = 0, length = rawStrings.length; i < length; i++) {\n result += rawStrings[i] + (i < numSubstitutions && i < length - 1 ? substitutions[i] : '');\n }\n return result;\n };\n codePointAt = function codePointAt(text, position = 0) {\n // Adapted from https://github.com/mathiasbynens/String.prototype.codePointAt\n if (text == null) {\n throw new TypeError('string.codePointAt requries a valid string.');\n }\n const length = text.length;\n if (position !== position) {\n position = 0;\n }\n if (position < 0 || position >= length) {\n return undefined;\n }\n // Get the first code unit\n const first = text.charCodeAt(position);\n if (first >= HIGH_SURROGATE_MIN && first <= HIGH_SURROGATE_MAX && length > position + 1) {\n // Start of a surrogate pair (high surrogate and there is a next code unit); check for low surrogate\n // https://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae\n const second = text.charCodeAt(position + 1);\n if (second >= LOW_SURROGATE_MIN && second <= LOW_SURROGATE_MAX) {\n return (first - HIGH_SURROGATE_MIN) * 0x400 + second - LOW_SURROGATE_MIN + 0x10000;\n }\n }\n return first;\n };\n endsWith = function endsWith(text, search, endPosition) {\n if (endPosition == null) {\n endPosition = text.length;\n }\n [text, search, endPosition] = normalizeSubstringArgs('endsWith', text, search, endPosition, true);\n const start = endPosition - search.length;\n if (start < 0) {\n return false;\n }\n return text.slice(start, endPosition) === search;\n };\n includes = function includes(text, search, position = 0) {\n [text, search, position] = normalizeSubstringArgs('includes', text, search, position);\n return text.indexOf(search, position) !== -1;\n };\n repeat = function repeat(text, count = 0) {\n // Adapted from https://github.com/mathiasbynens/String.prototype.repeat\n if (text == null) {\n throw new TypeError('string.repeat requires a valid string.');\n }\n if (count !== count) {\n count = 0;\n }\n if (count < 0 || count === Infinity) {\n throw new RangeError('string.repeat requires a non-negative finite count.');\n }\n let result = '';\n while (count) {\n if (count % 2) {\n result += text;\n }\n if (count > 1) {\n text += text;\n }\n count >>= 1;\n }\n return result;\n };\n startsWith = function startsWith(text, search, position = 0) {\n search = String(search);\n [text, search, position] = normalizeSubstringArgs('startsWith', text, search, position);\n const end = position + search.length;\n if (end > text.length) {\n return false;\n }\n return text.slice(position, end) === search;\n };\n}\nif (has('es2017-string')) {\n padEnd = wrapNative(global.String.prototype.padEnd);\n padStart = wrapNative(global.String.prototype.padStart);\n}\nelse {\n padEnd = function padEnd(text, maxLength, fillString = ' ') {\n if (text === null || text === undefined) {\n throw new TypeError('string.repeat requires a valid string.');\n }\n if (maxLength === Infinity) {\n throw new RangeError('string.padEnd requires a non-negative finite count.');\n }\n if (maxLength === null || maxLength === undefined || maxLength < 0) {\n maxLength = 0;\n }\n let strText = String(text);\n const padding = maxLength - strText.length;\n if (padding > 0) {\n strText +=\n repeat(fillString, Math.floor(padding / fillString.length)) +\n fillString.slice(0, padding % fillString.length);\n }\n return strText;\n };\n padStart = function padStart(text, maxLength, fillString = ' ') {\n if (text === null || text === undefined) {\n throw new TypeError('string.repeat requires a valid string.');\n }\n if (maxLength === Infinity) {\n throw new RangeError('string.padStart requires a non-negative finite count.');\n }\n if (maxLength === null || maxLength === undefined || maxLength < 0) {\n maxLength = 0;\n }\n let strText = String(text);\n const padding = maxLength - strText.length;\n if (padding > 0) {\n strText =\n repeat(fillString, Math.floor(padding / fillString.length)) +\n fillString.slice(0, padding % fillString.length) +\n strText;\n }\n return strText;\n };\n}\n//# sourceMappingURL=string.mjs.map" + } + ], + "filteredModules": 0 + }, + { + "id": 11, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/core/Evented.mjs 5a735fda53696584e4cc34e239a550e6", + "name": "./node_modules/@dojo/framework/core/Evented.mjs + 1 modules", + "index": 27, + "index2": 21, + "size": 3831, + "cacheable": true, + "built": true, "optional": false, "prefetched": false, "chunks": [ - "menu" + 0 ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--5-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", - "issuerId": "./node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js", - "issuerName": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js", + "issuer": null, + "issuerId": null, + "issuerName": null, + "issuerPath": null, "failed": false, "errors": 0, "warnings": 0, + "assets": [], "reasons": [ { - "moduleId": "./node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--5-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", - "module": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js", - "moduleName": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js", - "type": "cjs require", - "userRequest": "@dojo/framework/widget-core/registerCustomElement", - "loc": "4:28-88" + "moduleId": 8, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", + "module": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "type": "harmony side effect evaluation", + "userRequest": "../core/Evented", + "loc": "4:0-42" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/decorators/customElement.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/customElement.mjs", - "module": "./node_modules/@dojo/framework/widget-core/decorators/customElement.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/decorators/customElement.mjs", - "type": "harmony import", - "userRequest": "../registerCustomElement", - "loc": "1:0-66" + "moduleId": 8, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", + "module": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "type": "harmony import specifier", + "userRequest": "../core/Evented", + "loc": "27:30-37" + }, + { + "moduleId": 8, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", + "module": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "type": "harmony import specifier", + "userRequest": "../core/Evented", + "loc": "66:32-39" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony side effect evaluation", + "userRequest": "../core/Evented", + "loc": "1:0-42" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony side effect evaluation", + "userRequest": "../core/Evented", + "loc": "2:0-42" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony import specifier", + "userRequest": "../core/Evented", + "loc": "4:37-44" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony import specifier", + "userRequest": "../core/Evented", + "loc": "13:33-40" + }, + { + "moduleId": 19, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs 7cf860e45721ea2eddfdcf432935cea3", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "type": "harmony side effect evaluation", + "userRequest": "../core/Evented", + "loc": "1:0-42" + }, + { + "moduleId": 19, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs 7cf860e45721ea2eddfdcf432935cea3", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "type": "harmony import specifier", + "userRequest": "../core/Evented", + "loc": "2:30-37" } ], - "usedExports": true, + "usedExports": [ + "Evented" + ], "providedExports": [ - "CustomElementChildType", - "DomToWidgetWrapper", - "create", - "register", + "isGlobMatch", + "Evented", "default" ], - "optimizationBailout": [], - "depth": 2, - "source": "import * as tslib_1 from \"tslib\";\nimport { WidgetBase, noBind } from './WidgetBase';\nimport { ProjectorMixin } from './mixins/Projector';\nimport { from } from '../shim/array';\nimport { w, dom } from './d';\nimport global from '../shim/global';\nimport { registerThemeInjector } from './mixins/Themed';\nimport { alwaysRender } from './decorators/alwaysRender';\nexport var CustomElementChildType;\n(function (CustomElementChildType) {\n CustomElementChildType[\"DOJO\"] = \"DOJO\";\n CustomElementChildType[\"NODE\"] = \"NODE\";\n CustomElementChildType[\"TEXT\"] = \"TEXT\";\n})(CustomElementChildType || (CustomElementChildType = {}));\nexport function DomToWidgetWrapper(domNode) {\n let DomToWidgetWrapper = class DomToWidgetWrapper extends WidgetBase {\n render() {\n const properties = Object.keys(this.properties).reduce((props, key) => {\n const value = this.properties[key];\n if (key.indexOf('on') === 0) {\n key = `__${key}`;\n }\n props[key] = value;\n return props;\n }, {});\n return dom({ node: domNode, props: properties, diffType: 'dom' });\n }\n static get domNode() {\n return domNode;\n }\n };\n DomToWidgetWrapper = tslib_1.__decorate([\n alwaysRender()\n ], DomToWidgetWrapper);\n return DomToWidgetWrapper;\n}\nexport function create(descriptor, WidgetConstructor) {\n const { attributes, childType, registryFactory } = descriptor;\n const attributeMap = {};\n attributes.forEach((propertyName) => {\n const attributeName = propertyName.toLowerCase();\n attributeMap[attributeName] = propertyName;\n });\n return class extends HTMLElement {\n constructor() {\n super(...arguments);\n this._properties = {};\n this._children = [];\n this._eventProperties = {};\n this._initialised = false;\n }\n connectedCallback() {\n if (this._initialised) {\n return;\n }\n const domProperties = {};\n const { attributes, properties, events } = descriptor;\n this._properties = Object.assign({}, this._properties, this._attributesToProperties(attributes));\n [...attributes, ...properties].forEach((propertyName) => {\n const value = this[propertyName];\n const filteredPropertyName = propertyName.replace(/^on/, '__');\n if (value !== undefined) {\n this._properties[propertyName] = value;\n }\n if (filteredPropertyName !== propertyName) {\n domProperties[filteredPropertyName] = {\n get: () => this._getProperty(propertyName),\n set: (value) => this._setProperty(propertyName, value)\n };\n }\n domProperties[propertyName] = {\n get: () => this._getProperty(propertyName),\n set: (value) => this._setProperty(propertyName, value)\n };\n });\n events.forEach((propertyName) => {\n const eventName = propertyName.replace(/^on/, '').toLowerCase();\n const filteredPropertyName = propertyName.replace(/^on/, '__on');\n domProperties[filteredPropertyName] = {\n get: () => this._getEventProperty(propertyName),\n set: (value) => this._setEventProperty(propertyName, value)\n };\n this._eventProperties[propertyName] = undefined;\n this._properties[propertyName] = (...args) => {\n const eventCallback = this._getEventProperty(propertyName);\n if (typeof eventCallback === 'function') {\n eventCallback(...args);\n }\n this.dispatchEvent(new CustomEvent(eventName, {\n bubbles: false,\n detail: args\n }));\n };\n });\n Object.defineProperties(this, domProperties);\n const children = childType === CustomElementChildType.TEXT ? this.childNodes : this.children;\n from(children).forEach((childNode) => {\n if (childType === CustomElementChildType.DOJO) {\n childNode.addEventListener('dojo-ce-render', () => this._render());\n childNode.addEventListener('dojo-ce-connected', () => this._render());\n this._children.push(DomToWidgetWrapper(childNode));\n }\n else {\n this._children.push(dom({ node: childNode, diffType: 'dom' }));\n }\n });\n this.addEventListener('dojo-ce-connected', (e) => this._childConnected(e));\n const widgetProperties = this._properties;\n const renderChildren = () => this.__children__();\n const Wrapper = class extends WidgetBase {\n render() {\n return w(WidgetConstructor, widgetProperties, renderChildren());\n }\n };\n const registry = registryFactory();\n const themeContext = registerThemeInjector(this._getTheme(), registry);\n global.addEventListener('dojo-theme-set', () => themeContext.set(this._getTheme()));\n const Projector = ProjectorMixin(Wrapper);\n this._projector = new Projector();\n this._projector.setProperties({ registry });\n this._projector.append(this);\n this._initialised = true;\n this.dispatchEvent(new CustomEvent('dojo-ce-connected', {\n bubbles: true,\n detail: this\n }));\n }\n _getTheme() {\n if (global && global.dojoce && global.dojoce.theme) {\n return global.dojoce.themes[global.dojoce.theme];\n }\n }\n _childConnected(e) {\n const node = e.detail;\n if (node.parentNode === this) {\n const exists = this._children.some((child) => child.domNode === node);\n if (!exists) {\n node.addEventListener('dojo-ce-render', () => this._render());\n this._children.push(DomToWidgetWrapper(node));\n this._render();\n }\n }\n }\n _render() {\n if (this._projector) {\n this._projector.invalidate();\n this.dispatchEvent(new CustomEvent('dojo-ce-render', {\n bubbles: false,\n detail: this\n }));\n }\n }\n __properties__() {\n return Object.assign({}, this._properties, this._eventProperties);\n }\n __children__() {\n if (childType === CustomElementChildType.DOJO) {\n return this._children.filter((Child) => Child.domNode.isWidget).map((Child) => {\n const { domNode } = Child;\n return w(Child, Object.assign({}, domNode.__properties__()), [...domNode.__children__()]);\n });\n }\n else {\n return this._children;\n }\n }\n attributeChangedCallback(name, oldValue, value) {\n const propertyName = attributeMap[name];\n this._setProperty(propertyName, value);\n }\n _setEventProperty(propertyName, value) {\n this._eventProperties[propertyName] = value;\n }\n _getEventProperty(propertyName) {\n return this._eventProperties[propertyName];\n }\n _setProperty(propertyName, value) {\n if (typeof value === 'function') {\n value[noBind] = true;\n }\n this._properties[propertyName] = value;\n this._render();\n }\n _getProperty(propertyName) {\n return this._properties[propertyName];\n }\n _attributesToProperties(attributes) {\n return attributes.reduce((properties, propertyName) => {\n const attributeName = propertyName.toLowerCase();\n const value = this.getAttribute(attributeName);\n if (value !== null) {\n properties[propertyName] = value;\n }\n return properties;\n }, {});\n }\n static get observedAttributes() {\n return Object.keys(attributeMap);\n }\n get isWidget() {\n return true;\n }\n };\n}\nexport function register(WidgetConstructor) {\n const descriptor = WidgetConstructor.prototype && WidgetConstructor.prototype.__customElementDescriptor;\n if (!descriptor) {\n throw new Error('Cannot get descriptor for Custom Element, have you added the @customElement decorator to your Widget?');\n }\n global.customElements.define(descriptor.tagName, create(descriptor, WidgetConstructor));\n}\nexport default register;\n//# sourceMappingURL=registerCustomElement.mjs.map" + "optimizationBailout": [ + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/core/lang.mjs because of ./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/shim/Map.mjs because of ./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/shim/Promise.mjs because of ./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + ], + "depth": 5, + "modules": [ + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/core/Evented.mjs", + "name": "./node_modules/@dojo/framework/core/Evented.mjs", + "index": 27, + "index2": 21, + "size": 2151, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "name": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", + "name": "./node_modules/@dojo/framework/widget-core/RegistryHandler.mjs" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": 8, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", + "module": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "type": "harmony side effect evaluation", + "userRequest": "../core/Evented", + "loc": "4:0-42" + }, + { + "moduleId": 8, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", + "module": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "type": "harmony import specifier", + "userRequest": "../core/Evented", + "loc": "27:30-37" + }, + { + "moduleId": 8, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", + "module": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "type": "harmony import specifier", + "userRequest": "../core/Evented", + "loc": "66:32-39" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony side effect evaluation", + "userRequest": "../core/Evented", + "loc": "1:0-42" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony side effect evaluation", + "userRequest": "../core/Evented", + "loc": "2:0-42" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony import specifier", + "userRequest": "../core/Evented", + "loc": "4:37-44" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony import specifier", + "userRequest": "../core/Evented", + "loc": "13:33-40" + }, + { + "moduleId": 19, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs 7cf860e45721ea2eddfdcf432935cea3", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "type": "harmony side effect evaluation", + "userRequest": "../core/Evented", + "loc": "1:0-42" + }, + { + "moduleId": 19, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs 7cf860e45721ea2eddfdcf432935cea3", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "type": "harmony import specifier", + "userRequest": "../core/Evented", + "loc": "2:30-37" + } + ], + "usedExports": [ + "Evented" + ], + "providedExports": [ + "isGlobMatch", + "Evented", + "default" + ], + "optimizationBailout": [], + "depth": 5, + "source": "import Map from '../shim/Map';\nimport { Destroyable } from './Destroyable';\n/**\n * Map of computed regular expressions, keyed by string\n */\nconst regexMap = new Map();\n/**\n * Determines is the event type glob has been matched\n *\n * @returns boolean that indicates if the glob is matched\n */\nexport function isGlobMatch(globString, targetString) {\n if (typeof targetString === 'string' && typeof globString === 'string' && globString.indexOf('*') !== -1) {\n let regex;\n if (regexMap.has(globString)) {\n regex = regexMap.get(globString);\n }\n else {\n regex = new RegExp(`^${globString.replace(/\\*/g, '.*')}$`);\n regexMap.set(globString, regex);\n }\n return regex.test(targetString);\n }\n else {\n return globString === targetString;\n }\n}\n/**\n * Event Class\n */\nexport class Evented extends Destroyable {\n constructor() {\n super(...arguments);\n /**\n * map of listeners keyed by event type\n */\n this.listenersMap = new Map();\n }\n emit(event) {\n this.listenersMap.forEach((methods, type) => {\n if (isGlobMatch(type, event.type)) {\n [...methods].forEach((method) => {\n method.call(this, event);\n });\n }\n });\n }\n on(type, listener) {\n if (Array.isArray(listener)) {\n const handles = listener.map((listener) => this._addListener(type, listener));\n return {\n destroy() {\n handles.forEach((handle) => handle.destroy());\n }\n };\n }\n return this._addListener(type, listener);\n }\n _addListener(type, listener) {\n const listeners = this.listenersMap.get(type) || [];\n listeners.push(listener);\n this.listenersMap.set(type, listeners);\n return {\n destroy: () => {\n const listeners = this.listenersMap.get(type) || [];\n listeners.splice(listeners.indexOf(listener), 1);\n }\n };\n }\n}\nexport default Evented;\n//# sourceMappingURL=Evented.mjs.map" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/core/Destroyable.mjs", + "name": "./node_modules/@dojo/framework/core/Destroyable.mjs", + "index": 28, + "index2": 20, + "size": 1665, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/core/Evented.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/core/Evented.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "name": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", + "name": "./node_modules/@dojo/framework/widget-core/RegistryHandler.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/core/Evented.mjs", + "name": "./node_modules/@dojo/framework/core/Evented.mjs" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/core/Evented.mjs", + "module": "./node_modules/@dojo/framework/core/Evented.mjs", + "moduleName": "./node_modules/@dojo/framework/core/Evented.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./Destroyable", + "loc": "2:0-44" + }, + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/core/Evented.mjs", + "module": "./node_modules/@dojo/framework/core/Evented.mjs", + "moduleName": "./node_modules/@dojo/framework/core/Evented.mjs", + "type": "harmony import specifier", + "userRequest": "./Destroyable", + "loc": "31:29-40" + } + ], + "usedExports": [ + "Destroyable" + ], + "providedExports": [ + "Destroyable", + "default" + ], + "optimizationBailout": [], + "depth": 6, + "source": "import { createCompositeHandle } from './lang';\nimport Promise from '../shim/Promise';\n/**\n * No operation function to replace own once instance is destoryed\n */\nfunction noop() {\n return Promise.resolve(false);\n}\n/**\n * No op function used to replace own, once instance has been destoryed\n */\nfunction destroyed() {\n throw new Error('Call made to destroyed method');\n}\nexport class Destroyable {\n /**\n * @constructor\n */\n constructor() {\n this.handles = [];\n }\n /**\n * Register handles for the instance that will be destroyed when `this.destroy` is called\n *\n * @param {Handle} handle The handle to add for the instance\n * @returns {Handle} a handle for the handle, removes the handle for the instance and calls destroy\n */\n own(handles) {\n const handle = Array.isArray(handles) ? createCompositeHandle(...handles) : handles;\n const { handles: _handles } = this;\n _handles.push(handle);\n return {\n destroy() {\n _handles.splice(_handles.indexOf(handle));\n handle.destroy();\n }\n };\n }\n /**\n * Destrpys all handers registered for the instance\n *\n * @returns {Promise {\n this.handles.forEach((handle) => {\n handle && handle.destroy && handle.destroy();\n });\n this.destroy = noop;\n this.own = destroyed;\n resolve(true);\n });\n }\n}\nexport default Destroyable;\n//# sourceMappingURL=Destroyable.mjs.map" + } + ], + "filteredModules": 0 }, { - "id": "./node_modules/@dojo/framework/widget-core/vdom.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "id": 12, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", "name": "./node_modules/@dojo/framework/widget-core/vdom.mjs", - "index": 29, - "index2": 25, + "index": 32, + "index2": 28, "size": 39966, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ - "menu" + 0 ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "issuerId": null, "issuerName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "name": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs" + } + ], "failed": false, "errors": 0, "warnings": 0, + "assets": [], "reasons": [ { - "moduleId": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", - "type": "harmony import", + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony side effect evaluation", "userRequest": "./vdom", "loc": "8:0-43" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "module": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "type": "harmony import", + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony import specifier", + "userRequest": "./vdom", + "loc": "36:8-25" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony import specifier", + "userRequest": "./vdom", + "loc": "85:29-46" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony import specifier", + "userRequest": "./vdom", + "loc": "98:29-46" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony import specifier", + "userRequest": "./vdom", + "loc": "183:29-46" + }, + { + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony import specifier", + "userRequest": "./vdom", + "loc": "192:29-46" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony side effect evaluation", "userRequest": "./../vdom", "loc": "6:0-32" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "./../vdom", + "loc": "139:39-42" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "./../vdom", + "loc": "142:39-42" } ], "usedExports": [ @@ -2336,2045 +4279,8815 @@ "source": "import global from '../shim/global';\nimport { from as arrayFrom } from '../shim/array';\nimport { isWNode, isVNode, isDomVNode, VNODE, WNODE } from './d';\nimport { isWidgetBaseConstructor } from './Registry';\nimport WeakMap from '../shim/WeakMap';\nconst NAMESPACE_W3 = 'http://www.w3.org/';\nconst NAMESPACE_SVG = NAMESPACE_W3 + '2000/svg';\nconst NAMESPACE_XLINK = NAMESPACE_W3 + '1999/xlink';\nconst emptyArray = [];\nconst nodeOperations = ['focus', 'blur', 'scrollIntoView', 'click'];\nexport const widgetInstanceMap = new WeakMap();\nconst instanceMap = new WeakMap();\nconst nextSiblingMap = new WeakMap();\nconst projectorStateMap = new WeakMap();\nfunction same(dnode1, dnode2) {\n if (isVNode(dnode1) && isVNode(dnode2)) {\n if (isDomVNode(dnode1) || isDomVNode(dnode2)) {\n if (dnode1.domNode !== dnode2.domNode) {\n return false;\n }\n }\n if (dnode1.tag !== dnode2.tag) {\n return false;\n }\n if (dnode1.properties.key !== dnode2.properties.key) {\n return false;\n }\n return true;\n }\n else if (isWNode(dnode1) && isWNode(dnode2)) {\n if (dnode1.instance === undefined && typeof dnode2.widgetConstructor === 'string') {\n return false;\n }\n if (dnode1.widgetConstructor !== dnode2.widgetConstructor) {\n return false;\n }\n if (dnode1.properties.key !== dnode2.properties.key) {\n return false;\n }\n return true;\n }\n return false;\n}\nconst missingTransition = function () {\n throw new Error('Provide a transitions object to the projectionOptions to do animations');\n};\nfunction getProjectionOptions(projectorOptions, projectorInstance) {\n const defaults = {\n namespace: undefined,\n styleApplyer: function (domNode, styleName, value) {\n domNode.style[styleName] = value;\n },\n transitions: {\n enter: missingTransition,\n exit: missingTransition\n },\n depth: 0,\n merge: false,\n sync: false,\n projectorInstance\n };\n return Object.assign({}, defaults, projectorOptions);\n}\nfunction checkStyleValue(styleValue) {\n if (typeof styleValue !== 'string') {\n throw new Error('Style values must be strings');\n }\n}\nfunction updateEvent(domNode, eventName, currentValue, projectionOptions, bind, previousValue) {\n const projectorState = projectorStateMap.get(projectionOptions.projectorInstance);\n const eventMap = projectorState.nodeMap.get(domNode) || new WeakMap();\n if (previousValue) {\n const previousEvent = eventMap.get(previousValue);\n domNode.removeEventListener(eventName, previousEvent);\n }\n let callback = currentValue.bind(bind);\n if (eventName === 'input') {\n callback = function (evt) {\n currentValue.call(this, evt);\n evt.target['oninput-value'] = evt.target.value;\n }.bind(bind);\n }\n domNode.addEventListener(eventName, callback);\n eventMap.set(currentValue, callback);\n projectorState.nodeMap.set(domNode, eventMap);\n}\nfunction addClasses(domNode, classes) {\n if (classes) {\n const classNames = classes.split(' ');\n for (let i = 0; i < classNames.length; i++) {\n domNode.classList.add(classNames[i]);\n }\n }\n}\nfunction removeClasses(domNode, classes) {\n if (classes) {\n const classNames = classes.split(' ');\n for (let i = 0; i < classNames.length; i++) {\n domNode.classList.remove(classNames[i]);\n }\n }\n}\nfunction buildPreviousProperties(domNode, previous, current) {\n const { diffType, properties, attributes } = current;\n if (!diffType || diffType === 'vdom') {\n return { properties: previous.properties, attributes: previous.attributes, events: previous.events };\n }\n else if (diffType === 'none') {\n return { properties: {}, attributes: previous.attributes ? {} : undefined, events: previous.events };\n }\n let newProperties = {\n properties: {}\n };\n if (attributes) {\n newProperties.attributes = {};\n newProperties.events = previous.events;\n Object.keys(properties).forEach((propName) => {\n newProperties.properties[propName] = domNode[propName];\n });\n Object.keys(attributes).forEach((attrName) => {\n newProperties.attributes[attrName] = domNode.getAttribute(attrName);\n });\n return newProperties;\n }\n newProperties.properties = Object.keys(properties).reduce((props, property) => {\n props[property] = domNode.getAttribute(property) || domNode[property];\n return props;\n }, {});\n return newProperties;\n}\nfunction nodeOperation(propName, propValue, previousValue, domNode, projectionOptions) {\n let result;\n if (typeof propValue === 'function') {\n result = propValue();\n }\n else {\n result = propValue && !previousValue;\n }\n if (result === true) {\n const projectorState = projectorStateMap.get(projectionOptions.projectorInstance);\n projectorState.deferredRenderCallbacks.push(() => {\n domNode[propName]();\n });\n }\n}\nfunction removeOrphanedEvents(domNode, previousProperties, properties, projectionOptions, onlyEvents = false) {\n const projectorState = projectorStateMap.get(projectionOptions.projectorInstance);\n const eventMap = projectorState.nodeMap.get(domNode);\n if (eventMap) {\n Object.keys(previousProperties).forEach((propName) => {\n const isEvent = propName.substr(0, 2) === 'on' || onlyEvents;\n const eventName = onlyEvents ? propName : propName.substr(2);\n if (isEvent && !properties[propName]) {\n const eventCallback = eventMap.get(previousProperties[propName]);\n if (eventCallback) {\n domNode.removeEventListener(eventName, eventCallback);\n }\n }\n });\n }\n}\nfunction updateAttribute(domNode, attrName, attrValue, projectionOptions) {\n if (projectionOptions.namespace === NAMESPACE_SVG && attrName === 'href') {\n domNode.setAttributeNS(NAMESPACE_XLINK, attrName, attrValue);\n }\n else if ((attrName === 'role' && attrValue === '') || attrValue === undefined) {\n domNode.removeAttribute(attrName);\n }\n else {\n domNode.setAttribute(attrName, attrValue);\n }\n}\nfunction updateAttributes(domNode, previousAttributes, attributes, projectionOptions) {\n const attrNames = Object.keys(attributes);\n const attrCount = attrNames.length;\n for (let i = 0; i < attrCount; i++) {\n const attrName = attrNames[i];\n const attrValue = attributes[attrName];\n const previousAttrValue = previousAttributes[attrName];\n if (attrValue !== previousAttrValue) {\n updateAttribute(domNode, attrName, attrValue, projectionOptions);\n }\n }\n}\nfunction updateProperties(domNode, previousProperties, properties, projectionOptions, includesEventsAndAttributes = true) {\n let propertiesUpdated = false;\n const propNames = Object.keys(properties);\n const propCount = propNames.length;\n if (propNames.indexOf('classes') === -1 && previousProperties.classes) {\n if (Array.isArray(previousProperties.classes)) {\n for (let i = 0; i < previousProperties.classes.length; i++) {\n removeClasses(domNode, previousProperties.classes[i]);\n }\n }\n else {\n removeClasses(domNode, previousProperties.classes);\n }\n }\n includesEventsAndAttributes && removeOrphanedEvents(domNode, previousProperties, properties, projectionOptions);\n for (let i = 0; i < propCount; i++) {\n const propName = propNames[i];\n let propValue = properties[propName];\n const previousValue = previousProperties[propName];\n if (propName === 'classes') {\n const previousClasses = Array.isArray(previousValue) ? previousValue : [previousValue];\n const currentClasses = Array.isArray(propValue) ? propValue : [propValue];\n if (previousClasses && previousClasses.length > 0) {\n if (!propValue || propValue.length === 0) {\n for (let i = 0; i < previousClasses.length; i++) {\n removeClasses(domNode, previousClasses[i]);\n }\n }\n else {\n const newClasses = [...currentClasses];\n for (let i = 0; i < previousClasses.length; i++) {\n const previousClassName = previousClasses[i];\n if (previousClassName) {\n const classIndex = newClasses.indexOf(previousClassName);\n if (classIndex === -1) {\n removeClasses(domNode, previousClassName);\n }\n else {\n newClasses.splice(classIndex, 1);\n }\n }\n }\n for (let i = 0; i < newClasses.length; i++) {\n addClasses(domNode, newClasses[i]);\n }\n }\n }\n else {\n for (let i = 0; i < currentClasses.length; i++) {\n addClasses(domNode, currentClasses[i]);\n }\n }\n }\n else if (nodeOperations.indexOf(propName) !== -1) {\n nodeOperation(propName, propValue, previousValue, domNode, projectionOptions);\n }\n else if (propName === 'styles') {\n const styleNames = Object.keys(propValue);\n const styleCount = styleNames.length;\n for (let j = 0; j < styleCount; j++) {\n const styleName = styleNames[j];\n const newStyleValue = propValue[styleName];\n const oldStyleValue = previousValue && previousValue[styleName];\n if (newStyleValue === oldStyleValue) {\n continue;\n }\n propertiesUpdated = true;\n if (newStyleValue) {\n checkStyleValue(newStyleValue);\n projectionOptions.styleApplyer(domNode, styleName, newStyleValue);\n }\n else {\n projectionOptions.styleApplyer(domNode, styleName, '');\n }\n }\n }\n else {\n if (!propValue && typeof previousValue === 'string') {\n propValue = '';\n }\n if (propName === 'value') {\n const domValue = domNode[propName];\n if (domValue !== propValue &&\n (domNode['oninput-value']\n ? domValue === domNode['oninput-value']\n : propValue !== previousValue)) {\n domNode[propName] = propValue;\n domNode['oninput-value'] = undefined;\n }\n if (propValue !== previousValue) {\n propertiesUpdated = true;\n }\n }\n else if (propName !== 'key' && propValue !== previousValue) {\n const type = typeof propValue;\n if (type === 'function' && propName.lastIndexOf('on', 0) === 0 && includesEventsAndAttributes) {\n updateEvent(domNode, propName.substr(2), propValue, projectionOptions, properties.bind, previousValue);\n }\n else if (type === 'string' && propName !== 'innerHTML' && includesEventsAndAttributes) {\n updateAttribute(domNode, propName, propValue, projectionOptions);\n }\n else if (propName === 'scrollLeft' || propName === 'scrollTop') {\n if (domNode[propName] !== propValue) {\n domNode[propName] = propValue;\n }\n }\n else {\n domNode[propName] = propValue;\n }\n propertiesUpdated = true;\n }\n }\n }\n return propertiesUpdated;\n}\nfunction findIndexOfChild(children, sameAs, start) {\n for (let i = start; i < children.length; i++) {\n if (same(children[i], sameAs)) {\n return i;\n }\n }\n return -1;\n}\nexport function toParentVNode(domNode) {\n return {\n tag: '',\n properties: {},\n children: undefined,\n domNode,\n type: VNODE\n };\n}\nexport function toTextVNode(data) {\n return {\n tag: '',\n properties: {},\n children: undefined,\n text: `${data}`,\n domNode: undefined,\n type: VNODE\n };\n}\nfunction toInternalWNode(instance, instanceData) {\n return {\n instance,\n rendered: [],\n coreProperties: instanceData.coreProperties,\n children: instance.children,\n widgetConstructor: instance.constructor,\n properties: instanceData.inputProperties,\n type: WNODE\n };\n}\nexport function filterAndDecorateChildren(children, instance) {\n if (children === undefined) {\n return emptyArray;\n }\n children = Array.isArray(children) ? children : [children];\n for (let i = 0; i < children.length;) {\n const child = children[i];\n if (child === undefined || child === null) {\n children.splice(i, 1);\n continue;\n }\n else if (typeof child === 'string') {\n children[i] = toTextVNode(child);\n }\n else {\n if (isVNode(child)) {\n if (child.properties.bind === undefined) {\n child.properties.bind = instance;\n if (child.children && child.children.length > 0) {\n filterAndDecorateChildren(child.children, instance);\n }\n }\n }\n else {\n if (!child.coreProperties) {\n const instanceData = widgetInstanceMap.get(instance);\n child.coreProperties = {\n bind: instance,\n baseRegistry: instanceData.coreProperties.baseRegistry\n };\n }\n if (child.children && child.children.length > 0) {\n filterAndDecorateChildren(child.children, instance);\n }\n }\n }\n i++;\n }\n return children;\n}\nfunction nodeAdded(dnode, transitions) {\n if (isVNode(dnode) && dnode.properties) {\n const enterAnimation = dnode.properties.enterAnimation;\n if (enterAnimation) {\n if (typeof enterAnimation === 'function') {\n enterAnimation(dnode.domNode, dnode.properties);\n }\n else {\n transitions.enter(dnode.domNode, dnode.properties, enterAnimation);\n }\n }\n }\n}\nfunction nodeToRemove(dnode, transitions, projectionOptions) {\n if (isWNode(dnode)) {\n const item = instanceMap.get(dnode.instance);\n const rendered = (item ? item.dnode.rendered : dnode.rendered) || emptyArray;\n if (dnode.instance) {\n const instanceData = widgetInstanceMap.get(dnode.instance);\n instanceData.onDetach();\n instanceMap.delete(dnode.instance);\n }\n for (let i = 0; i < rendered.length; i++) {\n nodeToRemove(rendered[i], transitions, projectionOptions);\n }\n }\n else {\n const domNode = dnode.domNode;\n const properties = dnode.properties;\n if (dnode.children && dnode.children.length > 0) {\n for (let i = 0; i < dnode.children.length; i++) {\n nodeToRemove(dnode.children[i], transitions, projectionOptions);\n }\n }\n const exitAnimation = properties.exitAnimation;\n if (properties && exitAnimation) {\n domNode.style.pointerEvents = 'none';\n const removeDomNode = function () {\n domNode && domNode.parentNode && domNode.parentNode.removeChild(domNode);\n dnode.domNode = undefined;\n };\n if (typeof exitAnimation === 'function') {\n exitAnimation(domNode, removeDomNode, properties);\n return;\n }\n else {\n transitions.exit(dnode.domNode, properties, exitAnimation, removeDomNode);\n return;\n }\n }\n domNode && domNode.parentNode && domNode.parentNode.removeChild(domNode);\n dnode.domNode = undefined;\n }\n}\nfunction checkDistinguishable(childNodes, indexToCheck, parentInstance) {\n const childNode = childNodes[indexToCheck];\n if (isVNode(childNode) && !childNode.tag) {\n return; // Text nodes need not be distinguishable\n }\n const { key } = childNode.properties;\n if (key === undefined || key === null) {\n for (let i = 0; i < childNodes.length; i++) {\n if (i !== indexToCheck) {\n const node = childNodes[i];\n if (same(node, childNode)) {\n let nodeIdentifier;\n const parentName = parentInstance.constructor.name || 'unknown';\n if (isWNode(childNode)) {\n nodeIdentifier = childNode.widgetConstructor.name || 'unknown';\n }\n else {\n nodeIdentifier = childNode.tag;\n }\n console.warn(`A widget (${parentName}) has had a child addded or removed, but they were not able to uniquely identified. It is recommended to provide a unique 'key' property when using the same widget or element (${nodeIdentifier}) multiple times as siblings`);\n break;\n }\n }\n }\n }\n}\nfunction updateChildren(parentVNode, siblings, oldChildren, newChildren, parentInstance, projectionOptions) {\n oldChildren = oldChildren || emptyArray;\n newChildren = newChildren;\n const oldChildrenLength = oldChildren.length;\n const newChildrenLength = newChildren.length;\n const transitions = projectionOptions.transitions;\n const projectorState = projectorStateMap.get(projectionOptions.projectorInstance);\n projectionOptions = Object.assign({}, projectionOptions, { depth: projectionOptions.depth + 1 });\n let oldIndex = 0;\n let newIndex = 0;\n let i;\n let textUpdated = false;\n while (newIndex < newChildrenLength) {\n let oldChild = oldIndex < oldChildrenLength ? oldChildren[oldIndex] : undefined;\n const newChild = newChildren[newIndex];\n if (isVNode(newChild) && typeof newChild.deferredPropertiesCallback === 'function') {\n newChild.inserted = isVNode(oldChild) && oldChild.inserted;\n addDeferredProperties(newChild, projectionOptions);\n }\n if (oldChild !== undefined && same(oldChild, newChild)) {\n oldIndex++;\n newIndex++;\n textUpdated =\n updateDom(oldChild, newChild, projectionOptions, parentVNode, parentInstance, oldChildren.slice(oldIndex), newChildren.slice(newIndex)) || textUpdated;\n continue;\n }\n const findOldIndex = findIndexOfChild(oldChildren, newChild, oldIndex + 1);\n const addChild = () => {\n let insertBeforeDomNode = undefined;\n let childrenArray = oldChildren;\n let nextIndex = oldIndex + 1;\n let child = oldChildren[oldIndex];\n if (!child) {\n child = siblings[0];\n nextIndex = 1;\n childrenArray = siblings;\n }\n if (child) {\n let insertBeforeChildren = [child];\n while (insertBeforeChildren.length) {\n const insertBefore = insertBeforeChildren.shift();\n if (isWNode(insertBefore)) {\n const item = instanceMap.get(insertBefore.instance);\n if (item && item.dnode.rendered) {\n insertBeforeChildren.push(...item.dnode.rendered);\n }\n }\n else {\n if (insertBefore.domNode) {\n if (insertBefore.domNode.parentElement !== parentVNode.domNode) {\n break;\n }\n insertBeforeDomNode = insertBefore.domNode;\n break;\n }\n }\n if (insertBeforeChildren.length === 0 && childrenArray[nextIndex]) {\n insertBeforeChildren.push(childrenArray[nextIndex]);\n nextIndex++;\n }\n }\n }\n createDom(newChild, parentVNode, newChildren.slice(newIndex + 1), insertBeforeDomNode, projectionOptions, parentInstance);\n nodeAdded(newChild, transitions);\n const indexToCheck = newIndex;\n projectorState.afterRenderCallbacks.push(() => {\n checkDistinguishable(newChildren, indexToCheck, parentInstance);\n });\n };\n if (!oldChild || findOldIndex === -1) {\n addChild();\n newIndex++;\n continue;\n }\n const removeChild = () => {\n const indexToCheck = oldIndex;\n projectorState.afterRenderCallbacks.push(() => {\n checkDistinguishable(oldChildren, indexToCheck, parentInstance);\n });\n if (isWNode(oldChild)) {\n const item = instanceMap.get(oldChild.instance);\n if (item) {\n oldChild = item.dnode;\n }\n }\n nodeToRemove(oldChild, transitions, projectionOptions);\n };\n const findNewIndex = findIndexOfChild(newChildren, oldChild, newIndex + 1);\n if (findNewIndex === -1) {\n removeChild();\n oldIndex++;\n continue;\n }\n addChild();\n removeChild();\n oldIndex++;\n newIndex++;\n }\n if (oldChildrenLength > oldIndex) {\n // Remove child fragments\n for (i = oldIndex; i < oldChildrenLength; i++) {\n const indexToCheck = i;\n projectorState.afterRenderCallbacks.push(() => {\n checkDistinguishable(oldChildren, indexToCheck, parentInstance);\n });\n let childToRemove = oldChildren[i];\n if (isWNode(childToRemove)) {\n const item = instanceMap.get(childToRemove.instance);\n if (item) {\n childToRemove = item.dnode;\n }\n }\n nodeToRemove(childToRemove, transitions, projectionOptions);\n }\n }\n return textUpdated;\n}\nfunction addChildren(parentVNode, children, projectionOptions, parentInstance, insertBefore = undefined, childNodes) {\n if (children === undefined) {\n return;\n }\n const projectorState = projectorStateMap.get(projectionOptions.projectorInstance);\n if (projectorState.merge && childNodes === undefined) {\n childNodes = arrayFrom(parentVNode.domNode.childNodes);\n }\n const transitions = projectionOptions.transitions;\n projectionOptions = Object.assign({}, projectionOptions, { depth: projectionOptions.depth + 1 });\n for (let i = 0; i < children.length; i++) {\n const child = children[i];\n const nextSiblings = children.slice(i + 1);\n if (isVNode(child)) {\n if (projectorState.merge && childNodes) {\n let domElement = undefined;\n while (child.domNode === undefined && childNodes.length > 0) {\n domElement = childNodes.shift();\n if (domElement && domElement.tagName === (child.tag.toUpperCase() || undefined)) {\n child.domNode = domElement;\n }\n }\n }\n createDom(child, parentVNode, nextSiblings, insertBefore, projectionOptions, parentInstance);\n }\n else {\n createDom(child, parentVNode, nextSiblings, insertBefore, projectionOptions, parentInstance, childNodes);\n }\n nodeAdded(child, transitions);\n }\n}\nfunction initPropertiesAndChildren(domNode, dnode, parentInstance, projectionOptions) {\n addChildren(dnode, dnode.children, projectionOptions, parentInstance, undefined);\n if (typeof dnode.deferredPropertiesCallback === 'function' && dnode.inserted === undefined) {\n addDeferredProperties(dnode, projectionOptions);\n }\n if (dnode.attributes && dnode.events) {\n updateAttributes(domNode, {}, dnode.attributes, projectionOptions);\n updateProperties(domNode, {}, dnode.properties, projectionOptions, false);\n removeOrphanedEvents(domNode, {}, dnode.events, projectionOptions, true);\n const events = dnode.events;\n Object.keys(events).forEach((event) => {\n updateEvent(domNode, event, events[event], projectionOptions, dnode.properties.bind);\n });\n }\n else {\n updateProperties(domNode, {}, dnode.properties, projectionOptions);\n }\n if (dnode.properties.key !== null && dnode.properties.key !== undefined) {\n const instanceData = widgetInstanceMap.get(parentInstance);\n instanceData.nodeHandler.add(domNode, `${dnode.properties.key}`);\n }\n dnode.inserted = true;\n}\nfunction createDom(dnode, parentVNode, nextSiblings, insertBefore, projectionOptions, parentInstance, childNodes) {\n let domNode;\n const projectorState = projectorStateMap.get(projectionOptions.projectorInstance);\n if (isWNode(dnode)) {\n let { widgetConstructor } = dnode;\n const parentInstanceData = widgetInstanceMap.get(parentInstance);\n if (!isWidgetBaseConstructor(widgetConstructor)) {\n const item = parentInstanceData.registry().get(widgetConstructor);\n if (item === null) {\n return;\n }\n widgetConstructor = item;\n }\n const instance = new widgetConstructor();\n dnode.instance = instance;\n nextSiblingMap.set(instance, nextSiblings);\n const instanceData = widgetInstanceMap.get(instance);\n instanceData.invalidate = () => {\n instanceData.dirty = true;\n if (instanceData.rendering === false) {\n projectorState.renderQueue.push({ instance, depth: projectionOptions.depth });\n scheduleRender(projectionOptions);\n }\n };\n instanceData.rendering = true;\n instance.__setCoreProperties__(dnode.coreProperties);\n instance.__setChildren__(dnode.children);\n instance.__setProperties__(dnode.properties);\n const rendered = instance.__render__();\n instanceData.rendering = false;\n if (rendered) {\n const filteredRendered = filterAndDecorateChildren(rendered, instance);\n dnode.rendered = filteredRendered;\n addChildren(parentVNode, filteredRendered, projectionOptions, instance, insertBefore, childNodes);\n }\n instanceMap.set(instance, { dnode, parentVNode });\n instanceData.nodeHandler.addRoot();\n projectorState.afterRenderCallbacks.push(() => {\n instanceData.onAttach();\n });\n }\n else {\n if (projectorState.merge && projectorState.mergeElement !== undefined) {\n domNode = dnode.domNode = projectionOptions.mergeElement;\n projectorState.mergeElement = undefined;\n initPropertiesAndChildren(domNode, dnode, parentInstance, projectionOptions);\n return;\n }\n const doc = parentVNode.domNode.ownerDocument;\n if (!dnode.tag && typeof dnode.text === 'string') {\n if (dnode.domNode !== undefined && parentVNode.domNode) {\n const newDomNode = dnode.domNode.ownerDocument.createTextNode(dnode.text);\n if (parentVNode.domNode === dnode.domNode.parentNode) {\n parentVNode.domNode.replaceChild(newDomNode, dnode.domNode);\n }\n else {\n parentVNode.domNode.appendChild(newDomNode);\n dnode.domNode.parentNode && dnode.domNode.parentNode.removeChild(dnode.domNode);\n }\n dnode.domNode = newDomNode;\n }\n else {\n domNode = dnode.domNode = doc.createTextNode(dnode.text);\n if (insertBefore !== undefined) {\n parentVNode.domNode.insertBefore(domNode, insertBefore);\n }\n else {\n parentVNode.domNode.appendChild(domNode);\n }\n }\n }\n else {\n if (dnode.domNode === undefined) {\n if (dnode.tag === 'svg') {\n projectionOptions = Object.assign({}, projectionOptions, { namespace: NAMESPACE_SVG });\n }\n if (projectionOptions.namespace !== undefined) {\n domNode = dnode.domNode = doc.createElementNS(projectionOptions.namespace, dnode.tag);\n }\n else {\n domNode = dnode.domNode = dnode.domNode || doc.createElement(dnode.tag);\n }\n }\n else {\n domNode = dnode.domNode;\n }\n initPropertiesAndChildren(domNode, dnode, parentInstance, projectionOptions);\n if (insertBefore !== undefined) {\n parentVNode.domNode.insertBefore(domNode, insertBefore);\n }\n else if (domNode.parentNode !== parentVNode.domNode) {\n parentVNode.domNode.appendChild(domNode);\n }\n }\n }\n}\nfunction updateDom(previous, dnode, projectionOptions, parentVNode, parentInstance, oldNextSiblings, nextSiblings) {\n if (isWNode(dnode)) {\n const { instance } = previous;\n const { parentVNode, dnode: node } = instanceMap.get(instance);\n const previousRendered = node ? node.rendered : previous.rendered;\n const instanceData = widgetInstanceMap.get(instance);\n instanceData.rendering = true;\n instance.__setCoreProperties__(dnode.coreProperties);\n instance.__setChildren__(dnode.children);\n instance.__setProperties__(dnode.properties);\n nextSiblingMap.set(instance, nextSiblings);\n dnode.instance = instance;\n if (instanceData.dirty === true) {\n const rendered = instance.__render__();\n instanceData.rendering = false;\n dnode.rendered = filterAndDecorateChildren(rendered, instance);\n updateChildren(parentVNode, oldNextSiblings, previousRendered, dnode.rendered, instance, projectionOptions);\n }\n else {\n instanceData.rendering = false;\n dnode.rendered = previousRendered;\n }\n instanceMap.set(instance, { dnode, parentVNode });\n instanceData.nodeHandler.addRoot();\n }\n else {\n if (previous === dnode) {\n return false;\n }\n const domNode = (dnode.domNode = previous.domNode);\n let textUpdated = false;\n let updated = false;\n if (!dnode.tag && typeof dnode.text === 'string') {\n if (dnode.text !== previous.text) {\n const newDomNode = domNode.ownerDocument.createTextNode(dnode.text);\n domNode.parentNode.replaceChild(newDomNode, domNode);\n dnode.domNode = newDomNode;\n textUpdated = true;\n return textUpdated;\n }\n }\n else {\n if (dnode.tag && dnode.tag.lastIndexOf('svg', 0) === 0) {\n projectionOptions = Object.assign({}, projectionOptions, { namespace: NAMESPACE_SVG });\n }\n if (previous.children !== dnode.children) {\n const children = filterAndDecorateChildren(dnode.children, parentInstance);\n dnode.children = children;\n updated =\n updateChildren(dnode, oldNextSiblings, previous.children, children, parentInstance, projectionOptions) || updated;\n }\n const previousProperties = buildPreviousProperties(domNode, previous, dnode);\n if (dnode.attributes && dnode.events) {\n updateAttributes(domNode, previousProperties.attributes, dnode.attributes, projectionOptions);\n updated =\n updateProperties(domNode, previousProperties.properties, dnode.properties, projectionOptions, false) || updated;\n removeOrphanedEvents(domNode, previousProperties.events, dnode.events, projectionOptions, true);\n const events = dnode.events;\n Object.keys(events).forEach((event) => {\n updateEvent(domNode, event, events[event], projectionOptions, dnode.properties.bind, previousProperties.events[event]);\n });\n }\n else {\n updated =\n updateProperties(domNode, previousProperties.properties, dnode.properties, projectionOptions) ||\n updated;\n }\n if (dnode.properties.key !== null && dnode.properties.key !== undefined) {\n const instanceData = widgetInstanceMap.get(parentInstance);\n instanceData.nodeHandler.add(domNode, `${dnode.properties.key}`);\n }\n }\n if (updated && dnode.properties && dnode.properties.updateAnimation) {\n dnode.properties.updateAnimation(domNode, dnode.properties, previous.properties);\n }\n }\n}\nfunction addDeferredProperties(vnode, projectionOptions) {\n // transfer any properties that have been passed - as these must be decorated properties\n vnode.decoratedDeferredProperties = vnode.properties;\n const properties = vnode.deferredPropertiesCallback(!!vnode.inserted);\n const projectorState = projectorStateMap.get(projectionOptions.projectorInstance);\n vnode.properties = Object.assign({}, properties, vnode.decoratedDeferredProperties);\n projectorState.deferredRenderCallbacks.push(() => {\n const properties = Object.assign({}, vnode.deferredPropertiesCallback(!!vnode.inserted), vnode.decoratedDeferredProperties);\n updateProperties(vnode.domNode, vnode.properties, properties, projectionOptions);\n vnode.properties = properties;\n });\n}\nfunction runDeferredRenderCallbacks(projectionOptions) {\n const projectorState = projectorStateMap.get(projectionOptions.projectorInstance);\n if (projectorState.deferredRenderCallbacks.length) {\n if (projectionOptions.sync) {\n while (projectorState.deferredRenderCallbacks.length) {\n const callback = projectorState.deferredRenderCallbacks.shift();\n callback && callback();\n }\n }\n else {\n global.requestAnimationFrame(() => {\n while (projectorState.deferredRenderCallbacks.length) {\n const callback = projectorState.deferredRenderCallbacks.shift();\n callback && callback();\n }\n });\n }\n }\n}\nfunction runAfterRenderCallbacks(projectionOptions) {\n const projectorState = projectorStateMap.get(projectionOptions.projectorInstance);\n if (projectionOptions.sync) {\n while (projectorState.afterRenderCallbacks.length) {\n const callback = projectorState.afterRenderCallbacks.shift();\n callback && callback();\n }\n }\n else {\n if (global.requestIdleCallback) {\n global.requestIdleCallback(() => {\n while (projectorState.afterRenderCallbacks.length) {\n const callback = projectorState.afterRenderCallbacks.shift();\n callback && callback();\n }\n });\n }\n else {\n setTimeout(() => {\n while (projectorState.afterRenderCallbacks.length) {\n const callback = projectorState.afterRenderCallbacks.shift();\n callback && callback();\n }\n });\n }\n }\n}\nfunction scheduleRender(projectionOptions) {\n const projectorState = projectorStateMap.get(projectionOptions.projectorInstance);\n if (projectionOptions.sync) {\n render(projectionOptions);\n }\n else if (projectorState.renderScheduled === undefined) {\n projectorState.renderScheduled = global.requestAnimationFrame(() => {\n render(projectionOptions);\n });\n }\n}\nfunction render(projectionOptions) {\n const projectorState = projectorStateMap.get(projectionOptions.projectorInstance);\n projectorState.renderScheduled = undefined;\n const renderQueue = projectorState.renderQueue;\n const renders = [...renderQueue];\n projectorState.renderQueue = [];\n renders.sort((a, b) => a.depth - b.depth);\n const previouslyRendered = [];\n while (renders.length) {\n const { instance } = renders.shift();\n if (instanceMap.has(instance) && previouslyRendered.indexOf(instance) === -1) {\n previouslyRendered.push(instance);\n const { parentVNode, dnode } = instanceMap.get(instance);\n const instanceData = widgetInstanceMap.get(instance);\n const nextSiblings = nextSiblingMap.get(instance);\n updateDom(dnode, toInternalWNode(instance, instanceData), projectionOptions, parentVNode, instance, nextSiblings, nextSiblings);\n }\n }\n runAfterRenderCallbacks(projectionOptions);\n runDeferredRenderCallbacks(projectionOptions);\n}\nexport const dom = {\n append: function (parentNode, instance, projectionOptions = {}) {\n const instanceData = widgetInstanceMap.get(instance);\n const finalProjectorOptions = getProjectionOptions(projectionOptions, instance);\n const projectorState = {\n afterRenderCallbacks: [],\n deferredRenderCallbacks: [],\n nodeMap: new WeakMap(),\n renderScheduled: undefined,\n renderQueue: [],\n merge: projectionOptions.merge || false,\n mergeElement: projectionOptions.mergeElement\n };\n projectorStateMap.set(instance, projectorState);\n finalProjectorOptions.rootNode = parentNode;\n const parentVNode = toParentVNode(finalProjectorOptions.rootNode);\n const node = toInternalWNode(instance, instanceData);\n instanceMap.set(instance, { dnode: node, parentVNode });\n instanceData.invalidate = () => {\n instanceData.dirty = true;\n if (instanceData.rendering === false) {\n projectorState.renderQueue.push({ instance, depth: finalProjectorOptions.depth });\n scheduleRender(finalProjectorOptions);\n }\n };\n updateDom(node, node, finalProjectorOptions, parentVNode, instance, [], []);\n projectorState.afterRenderCallbacks.push(() => {\n instanceData.onAttach();\n });\n runDeferredRenderCallbacks(finalProjectorOptions);\n runAfterRenderCallbacks(finalProjectorOptions);\n return {\n domNode: finalProjectorOptions.rootNode\n };\n },\n create: function (instance, projectionOptions) {\n return this.append(document.createElement('div'), instance, projectionOptions);\n },\n merge: function (element, instance, projectionOptions = {}) {\n projectionOptions.merge = true;\n projectionOptions.mergeElement = element;\n const projection = this.append(element.parentNode, instance, projectionOptions);\n const projectorState = projectorStateMap.get(instance);\n projectorState.merge = false;\n return projection;\n }\n};\n//# sourceMappingURL=vdom.mjs.map" }, { - "id": "./node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--5-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", - "name": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js", - "index": 1, - "index2": 41, - "size": 283, + "id": 13, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/tslib/tslib.js", + "name": "./node_modules/tslib/tslib.js", + "index": 14, + "index2": 9, + "size": 10531, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ - "menu" + 0 + ], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + } ], - "assets": [], - "issuer": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", - "issuerId": 0, - "issuerName": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js", "failed": false, "errors": 0, "warnings": 0, - "reasons": [ - { - "moduleId": 0, - "moduleIdentifier": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", - "module": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js", - "moduleName": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js", - "type": "single entry", - "userRequest": "imports-loader?widgetFactory=src/menu/Menu!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", - "loc": "menu:100000" - } - ], - "usedExports": true, - "providedExports": null, - "optimizationBailout": [], - "depth": 1, - "source": "/*** IMPORTS FROM imports-loader ***/\nvar widgetFactory = require(\"src/menu/Menu\");\n\nvar registerCustomElement = require('@dojo/framework/widget-core/registerCustomElement').default;\n\nvar defaultExport = widgetFactory.default;\ndefaultExport && registerCustomElement(defaultExport);\n\n" - }, - { - "id": "./node_modules/process/browser.js", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--5-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/process/browser.js", - "name": "./node_modules/process/browser.js", - "index": 9, - "index2": 2, - "size": 5418, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/has/has.mjs", - "issuerId": "./node_modules/@dojo/framework/has/has.mjs", - "issuerName": "./node_modules/@dojo/framework/has/has.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ - { - "moduleId": "./node_modules/@dojo/framework/has/has.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/has/has.mjs", - "module": "./node_modules/@dojo/framework/has/has.mjs", - "moduleName": "./node_modules/@dojo/framework/has/has.mjs", - "type": "cjs require", - "userRequest": "process", - "loc": "1:0-40" - } - ], - "usedExports": true, - "providedExports": null, - "optimizationBailout": [], - "depth": 6, - "source": "// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n" - }, - { - "id": "./node_modules/tslib/tslib.es6.js", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--5-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/tslib/tslib.es6.js", - "name": "./node_modules/tslib/tslib.es6.js", - "index": 3, - "index2": 0, - "size": 8033, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu" - ], "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "failed": false, - "errors": 0, - "warnings": 0, "reasons": [ { - "moduleId": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", - "type": "harmony import", + "moduleId": 19, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs 7cf860e45721ea2eddfdcf432935cea3", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-33" }, { - "moduleId": "./src/menu/Menu.ts", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--3-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--3-1!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--3-2!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/src/menu/Menu.ts", - "module": "./src/menu/Menu.ts", - "moduleName": "./src/menu/Menu.ts", - "type": "harmony import", + "moduleId": 19, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs 7cf860e45721ea2eddfdcf432935cea3", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "type": "harmony import specifier", "userRequest": "tslib", - "loc": "1:0-33" + "loc": "111:73-87" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "module": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", - "type": "harmony import", + "moduleId": 19, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs 7cf860e45721ea2eddfdcf432935cea3", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "type": "harmony import specifier", + "userRequest": "tslib", + "loc": "123:4-22" + }, + { + "moduleId": 19, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs 7cf860e45721ea2eddfdcf432935cea3", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "type": "harmony import specifier", + "userRequest": "tslib", + "loc": "127:13-31" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-33" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", - "type": "harmony import", + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony side effect evaluation", "userRequest": "tslib", "loc": "1:0-33" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "tslib", + "loc": "32:25-43" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "tslib", + "loc": "148:4-22" } ], "usedExports": [ "__decorate", "__rest" ], - "providedExports": [ - "__extends", - "__assign", - "__rest", - "__decorate", - "__param", - "__metadata", - "__awaiter", - "__generator", - "__exportStar", - "__values", - "__read", - "__spread", - "__await", - "__asyncGenerator", - "__asyncDelegator", - "__asyncValues", - "__makeTemplateObject" + "providedExports": null, + "optimizationBailout": [ + "ModuleConcatenation bailout: Module is not an ECMAScript module" ], - "optimizationBailout": [], "depth": 3, - "source": "/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)\r\n t[p[i]] = s[p[i]];\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = y[op[0] & 2 ? \"return\" : op[0] ? \"throw\" : \"next\"]) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [0, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator], i = 0;\r\n if (m) return m.call(o);\r\n return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { if (o[n]) i[n] = function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; }; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator];\r\n return m ? m.call(o) : typeof __values === \"function\" ? __values(o) : o[Symbol.iterator]();\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n" + "source": "/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global global, define, System, Reflect, Promise */\r\nvar __extends;\r\nvar __assign;\r\nvar __rest;\r\nvar __decorate;\r\nvar __param;\r\nvar __metadata;\r\nvar __awaiter;\r\nvar __generator;\r\nvar __exportStar;\r\nvar __values;\r\nvar __read;\r\nvar __spread;\r\nvar __await;\r\nvar __asyncGenerator;\r\nvar __asyncDelegator;\r\nvar __asyncValues;\r\nvar __makeTemplateObject;\r\n(function (factory) {\r\n var root = typeof global === \"object\" ? global : typeof self === \"object\" ? self : typeof this === \"object\" ? this : {};\r\n if (typeof define === \"function\" && define.amd) {\r\n define(\"tslib\", [\"exports\"], function (exports) { factory(createExporter(root, createExporter(exports))); });\r\n }\r\n else if (typeof module === \"object\" && typeof module.exports === \"object\") {\r\n factory(createExporter(root, createExporter(module.exports)));\r\n }\r\n else {\r\n factory(createExporter(root));\r\n }\r\n function createExporter(exports, previous) {\r\n if (exports !== root) {\r\n if (typeof Object.create === \"function\") {\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n }\r\n else {\r\n exports.__esModule = true;\r\n }\r\n }\r\n return function (id, v) { return exports[id] = previous ? previous(id, v) : v; };\r\n }\r\n})\r\n(function (exporter) {\r\n var extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n\r\n __extends = function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n\r\n __assign = Object.assign || function (t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n\r\n __rest = function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)\r\n t[p[i]] = s[p[i]];\r\n return t;\r\n };\r\n\r\n __decorate = function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n };\r\n\r\n __param = function (paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n };\r\n\r\n __metadata = function (metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n };\r\n\r\n __awaiter = function (thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n };\r\n\r\n __generator = function (thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = y[op[0] & 2 ? \"return\" : op[0] ? \"throw\" : \"next\"]) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [0, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n };\r\n\r\n __exportStar = function (m, exports) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n };\r\n\r\n __values = function (o) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator], i = 0;\r\n if (m) return m.call(o);\r\n return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n };\r\n\r\n __read = function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n };\r\n\r\n __spread = function () {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n };\r\n\r\n __await = function (v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n };\r\n\r\n __asyncGenerator = function (thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n };\r\n\r\n __asyncDelegator = function (o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { if (o[n]) i[n] = function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; }; }\r\n };\r\n\r\n __asyncValues = function (o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator];\r\n return m ? m.call(o) : typeof __values === \"function\" ? __values(o) : o[Symbol.iterator]();\r\n };\r\n\r\n __makeTemplateObject = function (cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n };\r\n\r\n exporter(\"__extends\", __extends);\r\n exporter(\"__assign\", __assign);\r\n exporter(\"__rest\", __rest);\r\n exporter(\"__decorate\", __decorate);\r\n exporter(\"__param\", __param);\r\n exporter(\"__metadata\", __metadata);\r\n exporter(\"__awaiter\", __awaiter);\r\n exporter(\"__generator\", __generator);\r\n exporter(\"__exportStar\", __exportStar);\r\n exporter(\"__values\", __values);\r\n exporter(\"__read\", __read);\r\n exporter(\"__spread\", __spread);\r\n exporter(\"__await\", __await);\r\n exporter(\"__asyncGenerator\", __asyncGenerator);\r\n exporter(\"__asyncDelegator\", __asyncDelegator);\r\n exporter(\"__asyncValues\", __asyncValues);\r\n exporter(\"__makeTemplateObject\", __makeTemplateObject);\r\n});\r\n" }, { - "id": "./node_modules/webpack/buildin/global.js", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--5-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/webpack/buildin/global.js", - "name": "(webpack)/buildin/global.js", - "index": 8, - "index2": 1, - "size": 488, + "id": 14, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/diff.mjs", + "name": "./node_modules/@dojo/framework/widget-core/diff.mjs", + "index": 21, + "index2": 23, + "size": 1930, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ - "menu" + 0 + ], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "name": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs" + } ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/global.mjs", - "issuerId": "./node_modules/@dojo/framework/shim/global.mjs", - "issuerName": "./node_modules/@dojo/framework/shim/global.mjs", "failed": false, "errors": 0, "warnings": 0, + "assets": [], "reasons": [ { - "moduleId": "./node_modules/@dojo/framework/shim/global.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/shim/global.mjs", - "module": "./node_modules/@dojo/framework/shim/global.mjs", - "moduleName": "./node_modules/@dojo/framework/shim/global.mjs", - "type": "cjs require", - "userRequest": "global", - "loc": "1:0-47" + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony side effect evaluation", + "userRequest": "./diff", + "loc": "5:0-30" }, { - "moduleId": "./node_modules/@dojo/framework/has/has.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/has/has.mjs", - "module": "./node_modules/@dojo/framework/has/has.mjs", - "moduleName": "./node_modules/@dojo/framework/has/has.mjs", - "type": "cjs require", - "userRequest": "global", - "loc": "1:0-47" + "moduleId": 17, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "type": "harmony import specifier", + "userRequest": "./diff", + "loc": "11:18-22" + }, + { + "moduleId": 19, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs 7cf860e45721ea2eddfdcf432935cea3", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "type": "harmony side effect evaluation", + "userRequest": "./../diff", + "loc": "2:0-33" + }, + { + "moduleId": 19, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs 7cf860e45721ea2eddfdcf432935cea3", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "type": "harmony side effect evaluation", + "userRequest": "./../diff", + "loc": "6:0-36" + }, + { + "moduleId": 19, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs 7cf860e45721ea2eddfdcf432935cea3", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "type": "harmony import specifier", + "userRequest": "./../diff", + "loc": "10:58-62" + }, + { + "moduleId": 19, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs 7cf860e45721ea2eddfdcf432935cea3", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "type": "harmony import specifier", + "userRequest": "./../diff", + "loc": "124:30-37" + }, + { + "moduleId": 19, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs 7cf860e45721ea2eddfdcf432935cea3", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "type": "harmony import specifier", + "userRequest": "./../diff", + "loc": "125:37-44" } ], - "usedExports": true, - "providedExports": null, + "usedExports": [ + "auto", + "shallow" + ], + "providedExports": [ + "always", + "ignore", + "reference", + "shallow", + "auto" + ], "optimizationBailout": [], "depth": 4, - "source": "var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || Function(\"return this\")() || (1,eval)(\"this\");\n} catch(e) {\n\t// This works if the window reference is available\n\tif(typeof window === \"object\")\n\t\tg = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n" + "source": "import { WIDGET_BASE_TYPE } from './Registry';\nfunction isObjectOrArray(value) {\n return Object.prototype.toString.call(value) === '[object Object]' || Array.isArray(value);\n}\nexport function always(previousProperty, newProperty) {\n return {\n changed: true,\n value: newProperty\n };\n}\nexport function ignore(previousProperty, newProperty) {\n return {\n changed: false,\n value: newProperty\n };\n}\nexport function reference(previousProperty, newProperty) {\n return {\n changed: previousProperty !== newProperty,\n value: newProperty\n };\n}\nexport function shallow(previousProperty, newProperty) {\n let changed = false;\n const validOldProperty = previousProperty && isObjectOrArray(previousProperty);\n const validNewProperty = newProperty && isObjectOrArray(newProperty);\n if (!validOldProperty || !validNewProperty) {\n return {\n changed: true,\n value: newProperty\n };\n }\n const previousKeys = Object.keys(previousProperty);\n const newKeys = Object.keys(newProperty);\n if (previousKeys.length !== newKeys.length) {\n changed = true;\n }\n else {\n changed = newKeys.some((key) => {\n return newProperty[key] !== previousProperty[key];\n });\n }\n return {\n changed,\n value: newProperty\n };\n}\nexport function auto(previousProperty, newProperty) {\n let result;\n if (typeof newProperty === 'function') {\n if (newProperty._type === WIDGET_BASE_TYPE) {\n result = reference(previousProperty, newProperty);\n }\n else {\n result = ignore(previousProperty, newProperty);\n }\n }\n else if (isObjectOrArray(newProperty)) {\n result = shallow(previousProperty, newProperty);\n }\n else {\n result = reference(previousProperty, newProperty);\n }\n return result;\n}\n//# sourceMappingURL=diff.mjs.map" }, { - "id": "./src/menu/Menu.ts", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--3-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--3-1!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--3-2!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/src/menu/Menu.ts", - "name": "./src/menu/Menu.ts", - "index": 2, - "index2": 40, - "size": 1459, + "id": 15, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/object.mjs", + "name": "./node_modules/@dojo/framework/shim/object.mjs", + "index": 19, + "index2": 12, + "size": 4090, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ - "menu" + 0 + ], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", + "issuerId": 5, + "issuerName": "./node_modules/@dojo/framework/shim/Map.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "name": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs" + }, + { + "id": 5, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", + "name": "./node_modules/@dojo/framework/shim/Map.mjs" + } ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--5-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", - "issuerId": "./node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js", - "issuerName": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js", "failed": false, "errors": 0, "warnings": 0, + "assets": [], "reasons": [ { - "moduleId": "./node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--5-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", - "module": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js", - "moduleName": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js", - "type": "cjs require", - "userRequest": "src/menu/Menu", - "loc": "2:20-44" + "moduleId": 5, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", + "module": "./node_modules/@dojo/framework/shim/Map.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Map.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./object", + "loc": "3:0-42" + }, + { + "moduleId": 5, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Map.mjs", + "module": "./node_modules/@dojo/framework/shim/Map.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Map.mjs", + "type": "harmony import specifier", + "userRequest": "./object", + "loc": "33:24-32" + }, + { + "moduleId": 20, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/core/lang.mjs", + "module": "./node_modules/@dojo/framework/core/lang.mjs", + "moduleName": "./node_modules/@dojo/framework/core/lang.mjs", + "type": "harmony side effect evaluation", + "userRequest": "../shim/object", + "loc": "1:0-40" + }, + { + "moduleId": 20, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/core/lang.mjs", + "module": "./node_modules/@dojo/framework/core/lang.mjs", + "moduleName": "./node_modules/@dojo/framework/core/lang.mjs", + "type": "harmony side effect evaluation", + "userRequest": "../shim/object", + "loc": "2:0-40" + }, + { + "moduleId": 20, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/core/lang.mjs", + "module": "./node_modules/@dojo/framework/core/lang.mjs", + "moduleName": "./node_modules/@dojo/framework/core/lang.mjs", + "type": "harmony export imported specifier", + "userRequest": "../shim/object", + "loc": "2:0-40" + }, + { + "moduleId": 20, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/core/lang.mjs", + "module": "./node_modules/@dojo/framework/core/lang.mjs", + "moduleName": "./node_modules/@dojo/framework/core/lang.mjs", + "type": "harmony import specifier", + "userRequest": "../shim/object", + "loc": "78:11-17" } ], - "usedExports": true, + "usedExports": [ + "assign", + "is" + ], "providedExports": [ - "Menu", - "default" + "assign", + "getOwnPropertyDescriptor", + "getOwnPropertyNames", + "getOwnPropertySymbols", + "is", + "keys", + "getOwnPropertyDescriptors", + "entries", + "values" ], "optimizationBailout": [], - "depth": 2, - "source": "import * as tslib_1 from \"tslib\";\nimport { v } from '@dojo/framework/widget-core/d';\nimport { customElement } from '@dojo/framework/widget-core/decorators/customElement';\nimport { theme, ThemedMixin } from '@dojo/framework/widget-core/mixins/Themed';\nimport { WidgetBase } from '@dojo/framework/widget-core/WidgetBase';\nimport * as css from './menu.m.css';\nlet Menu = class Menu extends ThemedMixin(WidgetBase) {\n _onSelected(id, data) {\n this._selectedId = id;\n this.properties.onSelected(data);\n this.invalidate();\n }\n render() {\n const items = this.children.map((child, index) => {\n if (child) {\n const properties = {\n onSelected: (data) => {\n this._onSelected(index, data);\n }\n };\n if (this._selectedId !== undefined) {\n properties.selected = index === this._selectedId;\n }\n child.properties = Object.assign({}, child.properties, properties);\n }\n return child;\n });\n return v('nav', { classes: this.theme(css.root) }, [\n v('ol', {\n classes: this.theme(css.menuContainer)\n }, items)\n ]);\n }\n};\nMenu = tslib_1.__decorate([\n customElement({\n tag: 'demo-menu',\n events: ['onSelected']\n }),\n theme(css)\n], Menu);\nexport { Menu };\nexport default Menu;\n" + "depth": 5, + "source": "import global from './global';\nimport has from './support/has';\nimport { isSymbol } from './Symbol';\nexport let assign;\n/**\n * Gets the own property descriptor of the specified object.\n * An own property descriptor is one that is defined directly on the object and is not\n * inherited from the object's prototype.\n * @param o Object that contains the property.\n * @param p Name of the property.\n */\nexport let getOwnPropertyDescriptor;\n/**\n * Returns the names of the own properties of an object. The own properties of an object are those that are defined directly\n * on that object, and are not inherited from the object's prototype. The properties of an object include both fields (objects) and functions.\n * @param o Object that contains the own properties.\n */\nexport let getOwnPropertyNames;\n/**\n * Returns an array of all symbol properties found directly on object o.\n * @param o Object to retrieve the symbols from.\n */\nexport let getOwnPropertySymbols;\n/**\n * Returns true if the values are the same value, false otherwise.\n * @param value1 The first value.\n * @param value2 The second value.\n */\nexport let is;\n/**\n * Returns the names of the enumerable properties and methods of an object.\n * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.\n */\nexport let keys;\n/* ES7 Object static methods */\nexport let getOwnPropertyDescriptors;\nexport let entries;\nexport let values;\nif (has('es6-object')) {\n const globalObject = global.Object;\n assign = globalObject.assign;\n getOwnPropertyDescriptor = globalObject.getOwnPropertyDescriptor;\n getOwnPropertyNames = globalObject.getOwnPropertyNames;\n getOwnPropertySymbols = globalObject.getOwnPropertySymbols;\n is = globalObject.is;\n keys = globalObject.keys;\n}\nelse {\n keys = function symbolAwareKeys(o) {\n return Object.keys(o).filter((key) => !Boolean(key.match(/^@@.+/)));\n };\n assign = function assign(target, ...sources) {\n if (target == null) {\n // TypeError if undefined or null\n throw new TypeError('Cannot convert undefined or null to object');\n }\n const to = Object(target);\n sources.forEach((nextSource) => {\n if (nextSource) {\n // Skip over if undefined or null\n keys(nextSource).forEach((nextKey) => {\n to[nextKey] = nextSource[nextKey];\n });\n }\n });\n return to;\n };\n getOwnPropertyDescriptor = function getOwnPropertyDescriptor(o, prop) {\n if (isSymbol(prop)) {\n return Object.getOwnPropertyDescriptor(o, prop);\n }\n else {\n return Object.getOwnPropertyDescriptor(o, prop);\n }\n };\n getOwnPropertyNames = function getOwnPropertyNames(o) {\n return Object.getOwnPropertyNames(o).filter((key) => !Boolean(key.match(/^@@.+/)));\n };\n getOwnPropertySymbols = function getOwnPropertySymbols(o) {\n return Object.getOwnPropertyNames(o)\n .filter((key) => Boolean(key.match(/^@@.+/)))\n .map((key) => Symbol.for(key.substring(2)));\n };\n is = function is(value1, value2) {\n if (value1 === value2) {\n return value1 !== 0 || 1 / value1 === 1 / value2; // -0\n }\n return value1 !== value1 && value2 !== value2; // NaN\n };\n}\nif (has('es2017-object')) {\n const globalObject = global.Object;\n getOwnPropertyDescriptors = globalObject.getOwnPropertyDescriptors;\n entries = globalObject.entries;\n values = globalObject.values;\n}\nelse {\n getOwnPropertyDescriptors = function getOwnPropertyDescriptors(o) {\n return getOwnPropertyNames(o).reduce((previous, key) => {\n previous[key] = getOwnPropertyDescriptor(o, key);\n return previous;\n }, {});\n };\n entries = function entries(o) {\n return keys(o).map((key) => [key, o[key]]);\n };\n values = function values(o) {\n return keys(o).map((key) => o[key]);\n };\n}\n//# sourceMappingURL=object.mjs.map" }, { - "id": "./src/menu/menu.m.css", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/extract-text-webpack-plugin/dist/loader.js??ref--10-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/style-loader/index.js!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-decorator-loader/index.js!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/css-loader/index.js??ref--10-3!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/postcss-loader/lib/index.js??postcss!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=css!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/src/menu/menu.m.css", - "name": "./src/menu/menu.m.css", - "index": 42, - "index2": 39, - "size": 161, + "id": 16, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Promise.mjs", + "name": "./node_modules/@dojo/framework/shim/Promise.mjs", + "index": 23, + "index2": 18, + "size": 8533, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ - "menu" + 0 ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--3-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--3-1!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--3-2!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/src/menu/Menu.ts", - "issuerId": "./src/menu/Menu.ts", - "issuerName": "./src/menu/Menu.ts", - "failed": false, + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", + "issuerId": 8, + "issuerName": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "name": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs" + }, + { + "id": 8, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", + "name": "./node_modules/@dojo/framework/widget-core/Registry.mjs" + } + ], + "failed": false, "errors": 0, "warnings": 0, + "assets": [], "reasons": [ { - "moduleId": "./src/menu/Menu.ts", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--3-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--3-1!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--3-2!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/src/menu/Menu.ts", - "module": "./src/menu/Menu.ts", - "moduleName": "./src/menu/Menu.ts", - "type": "harmony import", - "userRequest": "./menu.m.css", - "loc": "6:0-36" + "moduleId": 8, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", + "module": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "type": "harmony side effect evaluation", + "userRequest": "../shim/Promise", + "loc": "1:0-38" + }, + { + "moduleId": 8, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", + "module": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "type": "harmony import specifier", + "userRequest": "../shim/Promise", + "loc": "46:28-35" + }, + { + "moduleId": 8, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", + "module": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/Registry.mjs", + "type": "harmony import specifier", + "userRequest": "../shim/Promise", + "loc": "82:28-35" + }, + { + "moduleId": 11, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/core/Evented.mjs 5a735fda53696584e4cc34e239a550e6", + "module": "./node_modules/@dojo/framework/core/Evented.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/core/Evented.mjs + 1 modules", + "type": "harmony side effect evaluation", + "userRequest": "../shim/Promise", + "loc": "2:0-38" + }, + { + "moduleId": 11, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/core/Evented.mjs 5a735fda53696584e4cc34e239a550e6", + "module": "./node_modules/@dojo/framework/core/Evented.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/core/Evented.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "../shim/Promise", + "loc": "7:11-18" + }, + { + "moduleId": 11, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/core/Evented.mjs 5a735fda53696584e4cc34e239a550e6", + "module": "./node_modules/@dojo/framework/core/Evented.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/core/Evented.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "../shim/Promise", + "loc": "45:19-26" } ], - "usedExports": true, - "providedExports": null, + "usedExports": [ + "default" + ], + "providedExports": [ + "ShimPromise", + "isThenable", + "default" + ], "optimizationBailout": [], - "depth": 3, - "source": "// removed by extract-text-webpack-plugin\nmodule.exports = {\" _key\":\"test-app/menu\",\"root\":\"menu-m__root__3bA6j\",\"menuContainer\":\"menu-m__menuContainer__1eoGf\"};" - } - ], - "filteredModules": 0, - "origins": [ - { - "moduleId": 0, - "module": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", - "moduleIdentifier": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", - "moduleName": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js", - "loc": "", - "name": "menu", - "reasons": [] - } - ] - } - ], - "modules": [ - { - "id": "./node_modules/@dojo/framework/core/Destroyable.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/core/Destroyable.mjs", - "name": "./node_modules/@dojo/framework/core/Destroyable.mjs", - "index": 25, - "index2": 17, - "size": 1665, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/core/Evented.mjs", - "issuerId": "./node_modules/@dojo/framework/core/Evented.mjs", - "issuerName": "./node_modules/@dojo/framework/core/Evented.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ - { - "moduleId": "./node_modules/@dojo/framework/core/Evented.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/core/Evented.mjs", - "module": "./node_modules/@dojo/framework/core/Evented.mjs", - "moduleName": "./node_modules/@dojo/framework/core/Evented.mjs", - "type": "harmony import", - "userRequest": "./Destroyable", - "loc": "2:0-44" - } - ], - "usedExports": [ - "Destroyable" - ], - "providedExports": [ - "Destroyable", - "default" - ], - "optimizationBailout": [], - "depth": 6, - "source": "import { createCompositeHandle } from './lang';\nimport Promise from '../shim/Promise';\n/**\n * No operation function to replace own once instance is destoryed\n */\nfunction noop() {\n return Promise.resolve(false);\n}\n/**\n * No op function used to replace own, once instance has been destoryed\n */\nfunction destroyed() {\n throw new Error('Call made to destroyed method');\n}\nexport class Destroyable {\n /**\n * @constructor\n */\n constructor() {\n this.handles = [];\n }\n /**\n * Register handles for the instance that will be destroyed when `this.destroy` is called\n *\n * @param {Handle} handle The handle to add for the instance\n * @returns {Handle} a handle for the handle, removes the handle for the instance and calls destroy\n */\n own(handles) {\n const handle = Array.isArray(handles) ? createCompositeHandle(...handles) : handles;\n const { handles: _handles } = this;\n _handles.push(handle);\n return {\n destroy() {\n _handles.splice(_handles.indexOf(handle));\n handle.destroy();\n }\n };\n }\n /**\n * Destrpys all handers registered for the instance\n *\n * @returns {Promise {\n this.handles.forEach((handle) => {\n handle && handle.destroy && handle.destroy();\n });\n this.destroy = noop;\n this.own = destroyed;\n resolve(true);\n });\n }\n}\nexport default Destroyable;\n//# sourceMappingURL=Destroyable.mjs.map" - }, - { - "id": "./node_modules/@dojo/framework/core/Evented.mjs", - "identifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/core/Evented.mjs", - "name": "./node_modules/@dojo/framework/core/Evented.mjs", - "index": 24, - "index2": 18, - "size": 2151, - "cacheable": true, - "built": true, - "optional": false, - "prefetched": false, - "chunks": [ - "menu" - ], - "assets": [], - "issuer": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", - "issuerId": "./node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", - "issuerName": "./node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", - "failed": false, - "errors": 0, - "warnings": 0, - "reasons": [ - { - "moduleId": "./node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", - "module": "./node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", - "type": "harmony import", - "userRequest": "../core/Evented", - "loc": "2:0-42" - }, - { - "moduleId": "./node_modules/@dojo/framework/widget-core/NodeHandler.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/NodeHandler.mjs", - "module": "./node_modules/@dojo/framework/widget-core/NodeHandler.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/NodeHandler.mjs", - "type": "harmony import", - "userRequest": "../core/Evented", - "loc": "1:0-42" + "depth": 5, + "source": "import global from './global';\nimport { queueMicroTask } from './support/queue';\nimport './Symbol';\nimport has from './support/has';\nexport let ShimPromise = global.Promise;\nexport const isThenable = function isThenable(value) {\n return value && typeof value.then === 'function';\n};\nif (!has('es6-promise')) {\n global.Promise = ShimPromise = (_a = class Promise {\n /**\n * Creates a new Promise.\n *\n * @constructor\n *\n * @param executor\n * The executor function is called immediately when the Promise is instantiated. It is responsible for\n * starting the asynchronous operation when it is invoked.\n *\n * The executor must call either the passed `resolve` function when the asynchronous operation has completed\n * successfully, or the `reject` function when the operation fails.\n */\n constructor(executor) {\n /**\n * The current state of this promise.\n */\n this.state = 1 /* Pending */;\n this[Symbol.toStringTag] = 'Promise';\n /**\n * If true, the resolution of this promise is chained (\"locked in\") to another promise.\n */\n let isChained = false;\n /**\n * Whether or not this promise is in a resolved state.\n */\n const isResolved = () => {\n return this.state !== 1 /* Pending */ || isChained;\n };\n /**\n * Callbacks that should be invoked once the asynchronous operation has completed.\n */\n let callbacks = [];\n /**\n * Initially pushes callbacks onto a queue for execution once this promise settles. After the promise settles,\n * enqueues callbacks for execution on the next event loop turn.\n */\n let whenFinished = function (callback) {\n if (callbacks) {\n callbacks.push(callback);\n }\n };\n /**\n * Settles this promise.\n *\n * @param newState The resolved state for this promise.\n * @param {T|any} value The resolved value for this promise.\n */\n const settle = (newState, value) => {\n // A promise can only be settled once.\n if (this.state !== 1 /* Pending */) {\n return;\n }\n this.state = newState;\n this.resolvedValue = value;\n whenFinished = queueMicroTask;\n // Only enqueue a callback runner if there are callbacks so that initially fulfilled Promises don't have to\n // wait an extra turn.\n if (callbacks && callbacks.length > 0) {\n queueMicroTask(function () {\n if (callbacks) {\n let count = callbacks.length;\n for (let i = 0; i < count; ++i) {\n callbacks[i].call(null);\n }\n callbacks = null;\n }\n });\n }\n };\n /**\n * Resolves this promise.\n *\n * @param newState The resolved state for this promise.\n * @param {T|any} value The resolved value for this promise.\n */\n const resolve = (newState, value) => {\n if (isResolved()) {\n return;\n }\n if (isThenable(value)) {\n value.then(settle.bind(null, 0 /* Fulfilled */), settle.bind(null, 2 /* Rejected */));\n isChained = true;\n }\n else {\n settle(newState, value);\n }\n };\n this.then = (onFulfilled, onRejected) => {\n return new Promise((resolve, reject) => {\n // whenFinished initially queues up callbacks for execution after the promise has settled. Once the\n // promise has settled, whenFinished will schedule callbacks for execution on the next turn through the\n // event loop.\n whenFinished(() => {\n const callback = this.state === 2 /* Rejected */ ? onRejected : onFulfilled;\n if (typeof callback === 'function') {\n try {\n resolve(callback(this.resolvedValue));\n }\n catch (error) {\n reject(error);\n }\n }\n else if (this.state === 2 /* Rejected */) {\n reject(this.resolvedValue);\n }\n else {\n resolve(this.resolvedValue);\n }\n });\n });\n };\n try {\n executor(resolve.bind(null, 0 /* Fulfilled */), resolve.bind(null, 2 /* Rejected */));\n }\n catch (error) {\n settle(2 /* Rejected */, error);\n }\n }\n static all(iterable) {\n return new this(function (resolve, reject) {\n const values = [];\n let complete = 0;\n let total = 0;\n let populating = true;\n function fulfill(index, value) {\n values[index] = value;\n ++complete;\n finish();\n }\n function finish() {\n if (populating || complete < total) {\n return;\n }\n resolve(values);\n }\n function processItem(index, item) {\n ++total;\n if (isThenable(item)) {\n // If an item Promise rejects, this Promise is immediately rejected with the item\n // Promise's rejection error.\n item.then(fulfill.bind(null, index), reject);\n }\n else {\n Promise.resolve(item).then(fulfill.bind(null, index));\n }\n }\n let i = 0;\n for (const value of iterable) {\n processItem(i, value);\n i++;\n }\n populating = false;\n finish();\n });\n }\n static race(iterable) {\n return new this(function (resolve, reject) {\n for (const item of iterable) {\n if (item instanceof Promise) {\n // If a Promise item rejects, this Promise is immediately rejected with the item\n // Promise's rejection error.\n item.then(resolve, reject);\n }\n else {\n Promise.resolve(item).then(resolve);\n }\n }\n });\n }\n static reject(reason) {\n return new this(function (resolve, reject) {\n reject(reason);\n });\n }\n static resolve(value) {\n return new this(function (resolve) {\n resolve(value);\n });\n }\n catch(onRejected) {\n return this.then(undefined, onRejected);\n }\n },\n _a[Symbol.species] = ShimPromise,\n _a);\n}\nexport default ShimPromise;\nvar _a;\n//# sourceMappingURL=Promise.mjs.map" }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/Registry.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", - "module": "./node_modules/@dojo/framework/widget-core/Registry.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/Registry.mjs", - "type": "harmony import", - "userRequest": "../core/Evented", - "loc": "4:0-42" + "id": 17, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs f0b383a714a3719c45b550955f7e7a95", + "name": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs + 2 modules", + "index": 15, + "index2": 29, + "size": 17706, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + 0 + ], + "issuer": null, + "issuerId": null, + "issuerName": null, + "issuerPath": null, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony side effect evaluation", + "userRequest": "./WidgetBase", + "loc": "2:0-50" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "./WidgetBase", + "loc": "16:62-72" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "./WidgetBase", + "loc": "110:42-52" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "./WidgetBase", + "loc": "179:22-28" + }, + { + "moduleId": 32, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu/Menu.ts 47795eafebb02535b67ce03321dbb770", + "module": "./src/menu/Menu.ts + 2 modules", + "moduleName": "./src/menu/Menu.ts + 2 modules", + "type": "harmony side effect evaluation", + "userRequest": "@dojo/framework/widget-core/WidgetBase", + "loc": "5:0-68" + }, + { + "moduleId": 32, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu/Menu.ts 47795eafebb02535b67ce03321dbb770", + "module": "./src/menu/Menu.ts + 2 modules", + "moduleName": "./src/menu/Menu.ts + 2 modules", + "type": "harmony import specifier", + "userRequest": "@dojo/framework/widget-core/WidgetBase", + "loc": "7:42-52" + } + ], + "usedExports": [ + "WidgetBase", + "noBind" + ], + "providedExports": [ + "noBind", + "WidgetBase", + "default" + ], + "optimizationBailout": [ + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/core/Evented.mjs because of ./src/menu/Menu.ts", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/shim/Map.mjs because of ./src/menu/Menu.ts", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/shim/Symbol.mjs because of ./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/shim/WeakMap.mjs because of ./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/widget-core/Registry.mjs because of ./src/menu/Menu.ts", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/widget-core/d.mjs because of ./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/widget-core/diff.mjs because of ./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/widget-core/vdom.mjs because of ./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + ], + "depth": 3, + "modules": [ + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "name": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "index": 15, + "index2": 29, + "size": 13720, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony side effect evaluation", + "userRequest": "./WidgetBase", + "loc": "2:0-50" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "./WidgetBase", + "loc": "16:62-72" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "./WidgetBase", + "loc": "110:42-52" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "./WidgetBase", + "loc": "179:22-28" + }, + { + "moduleId": 32, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu/Menu.ts 47795eafebb02535b67ce03321dbb770", + "module": "./src/menu/Menu.ts + 2 modules", + "moduleName": "./src/menu/Menu.ts + 2 modules", + "type": "harmony side effect evaluation", + "userRequest": "@dojo/framework/widget-core/WidgetBase", + "loc": "5:0-68" + }, + { + "moduleId": 32, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu/Menu.ts 47795eafebb02535b67ce03321dbb770", + "module": "./src/menu/Menu.ts + 2 modules", + "moduleName": "./src/menu/Menu.ts + 2 modules", + "type": "harmony import specifier", + "userRequest": "@dojo/framework/widget-core/WidgetBase", + "loc": "7:42-52" + } + ], + "usedExports": [ + "WidgetBase", + "noBind" + ], + "providedExports": [ + "noBind", + "WidgetBase", + "default" + ], + "optimizationBailout": [], + "depth": 3, + "source": "import Map from '../shim/Map';\nimport WeakMap from '../shim/WeakMap';\nimport Symbol from '../shim/Symbol';\nimport { v } from './d';\nimport { auto } from './diff';\nimport RegistryHandler from './RegistryHandler';\nimport NodeHandler from './NodeHandler';\nimport { widgetInstanceMap } from './vdom';\nimport { isWidgetBaseConstructor, WIDGET_BASE_TYPE } from './Registry';\nconst decoratorMap = new Map();\nconst boundAuto = auto.bind(null);\nexport const noBind = Symbol.for('dojoNoBind');\n/**\n * Main widget base for all widgets to extend\n */\nexport class WidgetBase {\n /**\n * @constructor\n */\n constructor() {\n /**\n * Indicates if it is the initial set properties cycle\n */\n this._initialProperties = true;\n /**\n * Array of property keys considered changed from the previous set properties\n */\n this._changedPropertyKeys = [];\n this._nodeHandler = new NodeHandler();\n this._handles = [];\n this._children = [];\n this._decoratorCache = new Map();\n this._properties = {};\n this._boundRenderFunc = this.render.bind(this);\n this._boundInvalidate = this.invalidate.bind(this);\n widgetInstanceMap.set(this, {\n dirty: true,\n onAttach: () => {\n this.onAttach();\n },\n onDetach: () => {\n this.onDetach();\n this.destroy();\n },\n nodeHandler: this._nodeHandler,\n registry: () => {\n return this.registry;\n },\n coreProperties: {},\n rendering: false,\n inputProperties: {}\n });\n this._runAfterConstructors();\n }\n meta(MetaType) {\n if (this._metaMap === undefined) {\n this._metaMap = new Map();\n }\n let cached = this._metaMap.get(MetaType);\n if (!cached) {\n cached = new MetaType({\n invalidate: this._boundInvalidate,\n nodeHandler: this._nodeHandler,\n bind: this\n });\n this.own(cached);\n this._metaMap.set(MetaType, cached);\n }\n return cached;\n }\n onAttach() {\n // Do nothing by default.\n }\n onDetach() {\n // Do nothing by default.\n }\n get properties() {\n return this._properties;\n }\n get changedPropertyKeys() {\n return [...this._changedPropertyKeys];\n }\n __setCoreProperties__(coreProperties) {\n const { baseRegistry } = coreProperties;\n const instanceData = widgetInstanceMap.get(this);\n if (instanceData.coreProperties.baseRegistry !== baseRegistry) {\n if (this._registry === undefined) {\n this._registry = new RegistryHandler();\n this.own(this._registry);\n this.own(this._registry.on('invalidate', this._boundInvalidate));\n }\n this._registry.base = baseRegistry;\n this.invalidate();\n }\n instanceData.coreProperties = coreProperties;\n }\n __setProperties__(originalProperties) {\n const instanceData = widgetInstanceMap.get(this);\n instanceData.inputProperties = originalProperties;\n const properties = this._runBeforeProperties(originalProperties);\n const registeredDiffPropertyNames = this.getDecorator('registeredDiffProperty');\n const changedPropertyKeys = [];\n const propertyNames = Object.keys(properties);\n if (this._initialProperties === false || registeredDiffPropertyNames.length !== 0) {\n const allProperties = [...propertyNames, ...Object.keys(this._properties)];\n const checkedProperties = [];\n const diffPropertyResults = {};\n let runReactions = false;\n for (let i = 0; i < allProperties.length; i++) {\n const propertyName = allProperties[i];\n if (checkedProperties.indexOf(propertyName) !== -1) {\n continue;\n }\n checkedProperties.push(propertyName);\n const previousProperty = this._properties[propertyName];\n const newProperty = this._bindFunctionProperty(properties[propertyName], instanceData.coreProperties.bind);\n if (registeredDiffPropertyNames.indexOf(propertyName) !== -1) {\n runReactions = true;\n const diffFunctions = this.getDecorator(`diffProperty:${propertyName}`);\n for (let i = 0; i < diffFunctions.length; i++) {\n const result = diffFunctions[i](previousProperty, newProperty);\n if (result.changed && changedPropertyKeys.indexOf(propertyName) === -1) {\n changedPropertyKeys.push(propertyName);\n }\n if (propertyName in properties) {\n diffPropertyResults[propertyName] = result.value;\n }\n }\n }\n else {\n const result = boundAuto(previousProperty, newProperty);\n if (result.changed && changedPropertyKeys.indexOf(propertyName) === -1) {\n changedPropertyKeys.push(propertyName);\n }\n if (propertyName in properties) {\n diffPropertyResults[propertyName] = result.value;\n }\n }\n }\n if (runReactions) {\n const reactionFunctions = this.getDecorator('diffReaction');\n const executedReactions = [];\n reactionFunctions.forEach(({ reaction, propertyName }) => {\n const propertyChanged = changedPropertyKeys.indexOf(propertyName) !== -1;\n const reactionRun = executedReactions.indexOf(reaction) !== -1;\n if (propertyChanged && !reactionRun) {\n reaction.call(this, this._properties, diffPropertyResults);\n executedReactions.push(reaction);\n }\n });\n }\n this._properties = diffPropertyResults;\n this._changedPropertyKeys = changedPropertyKeys;\n }\n else {\n this._initialProperties = false;\n for (let i = 0; i < propertyNames.length; i++) {\n const propertyName = propertyNames[i];\n if (typeof properties[propertyName] === 'function') {\n properties[propertyName] = this._bindFunctionProperty(properties[propertyName], instanceData.coreProperties.bind);\n }\n else {\n changedPropertyKeys.push(propertyName);\n }\n }\n this._changedPropertyKeys = changedPropertyKeys;\n this._properties = Object.assign({}, properties);\n }\n if (this._changedPropertyKeys.length > 0) {\n this.invalidate();\n }\n }\n get children() {\n return this._children;\n }\n __setChildren__(children) {\n if (this._children.length > 0 || children.length > 0) {\n this._children = children;\n this.invalidate();\n }\n }\n __render__() {\n const instanceData = widgetInstanceMap.get(this);\n instanceData.dirty = false;\n const render = this._runBeforeRenders();\n let dNode = render();\n dNode = this.runAfterRenders(dNode);\n this._nodeHandler.clear();\n return dNode;\n }\n invalidate() {\n const instanceData = widgetInstanceMap.get(this);\n if (instanceData.invalidate) {\n instanceData.invalidate();\n }\n }\n render() {\n return v('div', {}, this.children);\n }\n /**\n * Function to add decorators to WidgetBase\n *\n * @param decoratorKey The key of the decorator\n * @param value The value of the decorator\n */\n addDecorator(decoratorKey, value) {\n value = Array.isArray(value) ? value : [value];\n if (this.hasOwnProperty('constructor')) {\n let decoratorList = decoratorMap.get(this.constructor);\n if (!decoratorList) {\n decoratorList = new Map();\n decoratorMap.set(this.constructor, decoratorList);\n }\n let specificDecoratorList = decoratorList.get(decoratorKey);\n if (!specificDecoratorList) {\n specificDecoratorList = [];\n decoratorList.set(decoratorKey, specificDecoratorList);\n }\n specificDecoratorList.push(...value);\n }\n else {\n const decorators = this.getDecorator(decoratorKey);\n this._decoratorCache.set(decoratorKey, [...decorators, ...value]);\n }\n }\n /**\n * Function to build the list of decorators from the global decorator map.\n *\n * @param decoratorKey The key of the decorator\n * @return An array of decorator values\n * @private\n */\n _buildDecoratorList(decoratorKey) {\n const allDecorators = [];\n let constructor = this.constructor;\n while (constructor) {\n const instanceMap = decoratorMap.get(constructor);\n if (instanceMap) {\n const decorators = instanceMap.get(decoratorKey);\n if (decorators) {\n allDecorators.unshift(...decorators);\n }\n }\n constructor = Object.getPrototypeOf(constructor);\n }\n return allDecorators;\n }\n /**\n * Function to retrieve decorator values\n *\n * @param decoratorKey The key of the decorator\n * @returns An array of decorator values\n */\n getDecorator(decoratorKey) {\n let allDecorators = this._decoratorCache.get(decoratorKey);\n if (allDecorators !== undefined) {\n return allDecorators;\n }\n allDecorators = this._buildDecoratorList(decoratorKey);\n this._decoratorCache.set(decoratorKey, allDecorators);\n return allDecorators;\n }\n /**\n * Binds unbound property functions to the specified `bind` property\n *\n * @param properties properties to check for functions\n */\n _bindFunctionProperty(property, bind) {\n if (typeof property === 'function' && !property[noBind] && isWidgetBaseConstructor(property) === false) {\n if (this._bindFunctionPropertyMap === undefined) {\n this._bindFunctionPropertyMap = new WeakMap();\n }\n const bindInfo = this._bindFunctionPropertyMap.get(property) || {};\n let { boundFunc, scope } = bindInfo;\n if (boundFunc === undefined || scope !== bind) {\n boundFunc = property.bind(bind);\n this._bindFunctionPropertyMap.set(property, { boundFunc, scope: bind });\n }\n return boundFunc;\n }\n return property;\n }\n get registry() {\n if (this._registry === undefined) {\n this._registry = new RegistryHandler();\n this.own(this._registry);\n this.own(this._registry.on('invalidate', this._boundInvalidate));\n }\n return this._registry;\n }\n _runBeforeProperties(properties) {\n const beforeProperties = this.getDecorator('beforeProperties');\n if (beforeProperties.length > 0) {\n return beforeProperties.reduce((properties, beforePropertiesFunction) => {\n return Object.assign({}, properties, beforePropertiesFunction.call(this, properties));\n }, Object.assign({}, properties));\n }\n return properties;\n }\n /**\n * Run all registered before renders and return the updated render method\n */\n _runBeforeRenders() {\n const beforeRenders = this.getDecorator('beforeRender');\n if (beforeRenders.length > 0) {\n return beforeRenders.reduce((render, beforeRenderFunction) => {\n const updatedRender = beforeRenderFunction.call(this, render, this._properties, this._children);\n if (!updatedRender) {\n console.warn('Render function not returned from beforeRender, using previous render');\n return render;\n }\n return updatedRender;\n }, this._boundRenderFunc);\n }\n return this._boundRenderFunc;\n }\n /**\n * Run all registered after renders and return the decorated DNodes\n *\n * @param dNode The DNodes to run through the after renders\n */\n runAfterRenders(dNode) {\n const afterRenders = this.getDecorator('afterRender');\n if (afterRenders.length > 0) {\n dNode = afterRenders.reduce((dNode, afterRenderFunction) => {\n return afterRenderFunction.call(this, dNode);\n }, dNode);\n }\n if (this._metaMap !== undefined) {\n this._metaMap.forEach((meta) => {\n meta.afterRender();\n });\n }\n return dNode;\n }\n _runAfterConstructors() {\n const afterConstructors = this.getDecorator('afterConstructor');\n if (afterConstructors.length > 0) {\n afterConstructors.forEach((afterConstructor) => afterConstructor.call(this));\n }\n }\n own(handle) {\n this._handles.push(handle);\n }\n destroy() {\n while (this._handles.length > 0) {\n const handle = this._handles.pop();\n if (handle) {\n handle.destroy();\n }\n }\n }\n}\n/**\n * static identifier\n */\nWidgetBase._type = WIDGET_BASE_TYPE;\nexport default WidgetBase;\n//# sourceMappingURL=WidgetBase.mjs.map" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", + "name": "./node_modules/@dojo/framework/widget-core/RegistryHandler.mjs", + "index": 30, + "index2": 24, + "size": 2856, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "name": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./RegistryHandler", + "loc": "6:0-48" + }, + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "type": "harmony import specifier", + "userRequest": "./RegistryHandler", + "loc": "88:37-52" + }, + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "type": "harmony import specifier", + "userRequest": "./RegistryHandler", + "loc": "285:33-48" + } + ], + "usedExports": [ + "default" + ], + "providedExports": [ + "RegistryHandler", + "default" + ], + "optimizationBailout": [], + "depth": 4, + "source": "import { Map } from '../shim/Map';\nimport { Evented } from '../core/Evented';\nimport { Registry } from './Registry';\nexport class RegistryHandler extends Evented {\n constructor() {\n super();\n this._registry = new Registry();\n this._registryWidgetLabelMap = new Map();\n this._registryInjectorLabelMap = new Map();\n this.own(this._registry);\n const destroy = () => {\n if (this.baseRegistry) {\n this._registryWidgetLabelMap.delete(this.baseRegistry);\n this._registryInjectorLabelMap.delete(this.baseRegistry);\n this.baseRegistry = undefined;\n }\n };\n this.own({ destroy });\n }\n set base(baseRegistry) {\n if (this.baseRegistry) {\n this._registryWidgetLabelMap.delete(this.baseRegistry);\n this._registryInjectorLabelMap.delete(this.baseRegistry);\n }\n this.baseRegistry = baseRegistry;\n }\n define(label, widget) {\n this._registry.define(label, widget);\n }\n defineInjector(label, injector) {\n this._registry.defineInjector(label, injector);\n }\n has(label) {\n return this._registry.has(label) || Boolean(this.baseRegistry && this.baseRegistry.has(label));\n }\n hasInjector(label) {\n return this._registry.hasInjector(label) || Boolean(this.baseRegistry && this.baseRegistry.hasInjector(label));\n }\n get(label, globalPrecedence = false) {\n return this._get(label, globalPrecedence, 'get', this._registryWidgetLabelMap);\n }\n getInjector(label, globalPrecedence = false) {\n return this._get(label, globalPrecedence, 'getInjector', this._registryInjectorLabelMap);\n }\n _get(label, globalPrecedence, getFunctionName, labelMap) {\n const registries = globalPrecedence ? [this.baseRegistry, this._registry] : [this._registry, this.baseRegistry];\n for (let i = 0; i < registries.length; i++) {\n const registry = registries[i];\n if (!registry) {\n continue;\n }\n const item = registry[getFunctionName](label);\n const registeredLabels = labelMap.get(registry) || [];\n if (item) {\n return item;\n }\n else if (registeredLabels.indexOf(label) === -1) {\n const handle = registry.on(label, (event) => {\n if (event.action === 'loaded' &&\n this[getFunctionName](label, globalPrecedence) === event.item) {\n this.emit({ type: 'invalidate' });\n }\n });\n this.own(handle);\n labelMap.set(registry, [...registeredLabels, label]);\n }\n }\n return null;\n }\n}\nexport default RegistryHandler;\n//# sourceMappingURL=RegistryHandler.mjs.map" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/NodeHandler.mjs", + "name": "./node_modules/@dojo/framework/widget-core/NodeHandler.mjs", + "index": 31, + "index2": 25, + "size": 1090, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "name": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./NodeHandler", + "loc": "7:0-40" + }, + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "module": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "type": "harmony import specifier", + "userRequest": "./NodeHandler", + "loc": "29:32-43" + } + ], + "usedExports": [ + "default" + ], + "providedExports": [ + "NodeEventType", + "NodeHandler", + "default" + ], + "optimizationBailout": [], + "depth": 4, + "source": "import { Evented } from '../core/Evented';\nimport Map from '../shim/Map';\n/**\n * Enum to identify the type of event.\n * Listening to 'Projector' will notify when projector is created or updated\n * Listening to 'Widget' will notify when widget root is created or updated\n */\nexport var NodeEventType;\n(function (NodeEventType) {\n NodeEventType[\"Projector\"] = \"Projector\";\n NodeEventType[\"Widget\"] = \"Widget\";\n})(NodeEventType || (NodeEventType = {}));\nexport class NodeHandler extends Evented {\n constructor() {\n super(...arguments);\n this._nodeMap = new Map();\n }\n get(key) {\n return this._nodeMap.get(key);\n }\n has(key) {\n return this._nodeMap.has(key);\n }\n add(element, key) {\n this._nodeMap.set(key, element);\n this.emit({ type: key });\n }\n addRoot() {\n this.emit({ type: NodeEventType.Widget });\n }\n addProjector() {\n this.emit({ type: NodeEventType.Projector });\n }\n clear() {\n this._nodeMap.clear();\n }\n}\nexport default NodeHandler;\n//# sourceMappingURL=NodeHandler.mjs.map" + } + ], + "filteredModules": 0 }, { - "moduleId": "./node_modules/@dojo/framework/widget-core/Injector.mjs", - "moduleIdentifier": "/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--4-0!/Users/bryan/Projects/dojo2/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Injector.mjs", - "module": "./node_modules/@dojo/framework/widget-core/Injector.mjs", - "moduleName": "./node_modules/@dojo/framework/widget-core/Injector.mjs", - "type": "harmony import", - "userRequest": "../core/Evented", - "loc": "1:0-42" - } - ], - "usedExports": [ - "Evented" - ], + "id": 18, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/webpack/buildin/global.js", + "name": "(webpack)/buildin/global.js", + "index": 8, + "index2": 1, + "size": 489, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + 0 + ], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/global.mjs", + "issuerId": 0, + "issuerName": "./node_modules/@dojo/framework/shim/global.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": 0, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/global.mjs", + "name": "./node_modules/@dojo/framework/shim/global.mjs" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": 0, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/global.mjs", + "module": "./node_modules/@dojo/framework/shim/global.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/global.mjs", + "type": "cjs require", + "userRequest": "global", + "loc": "1:0-47" + }, + { + "moduleId": 2, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/has/has.mjs", + "module": "./node_modules/@dojo/framework/has/has.mjs", + "moduleName": "./node_modules/@dojo/framework/has/has.mjs", + "type": "cjs require", + "userRequest": "global", + "loc": "1:0-47" + }, + { + "moduleId": 13, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/tslib/tslib.js", + "module": "./node_modules/tslib/tslib.js", + "moduleName": "./node_modules/tslib/tslib.js", + "type": "cjs require", + "userRequest": "global", + "loc": "1:0-41" + }, + { + "moduleId": 29, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/timers-browserify/main.js", + "module": "./node_modules/timers-browserify/main.js", + "moduleName": "./node_modules/timers-browserify/main.js", + "type": "cjs require", + "userRequest": "global", + "loc": "1:0-41" + }, + { + "moduleId": 30, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/setimmediate/setImmediate.js", + "module": "./node_modules/setimmediate/setImmediate.js", + "moduleName": "./node_modules/setimmediate/setImmediate.js", + "type": "cjs require", + "userRequest": "global", + "loc": "1:0-41" + } + ], + "usedExports": true, + "providedExports": null, + "optimizationBailout": [ + "ModuleConcatenation bailout: Module is not an ECMAScript module" + ], + "depth": 4, + "source": "var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || Function(\"return this\")() || (1, eval)(\"this\");\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n" + }, + { + "id": 19, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs 7cf860e45721ea2eddfdcf432935cea3", + "name": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "index": 39, + "index2": 38, + "size": 8226, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + 0 + ], + "issuer": null, + "issuerId": null, + "issuerName": null, + "issuerPath": null, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony side effect evaluation", + "userRequest": "./mixins/Themed", + "loc": "7:0-56" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "./mixins/Themed", + "loc": "116:33-54" + }, + { + "moduleId": 32, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu/Menu.ts 47795eafebb02535b67ce03321dbb770", + "module": "./src/menu/Menu.ts + 2 modules", + "moduleName": "./src/menu/Menu.ts + 2 modules", + "type": "harmony side effect evaluation", + "userRequest": "@dojo/framework/widget-core/mixins/Themed", + "loc": "4:0-79" + }, + { + "moduleId": 32, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu/Menu.ts 47795eafebb02535b67ce03321dbb770", + "module": "./src/menu/Menu.ts + 2 modules", + "moduleName": "./src/menu/Menu.ts + 2 modules", + "type": "harmony import specifier", + "userRequest": "@dojo/framework/widget-core/mixins/Themed", + "loc": "7:30-41" + }, + { + "moduleId": 32, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu/Menu.ts 47795eafebb02535b67ce03321dbb770", + "module": "./src/menu/Menu.ts + 2 modules", + "moduleName": "./src/menu/Menu.ts + 2 modules", + "type": "harmony import specifier", + "userRequest": "@dojo/framework/widget-core/mixins/Themed", + "loc": "40:4-9" + } + ], + "usedExports": [ + "ThemedMixin", + "registerThemeInjector", + "theme" + ], + "providedExports": [ + "INJECTED_THEME_KEY", + "theme", + "registerThemeInjector", + "ThemedMixin", + "default" + ], + "optimizationBailout": [ + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/core/Evented.mjs because of ./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/shim/WeakMap.mjs because of ./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/widget-core/decorators/beforeProperties.mjs because of ./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/widget-core/decorators/handleDecorator.mjs because of ./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/widget-core/diff.mjs because of ./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/tslib/tslib.js (<- Module is not an ECMAScript module)" + ], + "depth": 3, + "modules": [ + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "name": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "index": 39, + "index2": 38, + "size": 5157, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony side effect evaluation", + "userRequest": "./mixins/Themed", + "loc": "7:0-56" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "./mixins/Themed", + "loc": "116:33-54" + }, + { + "moduleId": 32, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu/Menu.ts 47795eafebb02535b67ce03321dbb770", + "module": "./src/menu/Menu.ts + 2 modules", + "moduleName": "./src/menu/Menu.ts + 2 modules", + "type": "harmony side effect evaluation", + "userRequest": "@dojo/framework/widget-core/mixins/Themed", + "loc": "4:0-79" + }, + { + "moduleId": 32, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu/Menu.ts 47795eafebb02535b67ce03321dbb770", + "module": "./src/menu/Menu.ts + 2 modules", + "moduleName": "./src/menu/Menu.ts + 2 modules", + "type": "harmony import specifier", + "userRequest": "@dojo/framework/widget-core/mixins/Themed", + "loc": "7:30-41" + }, + { + "moduleId": 32, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu/Menu.ts 47795eafebb02535b67ce03321dbb770", + "module": "./src/menu/Menu.ts + 2 modules", + "moduleName": "./src/menu/Menu.ts + 2 modules", + "type": "harmony import specifier", + "userRequest": "@dojo/framework/widget-core/mixins/Themed", + "loc": "40:4-9" + } + ], + "usedExports": [ + "ThemedMixin", + "registerThemeInjector", + "theme" + ], + "providedExports": [ + "INJECTED_THEME_KEY", + "theme", + "registerThemeInjector", + "ThemedMixin", + "default" + ], + "optimizationBailout": [], + "depth": 3, + "source": "import * as tslib_1 from \"tslib\";\nimport { Injector } from './../Injector';\nimport { inject } from './../decorators/inject';\nimport { handleDecorator } from './../decorators/handleDecorator';\nimport { diffProperty } from './../decorators/diffProperty';\nimport { shallow } from './../diff';\nconst THEME_KEY = ' _key';\nexport const INJECTED_THEME_KEY = Symbol('theme');\n/**\n * Decorator for base css classes\n */\nexport function theme(theme) {\n return handleDecorator((target) => {\n target.addDecorator('baseThemeClasses', theme);\n });\n}\n/**\n * Creates a reverse lookup for the classes passed in via the `theme` function.\n *\n * @param classes The baseClasses object\n * @requires\n */\nfunction createThemeClassesLookup(classes) {\n return classes.reduce((currentClassNames, baseClass) => {\n Object.keys(baseClass).forEach((key) => {\n currentClassNames[baseClass[key]] = key;\n });\n return currentClassNames;\n }, {});\n}\n/**\n * Convenience function that is given a theme and an optional registry, the theme\n * injector is defined against the registry, returning the theme.\n *\n * @param theme the theme to set\n * @param themeRegistry registry to define the theme injector against. Defaults\n * to the global registry\n *\n * @returns the theme injector used to set the theme\n */\nexport function registerThemeInjector(theme, themeRegistry) {\n const themeInjector = new Injector(theme);\n themeRegistry.defineInjector(INJECTED_THEME_KEY, (invalidator) => {\n themeInjector.setInvalidator(invalidator);\n return () => themeInjector.get();\n });\n return themeInjector;\n}\n/**\n * Function that returns a class decorated with with Themed functionality\n */\nexport function ThemedMixin(Base) {\n let Themed = class Themed extends Base {\n constructor() {\n super(...arguments);\n /**\n * Registered base theme keys\n */\n this._registeredBaseThemeKeys = [];\n /**\n * Indicates if classes meta data need to be calculated.\n */\n this._recalculateClasses = true;\n /**\n * Loaded theme\n */\n this._theme = {};\n }\n theme(classes) {\n if (this._recalculateClasses) {\n this._recalculateThemeClasses();\n }\n if (Array.isArray(classes)) {\n return classes.map((className) => this._getThemeClass(className));\n }\n return this._getThemeClass(classes);\n }\n /**\n * Function fired when `theme` or `extraClasses` are changed.\n */\n onPropertiesChanged() {\n this._recalculateClasses = true;\n }\n _getThemeClass(className) {\n if (className === undefined || className === null) {\n return className;\n }\n const extraClasses = this.properties.extraClasses || {};\n const themeClassName = this._baseThemeClassesReverseLookup[className];\n let resultClassNames = [];\n if (!themeClassName) {\n console.warn(`Class name: '${className}' not found in theme`);\n return null;\n }\n if (extraClasses[themeClassName]) {\n resultClassNames.push(extraClasses[themeClassName]);\n }\n if (this._theme[themeClassName]) {\n resultClassNames.push(this._theme[themeClassName]);\n }\n else {\n resultClassNames.push(this._registeredBaseTheme[themeClassName]);\n }\n return resultClassNames.join(' ');\n }\n _recalculateThemeClasses() {\n const { theme = {} } = this.properties;\n const baseThemes = this.getDecorator('baseThemeClasses');\n if (!this._registeredBaseTheme) {\n this._registeredBaseTheme = baseThemes.reduce((finalBaseTheme, baseTheme) => {\n const _a = THEME_KEY, key = baseTheme[_a], classes = tslib_1.__rest(baseTheme, [typeof _a === \"symbol\" ? _a : _a + \"\"]);\n this._registeredBaseThemeKeys.push(key);\n return Object.assign({}, finalBaseTheme, classes);\n }, {});\n this._baseThemeClassesReverseLookup = createThemeClassesLookup(baseThemes);\n }\n this._theme = this._registeredBaseThemeKeys.reduce((baseTheme, themeKey) => {\n return Object.assign({}, baseTheme, theme[themeKey]);\n }, {});\n this._recalculateClasses = false;\n }\n };\n tslib_1.__decorate([\n diffProperty('theme', shallow),\n diffProperty('extraClasses', shallow)\n ], Themed.prototype, \"onPropertiesChanged\", null);\n Themed = tslib_1.__decorate([\n inject({\n name: INJECTED_THEME_KEY,\n getProperties: (theme, properties) => {\n if (!properties.theme) {\n return { theme };\n }\n return {};\n }\n })\n ], Themed);\n return Themed;\n}\nexport default ThemedMixin;\n//# sourceMappingURL=Themed.mjs.map" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Injector.mjs", + "name": "./node_modules/@dojo/framework/widget-core/Injector.mjs", + "index": 40, + "index2": 34, + "size": 493, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "name": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./../Injector", + "loc": "2:0-41" + }, + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "type": "harmony import specifier", + "userRequest": "./../Injector", + "loc": "42:30-38" + } + ], + "usedExports": [ + "Injector" + ], + "providedExports": [ + "Injector", + "default" + ], + "optimizationBailout": [], + "depth": 4, + "source": "import { Evented } from '../core/Evented';\nexport class Injector extends Evented {\n constructor(payload) {\n super();\n this._payload = payload;\n }\n setInvalidator(invalidator) {\n this._invalidator = invalidator;\n }\n get() {\n return this._payload;\n }\n set(payload) {\n this._payload = payload;\n if (this._invalidator) {\n this._invalidator();\n }\n }\n}\nexport default Injector;\n//# sourceMappingURL=Injector.mjs.map" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/inject.mjs", + "name": "./node_modules/@dojo/framework/widget-core/decorators/inject.mjs", + "index": 41, + "index2": 36, + "size": 1532, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "name": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./../decorators/inject", + "loc": "3:0-48" + }, + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "type": "harmony import specifier", + "userRequest": "./../decorators/inject", + "loc": "128:8-14" + } + ], + "usedExports": [ + "inject" + ], + "providedExports": [ + "inject", + "default" + ], + "optimizationBailout": [], + "depth": 4, + "source": "import WeakMap from '../../shim/WeakMap';\nimport { handleDecorator } from './handleDecorator';\nimport { beforeProperties } from './beforeProperties';\n/**\n * Map of instances against registered injectors.\n */\nconst registeredInjectorsMap = new WeakMap();\n/**\n * Decorator retrieves an injector from an available registry using the name and\n * calls the `getProperties` function with the payload from the injector\n * and current properties with the the injected properties returned.\n *\n * @param InjectConfig the inject configuration\n */\nexport function inject({ name, getProperties }) {\n return handleDecorator((target, propertyKey) => {\n beforeProperties(function (properties) {\n const injectorItem = this.registry.getInjector(name);\n if (injectorItem) {\n const { injector, invalidator } = injectorItem;\n const registeredInjectors = registeredInjectorsMap.get(this) || [];\n if (registeredInjectors.length === 0) {\n registeredInjectorsMap.set(this, registeredInjectors);\n }\n if (registeredInjectors.indexOf(injectorItem) === -1) {\n this.own(invalidator.on('invalidate', () => {\n this.invalidate();\n }));\n registeredInjectors.push(injectorItem);\n }\n return getProperties(injector(), properties);\n }\n })(target);\n });\n}\nexport default inject;\n//# sourceMappingURL=inject.mjs.map" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/diffProperty.mjs", + "name": "./node_modules/@dojo/framework/widget-core/decorators/diffProperty.mjs", + "index": 43, + "index2": 37, + "size": 1014, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "name": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./../decorators/diffProperty", + "loc": "5:0-60" + }, + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "type": "harmony import specifier", + "userRequest": "./../decorators/diffProperty", + "loc": "124:8-20" + }, + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs", + "type": "harmony import specifier", + "userRequest": "./../decorators/diffProperty", + "loc": "125:8-20" + } + ], + "usedExports": [ + "diffProperty" + ], + "providedExports": [ + "diffProperty", + "default" + ], + "optimizationBailout": [], + "depth": 4, + "source": "import { handleDecorator } from './handleDecorator';\nimport { auto } from './../diff';\n/**\n * Decorator that can be used to register a function as a specific property diff\n *\n * @param propertyName The name of the property of which the diff function is applied\n * @param diffType The diff type, default is DiffType.AUTO.\n * @param diffFunction A diff function to run if diffType if DiffType.CUSTOM\n */\nexport function diffProperty(propertyName, diffFunction = auto, reactionFunction) {\n return handleDecorator((target, propertyKey) => {\n target.addDecorator(`diffProperty:${propertyName}`, diffFunction.bind(null));\n target.addDecorator('registeredDiffProperty', propertyName);\n if (reactionFunction || propertyKey) {\n target.addDecorator('diffReaction', {\n propertyName,\n reaction: propertyKey ? target[propertyKey] : reactionFunction\n });\n }\n });\n}\nexport default diffProperty;\n//# sourceMappingURL=diffProperty.mjs.map" + } + ], + "filteredModules": 0 + }, + { + "id": 20, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/core/lang.mjs", + "name": "./node_modules/@dojo/framework/core/lang.mjs", + "index": 29, + "index2": 19, + "size": 6837, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + 0 + ], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", + "name": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": 11, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/core/Evented.mjs 5a735fda53696584e4cc34e239a550e6", + "module": "./node_modules/@dojo/framework/core/Evented.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/core/Evented.mjs + 1 modules", + "type": "harmony side effect evaluation", + "userRequest": "./lang", + "loc": "1:0-47" + }, + { + "moduleId": 11, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/core/Evented.mjs 5a735fda53696584e4cc34e239a550e6", + "module": "./node_modules/@dojo/framework/core/Evented.mjs + 1 modules", + "moduleName": "./node_modules/@dojo/framework/core/Evented.mjs + 1 modules", + "type": "harmony import specifier", + "userRequest": "./lang", + "loc": "29:48-69" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony side effect evaluation", + "userRequest": "../../core/lang", + "loc": "2:0-41" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "../../core/lang", + "loc": "98:40-46" + } + ], + "usedExports": [ + "assign", + "createCompositeHandle" + ], + "providedExports": [ + "assign", + "create", + "deepAssign", + "deepMixin", + "duplicate", + "isIdentical", + "lateBind", + "mixin", + "partial", + "createHandle", + "createCompositeHandle" + ], + "optimizationBailout": [], + "depth": 4, + "source": "import { assign } from '../shim/object';\nexport { assign } from '../shim/object';\nconst slice = Array.prototype.slice;\nconst hasOwnProperty = Object.prototype.hasOwnProperty;\n/**\n * Type guard that ensures that the value can be coerced to Object\n * to weed out host objects that do not derive from Object.\n * This function is used to check if we want to deep copy an object or not.\n * Note: In ES6 it is possible to modify an object's Symbol.toStringTag property, which will\n * change the value returned by `toString`. This is a rare edge case that is difficult to handle,\n * so it is not handled here.\n * @param value The value to check\n * @return If the value is coercible into an Object\n */\nfunction shouldDeepCopyObject(value) {\n return Object.prototype.toString.call(value) === '[object Object]';\n}\nfunction copyArray(array, inherited) {\n return array.map(function (item) {\n if (Array.isArray(item)) {\n return copyArray(item, inherited);\n }\n return !shouldDeepCopyObject(item)\n ? item\n : _mixin({\n deep: true,\n inherited: inherited,\n sources: [item],\n target: {}\n });\n });\n}\nfunction _mixin(kwArgs) {\n const deep = kwArgs.deep;\n const inherited = kwArgs.inherited;\n const target = kwArgs.target;\n const copied = kwArgs.copied || [];\n const copiedClone = [...copied];\n for (let i = 0; i < kwArgs.sources.length; i++) {\n const source = kwArgs.sources[i];\n if (source === null || source === undefined) {\n continue;\n }\n for (let key in source) {\n if (inherited || hasOwnProperty.call(source, key)) {\n let value = source[key];\n if (copiedClone.indexOf(value) !== -1) {\n continue;\n }\n if (deep) {\n if (Array.isArray(value)) {\n value = copyArray(value, inherited);\n }\n else if (shouldDeepCopyObject(value)) {\n const targetValue = target[key] || {};\n copied.push(source);\n value = _mixin({\n deep: true,\n inherited: inherited,\n sources: [value],\n target: targetValue,\n copied\n });\n }\n }\n target[key] = value;\n }\n }\n }\n return target;\n}\nexport function create(prototype, ...mixins) {\n if (!mixins.length) {\n throw new RangeError('lang.create requires at least one mixin object.');\n }\n const args = mixins.slice();\n args.unshift(Object.create(prototype));\n return assign.apply(null, args);\n}\nexport function deepAssign(target, ...sources) {\n return _mixin({\n deep: true,\n inherited: false,\n sources: sources,\n target: target\n });\n}\nexport function deepMixin(target, ...sources) {\n return _mixin({\n deep: true,\n inherited: true,\n sources: sources,\n target: target\n });\n}\n/**\n * Creates a new object using the provided source's prototype as the prototype for the new object, and then\n * deep copies the provided source's values into the new target.\n *\n * @param source The object to duplicate\n * @return The new object\n */\nexport function duplicate(source) {\n const target = Object.create(Object.getPrototypeOf(source));\n return deepMixin(target, source);\n}\n/**\n * Determines whether two values are the same value.\n *\n * @param a First value to compare\n * @param b Second value to compare\n * @return true if the values are the same; false otherwise\n */\nexport function isIdentical(a, b) {\n return (a === b ||\n /* both values are NaN */\n (a !== a && b !== b));\n}\n/**\n * Returns a function that binds a method to the specified object at runtime. This is similar to\n * `Function.prototype.bind`, but instead of a function it takes the name of a method on an object.\n * As a result, the function returned by `lateBind` will always call the function currently assigned to\n * the specified property on the object as of the moment the function it returns is called.\n *\n * @param instance The context object\n * @param method The name of the method on the context object to bind to itself\n * @param suppliedArgs An optional array of values to prepend to the `instance[method]` arguments list\n * @return The bound function\n */\nexport function lateBind(instance, method, ...suppliedArgs) {\n return suppliedArgs.length\n ? function () {\n const args = arguments.length ? suppliedArgs.concat(slice.call(arguments)) : suppliedArgs;\n // TS7017\n return instance[method].apply(instance, args);\n }\n : function () {\n // TS7017\n return instance[method].apply(instance, arguments);\n };\n}\nexport function mixin(target, ...sources) {\n return _mixin({\n deep: false,\n inherited: true,\n sources: sources,\n target: target\n });\n}\n/**\n * Returns a function which invokes the given function with the given arguments prepended to its argument list.\n * Like `Function.prototype.bind`, but does not alter execution context.\n *\n * @param targetFunction The function that needs to be bound\n * @param suppliedArgs An optional array of arguments to prepend to the `targetFunction` arguments list\n * @return The bound function\n */\nexport function partial(targetFunction, ...suppliedArgs) {\n return function () {\n const args = arguments.length ? suppliedArgs.concat(slice.call(arguments)) : suppliedArgs;\n return targetFunction.apply(this, args);\n };\n}\n/**\n * Returns an object with a destroy method that, when called, calls the passed-in destructor.\n * This is intended to provide a unified interface for creating \"remove\" / \"destroy\" handlers for\n * event listeners, timers, etc.\n *\n * @param destructor A function that will be called when the handle's `destroy` method is invoked\n * @return The handle object\n */\nexport function createHandle(destructor) {\n let called = false;\n return {\n destroy: function () {\n if (!called) {\n called = true;\n destructor();\n }\n }\n };\n}\n/**\n * Returns a single handle that can be used to destroy multiple handles simultaneously.\n *\n * @param handles An array of handles with `destroy` methods\n * @return The handle object\n */\nexport function createCompositeHandle(...handles) {\n return createHandle(function () {\n for (let i = 0; i < handles.length; i++) {\n handles[i].destroy();\n }\n });\n}\n//# sourceMappingURL=lang.mjs.map" + }, + { + "id": 21, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/beforeProperties.mjs", + "name": "./node_modules/@dojo/framework/widget-core/decorators/beforeProperties.mjs", + "index": 42, + "index2": 35, + "size": 331, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + 0 + ], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/alwaysRender.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/widget-core/decorators/alwaysRender.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/alwaysRender.mjs", + "name": "./node_modules/@dojo/framework/widget-core/decorators/alwaysRender.mjs" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": 19, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs 7cf860e45721ea2eddfdcf432935cea3", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "type": "harmony side effect evaluation", + "userRequest": "./beforeProperties", + "loc": "3:0-54" + }, + { + "moduleId": 19, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Themed.mjs 7cf860e45721ea2eddfdcf432935cea3", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs + 3 modules", + "type": "harmony import specifier", + "userRequest": "./beforeProperties", + "loc": "17:8-24" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony side effect evaluation", + "userRequest": "./beforeProperties", + "loc": "2:0-54" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "./beforeProperties", + "loc": "5:8-24" + } + ], + "usedExports": [ + "beforeProperties" + ], + "providedExports": [ + "beforeProperties", + "default" + ], + "optimizationBailout": [], + "depth": 4, + "source": "import { handleDecorator } from './handleDecorator';\nexport function beforeProperties(method) {\n return handleDecorator((target, propertyKey) => {\n target.addDecorator('beforeProperties', propertyKey ? target[propertyKey] : method);\n });\n}\nexport default beforeProperties;\n//# sourceMappingURL=beforeProperties.mjs.map" + }, + { + "id": 22, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs c460ba20e386f43c9d8d13343b5bad43", + "name": "./node_modules/@dojo/framework/shim/array.mjs + 1 modules", + "index": 33, + "index2": 27, + "size": 10713, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + 0 + ], + "issuer": null, + "issuerId": null, + "issuerName": null, + "issuerPath": null, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony side effect evaluation", + "userRequest": "../shim/array", + "loc": "2:0-50" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "../shim/array", + "loc": "581:21-30" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony side effect evaluation", + "userRequest": "../shim/array", + "loc": "4:0-37" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "../shim/array", + "loc": "97:12-16" + } + ], + "usedExports": [ + "from" + ], + "providedExports": [ + "from", + "of", + "copyWithin", + "fill", + "find", + "findIndex", + "includes" + ], + "optimizationBailout": [ + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/shim/global.mjs (<- Module uses injected variables (global))", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/shim/iterator.mjs because of ./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/shim/support/has.mjs because of ./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/shim/support/util.mjs because of ./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + ], + "depth": 3, + "modules": [ + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", + "name": "./node_modules/@dojo/framework/shim/array.mjs", + "index": 33, + "index2": 27, + "size": 8969, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony side effect evaluation", + "userRequest": "../shim/array", + "loc": "2:0-50" + }, + { + "moduleId": 12, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/vdom.mjs", + "module": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/vdom.mjs", + "type": "harmony import specifier", + "userRequest": "../shim/array", + "loc": "581:21-30" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony side effect evaluation", + "userRequest": "../shim/array", + "loc": "4:0-37" + }, + { + "moduleId": 24, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "type": "harmony import specifier", + "userRequest": "../shim/array", + "loc": "97:12-16" + } + ], + "usedExports": [ + "from" + ], + "providedExports": [ + "from", + "of", + "copyWithin", + "fill", + "find", + "findIndex", + "includes" + ], + "optimizationBailout": [], + "depth": 3, + "source": "import global from './global';\nimport { isArrayLike, isIterable } from './iterator';\nimport { MAX_SAFE_INTEGER } from './number';\nimport has from './support/has';\nimport { wrapNative } from './support/util';\nexport let from;\n/**\n * Creates a new array from the function parameters.\n *\n * @param arguments Any number of arguments for the array\n * @return An array from the given arguments\n */\nexport let of;\n/* ES6 Array instance methods */\n/**\n * Copies data internally within an array or array-like object.\n *\n * @param target The target array-like object\n * @param offset The index to start copying values to; if negative, it counts backwards from length\n * @param start The first (inclusive) index to copy; if negative, it counts backwards from length\n * @param end The last (exclusive) index to copy; if negative, it counts backwards from length\n * @return The target\n */\nexport let copyWithin;\n/**\n * Fills elements of an array-like object with the specified value.\n *\n * @param target The target to fill\n * @param value The value to fill each element of the target with\n * @param start The first index to fill\n * @param end The (exclusive) index at which to stop filling\n * @return The filled target\n */\nexport let fill;\n/**\n * Finds and returns the first instance matching the callback or undefined if one is not found.\n *\n * @param target An array-like object\n * @param callback A function returning if the current value matches a criteria\n * @param thisArg The execution context for the find function\n * @return The first element matching the callback, or undefined if one does not exist\n */\nexport let find;\n/**\n * Performs a linear search and returns the first index whose value satisfies the passed callback,\n * or -1 if no values satisfy it.\n *\n * @param target An array-like object\n * @param callback A function returning true if the current value satisfies its criteria\n * @param thisArg The execution context for the find function\n * @return The first index whose value satisfies the passed callback, or -1 if no values satisfy it\n */\nexport let findIndex;\n/* ES7 Array instance methods */\n/**\n * Determines whether an array includes a given value\n *\n * @param target the target array-like object\n * @param searchElement the item to search for\n * @param fromIndex the starting index to search from\n * @return `true` if the array includes the element, otherwise `false`\n */\nexport let includes;\nif (has('es6-array') && has('es6-array-fill')) {\n from = global.Array.from;\n of = global.Array.of;\n copyWithin = wrapNative(global.Array.prototype.copyWithin);\n fill = wrapNative(global.Array.prototype.fill);\n find = wrapNative(global.Array.prototype.find);\n findIndex = wrapNative(global.Array.prototype.findIndex);\n}\nelse {\n // It is only older versions of Safari/iOS that have a bad fill implementation and so aren't in the wild\n // To make things easier, if there is a bad fill implementation, the whole set of functions will be filled\n /**\n * Ensures a non-negative, non-infinite, safe integer.\n *\n * @param length The number to validate\n * @return A proper length\n */\n const toLength = function toLength(length) {\n if (isNaN(length)) {\n return 0;\n }\n length = Number(length);\n if (isFinite(length)) {\n length = Math.floor(length);\n }\n // Ensure a non-negative, real, safe integer\n return Math.min(Math.max(length, 0), MAX_SAFE_INTEGER);\n };\n /**\n * From ES6 7.1.4 ToInteger()\n *\n * @param value A value to convert\n * @return An integer\n */\n const toInteger = function toInteger(value) {\n value = Number(value);\n if (isNaN(value)) {\n return 0;\n }\n if (value === 0 || !isFinite(value)) {\n return value;\n }\n return (value > 0 ? 1 : -1) * Math.floor(Math.abs(value));\n };\n /**\n * Normalizes an offset against a given length, wrapping it if negative.\n *\n * @param value The original offset\n * @param length The total length to normalize against\n * @return If negative, provide a distance from the end (length); otherwise provide a distance from 0\n */\n const normalizeOffset = function normalizeOffset(value, length) {\n return value < 0 ? Math.max(length + value, 0) : Math.min(value, length);\n };\n from = function from(arrayLike, mapFunction, thisArg) {\n if (arrayLike == null) {\n throw new TypeError('from: requires an array-like object');\n }\n if (mapFunction && thisArg) {\n mapFunction = mapFunction.bind(thisArg);\n }\n /* tslint:disable-next-line:variable-name */\n const Constructor = this;\n const length = toLength(arrayLike.length);\n // Support extension\n const array = typeof Constructor === 'function' ? Object(new Constructor(length)) : new Array(length);\n if (!isArrayLike(arrayLike) && !isIterable(arrayLike)) {\n return array;\n }\n // if this is an array and the normalized length is 0, just return an empty array. this prevents a problem\n // with the iteration on IE when using a NaN array length.\n if (isArrayLike(arrayLike)) {\n if (length === 0) {\n return [];\n }\n for (let i = 0; i < arrayLike.length; i++) {\n array[i] = mapFunction ? mapFunction(arrayLike[i], i) : arrayLike[i];\n }\n }\n else {\n let i = 0;\n for (const value of arrayLike) {\n array[i] = mapFunction ? mapFunction(value, i) : value;\n i++;\n }\n }\n if (arrayLike.length !== undefined) {\n array.length = length;\n }\n return array;\n };\n of = function of(...items) {\n return Array.prototype.slice.call(items);\n };\n copyWithin = function copyWithin(target, offset, start, end) {\n if (target == null) {\n throw new TypeError('copyWithin: target must be an array-like object');\n }\n const length = toLength(target.length);\n offset = normalizeOffset(toInteger(offset), length);\n start = normalizeOffset(toInteger(start), length);\n end = normalizeOffset(end === undefined ? length : toInteger(end), length);\n let count = Math.min(end - start, length - offset);\n let direction = 1;\n if (offset > start && offset < start + count) {\n direction = -1;\n start += count - 1;\n offset += count - 1;\n }\n while (count > 0) {\n if (start in target) {\n target[offset] = target[start];\n }\n else {\n delete target[offset];\n }\n offset += direction;\n start += direction;\n count--;\n }\n return target;\n };\n fill = function fill(target, value, start, end) {\n const length = toLength(target.length);\n let i = normalizeOffset(toInteger(start), length);\n end = normalizeOffset(end === undefined ? length : toInteger(end), length);\n while (i < end) {\n target[i++] = value;\n }\n return target;\n };\n find = function find(target, callback, thisArg) {\n const index = findIndex(target, callback, thisArg);\n return index !== -1 ? target[index] : undefined;\n };\n findIndex = function findIndex(target, callback, thisArg) {\n const length = toLength(target.length);\n if (!callback) {\n throw new TypeError('find: second argument must be a function');\n }\n if (thisArg) {\n callback = callback.bind(thisArg);\n }\n for (let i = 0; i < length; i++) {\n if (callback(target[i], i, target)) {\n return i;\n }\n }\n return -1;\n };\n}\nif (has('es7-array')) {\n includes = wrapNative(global.Array.prototype.includes);\n}\nelse {\n /**\n * Ensures a non-negative, non-infinite, safe integer.\n *\n * @param length The number to validate\n * @return A proper length\n */\n const toLength = function toLength(length) {\n length = Number(length);\n if (isNaN(length)) {\n return 0;\n }\n if (isFinite(length)) {\n length = Math.floor(length);\n }\n // Ensure a non-negative, real, safe integer\n return Math.min(Math.max(length, 0), MAX_SAFE_INTEGER);\n };\n includes = function includes(target, searchElement, fromIndex = 0) {\n let len = toLength(target.length);\n for (let i = fromIndex; i < len; ++i) {\n const currentElement = target[i];\n if (searchElement === currentElement ||\n (searchElement !== searchElement && currentElement !== currentElement)) {\n return true;\n }\n }\n return false;\n };\n}\n//# sourceMappingURL=array.mjs.map" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/number.mjs", + "name": "./node_modules/@dojo/framework/shim/number.mjs", + "index": 34, + "index2": 26, + "size": 1724, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/shim/array.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", + "name": "./node_modules/@dojo/framework/shim/array.mjs" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", + "module": "./node_modules/@dojo/framework/shim/array.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./number", + "loc": "3:0-44" + }, + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", + "module": "./node_modules/@dojo/framework/shim/array.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs", + "type": "harmony import specifier", + "userRequest": "./number", + "loc": "90:45-61" + }, + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", + "module": "./node_modules/@dojo/framework/shim/array.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/array.mjs", + "type": "harmony import specifier", + "userRequest": "./number", + "loc": "234:45-61" + } + ], + "usedExports": [ + "MAX_SAFE_INTEGER" + ], + "providedExports": [ + "EPSILON", + "MAX_SAFE_INTEGER", + "MIN_SAFE_INTEGER", + "isNaN", + "isFinite", + "isInteger", + "isSafeInteger" + ], + "optimizationBailout": [], + "depth": 4, + "source": "import global from './global';\n/**\n * The smallest interval between two representable numbers.\n */\nexport const EPSILON = 1;\n/**\n * The maximum safe integer in JavaScript\n */\nexport const MAX_SAFE_INTEGER = Math.pow(2, 53) - 1;\n/**\n * The minimum safe integer in JavaScript\n */\nexport const MIN_SAFE_INTEGER = -MAX_SAFE_INTEGER;\n/**\n * Determines whether the passed value is NaN without coersion.\n *\n * @param value The value to test\n * @return true if the value is NaN, false if it is not\n */\nexport function isNaN(value) {\n return typeof value === 'number' && global.isNaN(value);\n}\n/**\n * Determines whether the passed value is a finite number without coersion.\n *\n * @param value The value to test\n * @return true if the value is finite, false if it is not\n */\nexport function isFinite(value) {\n return typeof value === 'number' && global.isFinite(value);\n}\n/**\n * Determines whether the passed value is an integer.\n *\n * @param value The value to test\n * @return true if the value is an integer, false if it is not\n */\nexport function isInteger(value) {\n return isFinite(value) && Math.floor(value) === value;\n}\n/**\n * Determines whether the passed value is an integer that is 'safe,' meaning:\n * 1. it can be expressed as an IEEE-754 double precision number\n * 2. it has a one-to-one mapping to a mathematical integer, meaning its\n * IEEE-754 representation cannot be the result of rounding any other\n * integer to fit the IEEE-754 representation\n *\n * @param value The value to test\n * @return true if the value is an integer, false if it is not\n */\nexport function isSafeInteger(value) {\n return isInteger(value) && Math.abs(value) <= MAX_SAFE_INTEGER;\n}\n//# sourceMappingURL=number.mjs.map" + } + ], + "filteredModules": 0 + }, + { + "id": 23, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/mini-css-extract-plugin/dist/loader.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-decorator-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/css-loader/index.js??ref--14-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/postcss-loader/src/index.js??postcss!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=css!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu/menu.m.css", + "name": "./src/menu/menu.m.css", + "index": 45, + "index2": 43, + "size": 159, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + 0 + ], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu/Menu.ts", + "issuerId": null, + "issuerName": "./src/menu/Menu.ts", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu/Menu.ts", + "name": "./src/menu/Menu.ts" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": 32, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu/Menu.ts 47795eafebb02535b67ce03321dbb770", + "module": "./src/menu/Menu.ts + 2 modules", + "moduleName": "./src/menu/Menu.ts + 2 modules", + "type": "harmony side effect evaluation", + "userRequest": "./menu.m.css", + "loc": "6:0-36" + }, + { + "moduleId": 32, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu/Menu.ts 47795eafebb02535b67ce03321dbb770", + "module": "./src/menu/Menu.ts + 2 modules", + "moduleName": "./src/menu/Menu.ts + 2 modules", + "type": "harmony import specifier", + "userRequest": "./menu.m.css", + "loc": "28:46-54" + }, + { + "moduleId": 32, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu/Menu.ts 47795eafebb02535b67ce03321dbb770", + "module": "./src/menu/Menu.ts + 2 modules", + "moduleName": "./src/menu/Menu.ts + 2 modules", + "type": "harmony import specifier", + "userRequest": "./menu.m.css", + "loc": "30:36-53" + }, + { + "moduleId": 32, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu/Menu.ts 47795eafebb02535b67ce03321dbb770", + "module": "./src/menu/Menu.ts + 2 modules", + "moduleName": "./src/menu/Menu.ts + 2 modules", + "type": "harmony import specifier", + "userRequest": "./menu.m.css", + "loc": "40:10-13" + } + ], + "usedExports": true, + "providedExports": null, + "optimizationBailout": [ + "ModuleConcatenation bailout: Module is not an ECMAScript module" + ], + "depth": 3, + "source": "// extracted by mini-css-extract-plugin\nmodule.exports = {\" _key\":\"test-app/menu\",\"root\":\"menu-m__root__3bA6j\",\"menuContainer\":\"menu-m__menuContainer__1eoGf\"};" + }, + { + "id": 24, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs ad79578b070cf30b6fc4591abba05703", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs + 4 modules", + "index": 13, + "index2": 40, + "size": 17815, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + 0 + ], + "issuer": null, + "issuerId": null, + "issuerName": null, + "issuerPath": null, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": 28, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "module": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js", + "moduleName": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js", + "type": "cjs require", + "userRequest": "@dojo/framework/widget-core/registerCustomElement", + "loc": "4:28-88" + }, + { + "moduleId": 32, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu/Menu.ts 47795eafebb02535b67ce03321dbb770", + "module": "./src/menu/Menu.ts + 2 modules", + "moduleName": "./src/menu/Menu.ts + 2 modules", + "type": "harmony side effect evaluation", + "userRequest": "../registerCustomElement", + "loc": "1:0-66" + }, + { + "moduleId": 32, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu/Menu.ts 47795eafebb02535b67ce03321dbb770", + "module": "./src/menu/Menu.ts + 2 modules", + "moduleName": "./src/menu/Menu.ts + 2 modules", + "type": "harmony import specifier", + "userRequest": "../registerCustomElement", + "loc": "7:96-118" + } + ], + "usedExports": true, + "providedExports": [ + "CustomElementChildType", + "DomToWidgetWrapper", + "create", + "register", + "default" + ], + "optimizationBailout": [ + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/core/lang.mjs because of ./src/menu/Menu.ts", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/shim/array.mjs because of ./src/menu/Menu.ts", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/shim/global.mjs (<- Module uses injected variables (global))", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/widget-core/WidgetBase.mjs because of ./src/menu/Menu.ts", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/widget-core/d.mjs because of ./src/menu/Menu.ts", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/widget-core/decorators/beforeProperties.mjs because of ./src/menu/Menu.ts", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/widget-core/decorators/handleDecorator.mjs because of ./src/menu/Menu.ts", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/widget-core/mixins/Themed.mjs because of ./src/menu/Menu.ts", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/@dojo/framework/widget-core/vdom.mjs because of ./src/menu/Menu.ts", + "ModuleConcatenation bailout: Cannot concat with ./node_modules/tslib/tslib.js (<- Module is not an ECMAScript module)" + ], + "depth": 2, + "modules": [ + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "index": 13, + "index2": 40, + "size": 9118, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "issuerId": 28, + "issuerName": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": 28, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "module": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js", + "moduleName": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js", + "type": "cjs require", + "userRequest": "@dojo/framework/widget-core/registerCustomElement", + "loc": "4:28-88" + }, + { + "moduleId": 32, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu/Menu.ts 47795eafebb02535b67ce03321dbb770", + "module": "./src/menu/Menu.ts + 2 modules", + "moduleName": "./src/menu/Menu.ts + 2 modules", + "type": "harmony side effect evaluation", + "userRequest": "../registerCustomElement", + "loc": "1:0-66" + }, + { + "moduleId": 32, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--7-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js??ref--7-1!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/ts-loader/index.js??ref--7-2!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/css-module-dts-loader/index.js?type=ts&instanceName=0_menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/src/menu/Menu.ts 47795eafebb02535b67ce03321dbb770", + "module": "./src/menu/Menu.ts + 2 modules", + "moduleName": "./src/menu/Menu.ts + 2 modules", + "type": "harmony import specifier", + "userRequest": "../registerCustomElement", + "loc": "7:96-118" + } + ], + "usedExports": true, + "providedExports": [ + "CustomElementChildType", + "DomToWidgetWrapper", + "create", + "register", + "default" + ], + "optimizationBailout": [ + "ModuleConcatenation bailout: Module is referenced from these modules with unsupported syntax: ./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js (referenced with cjs require)" + ], + "depth": 2, + "source": "import * as tslib_1 from \"tslib\";\nimport { WidgetBase, noBind } from './WidgetBase';\nimport { ProjectorMixin } from './mixins/Projector';\nimport { from } from '../shim/array';\nimport { w, dom } from './d';\nimport global from '../shim/global';\nimport { registerThemeInjector } from './mixins/Themed';\nimport { alwaysRender } from './decorators/alwaysRender';\nexport var CustomElementChildType;\n(function (CustomElementChildType) {\n CustomElementChildType[\"DOJO\"] = \"DOJO\";\n CustomElementChildType[\"NODE\"] = \"NODE\";\n CustomElementChildType[\"TEXT\"] = \"TEXT\";\n})(CustomElementChildType || (CustomElementChildType = {}));\nexport function DomToWidgetWrapper(domNode) {\n let DomToWidgetWrapper = class DomToWidgetWrapper extends WidgetBase {\n render() {\n const properties = Object.keys(this.properties).reduce((props, key) => {\n const value = this.properties[key];\n if (key.indexOf('on') === 0) {\n key = `__${key}`;\n }\n props[key] = value;\n return props;\n }, {});\n return dom({ node: domNode, props: properties, diffType: 'dom' });\n }\n static get domNode() {\n return domNode;\n }\n };\n DomToWidgetWrapper = tslib_1.__decorate([\n alwaysRender()\n ], DomToWidgetWrapper);\n return DomToWidgetWrapper;\n}\nexport function create(descriptor, WidgetConstructor) {\n const { attributes, childType, registryFactory } = descriptor;\n const attributeMap = {};\n attributes.forEach((propertyName) => {\n const attributeName = propertyName.toLowerCase();\n attributeMap[attributeName] = propertyName;\n });\n return class extends HTMLElement {\n constructor() {\n super(...arguments);\n this._properties = {};\n this._children = [];\n this._eventProperties = {};\n this._initialised = false;\n }\n connectedCallback() {\n if (this._initialised) {\n return;\n }\n const domProperties = {};\n const { attributes, properties, events } = descriptor;\n this._properties = Object.assign({}, this._properties, this._attributesToProperties(attributes));\n [...attributes, ...properties].forEach((propertyName) => {\n const value = this[propertyName];\n const filteredPropertyName = propertyName.replace(/^on/, '__');\n if (value !== undefined) {\n this._properties[propertyName] = value;\n }\n if (filteredPropertyName !== propertyName) {\n domProperties[filteredPropertyName] = {\n get: () => this._getProperty(propertyName),\n set: (value) => this._setProperty(propertyName, value)\n };\n }\n domProperties[propertyName] = {\n get: () => this._getProperty(propertyName),\n set: (value) => this._setProperty(propertyName, value)\n };\n });\n events.forEach((propertyName) => {\n const eventName = propertyName.replace(/^on/, '').toLowerCase();\n const filteredPropertyName = propertyName.replace(/^on/, '__on');\n domProperties[filteredPropertyName] = {\n get: () => this._getEventProperty(propertyName),\n set: (value) => this._setEventProperty(propertyName, value)\n };\n this._eventProperties[propertyName] = undefined;\n this._properties[propertyName] = (...args) => {\n const eventCallback = this._getEventProperty(propertyName);\n if (typeof eventCallback === 'function') {\n eventCallback(...args);\n }\n this.dispatchEvent(new CustomEvent(eventName, {\n bubbles: false,\n detail: args\n }));\n };\n });\n Object.defineProperties(this, domProperties);\n const children = childType === CustomElementChildType.TEXT ? this.childNodes : this.children;\n from(children).forEach((childNode) => {\n if (childType === CustomElementChildType.DOJO) {\n childNode.addEventListener('dojo-ce-render', () => this._render());\n childNode.addEventListener('dojo-ce-connected', () => this._render());\n this._children.push(DomToWidgetWrapper(childNode));\n }\n else {\n this._children.push(dom({ node: childNode, diffType: 'dom' }));\n }\n });\n this.addEventListener('dojo-ce-connected', (e) => this._childConnected(e));\n const widgetProperties = this._properties;\n const renderChildren = () => this.__children__();\n const Wrapper = class extends WidgetBase {\n render() {\n return w(WidgetConstructor, widgetProperties, renderChildren());\n }\n };\n const registry = registryFactory();\n const themeContext = registerThemeInjector(this._getTheme(), registry);\n global.addEventListener('dojo-theme-set', () => themeContext.set(this._getTheme()));\n const Projector = ProjectorMixin(Wrapper);\n this._projector = new Projector();\n this._projector.setProperties({ registry });\n this._projector.append(this);\n this._initialised = true;\n this.dispatchEvent(new CustomEvent('dojo-ce-connected', {\n bubbles: true,\n detail: this\n }));\n }\n _getTheme() {\n if (global && global.dojoce && global.dojoce.theme) {\n return global.dojoce.themes[global.dojoce.theme];\n }\n }\n _childConnected(e) {\n const node = e.detail;\n if (node.parentNode === this) {\n const exists = this._children.some((child) => child.domNode === node);\n if (!exists) {\n node.addEventListener('dojo-ce-render', () => this._render());\n this._children.push(DomToWidgetWrapper(node));\n this._render();\n }\n }\n }\n _render() {\n if (this._projector) {\n this._projector.invalidate();\n this.dispatchEvent(new CustomEvent('dojo-ce-render', {\n bubbles: false,\n detail: this\n }));\n }\n }\n __properties__() {\n return Object.assign({}, this._properties, this._eventProperties);\n }\n __children__() {\n if (childType === CustomElementChildType.DOJO) {\n return this._children.filter((Child) => Child.domNode.isWidget).map((Child) => {\n const { domNode } = Child;\n return w(Child, Object.assign({}, domNode.__properties__()), [...domNode.__children__()]);\n });\n }\n else {\n return this._children;\n }\n }\n attributeChangedCallback(name, oldValue, value) {\n const propertyName = attributeMap[name];\n this._setProperty(propertyName, value);\n }\n _setEventProperty(propertyName, value) {\n this._eventProperties[propertyName] = value;\n }\n _getEventProperty(propertyName) {\n return this._eventProperties[propertyName];\n }\n _setProperty(propertyName, value) {\n if (typeof value === 'function') {\n value[noBind] = true;\n }\n this._properties[propertyName] = value;\n this._render();\n }\n _getProperty(propertyName) {\n return this._properties[propertyName];\n }\n _attributesToProperties(attributes) {\n return attributes.reduce((properties, propertyName) => {\n const attributeName = propertyName.toLowerCase();\n const value = this.getAttribute(attributeName);\n if (value !== null) {\n properties[propertyName] = value;\n }\n return properties;\n }, {});\n }\n static get observedAttributes() {\n return Object.keys(attributeMap);\n }\n get isWidget() {\n return true;\n }\n };\n}\nexport function register(WidgetConstructor) {\n const descriptor = WidgetConstructor.prototype && WidgetConstructor.prototype.__customElementDescriptor;\n if (!descriptor) {\n throw new Error('Cannot get descriptor for Custom Element, have you added the @customElement decorator to your Widget?');\n }\n global.customElements.define(descriptor.tagName, create(descriptor, WidgetConstructor));\n}\nexport default register;\n//# sourceMappingURL=registerCustomElement.mjs.map" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", + "name": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", + "index": 35, + "index2": 33, + "size": 5683, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./mixins/Projector", + "loc": "3:0-52" + }, + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "type": "harmony import specifier", + "userRequest": "./mixins/Projector", + "loc": "118:30-44" + } + ], + "usedExports": [ + "ProjectorMixin" + ], + "providedExports": [ + "ProjectorAttachState", + "AttachType", + "ProjectorMixin", + "default" + ], + "optimizationBailout": [], + "depth": 3, + "source": "import * as tslib_1 from \"tslib\";\nimport { assign } from '../../core/lang';\nimport cssTransitions from '../animations/cssTransitions';\nimport { afterRender } from './../decorators/afterRender';\nimport { v } from './../d';\nimport { dom } from './../vdom';\n/**\n * Represents the attach state of the projector\n */\nexport var ProjectorAttachState;\n(function (ProjectorAttachState) {\n ProjectorAttachState[ProjectorAttachState[\"Attached\"] = 1] = \"Attached\";\n ProjectorAttachState[ProjectorAttachState[\"Detached\"] = 2] = \"Detached\";\n})(ProjectorAttachState || (ProjectorAttachState = {}));\n/**\n * Attach type for the projector\n */\nexport var AttachType;\n(function (AttachType) {\n AttachType[AttachType[\"Append\"] = 1] = \"Append\";\n AttachType[AttachType[\"Merge\"] = 2] = \"Merge\";\n})(AttachType || (AttachType = {}));\nexport function ProjectorMixin(Base) {\n class Projector extends Base {\n constructor(...args) {\n super(...args);\n this._root = document.body;\n this._async = true;\n this._projectorProperties = {};\n this._projectionOptions = {\n transitions: cssTransitions\n };\n this.root = document.body;\n this.projectorState = ProjectorAttachState.Detached;\n }\n append(root) {\n const options = {\n type: AttachType.Append,\n root\n };\n return this._attach(options);\n }\n merge(root) {\n const options = {\n type: AttachType.Merge,\n root\n };\n return this._attach(options);\n }\n set root(root) {\n if (this.projectorState === ProjectorAttachState.Attached) {\n throw new Error('Projector already attached, cannot change root element');\n }\n this._root = root;\n }\n get root() {\n return this._root;\n }\n get async() {\n return this._async;\n }\n set async(async) {\n if (this.projectorState === ProjectorAttachState.Attached) {\n throw new Error('Projector already attached, cannot change async mode');\n }\n this._async = async;\n }\n sandbox(doc = document) {\n if (this.projectorState === ProjectorAttachState.Attached) {\n throw new Error('Projector already attached, cannot create sandbox');\n }\n this._async = false;\n const previousRoot = this.root;\n /* free up the document fragment for GC */\n this.own({\n destroy: () => {\n this._root = previousRoot;\n }\n });\n this._attach({\n /* DocumentFragment is not assignable to Element, but provides everything needed to work */\n root: doc.createDocumentFragment(),\n type: AttachType.Append\n });\n }\n setChildren(children) {\n this.__setChildren__(children);\n }\n setProperties(properties) {\n this.__setProperties__(properties);\n }\n __setProperties__(properties) {\n if (this._projectorProperties && this._projectorProperties.registry !== properties.registry) {\n if (this._projectorProperties.registry) {\n this._projectorProperties.registry.destroy();\n }\n }\n this._projectorProperties = assign({}, properties);\n super.__setCoreProperties__({ bind: this, baseRegistry: properties.registry });\n super.__setProperties__(properties);\n }\n toHtml() {\n if (this.projectorState !== ProjectorAttachState.Attached || !this._projection) {\n throw new Error('Projector is not attached, cannot return an HTML string of projection.');\n }\n return this._projection.domNode.childNodes[0].outerHTML;\n }\n afterRender(result) {\n let node = result;\n if (typeof result === 'string' || result === null || result === undefined) {\n node = v('span', {}, [result]);\n }\n return node;\n }\n destroy() {\n super.destroy();\n }\n _attach({ type, root }) {\n if (root) {\n this.root = root;\n }\n if (this._attachHandle) {\n return this._attachHandle;\n }\n this.projectorState = ProjectorAttachState.Attached;\n const handle = {\n destroy: () => {\n if (this.projectorState === ProjectorAttachState.Attached) {\n this._projection = undefined;\n this.projectorState = ProjectorAttachState.Detached;\n }\n }\n };\n this.own(handle);\n this._attachHandle = handle;\n this._projectionOptions = Object.assign({}, this._projectionOptions, { sync: !this._async });\n switch (type) {\n case AttachType.Append:\n this._projection = dom.append(this.root, this, this._projectionOptions);\n break;\n case AttachType.Merge:\n this._projection = dom.merge(this.root, this, this._projectionOptions);\n break;\n }\n return this._attachHandle;\n }\n }\n tslib_1.__decorate([\n afterRender()\n ], Projector.prototype, \"afterRender\", null);\n return Projector;\n}\nexport default ProjectorMixin;\n//# sourceMappingURL=Projector.mjs.map" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/alwaysRender.mjs", + "name": "./node_modules/@dojo/framework/widget-core/decorators/alwaysRender.mjs", + "index": 44, + "index2": 39, + "size": 365, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./decorators/alwaysRender", + "loc": "8:0-57" + }, + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "module": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "type": "harmony import specifier", + "userRequest": "./decorators/alwaysRender", + "loc": "33:8-20" + } + ], + "usedExports": [ + "alwaysRender" + ], + "providedExports": [ + "alwaysRender", + "default" + ], + "optimizationBailout": [], + "depth": 3, + "source": "import { handleDecorator } from './handleDecorator';\nimport { beforeProperties } from './beforeProperties';\nexport function alwaysRender() {\n return handleDecorator((target, propertyKey) => {\n beforeProperties(function () {\n this.invalidate();\n })(target);\n });\n}\nexport default alwaysRender;\n//# sourceMappingURL=alwaysRender.mjs.map" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/animations/cssTransitions.mjs", + "name": "./node_modules/@dojo/framework/widget-core/animations/cssTransitions.mjs", + "index": 36, + "index2": 30, + "size": 2288, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", + "name": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", + "type": "harmony side effect evaluation", + "userRequest": "../animations/cssTransitions", + "loc": "3:0-58" + }, + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", + "type": "harmony import specifier", + "userRequest": "../animations/cssTransitions", + "loc": "31:29-43" + } + ], + "usedExports": [ + "default" + ], + "providedExports": [ + "default" + ], + "optimizationBailout": [], + "depth": 4, + "source": "let browserSpecificTransitionEndEventName = '';\nlet browserSpecificAnimationEndEventName = '';\nfunction determineBrowserStyleNames(element) {\n if ('WebkitTransition' in element.style) {\n browserSpecificTransitionEndEventName = 'webkitTransitionEnd';\n browserSpecificAnimationEndEventName = 'webkitAnimationEnd';\n }\n else if ('transition' in element.style || 'MozTransition' in element.style) {\n browserSpecificTransitionEndEventName = 'transitionend';\n browserSpecificAnimationEndEventName = 'animationend';\n }\n else {\n throw new Error('Your browser is not supported');\n }\n}\nfunction initialize(element) {\n if (browserSpecificAnimationEndEventName === '') {\n determineBrowserStyleNames(element);\n }\n}\nfunction runAndCleanUp(element, startAnimation, finishAnimation) {\n initialize(element);\n let finished = false;\n let transitionEnd = function () {\n if (!finished) {\n finished = true;\n element.removeEventListener(browserSpecificTransitionEndEventName, transitionEnd);\n element.removeEventListener(browserSpecificAnimationEndEventName, transitionEnd);\n finishAnimation();\n }\n };\n startAnimation();\n element.addEventListener(browserSpecificAnimationEndEventName, transitionEnd);\n element.addEventListener(browserSpecificTransitionEndEventName, transitionEnd);\n}\nfunction exit(node, properties, exitAnimation, removeNode) {\n const activeClass = properties.exitAnimationActive || `${exitAnimation}-active`;\n runAndCleanUp(node, () => {\n node.classList.add(exitAnimation);\n requestAnimationFrame(function () {\n node.classList.add(activeClass);\n });\n }, () => {\n removeNode();\n });\n}\nfunction enter(node, properties, enterAnimation) {\n const activeClass = properties.enterAnimationActive || `${enterAnimation}-active`;\n runAndCleanUp(node, () => {\n node.classList.add(enterAnimation);\n requestAnimationFrame(function () {\n node.classList.add(activeClass);\n });\n }, () => {\n node.classList.remove(enterAnimation);\n node.classList.remove(activeClass);\n });\n}\nexport default {\n enter,\n exit\n};\n//# sourceMappingURL=cssTransitions.mjs.map" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/decorators/afterRender.mjs", + "name": "./node_modules/@dojo/framework/widget-core/decorators/afterRender.mjs", + "index": 37, + "index2": 32, + "size": 311, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", + "issuerId": null, + "issuerName": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", + "name": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./../decorators/afterRender", + "loc": "4:0-58" + }, + { + "moduleId": null, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", + "module": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", + "moduleName": "./node_modules/@dojo/framework/widget-core/mixins/Projector.mjs", + "type": "harmony import specifier", + "userRequest": "./../decorators/afterRender", + "loc": "149:8-19" + } + ], + "usedExports": [ + "afterRender" + ], + "providedExports": [ + "afterRender", + "default" + ], + "optimizationBailout": [], + "depth": 4, + "source": "import { handleDecorator } from './handleDecorator';\nexport function afterRender(method) {\n return handleDecorator((target, propertyKey) => {\n target.addDecorator('afterRender', propertyKey ? target[propertyKey] : method);\n });\n}\nexport default afterRender;\n//# sourceMappingURL=afterRender.mjs.map" + } + ], + "filteredModules": 0 + }, + { + "id": 25, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "name": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "index": 24, + "index2": 17, + "size": 6317, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + 0 + ], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Promise.mjs", + "issuerId": 16, + "issuerName": "./node_modules/@dojo/framework/shim/Promise.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "name": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs" + }, + { + "id": 8, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", + "name": "./node_modules/@dojo/framework/widget-core/Registry.mjs" + }, + { + "id": 16, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Promise.mjs", + "name": "./node_modules/@dojo/framework/shim/Promise.mjs" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": 16, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Promise.mjs", + "module": "./node_modules/@dojo/framework/shim/Promise.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Promise.mjs", + "type": "harmony side effect evaluation", + "userRequest": "./support/queue", + "loc": "2:0-49" + }, + { + "moduleId": 16, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Promise.mjs", + "module": "./node_modules/@dojo/framework/shim/Promise.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Promise.mjs", + "type": "harmony import specifier", + "userRequest": "./support/queue", + "loc": "65:35-49" + }, + { + "moduleId": 16, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Promise.mjs", + "module": "./node_modules/@dojo/framework/shim/Promise.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/Promise.mjs", + "type": "harmony import specifier", + "userRequest": "./support/queue", + "loc": "69:24-38" + } + ], + "usedExports": [ + "queueMicroTask" + ], + "providedExports": [ + "queueTask", + "queueAnimationTask", + "queueMicroTask" + ], + "optimizationBailout": [ + "ModuleConcatenation bailout: Module uses injected variables (setImmediate)" + ], + "depth": 6, + "source": "import global from '../global';\nimport has from './has';\nfunction executeTask(item) {\n if (item && item.isActive && item.callback) {\n item.callback();\n }\n}\nfunction getQueueHandle(item, destructor) {\n return {\n destroy: function () {\n this.destroy = function () { };\n item.isActive = false;\n item.callback = null;\n if (destructor) {\n destructor();\n }\n }\n };\n}\nlet checkMicroTaskQueue;\nlet microTasks;\n/**\n * Schedules a callback to the macrotask queue.\n *\n * @param callback the function to be queued and later executed.\n * @returns An object with a `destroy` method that, when called, prevents the registered callback from executing.\n */\nexport const queueTask = (function () {\n let destructor;\n let enqueue;\n // Since the IE implementation of `setImmediate` is not flawless, we will test for `postMessage` first.\n if (has('postmessage')) {\n const queue = [];\n global.addEventListener('message', function (event) {\n // Confirm that the event was triggered by the current window and by this particular implementation.\n if (event.source === global && event.data === 'dojo-queue-message') {\n event.stopPropagation();\n if (queue.length) {\n executeTask(queue.shift());\n }\n }\n });\n enqueue = function (item) {\n queue.push(item);\n global.postMessage('dojo-queue-message', '*');\n };\n }\n else if (has('setimmediate')) {\n destructor = global.clearImmediate;\n enqueue = function (item) {\n return setImmediate(executeTask.bind(null, item));\n };\n }\n else {\n destructor = global.clearTimeout;\n enqueue = function (item) {\n return setTimeout(executeTask.bind(null, item), 0);\n };\n }\n function queueTask(callback) {\n const item = {\n isActive: true,\n callback: callback\n };\n const id = enqueue(item);\n return getQueueHandle(item, destructor &&\n function () {\n destructor(id);\n });\n }\n // TODO: Use aspect.before when it is available.\n return has('microtasks')\n ? queueTask\n : function (callback) {\n checkMicroTaskQueue();\n return queueTask(callback);\n };\n})();\n// When no mechanism for registering microtasks is exposed by the environment, microtasks will\n// be queued and then executed in a single macrotask before the other macrotasks are executed.\nif (!has('microtasks')) {\n let isMicroTaskQueued = false;\n microTasks = [];\n checkMicroTaskQueue = function () {\n if (!isMicroTaskQueued) {\n isMicroTaskQueued = true;\n queueTask(function () {\n isMicroTaskQueued = false;\n if (microTasks.length) {\n let item;\n while ((item = microTasks.shift())) {\n executeTask(item);\n }\n }\n });\n }\n };\n}\n/**\n * Schedules an animation task with `window.requestAnimationFrame` if it exists, or with `queueTask` otherwise.\n *\n * Since requestAnimationFrame's behavior does not match that expected from `queueTask`, it is not used there.\n * However, at times it makes more sense to delegate to requestAnimationFrame; hence the following method.\n *\n * @param callback the function to be queued and later executed.\n * @returns An object with a `destroy` method that, when called, prevents the registered callback from executing.\n */\nexport const queueAnimationTask = (function () {\n if (!has('raf')) {\n return queueTask;\n }\n function queueAnimationTask(callback) {\n const item = {\n isActive: true,\n callback: callback\n };\n const rafId = requestAnimationFrame(executeTask.bind(null, item));\n return getQueueHandle(item, function () {\n cancelAnimationFrame(rafId);\n });\n }\n // TODO: Use aspect.before when it is available.\n return has('microtasks')\n ? queueAnimationTask\n : function (callback) {\n checkMicroTaskQueue();\n return queueAnimationTask(callback);\n };\n})();\n/**\n * Schedules a callback to the microtask queue.\n *\n * Any callbacks registered with `queueMicroTask` will be executed before the next macrotask. If no native\n * mechanism for scheduling macrotasks is exposed, then any callbacks will be fired before any macrotask\n * registered with `queueTask` or `queueAnimationTask`.\n *\n * @param callback the function to be queued and later executed.\n * @returns An object with a `destroy` method that, when called, prevents the registered callback from executing.\n */\nexport let queueMicroTask = (function () {\n let enqueue;\n if (has('host-node')) {\n enqueue = function (item) {\n global.process.nextTick(executeTask.bind(null, item));\n };\n }\n else if (has('es6-promise')) {\n enqueue = function (item) {\n global.Promise.resolve(item).then(executeTask);\n };\n }\n else if (has('dom-mutationobserver')) {\n /* tslint:disable-next-line:variable-name */\n const HostMutationObserver = global.MutationObserver || global.WebKitMutationObserver;\n const node = document.createElement('div');\n const queue = [];\n const observer = new HostMutationObserver(function () {\n while (queue.length > 0) {\n const item = queue.shift();\n if (item && item.isActive && item.callback) {\n item.callback();\n }\n }\n });\n observer.observe(node, { attributes: true });\n enqueue = function (item) {\n queue.push(item);\n node.setAttribute('queueStatus', '1');\n };\n }\n else {\n enqueue = function (item) {\n checkMicroTaskQueue();\n microTasks.push(item);\n };\n }\n return function (callback) {\n const item = {\n isActive: true,\n callback: callback\n };\n enqueue(item);\n return getQueueHandle(item);\n };\n})();\n//# sourceMappingURL=queue.mjs.map" + }, + { + "id": 26, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/process/browser.js", + "name": "./node_modules/process/browser.js", + "index": 9, + "index2": 2, + "size": 5418, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + 0 + ], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/has/has.mjs", + "issuerId": 2, + "issuerName": "./node_modules/@dojo/framework/has/has.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/array.mjs", + "name": "./node_modules/@dojo/framework/shim/array.mjs" + }, + { + "id": 4, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/has.mjs", + "name": "./node_modules/@dojo/framework/shim/support/has.mjs" + }, + { + "id": 2, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/has/has.mjs", + "name": "./node_modules/@dojo/framework/has/has.mjs" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": 2, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/has/has.mjs", + "module": "./node_modules/@dojo/framework/has/has.mjs", + "moduleName": "./node_modules/@dojo/framework/has/has.mjs", + "type": "cjs require", + "userRequest": "process", + "loc": "1:0-40" + }, + { + "moduleId": 30, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/setimmediate/setImmediate.js", + "module": "./node_modules/setimmediate/setImmediate.js", + "moduleName": "./node_modules/setimmediate/setImmediate.js", + "type": "cjs require", + "userRequest": "process", + "loc": "1:0-34" + } + ], + "usedExports": true, + "providedExports": null, + "optimizationBailout": [ + "ModuleConcatenation bailout: Module is not an ECMAScript module" + ], + "depth": 6, + "source": "// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n" + }, + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js", + "index": 0, + "index2": 46, + "size": 28, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + 0 + ], + "issuer": null, + "issuerId": null, + "issuerName": null, + "issuerPath": null, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": null, + "moduleIdentifier": null, + "module": null, + "moduleName": null, + "type": "multi entry" + } + ], + "usedExports": true, + "providedExports": null, + "optimizationBailout": [ + "ModuleConcatenation bailout: Module is not an ECMAScript module" + ], + "depth": 0 + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js", + "index": 1, + "index2": 45, + "size": 283, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + 0 + ], + "issuer": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "issuerId": 27, + "issuerName": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": 27, + "moduleIdentifier": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "module": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js", + "moduleName": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js", + "type": "single entry", + "userRequest": "imports-loader?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "loc": "menu[0]" + } + ], + "usedExports": true, + "providedExports": null, + "optimizationBailout": [ + "ModuleConcatenation bailout: Module is not an ECMAScript module" + ], + "depth": 1, + "source": "/*** IMPORTS FROM imports-loader ***/\nvar widgetFactory = require(\"src/menu/Menu\");\n\nvar registerCustomElement = require('@dojo/framework/widget-core/registerCustomElement').default;\n\nvar defaultExport = widgetFactory.default;\ndefaultExport && registerCustomElement(defaultExport);\n\n" + }, + { + "id": 29, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/timers-browserify/main.js", + "name": "./node_modules/timers-browserify/main.js", + "index": 25, + "index2": 16, + "size": 2022, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + 0 + ], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "issuerId": 25, + "issuerName": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "name": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs" + }, + { + "id": 8, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", + "name": "./node_modules/@dojo/framework/widget-core/Registry.mjs" + }, + { + "id": 16, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Promise.mjs", + "name": "./node_modules/@dojo/framework/shim/Promise.mjs" + }, + { + "id": 25, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "name": "./node_modules/@dojo/framework/shim/support/queue.mjs" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": 25, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "module": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "moduleName": "./node_modules/@dojo/framework/shim/support/queue.mjs", + "type": "cjs require", + "userRequest": "setImmediate", + "loc": "1:0-50" + } + ], + "usedExports": true, + "providedExports": null, + "optimizationBailout": [ + "ModuleConcatenation bailout: Module is not an ECMAScript module" + ], + "depth": 7, + "source": "var scope = (typeof global !== \"undefined\" && global) ||\n (typeof self !== \"undefined\" && self) ||\n window;\nvar apply = Function.prototype.apply;\n\n// DOM APIs, for completeness\n\nexports.setTimeout = function() {\n return new Timeout(apply.call(setTimeout, scope, arguments), clearTimeout);\n};\nexports.setInterval = function() {\n return new Timeout(apply.call(setInterval, scope, arguments), clearInterval);\n};\nexports.clearTimeout =\nexports.clearInterval = function(timeout) {\n if (timeout) {\n timeout.close();\n }\n};\n\nfunction Timeout(id, clearFn) {\n this._id = id;\n this._clearFn = clearFn;\n}\nTimeout.prototype.unref = Timeout.prototype.ref = function() {};\nTimeout.prototype.close = function() {\n this._clearFn.call(scope, this._id);\n};\n\n// Does not start the time, just sets up the members needed.\nexports.enroll = function(item, msecs) {\n clearTimeout(item._idleTimeoutId);\n item._idleTimeout = msecs;\n};\n\nexports.unenroll = function(item) {\n clearTimeout(item._idleTimeoutId);\n item._idleTimeout = -1;\n};\n\nexports._unrefActive = exports.active = function(item) {\n clearTimeout(item._idleTimeoutId);\n\n var msecs = item._idleTimeout;\n if (msecs >= 0) {\n item._idleTimeoutId = setTimeout(function onTimeout() {\n if (item._onTimeout)\n item._onTimeout();\n }, msecs);\n }\n};\n\n// setimmediate attaches itself to the global object\nrequire(\"setimmediate\");\n// On some exotic environments, it's not clear which object `setimmediate` was\n// able to install onto. Search each possibility in the same order as the\n// `setimmediate` library.\nexports.setImmediate = (typeof self !== \"undefined\" && self.setImmediate) ||\n (typeof global !== \"undefined\" && global.setImmediate) ||\n (this && this.setImmediate);\nexports.clearImmediate = (typeof self !== \"undefined\" && self.clearImmediate) ||\n (typeof global !== \"undefined\" && global.clearImmediate) ||\n (this && this.clearImmediate);\n" + }, + { + "id": 30, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/setimmediate/setImmediate.js", + "name": "./node_modules/setimmediate/setImmediate.js", + "index": 26, + "index2": 15, + "size": 6473, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + 0 + ], + "issuer": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/timers-browserify/main.js", + "issuerId": 29, + "issuerName": "./node_modules/timers-browserify/main.js", + "issuerPath": [ + { + "id": 27, + "identifier": "multi imports-loader?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "multi imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": 28, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/imports-loader/index.js?widgetFactory=src/menu/Menu!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/source-map-loader-cli/index.js??ref--4!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/cli-build-widget/template/custom-element.js", + "name": "./node_modules/imports-loader?widgetFactory=src/menu/Menu!./node_modules/@dojo/cli-build-widget/template/custom-element.js" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/registerCustomElement.mjs", + "name": "./node_modules/@dojo/framework/widget-core/registerCustomElement.mjs" + }, + { + "id": null, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/WidgetBase.mjs", + "name": "./node_modules/@dojo/framework/widget-core/WidgetBase.mjs" + }, + { + "id": 8, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/widget-core/Registry.mjs", + "name": "./node_modules/@dojo/framework/widget-core/Registry.mjs" + }, + { + "id": 16, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/Promise.mjs", + "name": "./node_modules/@dojo/framework/shim/Promise.mjs" + }, + { + "id": 25, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--8-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/framework/shim/support/queue.mjs", + "name": "./node_modules/@dojo/framework/shim/support/queue.mjs" + }, + { + "id": 29, + "identifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/timers-browserify/main.js", + "name": "./node_modules/timers-browserify/main.js" + } + ], + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": 29, + "moduleIdentifier": "/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/@dojo/webpack-contrib/static-build-loader/index.js??ref--9-0!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/umd-compat-loader/index.js!/Users/mwistrand/projects/dojo/cli-build-widget/test-app/node_modules/timers-browserify/main.js", + "module": "./node_modules/timers-browserify/main.js", + "moduleName": "./node_modules/timers-browserify/main.js", + "type": "cjs require", + "userRequest": "setimmediate", + "loc": "54:0-23" + } + ], + "usedExports": true, + "providedExports": null, + "optimizationBailout": [ + "ModuleConcatenation bailout: Module is not an ECMAScript module" + ], + "depth": 8, + "source": "(function (global, undefined) {\n \"use strict\";\n\n if (global.setImmediate) {\n return;\n }\n\n var nextHandle = 1; // Spec says greater than zero\n var tasksByHandle = {};\n var currentlyRunningATask = false;\n var doc = global.document;\n var registerImmediate;\n\n function setImmediate(callback) {\n // Callback can either be a function or a string\n if (typeof callback !== \"function\") {\n callback = new Function(\"\" + callback);\n }\n // Copy function arguments\n var args = new Array(arguments.length - 1);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i + 1];\n }\n // Store and register the task\n var task = { callback: callback, args: args };\n tasksByHandle[nextHandle] = task;\n registerImmediate(nextHandle);\n return nextHandle++;\n }\n\n function clearImmediate(handle) {\n delete tasksByHandle[handle];\n }\n\n function run(task) {\n var callback = task.callback;\n var args = task.args;\n switch (args.length) {\n case 0:\n callback();\n break;\n case 1:\n callback(args[0]);\n break;\n case 2:\n callback(args[0], args[1]);\n break;\n case 3:\n callback(args[0], args[1], args[2]);\n break;\n default:\n callback.apply(undefined, args);\n break;\n }\n }\n\n function runIfPresent(handle) {\n // From the spec: \"Wait until any invocations of this algorithm started before this one have completed.\"\n // So if we're currently running a task, we'll need to delay this invocation.\n if (currentlyRunningATask) {\n // Delay by doing a setTimeout. setImmediate was tried instead, but in Firefox 7 it generated a\n // \"too much recursion\" error.\n setTimeout(runIfPresent, 0, handle);\n } else {\n var task = tasksByHandle[handle];\n if (task) {\n currentlyRunningATask = true;\n try {\n run(task);\n } finally {\n clearImmediate(handle);\n currentlyRunningATask = false;\n }\n }\n }\n }\n\n function installNextTickImplementation() {\n registerImmediate = function(handle) {\n process.nextTick(function () { runIfPresent(handle); });\n };\n }\n\n function canUsePostMessage() {\n // The test against `importScripts` prevents this implementation from being installed inside a web worker,\n // where `global.postMessage` means something completely different and can't be used for this purpose.\n if (global.postMessage && !global.importScripts) {\n var postMessageIsAsynchronous = true;\n var oldOnMessage = global.onmessage;\n global.onmessage = function() {\n postMessageIsAsynchronous = false;\n };\n global.postMessage(\"\", \"*\");\n global.onmessage = oldOnMessage;\n return postMessageIsAsynchronous;\n }\n }\n\n function installPostMessageImplementation() {\n // Installs an event handler on `global` for the `message` event: see\n // * https://developer.mozilla.org/en/DOM/window.postMessage\n // * http://www.whatwg.org/specs/web-apps/current-work/multipage/comms.html#crossDocumentMessages\n\n var messagePrefix = \"setImmediate$\" + Math.random() + \"$\";\n var onGlobalMessage = function(event) {\n if (event.source === global &&\n typeof event.data === \"string\" &&\n event.data.indexOf(messagePrefix) === 0) {\n runIfPresent(+event.data.slice(messagePrefix.length));\n }\n };\n\n if (global.addEventListener) {\n global.addEventListener(\"message\", onGlobalMessage, false);\n } else {\n global.attachEvent(\"onmessage\", onGlobalMessage);\n }\n\n registerImmediate = function(handle) {\n global.postMessage(messagePrefix + handle, \"*\");\n };\n }\n\n function installMessageChannelImplementation() {\n var channel = new MessageChannel();\n channel.port1.onmessage = function(event) {\n var handle = event.data;\n runIfPresent(handle);\n };\n\n registerImmediate = function(handle) {\n channel.port2.postMessage(handle);\n };\n }\n\n function installReadyStateChangeImplementation() {\n var html = doc.documentElement;\n registerImmediate = function(handle) {\n // Create a