Repository: googlemaps/js-api-loader
Pull request #463 (2021-11-24 06:05:15)

build(deps-dev): bump selenium-webdriver from 4.0.0 to 4.1.0
Bumps [selenium-webdriver](https://github.com/SeleniumHQ/selenium) from 4.0.0 to 4.1.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/SeleniumHQ/selenium/releases">selenium-webdriver's releases</a>.</em></p>
<blockquote>
<h2>Selenium 4.1.0</h2>
<h3>Changelog</h3>
<p>For each component's detailed changelog, please check:</p>
<ul>
<li><a href="https://github.com/SeleniumHQ/selenium/blob/trunk/rb/CHANGES">Ruby</a></li>
<li><a href="https://github.com/SeleniumHQ/selenium/blob/trunk/py/CHANGES">Python</a></li>
<li><a href="https://github.com/SeleniumHQ/selenium/blob/trunk/javascript/node/selenium-webdriver/CHANGES.md">JavaScript</a></li>
<li><a href="https://github.com/SeleniumHQ/selenium/blob/trunk/java/CHANGELOG">Java</a></li>
<li><a href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/CHANGELOG">DotNet</a></li>
<li><a href="https://github.com/SeleniumHQ/selenium/blob/trunk/cpp/iedriverserver/CHANGELOG">IEDriverServer</a></li>
</ul>
<h3>Commits in this release</h3>
<!-- raw HTML omitted -->
<ul>
<li><a href="http://github.com/seleniumhq/selenium/commit/a83f9be979185b4944360843bafb5474832cff5d"><code>a83f9be979</code></a> - Remove tempfile compatibility for Ruby 1.8 :: Alex Rodionov</li>
<li><a href="http://github.com/seleniumhq/selenium/commit/db30b7fd12fd3f41bea685689116181b37055316"><code>db30b7fd12</code></a> - [js] updating rules_nodejs to 4.4.1 :: Sri Harsha</li>
<li><a href="http://github.com/seleniumhq/selenium/commit/5a554bde29d8f797b20d75a21dde40fa17be7d8e"><code>5a554bde29</code></a> - [java] Remove Edge USE_CHROMIUM flag. (<a href="https://github-redirect.dependabot.com/SeleniumHQ/selenium/issues/9921">#9921</a>) :: Brandon Walderman</li>
<li><a href="http://github.com/seleniumhq/selenium/commit/4829bfcaa95b85bda4837ff9008e647cfa8601b0"><code>4829bfcaa9</code></a> - Add some docs on how to run the atoms tests :: Simon Mavi Stewart</li>
<li><a href="http://github.com/seleniumhq/selenium/commit/49ebfb9f91c400ce5997218aa94e40a4152c396e"><code>49ebfb9f91</code></a> - Moving from issue templates to issue forms. :: Diego Molina</li>
<li><a href="http://github.com/seleniumhq/selenium/commit/bf7cd04fce8820db2fe6f634e24dc3096cc2be39"><code>bf7cd04fce</code></a> - Fixing typos on issue form. :: Diego Molina</li>
<li><a href="http://github.com/seleniumhq/selenium/commit/940d4f83832e8867b0918a8ed1dc76153bdf248c"><code>940d4f8383</code></a> - [java] Fix reference to removed withTagName method in RelativeLocator class comment (<a href="https://github-redirect.dependabot.com/SeleniumHQ/selenium/issues/9930">#9930</a>) :: Coty Rosenblath</li>
<li><a href="http://github.com/seleniumhq/selenium/commit/a501e6acbc96853247ef5a980ccfb6c61292709f"><code>a501e6acbc</code></a> - update doc string for CDP Commands (<a href="https://github-redirect.dependabot.com/SeleniumHQ/selenium/issues/9929">#9929</a>) :: Marcin Strzyz</li>
<li><a href="http://github.com/seleniumhq/selenium/commit/ee3ecbda341528d23152bcc1ca9e590c4e60c10c"><code>ee3ecbda34</code></a> - [build] Bump rules_pkg to 0.5.1 :: AutomatedTester</li>
<li><a href="http://github.com/seleniumhq/selenium/commit/23dd179349a76feb4e69bf93e26b921aecb6789f"><code>23dd179349</code></a> - Fix the completion command's zsh completions :: Simon Mavi Stewart</li>
<li><a href="http://github.com/seleniumhq/selenium/commit/5380516e656695cffaa892113042c0aca01ad030"><code>5380516e65</code></a> - [js] Fixes relative locator 'locateWith' export :: Sri Harsha</li>
<li><a href="http://github.com/seleniumhq/selenium/commit/1ca3c066ad60a943db68ff5d1c658afe6758eb2f"><code>1ca3c066ad</code></a> - Fix XPath crash issue in IEDriver (<a href="https://github-redirect.dependabot.com/SeleniumHQ/selenium/issues/9939">#9939</a>) :: Guangyue Xu</li>
<li><a href="http://github.com/seleniumhq/selenium/commit/7dacdc777311cd8460e12f88a8f995acc32373d0"><code>7dacdc7773</code></a> - Using correct label names in issue forms. :: Diego Molina</li>
<li><a href="http://github.com/seleniumhq/selenium/commit/67444b87e074de829b8281eeff17889d4951b8e9"><code>67444b87e0</code></a> - Adding label commenter configuration. :: Diego Molina</li>
<li><a href="http://github.com/seleniumhq/selenium/commit/ee59a577d6f859886c9f5dcb19463315bab01cf2"><code>ee59a577d6</code></a> - Adding configuration for stale issues. :: Diego Molina</li>
<li><a href="http://github.com/seleniumhq/selenium/commit/fc99bef068d2c870bc179ee5f4bd4f207007b0f9"><code>fc99bef068</code></a> - [dotnet] Refactor Cookie object constructors :: Jim Evans</li>
<li><a href="http://github.com/seleniumhq/selenium/commit/f2d79cf639642a0eb853e325d8db08b557873401"><code>f2d79cf639</code></a> - [dotnet] Fix WebDriver.csproj file to embed mutation listener resource :: Jim Evans</li>
<li><a href="http://github.com/seleniumhq/selenium/commit/a25ad324ea3dc0a3babda00b34d177a9ae66d51f"><code>a25ad324ea</code></a> - Pass WebDriver instead of Loggable to allow augmentation of HasLogEvents :: Puja Jagani</li>
<li><a href="http://github.com/seleniumhq/selenium/commit/e1292c8d7e5fc3ae599eecabc4a3d2c60d95bc88"><code>e1292c8d7e</code></a> - [rb] fix downloading of Selenium Server :: titusfortner</li>
<li><a href="http://github.com/seleniumhq/selenium/commit/b67f59f7054a45b6b3b174fd032e0e0e9e95c452"><code>b67f59f705</code></a> - [rb] update pre-built atoms :: titusfortner</li>
<li><a href="http://github.com/seleniumhq/selenium/commit/9816645a1a189ea44c9979a24c2debb4df6b3f73"><code>9816645a1a</code></a> - [rb] fix test not handling redirect :: titusfortner</li>
<li><a href="http://github.com/seleniumhq/selenium/commit/89b749104512936c6e69153aa56e76818df4977c"><code>89b7491045</code></a> - [rb] appease the linter :: titusfortner</li>
<li><a href="http://github.com/seleniumhq/selenium/commit/9ad3f5a94ccd551a18f030a4c4f3e00a8ce17001"><code>9ad3f5a94c</code></a> - [rb] update changelog and bump version for 4.0.1 :: titusfortner</li>
<li><a href="http://github.com/seleniumhq/selenium/commit/049958b325549a89461ec7ac446ffea4e859abf6"><code>049958b325</code></a> - [rb] missed references in the refactor :: titusfortner</li>
<li><a href="http://github.com/seleniumhq/selenium/commit/508dac46b6716aa46dd6f8baeebfc678b1b177ff"><code>508dac46b6</code></a> - [rb] update changelog and bump version for 4.0.2 :: titusfortner</li>
<li><a href="http://github.com/seleniumhq/selenium/commit/ef41797a77eb42f69ac14ea4c3b2337346614567"><code>ef41797a77</code></a> - [rb] allow keys to be an empty array :: titusfortner</li>
<li><a href="http://github.com/seleniumhq/selenium/commit/5a3b3721700b141385be877bd50aec0aeb1b32c8"><code>5a3b372170</code></a> - [rb] element index is a property and not an attribute :: titusfortner</li>
<li><a href="http://github.com/seleniumhq/selenium/commit/4ac2b4a7f6b5c153418eb1c6020167db1d606089"><code>4ac2b4a7f6</code></a> - actually do not camel case fx prefs (<a href="https://github-redirect.dependabot.com/SeleniumHQ/selenium/issues/9944">#9944</a>) :: glaszig</li>
<li><a href="http://github.com/seleniumhq/selenium/commit/61dd966fd6b96075242c9ef51b75e0ea40455e3c"><code>61dd966fd6</code></a> - [js] Add support for form submit in W3C mode (fixes <a href="https://github-redirect.dependabot.com/SeleniumHQ/selenium/issues/9916">#9916</a>) (<a href="https://github-redirect.dependabot.com/SeleniumHQ/selenium/issues/9936">#9936</a>) :: Sri Harsha</li>
<li><a href="http://github.com/seleniumhq/selenium/commit/6733a1b2f27fbe37cfd75f1bd553a98b18d6ea95"><code>6733a1b2f2</code></a> - [build] Move python version to a variable to be shared about :: AutomatedTester</li>
<li><a href="http://github.com/seleniumhq/selenium/commit/89f8bd553fa486c621682a8d330148377def16d5"><code>89f8bd553f</code></a> - [rb] minor syntax fixes :: titusfortner</li>
<li><a href="http://github.com/seleniumhq/selenium/commit/c83ce12ddb06bfef30a72fa84e143c2067b98e43"><code>c83ce12ddb</code></a> - [rb] update changelog and bump version for 4.0.3 :: titusfortner</li>
<li><a href="http://github.com/seleniumhq/selenium/commit/f9ddb1500ee239d3753a33db0d362719bddd5211"><code>f9ddb1500e</code></a> - [build] Hack to get around Bazel not outputting things to stdout/strerr for docs task :: AutomatedTester</li>
<li><a href="http://github.com/seleniumhq/selenium/commit/6e0d581a47fc88640da2f247d9a67a83ca0d77a0"><code>6e0d581a47</code></a> - [build] call bazel directly for ruby docs :: AutomatedTester</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/SeleniumHQ/selenium/commit/d7dfe5ec604faae440cc0be2c088c8ba9b92804f"><code>d7dfe5e</code></a> [py] fix tox warnings</li>
<li><a href="https://github.com/SeleniumHQ/selenium/commit/fbc391827b3d63cedb4cc274a582d511a6c6a98f"><code>fbc3918</code></a> [js] update dependencies as npm audit seemed to miss some</li>
<li><a href="https://github.com/SeleniumHQ/selenium/commit/30bfdb24bc721098b03fe80bf06858cdbdda1362"><code>30bfdb2</code></a> [js] update dependencies</li>
<li><a href="https://github.com/SeleniumHQ/selenium/commit/336811c7bf375595641d646974e810c26077ad9e"><code>336811c</code></a> [py] update missing items for changelog for 4.1</li>
<li><a href="https://github.com/SeleniumHQ/selenium/commit/5fd073d80e167101557108ee55792936909f8d6b"><code>5fd073d</code></a> [py] add warning if people set w3c to false as it may break their tests</li>
<li><a href="https://github.com/SeleniumHQ/selenium/commit/24a9c50fedecfea1216480c89e016552b539f271"><code>24a9c50</code></a> Split OpenTelemetry command (<a href="https://github-redirect.dependabot.com/SeleniumHQ/selenium/issues/10009">#10009</a>)</li>
<li><a href="https://github.com/SeleniumHQ/selenium/commit/5e2fd23c82a7958c72d396ac521004ec819f8356"><code>5e2fd23</code></a> Fix wrong type annotations for &quot;env&quot; it's a dict not a string (<a href="https://github-redirect.dependabot.com/SeleniumHQ/selenium/issues/10072">#10072</a>)</li>
<li><a href="https://github.com/SeleniumHQ/selenium/commit/201fad38296f9ea47ac1b1b59c160963dc7b2907"><code>201fad3</code></a> [dotnet] Handle returning shadow roots from JavaScript</li>
<li><a href="https://github.com/SeleniumHQ/selenium/commit/9cd6c45a21eded7d342e9abdae89e4cd0d16c6ea"><code>9cd6c45</code></a> Merge branch 'trunk' of <a href="https://github.com/SeleniumHQ/selenium">https://github.com/SeleniumHQ/selenium</a> into trunk</li>
<li><a href="https://github.com/SeleniumHQ/selenium/commit/346da0e0766f5decefd9b16f8e361875388df4f9"><code>346da0e</code></a> Added default executable path in service module for (<a href="https://github-redirect.dependabot.com/SeleniumHQ/selenium/issues/10057">#10057</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/SeleniumHQ/selenium/compare/selenium-4.0.0...selenium-4.1.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=selenium-webdriver&package-manager=npm_and_yarn&previous-version=4.0.0&new-version=4.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>

codecov[bot]: # [Codecov](https://codecov.io/gh/googlemaps/js-api-loader/pull/463?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=googlemaps) Report
> Merging [#463](https://codecov.io/gh/googlemaps/js-api-loader/pull/463?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=googlemaps) (73ea7f6) into [main](https://codecov.io/gh/googlemaps/js-api-loader/commit/e344441d571cbc6cd18dfce24633031dacdf2b36?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=googlemaps) (e344441) will **not change** coverage.
> The diff coverage is `n/a`.

[![Impacted file tree graph](https://codecov.io/gh/googlemaps/js-api-loader/pull/463/graphs/tree.svg?width=650&height=150&src=pr&token=aAmgcWFXMs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=googlemaps)](https://codecov.io/gh/googlemaps/js-api-loader/pull/463?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=googlemaps)

```diff
@@            Coverage Diff            @@
##              main      #463   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines          123       123           
  Branches        25        25           
=========================================
  Hits           123       123           
```



------

[Continue to review full report at Codecov](https://codecov.io/gh/googlemaps/js-api-loader/pull/463?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=googlemaps).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=googlemaps)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/googlemaps/js-api-loader/pull/463?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=googlemaps). Last update [e344441...73ea7f6](https://codecov.io/gh/googlemaps/js-api-loader/pull/463?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=googlemaps). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=googlemaps).


Patch:
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 33dda42..85cf3df 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -22,6 +22,9 @@ jobs:
   build:
     runs-on: ubuntu-latest
     steps:
+      - uses: actions/setup-node@v2
+        with:
+          node-version: '14'
       - uses: actions/checkout@v2
       - uses: actions/cache@v2
         with:
diff --git a/package-lock.json b/package-lock.json
index f1b7a5b..29b3672 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,6 +1,6 @@
 {
   "name": "@googlemaps/js-api-loader",
-  "version": "1.12.10",
+  "version": "1.13.1",
   "lockfileVersion": 1,
   "requires": true,
   "dependencies": {
@@ -4053,9 +4053,9 @@
       "dev": true
     },
     "@types/google.maps": {
-      "version": "3.46.0",
-      "resolved": "https://registry.npmjs.org/@types/google.maps/-/google.maps-3.46.0.tgz",
-      "integrity": "sha512-TvrN/+XkDSblCrkx9bJXSrYOrDeUgiPl1ec215vv4mYBuvU3YOAq0XVB32dV6r7ySctqJO1M7aEgVJsJZOgrmQ==",
+      "version": "3.47.2",
+      "resolved": "https://registry.npmjs.org/@types/google.maps/-/google.maps-3.47.2.tgz",
+      "integrity": "sha512-mFmt428CY4UN49U8KH5J4RfcdkeRu6SZyPIXxU1MA0pnHb4pqn/c/whawTodB3pkKWe8F9fXfUlpBFsk9HucXw==",
       "dev": true
     },
     "@types/graceful-fs": {
@@ -4098,9 +4098,9 @@
       }
     },
     "@types/jest": {
-      "version": "27.0.2",
-      "resolved": "https://registry.npmjs.org/@types/jest/-/jest-27.0.2.tgz",
-      "integrity": "sha512-4dRxkS/AFX0c5XW6IPMNOydLn2tEhNhJV7DnYK+0bjoJZ+QTmfucBlihX7aoEsh/ocYtkLC73UbnBXBXIxsULA==",
+      "version": "27.4.0",
+      "resolved": "https://registry.npmjs.org/@types/jest/-/jest-27.4.0.tgz",
+      "integrity": "sha512-gHl8XuC1RZ8H2j5sHv/JqsaxXkDDM9iDOgu0Wp8sjs4u/snb2PVehyWXJPr+ORA0RPpgw231mnutWI1+0hgjIQ==",
       "dev": true,
       "requires": {
         "jest-diff": "^27.0.0",
@@ -4108,9 +4108,9 @@
       },
       "dependencies": {
         "@jest/types": {
-          "version": "27.1.1",
-          "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.1.1.tgz",
-          "integrity": "sha512-yqJPDDseb0mXgKqmNqypCsb85C22K1aY5+LUxh7syIM9n/b0AsaltxNy+o6tt29VcfGDpYEve175bm3uOhcehA==",
+          "version": "27.4.2",
+          "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.4.2.tgz",
+          "integrity": "sha512-j35yw0PMTPpZsUoOBiuHzr1zTYoad1cVIE0ajEjcrJONxxrko/IRGKkXx3os0Nsi4Hu3+5VmDbVfq5WhG/pWAg==",
           "dev": true,
           "requires": {
             "@types/istanbul-lib-coverage": "^2.0.0",
@@ -4136,31 +4136,31 @@
           "dev": true
         },
         "jest-diff": {
-          "version": "27.2.0",
-          "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-27.2.0.tgz",
-          "integrity": "sha512-QSO9WC6btFYWtRJ3Hac0sRrkspf7B01mGrrQEiCW6TobtViJ9RWL0EmOs/WnBsZDsI/Y2IoSHZA2x6offu0sYw==",
+          "version": "27.4.2",
+          "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-27.4.2.tgz",
+          "integrity": "sha512-ujc9ToyUZDh9KcqvQDkk/gkbf6zSaeEg9AiBxtttXW59H/AcqEYp1ciXAtJp+jXWva5nAf/ePtSsgWwE5mqp4Q==",
           "dev": true,
           "requires": {
             "chalk": "^4.0.0",
-            "diff-sequences": "^27.0.6",
-            "jest-get-type": "^27.0.6",
-            "pretty-format": "^27.2.0"
+            "diff-sequences": "^27.4.0",
+            "jest-get-type": "^27.4.0",
+            "pretty-format": "^27.4.2"
           }
         },
         "jest-get-type": {
-          "version": "27.0.6",
-          "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-27.0.6.tgz",
-          "integrity": "sha512-XTkK5exIeUbbveehcSR8w0bhH+c0yloW/Wpl+9vZrjzztCPWrxhHwkIFpZzCt71oRBsgxmuUfxEqOYoZI2macg==",
+          "version": "27.4.0",
+          "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-27.4.0.tgz",
+          "integrity": "sha512-tk9o+ld5TWq41DkK14L4wox4s2D9MtTpKaAVzXfr5CUKm5ZK2ExcaFE0qls2W71zE/6R2TxxrK9w2r6svAFDBQ==",
           "dev": true
         },
         "pretty-format": {
-          "version": "27.2.0",
-          "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.2.0.tgz",
-          "integrity": "sha512-KyJdmgBkMscLqo8A7K77omgLx5PWPiXJswtTtFV7XgVZv2+qPk6UivpXXO+5k6ZEbWIbLoKdx1pZ6ldINzbwTA==",
+          "version": "27.4.2",
+          "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.4.2.tgz",
+          "integrity": "sha512-p0wNtJ9oLuvgOQDEIZ9zQjZffK7KtyR6Si0jnXULIDwrlNF8Cuir3AZP0hHv0jmKuNN/edOnbMjnzd4uTcmWiw==",
           "dev": true,
           "requires": {
-            "@jest/types": "^27.1.1",
-            "ansi-regex": "^5.0.0",
+            "@jest/types": "^27.4.2",
+            "ansi-regex": "^5.0.1",
             "ansi-styles": "^5.0.0",
             "react-is": "^17.0.1"
           }
@@ -5254,9 +5254,9 @@
       "dev": true
     },
     "core-js": {
-      "version": "3.19.1",
-      "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.19.1.tgz",
-      "integrity": "sha512-Tnc7E9iKd/b/ff7GFbhwPVzJzPztGrChB8X8GLqoYGdEOG8IpLnK1xPyo3ZoO3HsK6TodJS58VGPOxA+hLHQMg==",
+      "version": "3.19.3",
+      "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.19.3.tgz",
+      "integrity": "sha512-LeLBMgEGSsG7giquSzvgBrTS7V5UL6ks3eQlUSbN8dJStlLFiRzUm5iqsRyzUB8carhfKjkJ2vzKqE6z1Vga9g==",
       "dev": true
     },
     "core-js-compat": {
@@ -5472,9 +5472,9 @@
       "dev": true
     },
     "diff-sequences": {
-      "version": "27.0.6",
-      "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-27.0.6.tgz",
-      "integrity": "sha512-ag6wfpBFyNXZ0p8pcuIDS//D8H062ZQJ3fzYxjpmeKjnz8W4pekL3AI8VohmyZmsWW2PWaHgjsmqR6L13101VQ==",
+      "version": "27.4.0",
+      "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-27.4.0.tgz",
+      "integrity": "sha512-YqiQzkrsmHMH5uuh8OdQFU9/ZpADnwzml8z0O5HvRNda+5UZsaX/xN+AAxfR2hWq1Y7HZnAzO9J5lJXOuDz2Ww==",
       "dev": true
     },
     "dir-glob": {
@@ -8314,9 +8314,9 @@
       "dev": true
     },
     "prettier": {
-      "version": "2.4.1",
-      "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.4.1.tgz",
-      "integrity": "sha512-9fbDAXSBcc6Bs1mZrDYb3XKzDLm4EXXL9sC1LqKP5rZkT6KRr/rf9amVUcODVXgguK/isJz0d0hP72WeaKWsvA==",
+      "version": "2.5.1",
+      "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.5.1.tgz",
+      "integrity": "sha512-vBZcPRUR5MZJwoyi3ZoyQlc1rXeEck8KgeC9AwwOn+exuxLxq5toTRDTSaVrXHxelDMHy9zlicw8u66yxoSUFg==",
       "dev": true
     },
     "prettier-linter-helpers": {
@@ -8762,9 +8762,9 @@
       }
     },
     "rollup": {
-      "version": "2.60.1",
-      "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.60.1.tgz",
-      "integrity": "sha512-akwfnpjY0rXEDSn1UTVfKXJhPsEBu+imi1gqBA1ZkHGydUnkV/fWCC90P7rDaLEW8KTwBcS1G3N4893Ndz+jwg==",
+      "version": "2.61.0",
+      "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.61.0.tgz",
+      "integrity": "sha512-teQ+T1mUYbyvGyUavCodiyA9hD4DxwYZJwr/qehZGhs1Z49vsmzelMVYMxGU4ZhGRKxYPupHuz5yzm/wj7VpWA==",
       "dev": true,
       "requires": {
         "fsevents": "~2.3.2"
@@ -9005,13 +9005,12 @@
       }
     },
     "selenium-webdriver": {
-      "version": "4.0.0",
-      "resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-4.0.0.tgz",
-      "integrity": "sha512-tOlu6FnTjPq2FKpd153pl8o2cB7H40Rvl/ogiD2sapMv4IDjQqpIxbd+swDJe9UDLdszeh5CDis6lgy4e9UG1w==",
+      "version": "4.1.0",
+      "resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-4.1.0.tgz",
+      "integrity": "sha512-kUDH4N8WruYprTzvug4Pl73Th+WKb5YiLz8z/anOpHyUNUdM3UzrdTOxmSNaf9AczzBeY+qXihzku8D1lMaKOg==",
       "dev": true,
       "requires": {
         "jszip": "^3.6.0",
-        "rimraf": "^3.0.2",
         "tmp": "^0.2.1",
         "ws": ">=7.4.6"
       }
@@ -9898,9 +9897,9 @@
       }
     },
     "typedoc": {
-      "version": "0.22.9",
-      "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.22.9.tgz",
-      "integrity": "sha512-84PjudoXVcap6bwdZFbYIUWlgdz/iLV09ZHwrCzhtHWXaDQG6mlosJ8te6DSThuRkRvQjp46HO+qY/P7Gpm78g==",
+      "version": "0.22.10",
+      "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.22.10.tgz",
+      "integrity": "sha512-hQYZ4WtoMZ61wDC6w10kxA42+jclWngdmztNZsDvIz7BMJg7F2xnT+uYsUa7OluyKossdFj9E9Ye4QOZKTy8SA==",
       "dev": true,
       "requires": {
         "glob": "^7.2.0",
@@ -9927,9 +9926,9 @@
       }
     },
     "typescript": {
-      "version": "4.4.4",
-      "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.4.4.tgz",
-      "integrity": "sha512-DqGhF5IKoBl8WNf8C1gu8q0xZSInh9j1kJJMqT3a94w1JzVaBU4EXOSMrz9yDqMT0xt3selp83fuFMQ0uzv6qA==",
+      "version": "4.5.2",
+      "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.2.tgz",
+      "integrity": "sha512-5BlMof9H1yGt0P8/WF+wPNw6GfctgGjXp5hkblpyT+8rkASSmkUKMXrxR0Xg8ThVCi/JnHQiKXeBaEwCeQwMFw==",
       "dev": true
     },
     "unicode-canonical-property-names-ecmascript": {
diff --git a/package.json b/package.json
index 5ca7cd8..0f936ee 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@googlemaps/js-api-loader",
-  "version": "1.12.10",
+  "version": "1.13.1",
   "description": "Wrapper for the loading of Google Maps JavaScript API script in the browser",
   "keywords": [
     "google",
@@ -21,7 +21,8 @@
   "module": "dist/index.esm.js",
   "types": "dist/index.d.ts",
   "files": [
-    "dist/*"
+    "dist/",
+    "src/"
   ],
   "scripts": {
     "docs": "typedoc src/index.ts && cp -r dist docs/dist && cp -r examples docs/examples",
diff --git a/rollup.config.js b/rollup.config.js
index 8b60966..a785023 100644
--- a/rollup.config.js
+++ b/rollup.config.js
@@ -34,7 +34,7 @@ export default [
   {
     input: "src/index.ts",
     plugins: [
-      typescript({ tsconfig: "./tsconfig.json" }),
+      typescript({ tsconfig: "./tsconfig.json", declarationDir: "./" }),
 
       nodeResolve(resolveOptions),
       commonjs(),
diff --git a/src/index.ts b/src/index.ts
index e8fc2f3..f476a84 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -27,7 +27,7 @@ declare global {
 
 export const DEFAULT_ID = "__googleMapsScriptId";
 
-type Libraries = (
+export type Libraries = (
   | "drawing"
   | "geometry"
   | "localContext"
@@ -165,6 +165,16 @@ export interface LoaderOptions {
   retries?: number;
 }
 
+/**
+ * The status of the [[Loader]].
+ */
+export enum LoaderStatus {
+  INITIALIZED,
+  LOADING,
+  SUCCESS,
+  FAILURE,
+}
+
 /**
  * [[Loader]] makes it easier to add Google Maps JavaScript API to your application
  * dynamically using
@@ -314,6 +324,19 @@ export class Loader {
     };
   }
 
+  public get status(): LoaderStatus {
+    if (this.errors.length) {
+      return LoaderStatus.FAILURE;
+    }
+    if (this.done) {
+      return LoaderStatus.SUCCESS;
+    }
+    if (this.loading) {
+      return LoaderStatus.LOADING;
+    }
+    return LoaderStatus.INITIALIZED;
+  }
+
   private get failed(): boolean {
     return this.done && !this.loading && this.errors.length >= this.retries + 1;
   }


Test patch:
diff --git a/src/index.test.ts b/src/index.test.ts
index 43fe595..06242cd 100644
--- a/src/index.test.ts
+++ b/src/index.test.ts
@@ -14,7 +14,7 @@
  * limitations under the License.
  */
 /* eslint @typescript-eslint/no-explicit-any: 0 */
-import { DEFAULT_ID, Loader, LoaderOptions } from ".";
+import { DEFAULT_ID, Loader, LoaderOptions, LoaderStatus } from ".";
 
 jest.useFakeTimers();
 
@@ -54,6 +54,7 @@ test.each([
 ])("createUrl is correct", (options: LoaderOptions, expected: string) => {
   const loader = new Loader(options);
   expect(loader.createUrl()).toEqual(expected);
+  expect(loader.status).toBe(LoaderStatus.INITIALIZED);
 });
 
 test("uses default id if empty string", () => {
@@ -128,6 +129,7 @@ test("script onerror should reject promise", async () => {
   expect(loader["done"]).toBeTruthy();
   expect(loader["loading"]).toBeFalsy();
   expect(loader["errors"].length).toBe(1);
+  expect(loader.status).toBe(LoaderStatus.FAILURE);
 });
 
 test("script onerror should reject promise with multiple loaders", async () => {
@@ -301,6 +303,7 @@ test("singleton should be used", () => {
 
   loader["done"] = true;
   expect(extraLoader["done"]).toBe(loader["done"]);
+  expect(loader.status).toBe(LoaderStatus.SUCCESS);
 });
 
 test("singleton should throw with different options", () => {
@@ -333,7 +336,7 @@ test("loader should resolve immediately when failed loading", async () => {
 test("loader should wait if already loading", () => {
   const loader = new Loader({ apiKey: "foo", retries: 0 });
   loader["loading"] = true;
-
+  expect(loader.status).toBe(LoaderStatus.LOADING);
   loader.load();
 });