fix esm not working in electron

This commit is contained in:
Alexander Drozdov
2021-12-05 15:58:32 +02:00
parent 448da670d8
commit 259df9cedd
4 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -23,8 +23,8 @@
},
"main": "background.js",
"dependencies": {
"@bensjoberg/fnv1a": "3.0.0",
"@fortawesome/fontawesome-free": "5.15.x",
"@sindresorhus/fnv1a": "^3.0.0",
"animate.css": "^4.1.1",
"apexcharts": "^3.23.1",
"dot-prop": "6.x.x",
+1 -1
View File
@@ -1,4 +1,4 @@
import fnv1a from '@sindresorhus/fnv1a'
import fnv1a from '@bensjoberg/fnv1a'
import type { BaseType, BlightRecipes, DropEntry, Stat, StatMatcher, TranslationDict } from './interfaces'
import { AppConfig } from '@/web/Config'
import { nameToDetailsId } from '@/web/price-check/trends/getDetailsId'
+1 -1
View File
@@ -1,4 +1,4 @@
import fnv1a from '@sindresorhus/fnv1a'
import fnv1a from '@bensjoberg/fnv1a'
import fs from 'fs'
import path from 'path'
+5 -5
View File
@@ -213,6 +213,11 @@
"@babel/helper-validator-identifier" "^7.14.9"
to-fast-properties "^2.0.0"
"@bensjoberg/fnv1a@3.0.0":
version "3.0.0"
resolved "https://registry.yarnpkg.com/@bensjoberg/fnv1a/-/fnv1a-3.0.0.tgz#d5300c58c95b708bf669ae6224509e0f6ec1f9c3"
integrity sha512-uENnsvSKGAKIsDcKBzLszB2JemGDVuZE3v8lF4Bf+vDNnxLjN+OCaVNQcz5CZGw8FsJ8ddp897rFz66QtCKphA==
"@dabh/diagnostics@^2.0.2":
version "2.0.2"
resolved "https://registry.yarnpkg.com/@dabh/diagnostics/-/diagnostics-2.0.2.tgz#290d08f7b381b8f94607dc8f471a12c675f9db31"
@@ -551,11 +556,6 @@
resolved "https://registry.yarnpkg.com/@sideway/pinpoint/-/pinpoint-2.0.0.tgz#cff8ffadc372ad29fd3f78277aeb29e632cc70df"
integrity sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ==
"@sindresorhus/fnv1a@^3.0.0":
version "3.0.0"
resolved "https://registry.yarnpkg.com/@sindresorhus/fnv1a/-/fnv1a-3.0.0.tgz#e8ce2e7c7738ec8c354867d38e3bfcde622b87ca"
integrity sha512-M6pmbdZqAryzjZ4ELAzrdCMoMZk5lH/fshKrapfSeXdf2W+GDqZvPmfXaNTZp43//FVbSwkTPwpEMnehSyskkQ==
"@sindresorhus/is@^0.14.0":
version "0.14.0"
resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-0.14.0.tgz#9fb3a3cf3132328151f353de4632e01e52102bea"