diff --git a/docs/index.html b/docs/index.html
index 877ebf9..836f76b 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -587,6 +587,20 @@
GitHub Feature Support Table
117+ |
* |
+
+
+
+ command & commandfor
+
+ |
+ * |
+ 135+ |
+ * |
+ * |
+ * |
+ * |
+ * |
+
|
Native Syntax |
diff --git a/package-lock.json b/package-lock.json
index c266553..be81201 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -10,7 +10,8 @@
"license": "MIT",
"dependencies": {
"@oddbird/popover-polyfill": "^0.5.2",
- "dialog-toggle-events-polyfill": "^1.1.2"
+ "dialog-toggle-events-polyfill": "^1.1.2",
+ "invokers-polyfill": "^0.5.2"
},
"devDependencies": {
"@github/prettier-config": "^0.0.6",
@@ -4877,6 +4878,12 @@
"node": ">= 0.4"
}
},
+ "node_modules/invokers-polyfill": {
+ "version": "0.5.2",
+ "resolved": "https://registry.npmjs.org/invokers-polyfill/-/invokers-polyfill-0.5.2.tgz",
+ "integrity": "sha512-s4lbErodTZDOt4o54a6ljdHgxwnvEchgJxqI7Epx0H9ylCr+vbGVid7WeHkfU5k7CMgG5rzRIMuI+PclqhdXuA==",
+ "license": "MIT"
+ },
"node_modules/ip-address": {
"version": "9.0.5",
"resolved": "https://registry.npmjs.org/ip-address/-/ip-address-9.0.5.tgz",
diff --git a/package.json b/package.json
index e7e38f1..074a266 100644
--- a/package.json
+++ b/package.json
@@ -47,6 +47,7 @@
},
"dependencies": {
"@oddbird/popover-polyfill": "^0.5.2",
- "dialog-toggle-events-polyfill": "^1.1.2"
+ "dialog-toggle-events-polyfill": "^1.1.2",
+ "invokers-polyfill": "^0.5.2"
}
}
diff --git a/src/index.ts b/src/index.ts
index a569f3a..fbd9b1e 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -5,6 +5,7 @@ import * as withResolvers from './promise-withResolvers.js'
import * as requestIdleCallback from './requestidlecallback.js'
import * as popover from '@oddbird/popover-polyfill/fn'
import * as dialogToggleEvents from 'dialog-toggle-events-polyfill/fn'
+import * as commandAndCommandFor from 'invokers-polyfill/fn'
let supportsModalPseudo = false
try {
@@ -53,6 +54,7 @@ export const polyfills = {
withResolvers,
popover,
dialogToggleEvents,
+ commandAndCommandFor,
}
export function isSupported() {