Skip to content

Commit 9425294

Browse files
committed
[#80] Bump dependencies to resolve vulnerability warnings.
1 parent b87b74b commit 9425294

5 files changed

Lines changed: 552 additions & 646 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 3.0.4
2+
3+
### Fixes
4+
- Bump dependencies to resolve vulnerability warnings.
5+
16
## 3.0.3
27

38
### Improvements

config.mjs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import fs from "fs";
2-
import yaml from "js-yaml";
3-
import path from "path";
4-
import * as os from "os";
1+
import fs from "node:fs";
2+
import path from "node:path";
3+
import * as os from "node:os";
4+
import * as yaml from "js-yaml";
55

66
/**
77
* Manages the configuration of the CLI. Stored as config.yml

lib/package.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import os from "node:os";
33
import path from "node:path";
44
import Datastore from "nedb-promises";
55
import chalk from "chalk";
6-
import { default as YAML } from "js-yaml";
6+
import * as YAML from "js-yaml";
77
import { ClassicLevel } from "classic-level";
88

99
/* -------------------------------------------- */
@@ -341,6 +341,7 @@ async function compileClassicLevel(pack, files, { log, transformEntry }={}) {
341341

342342
// Load the directory as a ClassicLevel DB.
343343
const db = new ClassicLevel(pack, { keyEncoding: "utf8", valueEncoding: "json" });
344+
await db.open();
344345
const batch = db.batch();
345346
const seenKeys = new Set();
346347

0 commit comments

Comments
 (0)