@nomicfoundation/edr 0.25.1 → 0.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.d.ts +182 -136
  2. package/index.js +56 -56
  3. package/package.json +10 -10
package/index.d.ts CHANGED
@@ -697,8 +697,6 @@ export interface FuzzCase {
697
697
  export interface FuzzConfigArgs {
698
698
  /** Path where fuzz failures are recorded and replayed if set. */
699
699
  failurePersistDir?: string
700
- /** Name of the file to record fuzz failures, defaults to `failures`. */
701
- failurePersistFile?: string
702
700
  /**
703
701
  * The amount of fuzz runs to perform for each fuzz test case. Higher
704
702
  * values gives more confidence in results at the cost of testing
@@ -707,9 +705,8 @@ export interface FuzzConfigArgs {
707
705
  */
708
706
  runs?: number
709
707
  /**
710
- * The maximum number of combined inputs that may be rejected before the
711
- * test as a whole aborts. “Global” filters apply to the whole test
712
- * case. If the test case is rejected, the whole thing is regenerated.
708
+ * The maximum number of inputs that `vm.assume` may reject before the
709
+ * test as a whole aborts. 0 disables the limit and requires a `timeout`.
713
710
  * Defaults to 65536.
714
711
  */
715
712
  maxTestRejects?: number
@@ -747,6 +744,14 @@ export interface FuzzConfigArgs {
747
744
  * Defaults to none (no timeout).
748
745
  */
749
746
  timeout?: number
747
+ /**
748
+ * Upper bound on the number of parallel workers that run each fuzz test.
749
+ * The runs are split between the workers, and fewer workers are used
750
+ * when `runs` is below 64 per worker. Must be at least 1. Set to 1 for
751
+ * reproducible runs and the lowest CPU and memory usage.
752
+ * Defaults to the number of available threads.
753
+ */
754
+ workers?: number
750
755
  }
751
756
 
752
757
  /** See [`edr_solidity_tests::result::TestKind::Fuzz`] */
@@ -847,9 +852,15 @@ export declare enum IncludeTraces {
847
852
  All = 2,
848
853
  }
849
854
 
850
- /** A directive-level inline-config problem, located at the offending directive. */
855
+ /**
856
+ * A directive-level problem, located at the offending directive.
857
+ *
858
+ * Its tag names the half of the `TestSourceError` union it belongs to,
859
+ * not its own type, because the two halves differ in shape rather than in
860
+ * what went wrong.
861
+ */
851
862
  export interface InlineConfigDirectiveError {
852
- /** Discriminant tag for the `InlineConfigError` union. */
863
+ /** Discriminant tag for the union this belongs to. */
853
864
  kind: "directive"
854
865
  /**
855
866
  * The solc source name the problem was found in (e.g.
@@ -859,80 +870,44 @@ export interface InlineConfigDirectiveError {
859
870
  /** The contract the offending directive belongs to. */
860
871
  contract: string
861
872
  /**
862
- * The test function the offending directive belongs to. Undefined when
863
- * the directive is contract-level.
873
+ * The test function the offending directive belongs to. Undefined
874
+ * when the directive is contract-level.
864
875
  */
865
876
  function?: string
866
877
  /** The 1-based line of the offending directive within the source. */
867
878
  line: number
868
- /** The problem itself; discriminate on its `kind` tag. */
879
+ /** The problem itself, discriminated on its `kind` tag. */
869
880
  problem: InlineConfigDirectiveProblem
870
881
  }
871
882
 
872
- /**
873
- * A directive's offset could not be resolved to a line number within its
874
- * source, meaning the parsing stages disagree about the source text, so its
875
- * directives cannot be trusted.
876
- */
877
- export interface InlineConfigDirectiveLocation {
878
- /** Enum tag for JS. */
879
- kind: "InlineConfigDirectiveLocation"
880
- /** The contract the directive belongs to. */
881
- contract: string
882
- /**
883
- * The test function the directive belongs to. Undefined when the directive
884
- * is contract-level.
885
- */
886
- function?: string
887
- /**
888
- * Why resolving the location failed, including the directive problem
889
- * that was being reported.
890
- */
891
- reason: string
892
- }
893
-
894
883
  /**
895
884
  * The problem in a single inline-config directive, as a discriminated union
896
- * over its `kind` tag — mirroring the Rust-side `InlineConfigError` enum so
897
- * consumers can map each problem onto their own error types.
885
+ * over its `kind` tag.
898
886
  */
899
887
  export type InlineConfigDirectiveProblem = InlineConfigInvalidSyntax | InlineConfigUndeclaredProfile | InlineConfigInvalidKey | InlineConfigInvalidKeyForTestType | InlineConfigInvalidValue | InlineConfigDuplicateKey
900
888
 
901
- /**
902
- * The same key was specified more than once for the same function or
903
- * contract.
904
- */
889
+ /** The same key was set twice for the same target. */
905
890
  export interface InlineConfigDuplicateKey {
906
- /** Enum tag for JS. */
891
+ /** Discriminant tag for the union this belongs to. */
907
892
  kind: "InlineConfigDuplicateKey"
908
- /** The duplicated key, exactly as written. */
893
+ /** The duplicated key. */
909
894
  key: string
910
895
  }
911
896
 
912
- /**
913
- * A single ill-formed inline-config entry, located so the user can find and
914
- * fix it. A discriminated union over `kind`: a `source`-level entry carries no
915
- * directive location, a `directive`-level entry carries the contract and line,
916
- * plus the function unless the directive is contract-level. Attached to the
917
- * rejected `runSolidityTests` promise as the `inlineConfigErrors` array on the
918
- * thrown error.
919
- */
920
- export type InlineConfigError = InlineConfigSourceError | InlineConfigDirectiveError
921
-
922
897
  /** An unknown configuration key was used. */
923
898
  export interface InlineConfigInvalidKey {
924
- /** Enum tag for JS. */
899
+ /** Discriminant tag for the union this belongs to. */
925
900
  kind: "InlineConfigInvalidKey"
926
901
  /** The offending key, exactly as written. */
927
902
  key: string
928
903
  }
929
904
 
930
905
  /**
931
- * A key was used on a test of the wrong kind (e.g. `fuzz.*` on an invariant
932
- * test). Only function-level directives can produce this.
906
+ * A key was used on a test of the wrong kind (e.g. `fuzz.*` on an
907
+ * invariant test). Only function-level directives can produce this.
933
908
  */
934
909
  export interface InlineConfigInvalidKeyForTestType {
935
- /** Enum tag for JS. */
910
+ /** Discriminant tag for the union this belongs to. */
936
911
  kind: "InlineConfigInvalidKeyForTestType"
937
912
  /** The offending key, exactly as written. */
938
913
  key: string
@@ -940,18 +915,9 @@ export interface InlineConfigInvalidKeyForTestType {
940
915
  testType: string
941
916
  }
942
917
 
943
- /**
944
- * The source's solc version has no supported grammar, so its inline
945
- * configuration could not be parsed.
946
- */
947
- export interface InlineConfigInvalidSolcVersion {
948
- /** Enum tag for JS. */
949
- kind: "InlineConfigInvalidSolcVersion"
950
- }
951
-
952
918
  /** A directive was missing the `=` separator. */
953
919
  export interface InlineConfigInvalidSyntax {
954
- /** Enum tag for JS. */
920
+ /** Discriminant tag for the union this belongs to. */
955
921
  kind: "InlineConfigInvalidSyntax"
956
922
  /** The offending directive line, stripped of comment decoration. */
957
923
  directive: string
@@ -959,51 +925,19 @@ export interface InlineConfigInvalidSyntax {
959
925
 
960
926
  /** A value did not match the expected type for its key. */
961
927
  export interface InlineConfigInvalidValue {
962
- /** Enum tag for JS. */
928
+ /** Discriminant tag for the union this belongs to. */
963
929
  kind: "InlineConfigInvalidValue"
964
930
  /** The offending key, exactly as written. */
965
931
  key: string
966
932
  /** The offending value, exactly as written. */
967
933
  value: string
968
- /** A description of the expected value type. */
934
+ /** What the key expects instead. */
969
935
  expected: string
970
936
  }
971
937
 
972
- /**
973
- * A source-level inline-config problem: one that could not be tied to a single
974
- * directive (e.g. an unsupported solc version or an unreadable source).
975
- */
976
- export interface InlineConfigSourceError {
977
- /** Discriminant tag for the `InlineConfigError` union. */
978
- kind: "source"
979
- /**
980
- * The solc source name the problem was found in (e.g.
981
- * `project/test/Foo.t.sol`).
982
- */
983
- sourceName: string
984
- /** The problem itself; discriminate on its `kind` tag. */
985
- problem: InlineConfigSourceProblem
986
- }
987
-
988
- /** The source's file could not be read at the path it was declared at. */
989
- export interface InlineConfigSourceFileNotFound {
990
- /** Enum tag for JS. */
991
- kind: "InlineConfigSourceFileNotFound"
992
- /** The path the source was expected at. */
993
- path: string
994
- /** Why reading it failed. */
995
- reason: string
996
- }
997
-
998
- /**
999
- * A source-level problem, as a discriminated union over its `kind` tag. These
1000
- * cannot be pinned to a single directive line, so they carry no line.
1001
- */
1002
- export type InlineConfigSourceProblem = InlineConfigInvalidSolcVersion | InlineConfigSourceFileNotFound | InlineConfigDirectiveLocation
1003
-
1004
938
  /** A directive named a profile the project does not declare. */
1005
939
  export interface InlineConfigUndeclaredProfile {
1006
- /** Enum tag for JS. */
940
+ /** Discriminant tag for the union this belongs to. */
1007
941
  kind: "InlineConfigUndeclaredProfile"
1008
942
  /** The undeclared profile name, exactly as written. */
1009
943
  profile: string
@@ -1720,58 +1654,61 @@ export interface SolidityTestRunnerConfigArgs {
1720
1654
  */
1721
1655
  generateGasReport?: boolean
1722
1656
  /**
1723
- * A list of EIP-712 canonical type definitions that can be referenced by
1724
- * type name in the `eip712HashType` and `eip712HashStruct` cheatcodes.
1725
- *
1726
- * Each entry is an independent, self-contained type definition. A
1727
- * definition that references nested struct types must inline those
1728
- * struct definitions, per the EIP-712 `encodeType` spec.
1729
- *
1730
- * Only the primary (leftmost) type of each entry is registered by name.
1731
- * Nested struct types referenced inside an entry are *not* registered
1732
- * under their own names. To look up a nested struct by name from a
1733
- * cheatcode, add it as a separate top-level entry whose primary type
1734
- * is the nested struct.
1735
- *
1736
- * The type of a struct is encoded as:
1737
- *
1738
- * `name ‖ "(" ‖ member₁ ‖ "," ‖ member₂ ‖ "," ‖ … ‖ memberₙ ")"`
1739
- *
1740
- * where each member is written as `type ‖ " " ‖ name`.
1741
- *
1742
- * Entries that fail to parse cause a startup error listing every bad
1743
- * entry.
1657
+ * Maps the solc source names of the test-suite sources (e.g.
1658
+ * `project/test/Foo.t.sol`) to their absolute paths on disk.
1744
1659
  *
1745
- * Example — to make both `Mail` and `Person` reachable by name:
1660
+ * The test sources are parsed to collect inline test configuration
1661
+ * (`forge-config:`/`hardhat-config:` NatSpec directives) and the EIP-712
1662
+ * struct definitions served to the `eip712HashType` and
1663
+ * `eip712HashStruct` cheatcodes.
1746
1664
  *
1747
- * ```text
1748
- * "Mail(Person from,Person to,string contents)Person(address wallet,string name)"
1749
- * "Person(address wallet,string name)"
1750
- * ```
1665
+ * Omitting the map (or passing an empty one) disables collection
1666
+ * entirely: no source is read or parsed, and no run can be rejected for a
1667
+ * source-level problem. Both features require solc 0.8 or newer, so
1668
+ * disabling collection is how a project whose test sources predate that
1669
+ * keeps running its tests.
1751
1670
  *
1752
- * With *only* the first entry, `vm.eip712HashType("Mail")` works but
1753
- * `vm.eip712HashType("Person")` fails with an unknown-type error.
1754
- */
1755
- eip712CanonicalTypes?: Array<string>
1756
- /**
1757
- * Maps the solc source names of the test-suite sources (e.g.
1758
- * `project/test/Foo.t.sol`) to their absolute paths on disk.
1671
+ * A non-empty map must name the source of every test suite a run selects,
1672
+ * with no exceptions, and every source backing a selected suite is
1673
+ * parsed. An entry no selected suite uses is never opened. Each problem
1674
+ * found across all of them — a suite with no entry, an unreadable file, a
1675
+ * solc version older than 0.8, a source that does not parse, an
1676
+ * ill-formed directive — is accumulated and reported together on
1677
+ * `testSourceErrors`, rejecting the run before any test executes rather
1678
+ * than silently leaving a suite without inline configuration or EIP-712
1679
+ * types.
1759
1680
  *
1760
- * Used to parse inline test configuration (`forge-config:`/
1761
- * `hardhat-config:` NatSpec directives) directly from the sources. A test
1762
- * source without an entry has no inline configuration collected.
1681
+ * Only the sources of the suites a run selects are read and parsed. Since
1682
+ * `testPattern` and `excludeTestPattern` filter test functions rather
1683
+ * than suites, that is every suite passed to the run.
1763
1684
  */
1764
1685
  testSourcePaths?: Record<string, string>
1765
1686
  /**
1766
1687
  * Maps non-relative Solidity import paths (as written in `import`
1767
1688
  * statements, e.g. `forge-std/src/Test.sol`) to absolute file paths on
1768
- * disk, for parsing inline test configuration.
1689
+ * disk, for resolving imports while parsing the test sources (see
1690
+ * `testSourcePaths`).
1769
1691
  *
1770
1692
  * Relative import paths (`./`, `../`) are resolved against the importing
1771
1693
  * file and need no entry here; only non-relative paths (package imports)
1772
1694
  * do.
1773
1695
  */
1774
1696
  importMappings?: Record<string, string>
1697
+ /**
1698
+ * Globs matched against each source file's path relative to
1699
+ * `projectRoot`, with forward slashes, e.g. `contracts/vendor/**` or
1700
+ * `node_modules/@uniswap/permit2/**`, written without a leading `./` or
1701
+ * `/`. A file outside the project root is matched by its absolute path.
1702
+ *
1703
+ * A struct declared in a matching file is not collected, including when
1704
+ * the matching file is the test's own source. Excluding a file is how a
1705
+ * project settles a clash between two reachable structs of the same name.
1706
+ *
1707
+ * Exclusion only affects EIP-712 collection, never inline configuration.
1708
+ * There is no opposite setting, because every reachable struct is
1709
+ * collected. Defaults to excluding nothing.
1710
+ */
1711
+ eip712ExcludeGlobs?: Array<string>
1775
1712
  /**
1776
1713
  * The Solidity test profile this run was started with.
1777
1714
  *
@@ -1924,6 +1861,115 @@ export interface SuiteResult {
1924
1861
  warnings: Array<string>
1925
1862
  }
1926
1863
 
1864
+ /**
1865
+ * A directive's offset could not be resolved to a line number within its
1866
+ * source, meaning the parsing stages disagree about the source text, so
1867
+ * its directives cannot be trusted.
1868
+ */
1869
+ export interface TestSourceDirectiveLocation {
1870
+ /** Discriminant tag for the union this belongs to. */
1871
+ kind: "TestSourceDirectiveLocation"
1872
+ /** The contract the directive belongs to. */
1873
+ contract: string
1874
+ /**
1875
+ * The test function the directive belongs to. Undefined when the
1876
+ * directive is contract-level.
1877
+ */
1878
+ function?: string
1879
+ /**
1880
+ * Why resolving the location failed, including the directive problem
1881
+ * that was being reported.
1882
+ */
1883
+ reason: string
1884
+ }
1885
+
1886
+ /**
1887
+ * A single problem found in the test sources, located so the user can find and
1888
+ * fix it. A discriminated union over `kind`: a `source`-level entry carries no
1889
+ * directive location, a `directive`-level entry carries the contract and line,
1890
+ * plus the function unless the directive is contract-level. Attached to the
1891
+ * rejected `runSolidityTests` promise as the `testSourceErrors` array on the
1892
+ * thrown error.
1893
+ */
1894
+ export type TestSourceError = TestSourceFileError | InlineConfigDirectiveError
1895
+
1896
+ /**
1897
+ * A problem with the source itself, which no single directive can be
1898
+ * blamed for.
1899
+ *
1900
+ * Its tag names the half of the `TestSourceError` union it belongs to,
1901
+ * not its own type, because the two halves differ in shape rather than in
1902
+ * what went wrong.
1903
+ */
1904
+ export interface TestSourceFileError {
1905
+ /** Discriminant tag for the union this belongs to. */
1906
+ kind: "source"
1907
+ /**
1908
+ * The solc source name the problem was found in (e.g.
1909
+ * `project/test/Foo.t.sol`).
1910
+ */
1911
+ sourceName: string
1912
+ /** The problem itself, discriminated on its `kind` tag. */
1913
+ problem: TestSourceFileProblem
1914
+ }
1915
+
1916
+ /** The source's file could not be read at the path it was declared at. */
1917
+ export interface TestSourceFileNotFound {
1918
+ /** Discriminant tag for the union this belongs to. */
1919
+ kind: "TestSourceFileNotFound"
1920
+ /** The path the source was expected at. */
1921
+ path: string
1922
+ /** Why reading it failed. */
1923
+ reason: string
1924
+ }
1925
+
1926
+ /**
1927
+ * A source-level problem, as a discriminated union over its `kind` tag. These
1928
+ * cannot be pinned to a single directive line, so they carry no line.
1929
+ */
1930
+ export type TestSourceFileProblem = TestSourceFileNotFound | TestSourceDirectiveLocation | TestSourcePathNotProvided | TestSourceUnsupportedSolcVersion | TestSourceParseErrors
1931
+
1932
+ /**
1933
+ * The source, or a file it imports, does not parse, so nothing could be
1934
+ * collected from it. A partially-parsed file would silently miss struct
1935
+ * definitions and directives, so it is reported rather than
1936
+ * half-collected.
1937
+ */
1938
+ export interface TestSourceParseErrors {
1939
+ /** Discriminant tag for the union this belongs to. */
1940
+ kind: "TestSourceParseErrors"
1941
+ /**
1942
+ * The syntax diagnostics, each located at its line and, for an
1943
+ * import, its file. Truncated to the first few, followed by a count
1944
+ * of the rest.
1945
+ */
1946
+ reasons: Array<string>
1947
+ }
1948
+
1949
+ /**
1950
+ * The test source has no `testSourcePaths` entry, so it is not located,
1951
+ * read, or parsed.
1952
+ */
1953
+ export interface TestSourcePathNotProvided {
1954
+ /** Discriminant tag for the union this belongs to. */
1955
+ kind: "TestSourcePathNotProvided"
1956
+ }
1957
+
1958
+ /**
1959
+ * The solc version the source was compiled with predates the oldest
1960
+ * Solidity grammar available, so the source cannot be parsed at all.
1961
+ * Collecting inline configuration and EIP-712 struct definitions requires
1962
+ * solc 0.8.0 or newer, and no source is exempt. A run that selects this
1963
+ * one can only proceed with collection disabled entirely, by omitting
1964
+ * `testSourcePaths`.
1965
+ */
1966
+ export interface TestSourceUnsupportedSolcVersion {
1967
+ /** Discriminant tag for the union this belongs to. */
1968
+ kind: "TestSourceUnsupportedSolcVersion"
1969
+ /** The solc version the source's artifact was compiled with. */
1970
+ version: string
1971
+ }
1972
+
1927
1973
  /** The result of a test execution. */
1928
1974
  export declare enum TestStatus {
1929
1975
  /** Test success */
package/index.js CHANGED
@@ -94,8 +94,8 @@ function requireNative() {
94
94
  try {
95
95
  const binding = require('@nomicfoundation/edr-android-arm64')
96
96
  const bindingPackageVersion = require('@nomicfoundation/edr-android-arm64/package.json').version
97
- if (bindingPackageVersion !== '0.25.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
98
- throw new Error(`Native binding package version mismatch, expected 0.25.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
97
+ if (bindingPackageVersion !== '0.27.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
98
+ throw new Error(`Native binding package version mismatch, expected 0.27.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
99
99
  }
100
100
  return binding
101
101
  } catch (e) {
@@ -110,8 +110,8 @@ function requireNative() {
110
110
  try {
111
111
  const binding = require('@nomicfoundation/edr-android-arm-eabi')
112
112
  const bindingPackageVersion = require('@nomicfoundation/edr-android-arm-eabi/package.json').version
113
- if (bindingPackageVersion !== '0.25.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
114
- throw new Error(`Native binding package version mismatch, expected 0.25.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
113
+ if (bindingPackageVersion !== '0.27.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
114
+ throw new Error(`Native binding package version mismatch, expected 0.27.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
115
115
  }
116
116
  return binding
117
117
  } catch (e) {
@@ -131,8 +131,8 @@ function requireNative() {
131
131
  try {
132
132
  const binding = require('@nomicfoundation/edr-win32-x64-gnu')
133
133
  const bindingPackageVersion = require('@nomicfoundation/edr-win32-x64-gnu/package.json').version
134
- if (bindingPackageVersion !== '0.25.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
135
- throw new Error(`Native binding package version mismatch, expected 0.25.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
134
+ if (bindingPackageVersion !== '0.27.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
135
+ throw new Error(`Native binding package version mismatch, expected 0.27.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
136
136
  }
137
137
  return binding
138
138
  } catch (e) {
@@ -147,8 +147,8 @@ function requireNative() {
147
147
  try {
148
148
  const binding = require('@nomicfoundation/edr-win32-x64-msvc')
149
149
  const bindingPackageVersion = require('@nomicfoundation/edr-win32-x64-msvc/package.json').version
150
- if (bindingPackageVersion !== '0.25.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
151
- throw new Error(`Native binding package version mismatch, expected 0.25.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
150
+ if (bindingPackageVersion !== '0.27.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
151
+ throw new Error(`Native binding package version mismatch, expected 0.27.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
152
152
  }
153
153
  return binding
154
154
  } catch (e) {
@@ -164,8 +164,8 @@ function requireNative() {
164
164
  try {
165
165
  const binding = require('@nomicfoundation/edr-win32-ia32-msvc')
166
166
  const bindingPackageVersion = require('@nomicfoundation/edr-win32-ia32-msvc/package.json').version
167
- if (bindingPackageVersion !== '0.25.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
168
- throw new Error(`Native binding package version mismatch, expected 0.25.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
167
+ if (bindingPackageVersion !== '0.27.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
168
+ throw new Error(`Native binding package version mismatch, expected 0.27.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
169
169
  }
170
170
  return binding
171
171
  } catch (e) {
@@ -180,8 +180,8 @@ function requireNative() {
180
180
  try {
181
181
  const binding = require('@nomicfoundation/edr-win32-arm64-msvc')
182
182
  const bindingPackageVersion = require('@nomicfoundation/edr-win32-arm64-msvc/package.json').version
183
- if (bindingPackageVersion !== '0.25.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
184
- throw new Error(`Native binding package version mismatch, expected 0.25.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
183
+ if (bindingPackageVersion !== '0.27.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
184
+ throw new Error(`Native binding package version mismatch, expected 0.27.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
185
185
  }
186
186
  return binding
187
187
  } catch (e) {
@@ -199,8 +199,8 @@ function requireNative() {
199
199
  try {
200
200
  const binding = require('@nomicfoundation/edr-darwin-universal')
201
201
  const bindingPackageVersion = require('@nomicfoundation/edr-darwin-universal/package.json').version
202
- if (bindingPackageVersion !== '0.25.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
203
- throw new Error(`Native binding package version mismatch, expected 0.25.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
202
+ if (bindingPackageVersion !== '0.27.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
203
+ throw new Error(`Native binding package version mismatch, expected 0.27.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
204
204
  }
205
205
  return binding
206
206
  } catch (e) {
@@ -215,8 +215,8 @@ function requireNative() {
215
215
  try {
216
216
  const binding = require('@nomicfoundation/edr-darwin-x64')
217
217
  const bindingPackageVersion = require('@nomicfoundation/edr-darwin-x64/package.json').version
218
- if (bindingPackageVersion !== '0.25.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
219
- throw new Error(`Native binding package version mismatch, expected 0.25.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
218
+ if (bindingPackageVersion !== '0.27.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
219
+ throw new Error(`Native binding package version mismatch, expected 0.27.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
220
220
  }
221
221
  return binding
222
222
  } catch (e) {
@@ -231,8 +231,8 @@ function requireNative() {
231
231
  try {
232
232
  const binding = require('@nomicfoundation/edr-darwin-arm64')
233
233
  const bindingPackageVersion = require('@nomicfoundation/edr-darwin-arm64/package.json').version
234
- if (bindingPackageVersion !== '0.25.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
235
- throw new Error(`Native binding package version mismatch, expected 0.25.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
234
+ if (bindingPackageVersion !== '0.27.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
235
+ throw new Error(`Native binding package version mismatch, expected 0.27.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
236
236
  }
237
237
  return binding
238
238
  } catch (e) {
@@ -251,8 +251,8 @@ function requireNative() {
251
251
  try {
252
252
  const binding = require('@nomicfoundation/edr-freebsd-x64')
253
253
  const bindingPackageVersion = require('@nomicfoundation/edr-freebsd-x64/package.json').version
254
- if (bindingPackageVersion !== '0.25.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
255
- throw new Error(`Native binding package version mismatch, expected 0.25.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
254
+ if (bindingPackageVersion !== '0.27.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
255
+ throw new Error(`Native binding package version mismatch, expected 0.27.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
256
256
  }
257
257
  return binding
258
258
  } catch (e) {
@@ -267,8 +267,8 @@ function requireNative() {
267
267
  try {
268
268
  const binding = require('@nomicfoundation/edr-freebsd-arm64')
269
269
  const bindingPackageVersion = require('@nomicfoundation/edr-freebsd-arm64/package.json').version
270
- if (bindingPackageVersion !== '0.25.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
271
- throw new Error(`Native binding package version mismatch, expected 0.25.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
270
+ if (bindingPackageVersion !== '0.27.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
271
+ throw new Error(`Native binding package version mismatch, expected 0.27.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
272
272
  }
273
273
  return binding
274
274
  } catch (e) {
@@ -283,8 +283,8 @@ function requireNative() {
283
283
  try {
284
284
  const binding = require('@nomicfoundation/edr-freebsd-ppc64')
285
285
  const bindingPackageVersion = require('@nomicfoundation/edr-freebsd-ppc64/package.json').version
286
- if (bindingPackageVersion !== '0.25.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
287
- throw new Error(`Native binding package version mismatch, expected 0.25.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
286
+ if (bindingPackageVersion !== '0.27.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
287
+ throw new Error(`Native binding package version mismatch, expected 0.27.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
288
288
  }
289
289
  return binding
290
290
  } catch (e) {
@@ -304,8 +304,8 @@ function requireNative() {
304
304
  try {
305
305
  const binding = require('@nomicfoundation/edr-linux-x64-musl')
306
306
  const bindingPackageVersion = require('@nomicfoundation/edr-linux-x64-musl/package.json').version
307
- if (bindingPackageVersion !== '0.25.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
308
- throw new Error(`Native binding package version mismatch, expected 0.25.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
307
+ if (bindingPackageVersion !== '0.27.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
308
+ throw new Error(`Native binding package version mismatch, expected 0.27.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
309
309
  }
310
310
  return binding
311
311
  } catch (e) {
@@ -320,8 +320,8 @@ function requireNative() {
320
320
  try {
321
321
  const binding = require('@nomicfoundation/edr-linux-x64-gnu')
322
322
  const bindingPackageVersion = require('@nomicfoundation/edr-linux-x64-gnu/package.json').version
323
- if (bindingPackageVersion !== '0.25.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
324
- throw new Error(`Native binding package version mismatch, expected 0.25.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
323
+ if (bindingPackageVersion !== '0.27.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
324
+ throw new Error(`Native binding package version mismatch, expected 0.27.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
325
325
  }
326
326
  return binding
327
327
  } catch (e) {
@@ -338,8 +338,8 @@ function requireNative() {
338
338
  try {
339
339
  const binding = require('@nomicfoundation/edr-linux-arm64-musl')
340
340
  const bindingPackageVersion = require('@nomicfoundation/edr-linux-arm64-musl/package.json').version
341
- if (bindingPackageVersion !== '0.25.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
342
- throw new Error(`Native binding package version mismatch, expected 0.25.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
341
+ if (bindingPackageVersion !== '0.27.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
342
+ throw new Error(`Native binding package version mismatch, expected 0.27.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
343
343
  }
344
344
  return binding
345
345
  } catch (e) {
@@ -354,8 +354,8 @@ function requireNative() {
354
354
  try {
355
355
  const binding = require('@nomicfoundation/edr-linux-arm64-gnu')
356
356
  const bindingPackageVersion = require('@nomicfoundation/edr-linux-arm64-gnu/package.json').version
357
- if (bindingPackageVersion !== '0.25.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
358
- throw new Error(`Native binding package version mismatch, expected 0.25.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
357
+ if (bindingPackageVersion !== '0.27.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
358
+ throw new Error(`Native binding package version mismatch, expected 0.27.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
359
359
  }
360
360
  return binding
361
361
  } catch (e) {
@@ -372,8 +372,8 @@ function requireNative() {
372
372
  try {
373
373
  const binding = require('@nomicfoundation/edr-linux-arm-musleabihf')
374
374
  const bindingPackageVersion = require('@nomicfoundation/edr-linux-arm-musleabihf/package.json').version
375
- if (bindingPackageVersion !== '0.25.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
376
- throw new Error(`Native binding package version mismatch, expected 0.25.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
375
+ if (bindingPackageVersion !== '0.27.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
376
+ throw new Error(`Native binding package version mismatch, expected 0.27.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
377
377
  }
378
378
  return binding
379
379
  } catch (e) {
@@ -388,8 +388,8 @@ function requireNative() {
388
388
  try {
389
389
  const binding = require('@nomicfoundation/edr-linux-arm-gnueabihf')
390
390
  const bindingPackageVersion = require('@nomicfoundation/edr-linux-arm-gnueabihf/package.json').version
391
- if (bindingPackageVersion !== '0.25.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
392
- throw new Error(`Native binding package version mismatch, expected 0.25.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
391
+ if (bindingPackageVersion !== '0.27.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
392
+ throw new Error(`Native binding package version mismatch, expected 0.27.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
393
393
  }
394
394
  return binding
395
395
  } catch (e) {
@@ -406,8 +406,8 @@ function requireNative() {
406
406
  try {
407
407
  const binding = require('@nomicfoundation/edr-linux-loong64-musl')
408
408
  const bindingPackageVersion = require('@nomicfoundation/edr-linux-loong64-musl/package.json').version
409
- if (bindingPackageVersion !== '0.25.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
410
- throw new Error(`Native binding package version mismatch, expected 0.25.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
409
+ if (bindingPackageVersion !== '0.27.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
410
+ throw new Error(`Native binding package version mismatch, expected 0.27.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
411
411
  }
412
412
  return binding
413
413
  } catch (e) {
@@ -422,8 +422,8 @@ function requireNative() {
422
422
  try {
423
423
  const binding = require('@nomicfoundation/edr-linux-loong64-gnu')
424
424
  const bindingPackageVersion = require('@nomicfoundation/edr-linux-loong64-gnu/package.json').version
425
- if (bindingPackageVersion !== '0.25.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
426
- throw new Error(`Native binding package version mismatch, expected 0.25.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
425
+ if (bindingPackageVersion !== '0.27.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
426
+ throw new Error(`Native binding package version mismatch, expected 0.27.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
427
427
  }
428
428
  return binding
429
429
  } catch (e) {
@@ -440,8 +440,8 @@ function requireNative() {
440
440
  try {
441
441
  const binding = require('@nomicfoundation/edr-linux-riscv64-musl')
442
442
  const bindingPackageVersion = require('@nomicfoundation/edr-linux-riscv64-musl/package.json').version
443
- if (bindingPackageVersion !== '0.25.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
444
- throw new Error(`Native binding package version mismatch, expected 0.25.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
443
+ if (bindingPackageVersion !== '0.27.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
444
+ throw new Error(`Native binding package version mismatch, expected 0.27.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
445
445
  }
446
446
  return binding
447
447
  } catch (e) {
@@ -456,8 +456,8 @@ function requireNative() {
456
456
  try {
457
457
  const binding = require('@nomicfoundation/edr-linux-riscv64-gnu')
458
458
  const bindingPackageVersion = require('@nomicfoundation/edr-linux-riscv64-gnu/package.json').version
459
- if (bindingPackageVersion !== '0.25.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
460
- throw new Error(`Native binding package version mismatch, expected 0.25.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
459
+ if (bindingPackageVersion !== '0.27.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
460
+ throw new Error(`Native binding package version mismatch, expected 0.27.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
461
461
  }
462
462
  return binding
463
463
  } catch (e) {
@@ -473,8 +473,8 @@ function requireNative() {
473
473
  try {
474
474
  const binding = require('@nomicfoundation/edr-linux-ppc64-gnu')
475
475
  const bindingPackageVersion = require('@nomicfoundation/edr-linux-ppc64-gnu/package.json').version
476
- if (bindingPackageVersion !== '0.25.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
477
- throw new Error(`Native binding package version mismatch, expected 0.25.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
476
+ if (bindingPackageVersion !== '0.27.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
477
+ throw new Error(`Native binding package version mismatch, expected 0.27.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
478
478
  }
479
479
  return binding
480
480
  } catch (e) {
@@ -489,8 +489,8 @@ function requireNative() {
489
489
  try {
490
490
  const binding = require('@nomicfoundation/edr-linux-s390x-gnu')
491
491
  const bindingPackageVersion = require('@nomicfoundation/edr-linux-s390x-gnu/package.json').version
492
- if (bindingPackageVersion !== '0.25.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
493
- throw new Error(`Native binding package version mismatch, expected 0.25.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
492
+ if (bindingPackageVersion !== '0.27.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
493
+ throw new Error(`Native binding package version mismatch, expected 0.27.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
494
494
  }
495
495
  return binding
496
496
  } catch (e) {
@@ -509,8 +509,8 @@ function requireNative() {
509
509
  try {
510
510
  const binding = require('@nomicfoundation/edr-openharmony-arm64')
511
511
  const bindingPackageVersion = require('@nomicfoundation/edr-openharmony-arm64/package.json').version
512
- if (bindingPackageVersion !== '0.25.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
513
- throw new Error(`Native binding package version mismatch, expected 0.25.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
512
+ if (bindingPackageVersion !== '0.27.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
513
+ throw new Error(`Native binding package version mismatch, expected 0.27.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
514
514
  }
515
515
  return binding
516
516
  } catch (e) {
@@ -525,8 +525,8 @@ function requireNative() {
525
525
  try {
526
526
  const binding = require('@nomicfoundation/edr-openharmony-x64')
527
527
  const bindingPackageVersion = require('@nomicfoundation/edr-openharmony-x64/package.json').version
528
- if (bindingPackageVersion !== '0.25.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
529
- throw new Error(`Native binding package version mismatch, expected 0.25.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
528
+ if (bindingPackageVersion !== '0.27.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
529
+ throw new Error(`Native binding package version mismatch, expected 0.27.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
530
530
  }
531
531
  return binding
532
532
  } catch (e) {
@@ -541,8 +541,8 @@ function requireNative() {
541
541
  try {
542
542
  const binding = require('@nomicfoundation/edr-openharmony-arm')
543
543
  const bindingPackageVersion = require('@nomicfoundation/edr-openharmony-arm/package.json').version
544
- if (bindingPackageVersion !== '0.25.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
545
- throw new Error(`Native binding package version mismatch, expected 0.25.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
544
+ if (bindingPackageVersion !== '0.27.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
545
+ throw new Error(`Native binding package version mismatch, expected 0.27.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
546
546
  }
547
547
  return binding
548
548
  } catch (e) {
@@ -683,8 +683,8 @@ if (!nativeBinding || forceWasi) {
683
683
  if (!candidateFailed) {
684
684
  if (process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
685
685
  const bindingPackageVersion = require('@nomicfoundation/edr-wasm32-wasi/package.json').version
686
- if (bindingPackageVersion !== '0.25.1') {
687
- throw new Error(`WASI binding package version mismatch, expected 0.25.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
686
+ if (bindingPackageVersion !== '0.27.0') {
687
+ throw new Error(`WASI binding package version mismatch, expected 0.27.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
688
688
  }
689
689
  }
690
690
  wasiBinding = require('@nomicfoundation/edr-wasm32-wasi')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nomicfoundation/edr",
3
- "version": "0.25.1",
3
+ "version": "0.27.0",
4
4
  "devDependencies": {
5
5
  "@napi-rs/cli": "^3.7.0",
6
6
  "@nomicfoundation/ethereumjs-util": "^9.0.4",
@@ -9,8 +9,8 @@
9
9
  "@types/chai-as-promised": "^7.1.8",
10
10
  "@types/mocha": ">=9.1.0",
11
11
  "@types/node": "^22.0.0",
12
- "@typescript-eslint/eslint-plugin": "8.72.1",
13
- "@typescript-eslint/parser": "8.72.1",
12
+ "@typescript-eslint/eslint-plugin": "8.72.2",
13
+ "@typescript-eslint/parser": "8.72.2",
14
14
  "chai": "^4.3.6",
15
15
  "chai-as-promised": "^7.1.1",
16
16
  "chalk": "^2.4.2",
@@ -59,13 +59,13 @@
59
59
  },
60
60
  "types": "index.d.ts",
61
61
  "optionalDependencies": {
62
- "@nomicfoundation/edr-darwin-arm64": "0.25.1",
63
- "@nomicfoundation/edr-darwin-x64": "0.25.1",
64
- "@nomicfoundation/edr-linux-arm64-gnu": "0.25.1",
65
- "@nomicfoundation/edr-linux-arm64-musl": "0.25.1",
66
- "@nomicfoundation/edr-linux-x64-gnu": "0.25.1",
67
- "@nomicfoundation/edr-linux-x64-musl": "0.25.1",
68
- "@nomicfoundation/edr-win32-x64-msvc": "0.25.1"
62
+ "@nomicfoundation/edr-darwin-arm64": "0.27.0",
63
+ "@nomicfoundation/edr-darwin-x64": "0.27.0",
64
+ "@nomicfoundation/edr-linux-arm64-gnu": "0.27.0",
65
+ "@nomicfoundation/edr-linux-arm64-musl": "0.27.0",
66
+ "@nomicfoundation/edr-linux-x64-gnu": "0.27.0",
67
+ "@nomicfoundation/edr-linux-x64-musl": "0.27.0",
68
+ "@nomicfoundation/edr-win32-x64-msvc": "0.27.0"
69
69
  },
70
70
  "scripts": {
71
71
  "artifacts": "napi artifacts",