diff --git a/forge.config.js b/forge.config.js index fb2c742..64bd8a0 100644 --- a/forge.config.js +++ b/forge.config.js @@ -55,7 +55,6 @@ module.exports = { hooks: { postMake: async (forgeConfig, options) => { if (process.env.CI && process.env.CURRENT_WORKFLOW === "Publish") { - console.log(options) var appName = "simple-to-do-app"; var outputFolder = "./Build-Artifacts"; for (var i = 0; i < options.length; i++) { diff --git a/package.json b/package.json index 2a2cd9d..1f086b3 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "simple-to-do-app", "productName": "Simple To Do App", - "version": "0.0.1", + "version": "0.0.2", "description": "This is a Simple To Do App", "repository": { "type": "git", @@ -30,8 +30,10 @@ }, "dependencies": { "@fortawesome/fontawesome-free": "^5.15.2", + "electron-is-dev": "^2.0.0", "electron-squirrel-startup": "^1.0.0", "electron-store": "7.0.2", + "electron-window-state": "^5.0.3", "materialize-css": "1.0.0" }, "devDependencies": { @@ -41,7 +43,6 @@ "@electron-forge/maker-rpm": "^6.0.0-beta.54", "@electron-forge/maker-wix": "^6.0.0-beta.54", "@electron-forge/maker-zip": "^6.0.0-beta.54", - "@electron-forge/publisher-github": "^6.0.0-beta.54", "electron": "11.1.1" } } diff --git a/src/addListPage.html b/src/addListPage.html deleted file mode 100644 index 6b276f1..0000000 --- a/src/addListPage.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - - To Do App! - - - - - - -

Add List

-
- Go Back -
-
- - -
- - -
-
-
-
- - - diff --git a/src/index.css b/src/index.css index 8450601..82546e4 100644 --- a/src/index.css +++ b/src/index.css @@ -11,11 +11,15 @@ text-shadow: 0 0 0 green; } +input[type="text"] { + font-family: "Comfortaa" +} + html { --global-color: white; --global-color-invert: black; --body-background: white; - --global-color3: #EEEEEE; + --global-color3: #f7f7f7; --settings-icon-color: #222222; } @@ -62,3 +66,16 @@ ul.dropdown-content.select-dropdown li span { .div_background_color { background-color: var(--global-color3); } + +.no-uppercase { + text-transform: none; +} + +.btn { + background-color: var(--global-color); + color: var(--global-color-invert); +} + +.btn:hover { + background-color: var(--global-color); +} diff --git a/src/index.html b/src/index.html index dec9929..5bcade0 100644 --- a/src/index.html +++ b/src/index.html @@ -15,11 +15,42 @@

To-Do List

-
- Add New List +
+ Add New List
+ diff --git a/src/index.js b/src/index.js index ac32195..ce7adac 100644 --- a/src/index.js +++ b/src/index.js @@ -1,7 +1,8 @@ const { app, BrowserWindow, Menu } = require('electron'); -var Store = require("electron-store"); +const windowStateKeeper = require('electron-window-state'); +const Store = require("electron-store"); const path = require('path'); -const isDev = false ? (app.isPackaged): true; +const isDev = require('electron-is-dev'); Store.initRenderer() @@ -11,10 +12,18 @@ if (require('electron-squirrel-startup')) { // eslint-disable-line global-requir } const createWindow = () => { + // Load the previous state with fallback to defaults + let mainWindowState = windowStateKeeper({ + defaultWidth: 1000, + defaultHeight: 800 + }); + // Create the browser window. const mainWindow = new BrowserWindow({ - width: 1000, - height: 600, + x: mainWindowState.x, + y: mainWindowState.y, + width: mainWindowState.width, + height: mainWindowState.height, icon: "../assets/app_icons/app_icon.png", webPreferences: { nodeIntegration: true, @@ -24,6 +33,29 @@ const createWindow = () => { const isMac = process.platform === 'darwin' + if (isDev) { + var ViewSubMenu = [ + { role: 'reload' }, + { role: 'toggleDevTools' }, + { type: 'separator' }, + { role: 'resetZoom' }, + { role: 'zoomIn' }, + { role: 'zoomOut' }, + { type: 'separator' }, + { role: 'togglefullscreen' } + ]; + } else { + var ViewSubMenu = [ + { role: 'reload' }, + { type: 'separator' }, + { role: 'resetZoom' }, + { role: 'zoomIn' }, + { role: 'zoomOut' }, + { type: 'separator' }, + { role: 'togglefullscreen' } + ]; + } + const template = [ // { role: 'appMenu' } ...(isMac ? [{ @@ -79,16 +111,7 @@ const createWindow = () => { // { role: 'viewMenu' } { label: 'View', - submenu: [ - { role: 'reload' }, - isDev ? { role: 'toggleDevTools' }: null, - { type: 'separator' }, - { role: 'resetZoom' }, - { role: 'zoomIn' }, - { role: 'zoomOut' }, - { type: 'separator' }, - { role: 'togglefullscreen' } - ] + submenu: ViewSubMenu }, // { role: 'windowMenu' } { @@ -107,11 +130,11 @@ const createWindow = () => { }, ] - - const menu = Menu.buildFromTemplate(template) Menu.setApplicationMenu(menu) + mainWindowState.manage(mainWindow); + // and load the index.html of the app. mainWindow.loadFile(path.join(__dirname, 'index.html')); @@ -128,17 +151,17 @@ app.on('ready', createWindow); // for applications and their menu bar to stay active until the user quits // explicitly with Cmd + Q. app.on('window-all-closed', () => { - if (process.platform !== 'darwin') { - app.quit(); - } + if (process.platform !== 'darwin') { + app.quit(); + } }); app.on('activate', () => { - // On OS X it's common to re-create a window in the app when the - // dock icon is clicked and there are no other windows open. - if (BrowserWindow.getAllWindows().length === 0) { - createWindow(); - } + // On OS X it's common to re-create a window in the app when the + // dock icon is clicked and there are no other windows open. + if (BrowserWindow.getAllWindows().length === 0) { + createWindow(); + } }); // In this file you can include the rest of your app's specific main process diff --git a/src/save_div_heights.js b/src/save_div_heights.js new file mode 100644 index 0000000..06322e4 --- /dev/null +++ b/src/save_div_heights.js @@ -0,0 +1,37 @@ +var div = document.getElementById("to_do_lists") +var divChildren = div.children + +document.addEventListener("DOMContentLoaded", function(event) { + for (let divChild of divChildren) { + console.log(divChild) + height_and_width = localStorage.getItem(divChild.children[0].children[0].children[0].children[0].children[0].innerHTML) + if (height_and_width !== null) { + // divChild.style.width = height_and_width.split("|")[0]+"px" + divChild.style.width = String(height_and_width.split("|")[0]/document.documentElement.clientWidth*100)+"vw"; + // divChild.style.height = height_and_width.split("|")[1]+"px" + divChild.style.height = String(height_and_width.split("|")[1]/document.documentElement.clientHeight*100)+"vh"; + } + } +}); + +window.onload = function () { + var myObserver = new MutationObserver(function(mutations) { + for (let mutation of mutations) { + if (mutation.target.children[0].tagName.toLowerCase() == "table") { + var elementProperties = { + "elementChanged": mutation.target, + "elementListName": mutation.target.children[0].children[0].children[0].children[0].children[0].innerHTML, + "width": mutation.target.scrollWidth, + "height": mutation.target.scrollHeight + } + console.log(elementProperties) + localStorage.setItem(elementProperties["elementListName"], String(`${elementProperties["width"]}|${elementProperties["height"]}`)) + console.log(localStorage.getItem(elementProperties["elementListName"])) + } + } + }); + var arr = Array.prototype.slice.call(divChildren) + arr.forEach(eachChild => { + myObserver.observe(eachChild, { attributes: true }); + }); +}; diff --git a/src/settings.html b/src/settings.html index 74187eb..c8839fc 100644 --- a/src/settings.html +++ b/src/settings.html @@ -7,12 +7,20 @@ + -

Add List

-
+

Settings

+
Go Back
+
+ Reset To-Do List Positions +
diff --git a/yarn.lock b/yarn.lock index ae2b3ee..ebade72 100644 --- a/yarn.lock +++ b/yarn.lock @@ -216,21 +216,6 @@ dependencies: "@electron-forge/shared-types" "6.0.0-beta.54" -"@electron-forge/publisher-github@^6.0.0-beta.54": - version "6.0.0-beta.54" - resolved "https://registry.yarnpkg.com/@electron-forge/publisher-github/-/publisher-github-6.0.0-beta.54.tgz#9f949975f3a86d3f68826514075dac608494450e" - integrity sha512-B6jwlYBtLjxpL0K6X7DKr8RgOk7mFEDbPsnExmZBbdY19FJ6Z5IdW8atOOqVQl7i+8XjwtXGOKBFv2QDKHp48A== - dependencies: - "@electron-forge/async-ora" "6.0.0-beta.54" - "@electron-forge/publisher-base" "6.0.0-beta.54" - "@electron-forge/shared-types" "6.0.0-beta.54" - "@octokit/core" "^3.1.2" - "@octokit/rest" "^18.0.6" - "@octokit/types" "^5.5.0" - fs-extra "^9.0.1" - lodash "^4.17.20" - mime-types "^2.1.25" - "@electron-forge/shared-types@6.0.0-beta.54": version "6.0.0-beta.54" resolved "https://registry.yarnpkg.com/@electron-forge/shared-types/-/shared-types-6.0.0-beta.54.tgz#61ceb5e0754314035dc934e86eb21b29f893ac19" @@ -310,115 +295,6 @@ dependencies: cross-spawn "^7.0.1" -"@octokit/auth-token@^2.4.4": - version "2.4.5" - resolved "https://registry.yarnpkg.com/@octokit/auth-token/-/auth-token-2.4.5.tgz#568ccfb8cb46f36441fac094ce34f7a875b197f3" - integrity sha512-BpGYsPgJt05M7/L/5FoE1PiAbdxXFZkX/3kDYcsvd1v6UhlnE5e96dTDr0ezX/EFwciQxf3cNV0loipsURU+WA== - dependencies: - "@octokit/types" "^6.0.3" - -"@octokit/core@^3.1.2", "@octokit/core@^3.2.3": - version "3.2.5" - resolved "https://registry.yarnpkg.com/@octokit/core/-/core-3.2.5.tgz#57becbd5fd789b0592b915840855f3a5f233d554" - integrity sha512-+DCtPykGnvXKWWQI0E1XD+CCeWSBhB6kwItXqfFmNBlIlhczuDPbg+P6BtLnVBaRJDAjv+1mrUJuRsFSjktopg== - dependencies: - "@octokit/auth-token" "^2.4.4" - "@octokit/graphql" "^4.5.8" - "@octokit/request" "^5.4.12" - "@octokit/types" "^6.0.3" - before-after-hook "^2.1.0" - universal-user-agent "^6.0.0" - -"@octokit/endpoint@^6.0.1": - version "6.0.11" - resolved "https://registry.yarnpkg.com/@octokit/endpoint/-/endpoint-6.0.11.tgz#082adc2aebca6dcefa1fb383f5efb3ed081949d1" - integrity sha512-fUIPpx+pZyoLW4GCs3yMnlj2LfoXTWDUVPTC4V3MUEKZm48W+XYpeWSZCv+vYF1ZABUm2CqnDVf1sFtIYrj7KQ== - dependencies: - "@octokit/types" "^6.0.3" - is-plain-object "^5.0.0" - universal-user-agent "^6.0.0" - -"@octokit/graphql@^4.5.8": - version "4.6.0" - resolved "https://registry.yarnpkg.com/@octokit/graphql/-/graphql-4.6.0.tgz#f9abca55f82183964a33439d5264674c701c3327" - integrity sha512-CJ6n7izLFXLvPZaWzCQDjU/RP+vHiZmWdOunaCS87v+2jxMsW9FB5ktfIxybRBxZjxuJGRnxk7xJecWTVxFUYQ== - dependencies: - "@octokit/request" "^5.3.0" - "@octokit/types" "^6.0.3" - universal-user-agent "^6.0.0" - -"@octokit/openapi-types@^5.1.0": - version "5.1.0" - resolved "https://registry.yarnpkg.com/@octokit/openapi-types/-/openapi-types-5.1.0.tgz#661fd03c7d55fbcb0a0937d3353d87dea012f52c" - integrity sha512-bodZvSYgycbUuuKrC/anCBUExvaSSWzMMFz0xl7pcJujxnmGxvqvcFHktjx1ZOSyeNKLfYF0QCgibaHUGsZTng== - -"@octokit/plugin-paginate-rest@^2.6.2": - version "2.10.0" - resolved "https://registry.yarnpkg.com/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.10.0.tgz#5925156d809c94b7bfc47b28e17488415548fa67" - integrity sha512-71OsKBSMcQEu/6lfVbhv5C5ikU1rn10rKot/WiV7do7fyfElQ2eCUQFogHPbj0ci5lnKAjvahOiMAr6lcvL8Qw== - dependencies: - "@octokit/types" "^6.10.0" - -"@octokit/plugin-request-log@^1.0.2": - version "1.0.3" - resolved "https://registry.yarnpkg.com/@octokit/plugin-request-log/-/plugin-request-log-1.0.3.tgz#70a62be213e1edc04bb8897ee48c311482f9700d" - integrity sha512-4RFU4li238jMJAzLgAwkBAw+4Loile5haQMQr+uhFq27BmyJXcXSKvoQKqh0agsZEiUlW6iSv3FAgvmGkur7OQ== - -"@octokit/plugin-rest-endpoint-methods@4.12.0": - version "4.12.0" - resolved "https://registry.yarnpkg.com/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-4.12.0.tgz#1cec405cd4eaf0bdb58cb7d2a9b3d8473b3a70e8" - integrity sha512-RgnQ1aoetdOJjZYC37LV5FNlL7GY/v1CdC5dur1Zp/UiADJlbRFbAz/xLx26ovXw67dK7EUtwCghS+6QyiI9RA== - dependencies: - "@octokit/types" "^6.10.0" - deprecation "^2.3.1" - -"@octokit/request-error@^2.0.0": - version "2.0.5" - resolved "https://registry.yarnpkg.com/@octokit/request-error/-/request-error-2.0.5.tgz#72cc91edc870281ad583a42619256b380c600143" - integrity sha512-T/2wcCFyM7SkXzNoyVNWjyVlUwBvW3igM3Btr/eKYiPmucXTtkxt2RBsf6gn3LTzaLSLTQtNmvg+dGsOxQrjZg== - dependencies: - "@octokit/types" "^6.0.3" - deprecation "^2.0.0" - once "^1.4.0" - -"@octokit/request@^5.3.0", "@octokit/request@^5.4.12": - version "5.4.14" - resolved "https://registry.yarnpkg.com/@octokit/request/-/request-5.4.14.tgz#ec5f96f78333bb2af390afa5ff66f114b063bc96" - integrity sha512-VkmtacOIQp9daSnBmDI92xNIeLuSRDOIuplp/CJomkvzt7M18NXgG044Cx/LFKLgjKt9T2tZR6AtJayba9GTSA== - dependencies: - "@octokit/endpoint" "^6.0.1" - "@octokit/request-error" "^2.0.0" - "@octokit/types" "^6.7.1" - deprecation "^2.0.0" - is-plain-object "^5.0.0" - node-fetch "^2.6.1" - once "^1.4.0" - universal-user-agent "^6.0.0" - -"@octokit/rest@^18.0.6": - version "18.2.0" - resolved "https://registry.yarnpkg.com/@octokit/rest/-/rest-18.2.0.tgz#b75c87870bb1f7bc9f37ae0e9acb3a411a34a25f" - integrity sha512-xsp6bIqL2sb/NmgLXTxw96caegobRw+YHnzdIi70ruquHtPPDW2cBAONhDYMUuAOeXx0JH2auOeplpk4SQJy1w== - dependencies: - "@octokit/core" "^3.2.3" - "@octokit/plugin-paginate-rest" "^2.6.2" - "@octokit/plugin-request-log" "^1.0.2" - "@octokit/plugin-rest-endpoint-methods" "4.12.0" - -"@octokit/types@^5.5.0": - version "5.5.0" - resolved "https://registry.yarnpkg.com/@octokit/types/-/types-5.5.0.tgz#e5f06e8db21246ca102aa28444cdb13ae17a139b" - integrity sha512-UZ1pErDue6bZNjYOotCNveTXArOMZQFG6hKJfOnGnulVCMcVVi7YIIuuR4WfBhjo7zgpmzn/BkPDnUXtNx+PcQ== - dependencies: - "@types/node" ">= 8" - -"@octokit/types@^6.0.3", "@octokit/types@^6.10.0", "@octokit/types@^6.7.1": - version "6.10.0" - resolved "https://registry.yarnpkg.com/@octokit/types/-/types-6.10.0.tgz#243faa864b0955f574012d52e179de38ac9ebafe" - integrity sha512-aMDo10kglofejJ96edCBIgQLVuzMDyjxmhdgEcoUUD64PlHYSrNsAGqN0wZtoiX4/PCQ3JLA50IpkP1bcKD/cA== - dependencies: - "@octokit/openapi-types" "^5.1.0" - "@sindresorhus/is@^0.14.0": version "0.14.0" resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-0.14.0.tgz#9fb3a3cf3132328151f353de4632e01e52102bea" @@ -490,11 +366,6 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.20.tgz#f7974863edd21d1f8a494a73e8e2b3658615c340" integrity sha512-Y93R97Ouif9JEOWPIUyU+eyIdyRqQR0I8Ez1dzku4hDx34NWh4HbtIc3WNzwB1Y9ULvNGeu5B8h8bVL5cAk4/A== -"@types/node@>= 8": - version "14.14.31" - resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.31.tgz#72286bd33d137aa0d152d47ec7c1762563d34055" - integrity sha512-vFHy/ezP5qI0rFgJ7aQnjDXwAMrG0KqqIH7tQG5PPv3BWBayOPIQNBjVc/P6hhdZfMx51REc6tfDNXHUio893g== - "@types/node@^12.0.12": version "12.19.12" resolved "https://registry.yarnpkg.com/@types/node/-/node-12.19.12.tgz#04793c2afa4ce833a9972e4c476432e30f9df47b" @@ -691,11 +562,6 @@ bcrypt-pbkdf@^1.0.0: dependencies: tweetnacl "^0.14.3" -before-after-hook@^2.1.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/before-after-hook/-/before-after-hook-2.1.1.tgz#99ae36992b5cfab4a83f6bee74ab27835f28f405" - integrity sha512-5ekuQOvO04MDj7kYZJaMab2S8SPjGJbotVNyv7QYFCOAwrGZs/YnoDNlh1U+m5hl7H2D/+n0taaAV/tfyd3KMA== - bl@^4.0.3: version "4.0.3" resolved "https://registry.yarnpkg.com/bl/-/bl-4.0.3.tgz#12d6287adc29080e22a705e5764b2a9522cdc489" @@ -1126,11 +992,6 @@ delegates@^1.0.0: resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" integrity sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o= -deprecation@^2.0.0, deprecation@^2.3.1: - version "2.3.1" - resolved "https://registry.yarnpkg.com/deprecation/-/deprecation-2.3.1.tgz#6368cbdb40abf3373b525ac87e4a260c3a700919" - integrity sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ== - detect-libc@^1.0.2, detect-libc@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-1.0.3.tgz#fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b" @@ -1225,6 +1086,11 @@ electron-installer-redhat@^3.2.0: word-wrap "^1.2.3" yargs "^15.1.0" +electron-is-dev@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/electron-is-dev/-/electron-is-dev-2.0.0.tgz#833487a069b8dad21425c67a19847d9064ab19bd" + integrity sha512-3X99K852Yoqu9AcW50qz3ibYBWY79/pBhlMCab8ToEWS48R0T9tyxRiQhwylE7zQdXrMnx2JKqUJyMPmt5FBqA== + electron-notarize@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/electron-notarize/-/electron-notarize-1.0.0.tgz#bc925b1ccc3f79e58e029e8c4706572b01a9fd8f" @@ -1301,6 +1167,14 @@ electron-store@7.0.2: conf "^9.0.0" type-fest "^0.20.2" +electron-window-state@^5.0.3: + version "5.0.3" + resolved "https://registry.yarnpkg.com/electron-window-state/-/electron-window-state-5.0.3.tgz#4f36d09e3f953d87aff103bf010f460056050aa8" + integrity sha512-1mNTwCfkolXl3kMf50yW3vE2lZj0y92P/HYWFBrb+v2S/pCka5mdwN3cagKm458A7NjndSwijynXgcLWRodsVg== + dependencies: + jsonfile "^4.0.0" + mkdirp "^0.5.1" + electron-wix-msi@^3.0.2: version "3.0.6" resolved "https://registry.yarnpkg.com/electron-wix-msi/-/electron-wix-msi-3.0.6.tgz#1434cb8714dded46fae4d4578d4faf6cf36c86df" @@ -2024,11 +1898,6 @@ is-obj@^2.0.0: resolved "https://registry.yarnpkg.com/is-obj/-/is-obj-2.0.0.tgz#473fb05d973705e3fd9620545018ca8e22ef4982" integrity sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w== -is-plain-object@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-5.0.0.tgz#4427f50ab3429e9025ea7d52e9043a9ef4159344" - integrity sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q== - is-property@^1.0.0, is-property@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/is-property/-/is-property-1.0.2.tgz#57fe1c4e48474edd65b09911f26b1cd4095dda84" @@ -2356,11 +2225,6 @@ mime-db@1.45.0: resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.45.0.tgz#cceeda21ccd7c3a745eba2decd55d4b73e7879ea" integrity sha512-CkqLUxUk15hofLoLyljJSrukZi8mAtgd+yE5uO4tqRZsdsAJKv0O+rFMhVDRJgozy+yG6md5KwuXhD4ocIoP+w== -mime-db@1.46.0: - version "1.46.0" - resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.46.0.tgz#6267748a7f799594de3cbc8cde91def349661cee" - integrity sha512-svXaP8UQRZ5K7or+ZmfNhg2xX3yKDMUzqadsSqi4NCH/KomcH75MAMYAGVlvXn4+b/xOPhS3I2uHKRUzvjY7BQ== - mime-types@^2.1.12, mime-types@~2.1.19: version "2.1.28" resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.28.tgz#1160c4757eab2c5363888e005273ecf79d2a0ecd" @@ -2368,13 +2232,6 @@ mime-types@^2.1.12, mime-types@~2.1.19: dependencies: mime-db "1.45.0" -mime-types@^2.1.25: - version "2.1.29" - resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.29.tgz#1d4ab77da64b91f5f72489df29236563754bb1b2" - integrity sha512-Y/jMt/S5sR9OaqteJtslsFZKWOIIqMACsJSiHghlCAyhf7jfVYjKBmLiX8OgpWeW+fjJ2b+Az69aPFPkUOY6xQ== - dependencies: - mime-db "1.46.0" - mimic-fn@^2.0.0, mimic-fn@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" @@ -2509,7 +2366,7 @@ node-addon-api@^1.6.0: resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-1.7.2.tgz#3df30b95720b53c24e59948b49532b662444f54d" integrity sha512-ibPK3iA+vaY1eEjESkQkM0BbCqFOaZMiXRTtdB0u7b4djtY6JnsjvPdUHVMg6xQt3B8fpTTWHI9A+ADjM9frzg== -node-fetch@^2.6.0, node-fetch@^2.6.1: +node-fetch@^2.6.0: version "2.6.1" resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.1.tgz#045bd323631f76ed2e2b55573394416b639a0052" integrity sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw== @@ -3688,11 +3545,6 @@ typedarray@^0.0.6: resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= -universal-user-agent@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/universal-user-agent/-/universal-user-agent-6.0.0.tgz#3381f8503b251c0d9cd21bc1de939ec9df5480ee" - integrity sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w== - universalify@^0.1.0: version "0.1.2" resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66"