diff --git a/esinstall/src/index.ts b/esinstall/src/index.ts index 899c7a94de..ed40385051 100644 --- a/esinstall/src/index.ts +++ b/esinstall/src/index.ts @@ -94,17 +94,6 @@ function resolveWebDependency( dep: string, {cwd, packageLookupFields}: {cwd: string; packageLookupFields: string[]}, ): DependencyLoc { - // if dep points directly to a file within a package, return that reference. - // No other lookup required. - if (path.extname(dep) && !validatePackageName(dep).validForNewPackages) { - // For details on why we need to call fs.realpathSync.native here and other places, see - // https://github.com/snowpackjs/snowpack/pull/999. - const loc = fs.realpathSync.native(require.resolve(dep, {paths: [cwd]})); - return { - type: isJavaScript(loc) ? 'JS' : 'ASSET', - loc, - }; - } // If dep is a path within a package (but without an extension), we first need // to check for an export map in the package.json. If one exists, resolve to it. const [packageName, packageEntrypoint] = parsePackageImportSpecifier(dep); @@ -123,13 +112,25 @@ function resolveWebDependency( `Package "${packageName}" exists but package.json "exports" does not include entry for "./${packageEntrypoint}".`, ); } + const loc = path.join(packageManifestLoc, '..', exportMapValue); return { - type: 'JS', - loc: path.join(packageManifestLoc, '..', exportMapValue), + type: isJavaScript(loc) ? 'JS' : 'ASSET', + loc, }; } } + // if, no export map and dep points directly to a file within a package, return that reference. + if (path.extname(dep) && !validatePackageName(dep).validForNewPackages) { + // For details on why we need to call fs.realpathSync.native here and other places, see + // https://github.com/snowpackjs/snowpack/pull/999. + const loc = fs.realpathSync.native(require.resolve(dep, {paths: [cwd]})); + return { + type: isJavaScript(loc) ? 'JS' : 'ASSET', + loc, + }; + } + // Otherwise, resolve directly to the dep specifier. Note that this supports both // "package-name" & "package-name/some/path" where "package-name/some/path/package.json" // exists at that lower path, that must be used to resolve. In that case, export diff --git a/esinstall/src/rollup-plugins/rollup-plugin-node-process-polyfill.ts b/esinstall/src/rollup-plugins/rollup-plugin-node-process-polyfill.ts index 5ff7a2e51e..e5dc90ce05 100644 --- a/esinstall/src/rollup-plugins/rollup-plugin-node-process-polyfill.ts +++ b/esinstall/src/rollup-plugins/rollup-plugin-node-process-polyfill.ts @@ -6,7 +6,7 @@ const PROCESS_MODULE_NAME = 'process'; export function rollupPluginNodeProcessPolyfill(env = {}): Plugin { const injectPlugin = inject({ process: PROCESS_MODULE_NAME, - include: ['*.js', '*.mjs', '*.cjs'], + include: /\.(cjs|js|jsx|mjs|ts|tsx)$/, // only target JavaScript files }); return { diff --git a/examples/react-global-imports/src/App.test.jsx b/examples/react-global-imports/src/App.test.jsx deleted file mode 100644 index 150eefa61b..0000000000 --- a/examples/react-global-imports/src/App.test.jsx +++ /dev/null @@ -1,12 +0,0 @@ -import * as React from 'react'; -import { render } from '@testing-library/react'; -import { expect } from 'chai'; -import App from './App'; - -describe('', () => { - it('renders learn react link', () => { - const { getByText } = render(); - const linkElement = getByText(/learn react/i); - expect(document.body.contains(linkElement)); - }); -}); diff --git a/examples/react-loadable-components/src/App.test.jsx b/examples/react-loadable-components/src/App.test.jsx deleted file mode 100644 index 150eefa61b..0000000000 --- a/examples/react-loadable-components/src/App.test.jsx +++ /dev/null @@ -1,12 +0,0 @@ -import * as React from 'react'; -import { render } from '@testing-library/react'; -import { expect } from 'chai'; -import App from './App'; - -describe('', () => { - it('renders learn react link', () => { - const { getByText } = render(); - const linkElement = getByText(/learn react/i); - expect(document.body.contains(linkElement)); - }); -}); diff --git a/jest.config.js b/jest.config.js index 3b9e53c2fb..784161a258 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,6 +1,7 @@ module.exports = { modulePathIgnorePatterns: [ '/create-snowpack-app/app-template-', // don’t run tests intended as user examples + '/examples', // don’t run any tests in examples '/test/create-snowpack-app/test-install', // don’t run tests inside our mock create-snowpack-app install ], setupFilesAfterEnv: ['/jest.setup.js'], diff --git a/snowpack/src/scan-imports.ts b/snowpack/src/scan-imports.ts index fce3d98422..ca6fb00f00 100644 --- a/snowpack/src/scan-imports.ts +++ b/snowpack/src/scan-imports.ts @@ -274,6 +274,7 @@ export async function scanImportsFromFiles( loadedFiles: SnowpackSourceFile[], config: SnowpackConfig, ): Promise { + await initESModuleLexer; return loadedFiles .filter((sourceFile) => !Buffer.isBuffer(sourceFile.contents)) // filter out binary files from import scanning .map((sourceFile) => parseFileForInstallTargets(sourceFile as SnowpackSourceFile)) diff --git a/test/esinstall/export-maps/__snapshots__ b/test/esinstall/export-maps/__snapshots__ index 2307ee6ae8..662e4d0a30 100644 --- a/test/esinstall/export-maps/__snapshots__ +++ b/test/esinstall/export-maps/__snapshots__ @@ -2,8 +2,10 @@ exports[`snowpack install export-maps: allFiles 1`] = ` Array [ + "@clevercloud/components/assets/backup.svg", "import-map.json", "preact.js", + "preact/hooks.js", ] `; @@ -11,14 +13,19 @@ exports[`snowpack install export-maps: cli output 1`] = ` "[snowpack] ! installing dependencies... [snowpack] ✔ install complete! [snowpack] - ⦿ web_modules/ size gzip brotli - └─ preact.js XXXX KB XXXX KB XXXX KB" + ⦿ web_modules/ size gzip brotli + ├─ preact.js XXXX KB XXXX KB XXXX KB + └─ preact/hooks.js XXXX KB XXXX KB XXXX KB" `; +exports[`snowpack install export-maps: web_modules/@clevercloud/components/assets/backup.svg 1`] = `""`; + exports[`snowpack install export-maps: web_modules/import-map.json 1`] = ` "{ \\"imports\\": { - \\"preact\\": \\"./preact.js\\" + \\"@clevercloud/components/assets/backup.svg\\": \\"./@clevercloud/components/assets/backup.svg\\", + \\"preact\\": \\"./preact.js\\", + \\"preact/hooks\\": \\"./preact/hooks.js\\" } }" `; @@ -27,3 +34,9 @@ exports[`snowpack install export-maps: web_modules/preact.js 1`] = ` "var n,l,u,i,t,o,r,f={},e=[],c=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function s(n,l){for(var u in l)n[u]=l[u];return n}function a(n){var l=n.parentNode;l&&l.removeChild(n);}function v(n,l,u){var i,t,o,r=arguments,f={};for(o in l)\\"key\\"==o?i=l[o]:\\"ref\\"==o?t=l[o]:f[o]=l[o];if(arguments.length>3)for(u=[u],o=3;o1&&T(t,l,u),l=x(u,t,t,n.__k,null,t.__e,l),\\"function\\"==typeof n.type&&(n.__d=l)));}function $(l,u,i,t,o,r,f,e,c){var a,v,h,y,_,w,k,g,b,x,A,P=u.type;if(void 0!==u.constructor)return null;null!=i.__h&&(c=i.__h,e=u.__e=i.__e,u.__h=null,r=[e]),(a=n.__b)&&a(u);try{n:if(\\"function\\"==typeof P){if(g=u.props,b=(a=P.contextType)&&t[a.__c],x=a?b?b.props.value:a.__:t,i.__c?k=(v=u.__c=i.__c).__=v.__E:(\\"prototype\\"in P&&P.prototype.render?u.__c=v=new P(g,x):(u.__c=v=new d(g,x),v.constructor=P,v.render=M),b&&b.sub(v),v.props=g,v.state||(v.state={}),v.context=x,v.__n=t,h=v.__d=!0,v.__h=[]),null==v.__s&&(v.__s=v.state),null!=P.getDerivedStateFromProps&&(v.__s==v.state&&(v.__s=s({},v.__s)),s(v.__s,P.getDerivedStateFromProps(g,v.__s))),y=v.props,_=v.state,h)null==P.getDerivedStateFromProps&&null!=v.componentWillMount&&v.componentWillMount(),null!=v.componentDidMount&&v.__h.push(v.componentDidMount);else {if(null==P.getDerivedStateFromProps&&g!==y&&null!=v.componentWillReceiveProps&&v.componentWillReceiveProps(g,x),!v.__e&&null!=v.shouldComponentUpdate&&!1===v.shouldComponentUpdate(g,v.__s,x)||u.__v===i.__v){v.props=g,v.state=v.__s,u.__v!==i.__v&&(v.__d=!1),v.__v=u,u.__e=i.__e,u.__k=i.__k,v.__h.length&&f.push(v),T(u,e,l);break n}null!=v.componentWillUpdate&&v.componentWillUpdate(g,v.__s,x),null!=v.componentDidUpdate&&v.__h.push(function(){v.componentDidUpdate(y,_,w);});}v.context=x,v.props=g,v.state=v.__s,(a=n.__r)&&a(u),v.__d=!1,v.__v=u,v.__P=l,a=v.render(v.props,v.state,v.context),v.state=v.__s,null!=v.getChildContext&&(t=s(s({},t),v.getChildContext())),h||null==v.getSnapshotBeforeUpdate||(w=v.getSnapshotBeforeUpdate(y,_)),A=null!=a&&a.type==p&&null==a.key?a.props.children:a,m(l,Array.isArray(A)?A:[A],u,i,t,o,r,f,e,c),v.base=u.__e,u.__h=null,v.__h.length&&f.push(v),k&&(v.__E=v.__=null),v.__e=!1;}else null==r&&u.__v===i.__v?(u.__k=i.__k,u.__e=i.__e):u.__e=H(i.__e,u,i,t,o,r,f,c);(a=n.diffed)&&a(u);}catch(l){u.__v=null,(c||null!=r)&&(u.__e=e,u.__h=!!c,r[r.indexOf(e)]=null),n.__e(l,u,i);}return u.__e}function j(l,u){n.__c&&n.__c(u,l),l.some(function(u){try{l=u.__h,u.__h=[],l.some(function(n){n.call(u);});}catch(l){n.__e(l,u.__v);}});}function H(n,l,u,i,t,o,r,c){var s,a,v,h,y,p=u.props,d=l.props;if(t=\\"svg\\"===l.type||t,null!=o)for(s=0;s3)for(u=[u],o=3;o=i.__.length&&i.__.push({}),i.__[t]}function l(n){return o=1,p(w,n)}function p(n,r,o){var i=m(t++,2);return i.t=n,i.__c||(i.__=[o?o(r):w(void 0,r),function(n){var t=i.t(i.__[0],n);i.__[0]!==t&&(i.__=[t,i.__[1]],i.__c.setState({}));}],i.__c=u),i.__}function y(r,o){var i=m(t++,3);!n.__s&&k(i.__H,o)&&(i.__=r,i.__H=o,u.__H.__h.push(i));}function h(r,o){var i=m(t++,4);!n.__s&&k(i.__H,o)&&(i.__=r,i.__H=o,u.__h.push(i));}function s(n){return o=5,d(function(){return {current:n}},[])}function _(n,t,u){o=6,h(function(){\\"function\\"==typeof n?n(t()):n&&(n.current=t());},null==u?u:u.concat(n));}function d(n,u){var r=m(t++,7);return k(r.__H,u)&&(r.__=n(),r.__H=u,r.__h=n),r.__}function A(n,t){return o=8,d(function(){return n},t)}function F(n){var r=u.context[n.__c],o=m(t++,9);return o.__c=n,r?(null==o.__&&(o.__=!0,r.sub(u)),r.props.value):n.__}function T(t,u){n.useDebugValue&&n.useDebugValue(u?u(t):t);}function q(n){var r=m(t++,10),o=l();return r.__=n,u.componentDidCatch||(u.componentDidCatch=function(n){r.__&&r.__(n),o[1](n);}),[o[0],function(){o[1](void 0);}]}function x(){i.forEach(function(t){if(t.__P)try{t.__H.__h.forEach(g),t.__H.__h.forEach(j),t.__H.__h=[];}catch(u){t.__H.__h=[],n.__e(u,t.__v);}}),i=[];}n.__b=function(n){u=null,c&&c(n);},n.__r=function(n){f&&f(n),t=0;var r=(u=n.__c).__H;r&&(r.__h.forEach(g),r.__h.forEach(j),r.__h=[]);},n.diffed=function(t){e&&e(t);var o=t.__c;o&&o.__H&&o.__H.__h.length&&(1!==i.push(o)&&r===n.requestAnimationFrame||((r=n.requestAnimationFrame)||function(n){var t,u=function(){clearTimeout(r),b&&cancelAnimationFrame(t),setTimeout(n);},r=setTimeout(u,100);b&&(t=requestAnimationFrame(u));})(x)),u=void 0;},n.__c=function(t,u){u.some(function(t){try{t.__h.forEach(g),t.__h=t.__h.filter(function(n){return !n.__||j(n)});}catch(r){u.some(function(n){n.__h&&(n.__h=[]);}),u=[],n.__e(r,t.__v);}}),a&&a(t,u);},n.unmount=function(t){v&&v(t);var u=t.__c;if(u&&u.__H)try{u.__H.__.forEach(g);}catch(t){n.__e(t,u.__v);}};var b=\\"function\\"==typeof requestAnimationFrame;function g(n){var t=u;\\"function\\"==typeof n.__c&&n.__c(),u=t;}function j(n){var t=u;n.__c=n.__(),u=t;}function k(n,t){return !n||n.length!==t.length||t.some(function(t,u){return t!==n[u]})}function w(n,t){return \\"function\\"==typeof t?t(n):t} +export { A as useCallback, F as useContext, T as useDebugValue, y as useEffect, q as useErrorBoundary, _ as useImperativeHandle, h as useLayoutEffect, d as useMemo, p as useReducer, s as useRef, l as useState };" +`; diff --git a/test/esinstall/export-maps/package.json b/test/esinstall/export-maps/package.json index 70e3068b47..c6e7fb8fdb 100644 --- a/test/esinstall/export-maps/package.json +++ b/test/esinstall/export-maps/package.json @@ -7,14 +7,17 @@ }, "snowpack": { "install": [ - "preact" + "preact", + "preact/hooks", + "@clevercloud/components/assets/backup.svg" ], "buildOptions": { "minify": false } }, "dependencies": { - "preact": "^10.4.6" + "preact": "^10.4.6", + "@clevercloud/components": "4.1.0-beta.5" }, "devDependencies": { "snowpack": "^2.14.3" diff --git a/yarn.lock b/yarn.lock index 56ba175365..edc04a7be9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1229,6 +1229,31 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== +"@clevercloud/client@^5.1.0": + version "5.1.0" + resolved "https://registry.yarnpkg.com/@clevercloud/client/-/client-5.1.0.tgz#a49117fdb0908332cae7d13773fe0085be7421a4" + integrity sha512-MIjB8Pt9reiFzKyk3Vj6msNCUl+CZhkK5op7vPYhMVefyQ7ihydfSjMrh4lnPerXcz7a+3xb8KmoBXlhIAH8tA== + dependencies: + component-emitter "^1.3.0" + oauth-1.0a "^2.2.6" + +"@clevercloud/components@4.1.0-beta.5": + version "4.1.0-beta.5" + resolved "https://registry.yarnpkg.com/@clevercloud/components/-/components-4.1.0-beta.5.tgz#3c434ef83a227ef3498974fe17ad089417e72bca" + integrity sha512-rC4IHlvQBXdJ7bdFGdoTK2WZUJsEBBixolrd6IVyDOgKLf0kAVnB/CCBuW5lBN8f3edHFYqN0kOgi0mt/a6Uuw== + dependencies: + "@clevercloud/client" "^5.1.0" + "@spectrum-web-components/icon" "^0.4.9-alpha.38" + chart.js "^2.9.3" + chartjs-plugin-datalabels "^0.7.0" + clipboard-copy "^3.1.0" + leaflet "^1.6.0" + leaflet.heat "^0.2.0" + lit-element "^2.3.1" + lit-html "^1.2.1" + resize-observer-polyfill "^1.5.1" + statuses "^2.0.0" + "@cnakazawa/watch@^1.0.3": version "1.0.4" resolved "https://registry.yarnpkg.com/@cnakazawa/watch/-/watch-1.0.4.tgz#f864ae85004d0fcab6f50be9141c4da368d1656a" @@ -2493,6 +2518,25 @@ kleur "^4.1.3" yargs-parser "^20.2.3" +"@spectrum-web-components/icon@^0.4.9-alpha.38": + version "0.4.9-alpha.38" + resolved "https://registry.yarnpkg.com/@spectrum-web-components/icon/-/icon-0.4.9-alpha.38.tgz#0366c3d280faca3c7c0f3d6274f628bc1d333967" + integrity sha512-jYZJ8ZOkkuRA75VbZLumlM9dKEPPPsOHQ/IqM+L8yUF19pOEXdbXnrmJA2BPjIe7okCSE+S41QPHHyn7kTfR2Q== + dependencies: + "@spectrum-web-components/iconset" "^0.1.12-alpha.38+3926abb2" + lit-element "^2.1.0" + lit-html "^1.0.0" + tslib "^2.0.0" + +"@spectrum-web-components/iconset@^0.1.12-alpha.38+3926abb2": + version "0.1.12-alpha.38" + resolved "https://registry.yarnpkg.com/@spectrum-web-components/iconset/-/iconset-0.1.12-alpha.38.tgz#b64cf3552852e7305d6d117589c5bb9820d632e3" + integrity sha512-BXQV+VWgXDBWx7e9mE3XVTtYPMS578qGe0elSf/bn/+0dBqZDKfR1jzDwKBrc/QujOYJgOshgw0gAvI2f64m+w== + dependencies: + lit-element "^2.1.0" + lit-html "^1.0.0" + tslib "^2.0.0" + "@szmarczak/http-timer@^4.0.5": version "4.0.5" resolved "https://registry.yarnpkg.com/@szmarczak/http-timer/-/http-timer-4.0.5.tgz#bfbd50211e9dfa51ba07da58a14cdfd333205152" @@ -4794,6 +4838,34 @@ chardet@^0.7.0: resolved "https://registry.yarnpkg.com/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e" integrity sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA== +chart.js@^2.9.3: + version "2.9.4" + resolved "https://registry.yarnpkg.com/chart.js/-/chart.js-2.9.4.tgz#0827f9563faffb2dc5c06562f8eb10337d5b9684" + integrity sha512-B07aAzxcrikjAPyV+01j7BmOpxtQETxTSlQ26BEYJ+3iUkbNKaOJ/nDbT6JjyqYxseM0ON12COHYdU2cTIjC7A== + dependencies: + chartjs-color "^2.1.0" + moment "^2.10.2" + +chartjs-color-string@^0.6.0: + version "0.6.0" + resolved "https://registry.yarnpkg.com/chartjs-color-string/-/chartjs-color-string-0.6.0.tgz#1df096621c0e70720a64f4135ea171d051402f71" + integrity sha512-TIB5OKn1hPJvO7JcteW4WY/63v6KwEdt6udfnDE9iCAZgy+V4SrbSxoIbTw/xkUIapjEI4ExGtD0+6D3KyFd7A== + dependencies: + color-name "^1.0.0" + +chartjs-color@^2.1.0: + version "2.4.1" + resolved "https://registry.yarnpkg.com/chartjs-color/-/chartjs-color-2.4.1.tgz#6118bba202fe1ea79dd7f7c0f9da93467296c3b0" + integrity sha512-haqOg1+Yebys/Ts/9bLo/BqUcONQOdr/hoEr2LLTRl6C5LXctUdHxsCYfvQVg5JIxITrfCNUDr4ntqmQk9+/0w== + dependencies: + chartjs-color-string "^0.6.0" + color-convert "^1.9.3" + +chartjs-plugin-datalabels@^0.7.0: + version "0.7.0" + resolved "https://registry.yarnpkg.com/chartjs-plugin-datalabels/-/chartjs-plugin-datalabels-0.7.0.tgz#f72e44edb2db45ef68913e9320bcc50398a205e6" + integrity sha512-PKVUX14nYhH0wcdCpgOoC39Gbzvn6cZ7O9n+bwc02yKD9FTnJ7/TSrBcfebmolFZp1Rcicr9xbT0a5HUbigS7g== + check-error@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/check-error/-/check-error-1.0.2.tgz#574d312edd88bb5dd8912e9286dd6c0aed4aac82" @@ -4947,6 +5019,11 @@ cli-width@^2.0.0: resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.2.1.tgz#b0433d0b4e9c847ef18868a4ef16fd5fc8271c48" integrity sha512-GRMWDxpOB6Dgk2E5Uo+3eEBvtOOlimMmpbFiKuLFnQzYDavtLFY3K5ona41jgN/WdRZtG7utuVSVTL4HbZHGkw== +clipboard-copy@^3.1.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/clipboard-copy/-/clipboard-copy-3.2.0.tgz#3c5b8651d3512dcfad295d77a9eb09e7fac8d5fb" + integrity sha512-vooFaGFL6ulEP1liiaWFBmmfuPm3cY3y7T9eB83ZTnYc/oFeAKsq3NcDrOkBC8XaauEE8zHQwI7k0+JSYiVQSQ== + cliui@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/cliui/-/cliui-2.1.0.tgz#4b475760ff80264c762c3a1719032e91c7fea0d1" @@ -5042,7 +5119,7 @@ collection-visit@^1.0.0: map-visit "^1.0.0" object-visit "^1.0.0" -color-convert@^1.9.0, color-convert@^1.9.1: +color-convert@^1.9.0, color-convert@^1.9.1, color-convert@^1.9.3: version "1.9.3" resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== @@ -5160,7 +5237,7 @@ component-emitter@1.2.1: resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.2.1.tgz#137918d6d78283f7df7a6b7c5a63e140e69425e6" integrity sha1-E3kY1teCg/ffemt8WmPhQOaUJeY= -component-emitter@^1.2.1, component-emitter@~1.3.0: +component-emitter@^1.2.1, component-emitter@^1.3.0, component-emitter@~1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.3.0.tgz#16e4070fba8ae29b679f2215853ee181ab2eabc0" integrity sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg== @@ -9118,6 +9195,16 @@ lazy-cache@^1.0.3: resolved "https://registry.yarnpkg.com/lazy-cache/-/lazy-cache-1.0.4.tgz#a1d78fc3a50474cb80845d3b3b6e1da49a446e8e" integrity sha1-odePw6UEdMuAhF07O24dpJpEbo4= +leaflet.heat@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/leaflet.heat/-/leaflet.heat-0.2.0.tgz#109d8cf586f0adee41f05aff031e27a77fecc229" + integrity sha1-EJ2M9Ybwre5B8Fr/Ax4np3/swik= + +leaflet@^1.6.0: + version "1.7.1" + resolved "https://registry.yarnpkg.com/leaflet/-/leaflet-1.7.1.tgz#10d684916edfe1bf41d688a3b97127c0322a2a19" + integrity sha512-/xwPEBidtg69Q3HlqPdU3DnrXQOvQU/CCHA1tcDQVzOwm91YMYaILjNp7L4Eaw5Z4sOYdbBz6koWyibppd8Zqw== + lerna@^3.22.1: version "3.22.1" resolved "https://registry.yarnpkg.com/lerna/-/lerna-3.22.1.tgz#82027ac3da9c627fd8bf02ccfeff806a98e65b62" @@ -9192,14 +9279,14 @@ liquidjs@^6.4.3: resolved "https://registry.yarnpkg.com/liquidjs/-/liquidjs-6.4.3.tgz#c7caf7a3f6c87dc6a22a5a351328cf8f7298c243" integrity sha512-m1xSB10Ncu22NR3X0xdaqu/GvP1xadDCFYGqGgd6me8DAWjyA68BKE5DHJmSxw1CGsWPsX+Hj2v/87J2w/LvMQ== -lit-element@^2.3.1: +lit-element@^2.1.0, lit-element@^2.3.1: version "2.4.0" resolved "https://registry.yarnpkg.com/lit-element/-/lit-element-2.4.0.tgz#b22607a037a8fc08f5a80736dddf7f3f5d401452" integrity sha512-pBGLglxyhq/Prk2H91nA0KByq/hx/wssJBQFiYqXhGDvEnY31PRGYf1RglVzyLeRysu0IHm2K0P196uLLWmwFg== dependencies: lit-html "^1.1.1" -lit-html@^1.1.1, lit-html@^1.2.1: +lit-html@^1.0.0, lit-html@^1.1.1, lit-html@^1.2.1: version "1.3.0" resolved "https://registry.yarnpkg.com/lit-html/-/lit-html-1.3.0.tgz#c80f3cc5793a6dea6c07172be90a70ab20e56034" integrity sha512-0Q1bwmaFH9O14vycPHw8C/IeHMk/uSDldVLIefu/kfbTBGIc44KGH6A8p1bDfxUfHdc8q6Ct7kQklWoHgr4t1Q== @@ -9906,6 +9993,11 @@ modify-values@^1.0.0: resolved "https://registry.yarnpkg.com/modify-values/-/modify-values-1.0.1.tgz#b3939fa605546474e3e3e3c63d64bd43b4ee6022" integrity sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw== +moment@^2.10.2: + version "2.29.1" + resolved "https://registry.yarnpkg.com/moment/-/moment-2.29.1.tgz#b2be769fa31940be9eeea6469c075e35006fa3d3" + integrity sha512-kHmoybcPV8Sqy59DwNDY3Jefr64lK/by/da0ViFcuA4DH0vQg5Q6Ze5VimxkfQNSC+Mls/Kx53s7TjP1RhFEDQ== + moo@^0.5.1: version "0.5.1" resolved "https://registry.yarnpkg.com/moo/-/moo-0.5.1.tgz#7aae7f384b9b09f620b6abf6f74ebbcd1b65dbc4" @@ -10338,6 +10430,11 @@ nwsapi@^2.2.0: resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.0.tgz#204879a9e3d068ff2a55139c2c772780681a38b7" integrity sha512-h2AatdwYH+JHiZpv7pt/gSX1XoRGb7L/qSIeuqA6GwYoF9w1vP1cw42TO0aI2pNyshRK5893hNSl+1//vHK7hQ== +oauth-1.0a@^2.2.6: + version "2.2.6" + resolved "https://registry.yarnpkg.com/oauth-1.0a/-/oauth-1.0a-2.2.6.tgz#eadbccdb3bceea412d24586e6f39b2b412f0e491" + integrity sha512-6bkxv3N4Gu5lty4viIcIAnq5GbxECviMBeKR3WX/q87SPQ8E8aursPZUtsXDnxCs787af09WPRBLqYrf/lwoYQ== + oauth-sign@~0.9.0: version "0.9.0" resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.9.0.tgz#47a7b016baa68b5fa0ecf3dee08a85c679ac6455" @@ -12187,6 +12284,11 @@ requires-port@^1.0.0: resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff" integrity sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8= +resize-observer-polyfill@^1.5.1: + version "1.5.1" + resolved "https://registry.yarnpkg.com/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz#0e9020dd3d21024458d4ebd27e23e40269810464" + integrity sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg== + resolve-alpn@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/resolve-alpn/-/resolve-alpn-1.0.0.tgz#745ad60b3d6aff4b4a48e01b8c0bdc70959e0e8c" @@ -13057,6 +13159,11 @@ static-extend@^0.1.1: resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c" integrity sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow= +statuses@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/statuses/-/statuses-2.0.0.tgz#aa7b107e018eb33e08e8aee2e7337e762dda1028" + integrity sha512-w9jNUUQdpuVoYqXxnyOakhckBbOxRaoYqJscyIBYCS5ixyCnO7nQn7zBZvP9zf5QOPZcz2DLUpE3KsNPbJBOFA== + statuses@~1.3.1: version "1.3.1" resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.3.1.tgz#faf51b9eb74aaef3b3acf4ad5f61abf24cb7b93e" @@ -13778,6 +13885,11 @@ tslib@^1.9.0: resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== +tslib@^2.0.0: + version "2.0.3" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.0.3.tgz#8e0741ac45fc0c226e58a17bfc3e64b9bc6ca61c" + integrity sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ== + tsscmp@1.0.6: version "1.0.6" resolved "https://registry.yarnpkg.com/tsscmp/-/tsscmp-1.0.6.tgz#85b99583ac3589ec4bfef825b5000aa911d605eb"