myst-cli-utils
Advanced tools
Comparing version 1.0.0 to 2.0.0
/// <reference types="node" resolution-mode="require"/> | ||
/// <reference types="node" resolution-mode="require"/> | ||
import fs from 'fs'; | ||
import fs from 'node:fs'; | ||
import type { ISession } from './types.js'; | ||
@@ -5,0 +5,0 @@ export declare function computeHash(content: string): string; |
@@ -1,4 +0,4 @@ | ||
import fs from 'fs'; | ||
import path from 'path'; | ||
import { createHash } from 'crypto'; | ||
import fs from 'node:fs'; | ||
import path from 'node:path'; | ||
import { createHash } from 'node:crypto'; | ||
export function computeHash(content) { | ||
@@ -5,0 +5,0 @@ return createHash('md5').update(content).digest('hex'); |
import chalk from 'chalk'; | ||
import { sep } from 'path'; | ||
import { sep } from 'node:path'; | ||
export var LogLevel; | ||
@@ -4,0 +4,0 @@ (function (LogLevel) { |
{ | ||
"name": "myst-cli-utils", | ||
"version": "1.0.0", | ||
"version": "2.0.0", | ||
"sideEffects": false, | ||
@@ -35,3 +35,3 @@ "license": "MIT", | ||
"dependencies": { | ||
"chalk": "^4.1.2", | ||
"chalk": "^5.2.0", | ||
"pretty-hrtime": "^1.0.3" | ||
@@ -38,0 +38,0 @@ }, |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
13243
0
+ Addedchalk@5.3.0(transitive)
- Removedansi-styles@4.3.0(transitive)
- Removedchalk@4.1.2(transitive)
- Removedcolor-convert@2.0.1(transitive)
- Removedcolor-name@1.1.4(transitive)
- Removedhas-flag@4.0.0(transitive)
- Removedsupports-color@7.2.0(transitive)
Updatedchalk@^5.2.0