From cc5d11f2aa700818212cb69558a4820caf53de2b Mon Sep 17 00:00:00 2001 From: Brendan Early Date: Sat, 29 Jun 2024 14:01:15 -0500 Subject: [PATCH] fix --- package-lock.json | 8 ++++---- package.json | 2 +- src/components/Popup/AddMethodPage.vue | 2 +- src/components/Popup/MainHeader.vue | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 590ae577..958147fb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -57,7 +57,7 @@ "util": "^0.12.5", "vue-loader": "^15.10.1", "vue-svg-loader": "^0.16.0", - "vue-template-compiler": "^2.7.0", + "vue-template-compiler": "^2.7.16", "webpack": "^5.11.0", "webpack-cli": "^5.0.0", "webpack-merge": "^5.0.0" @@ -8707,9 +8707,9 @@ } }, "node_modules/vue-template-compiler": { - "version": "2.7.14", - "resolved": "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.7.14.tgz", - "integrity": "sha512-zyA5Y3ArvVG0NacJDkkzJuPQDF8RFeRlzV2vLeSnhSpieO6LK2OVbdLPi5MPPs09Ii+gMO8nY4S3iKQxBxDmWQ==", + "version": "2.7.16", + "resolved": "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.7.16.tgz", + "integrity": "sha512-AYbUWAJHLGGQM7+cNTELw+KsOG9nl2CnSv467WobS5Cv9uk3wFcnr1Etsz2sEIHEZvw1U+o9mRlEO6QbZvUPGQ==", "dev": true, "dependencies": { "de-indent": "^1.0.2", diff --git a/package.json b/package.json index 47ee78aa..bb9b2754 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ "util": "^0.12.5", "vue-loader": "^15.10.1", "vue-svg-loader": "^0.16.0", - "vue-template-compiler": "^2.7.0", + "vue-template-compiler": "^2.7.16", "webpack": "^5.11.0", "webpack-cli": "^5.0.0", "webpack-merge": "^5.0.0" diff --git a/src/components/Popup/AddMethodPage.vue b/src/components/Popup/AddMethodPage.vue index 2e881d5c..ca63065f 100644 --- a/src/components/Popup/AddMethodPage.vue +++ b/src/components/Popup/AddMethodPage.vue @@ -33,7 +33,7 @@ export default Vue.extend({ // Insert content script const tab = await getCurrentTab(); - if (okToInjectContentScript(tab.id)) { + if (okToInjectContentScript(tab)) { await chrome.scripting.executeScript({ target: { tabId: tab.id }, files: ["/dist/content.js"], diff --git a/src/components/Popup/MainHeader.vue b/src/components/Popup/MainHeader.vue index 0e9390ea..d6f8f323 100644 --- a/src/components/Popup/MainHeader.vue +++ b/src/components/Popup/MainHeader.vue @@ -160,7 +160,7 @@ export default Vue.extend({ const tab = await getCurrentTab(); // Insert content script - if (okToInjectContentScript(tab.id)) { + if (okToInjectContentScript(tab)) { await chrome.scripting.executeScript({ target: { tabId: tab.id }, files: ["/dist/content.js"],