New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

unenv

Package Overview
Dependencies
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unenv - npm Package Compare versions

Comparing version

to
1.3.0

runtime/node/crypto/index.cjs

31

package.json
{
"name": "unenv",
"version": "1.2.2",
"version": "1.3.0",
"description": "",

@@ -9,4 +9,4 @@ "repository": "unjs/unenv",

".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs"

@@ -17,4 +17,4 @@ },

"./runtime/*": {
"types": "./runtime/*.d.ts",
"require": "./runtime/*.cjs",
"types": "./runtime/*.d.ts",
"import": "./runtime/*.mjs"

@@ -32,24 +32,25 @@ }

"mime": "^3.0.0",
"node-fetch-native": "^1.0.2",
"node-fetch-native": "^1.1.0",
"pathe": "^1.1.0"
},
"devDependencies": {
"@types/node": "^18.15.0",
"changelogen": "^0.5.1",
"@types/node": "^18.15.11",
"changelogen": "^0.5.2",
"consola": "^2.15.3",
"eslint": "^8.35.0",
"eslint": "^8.38.0",
"eslint-config-unjs": "^0.1.0",
"jiti": "^1.17.2",
"prettier": "^2.8.4",
"typescript": "^4.9.5",
"unbuild": "^1.1.2"
"jiti": "^1.18.2",
"prettier": "^2.8.7",
"typescript": "^5.0.4",
"unbuild": "^1.2.0"
},
"packageManager": "pnpm@7.29.1",
"packageManager": "pnpm@8.1.1",
"scripts": {
"build": "unbuild",
"lint": "eslint --ext .ts . && prettier -c src",
"typecheck": "tsc --noEmit",
"lint": "eslint --ext .ts . && prettier -c src test",
"lint:fix": "eslint --fix --ext .ts . && prettier -w src test",
"release": "pnpm test && changelogen --release && pnpm publish && git push --follow-tags",
"test": "pnpm lint && pnpm typecheck"
"test": "pnpm lint && pnpm typecheck",
"typecheck": "tsc --noEmit"
}
}

@@ -55,3 +55,3 @@ # unenv

[node:constants](https://nodejs.org/api/constants.html) | Mocked | -
[node:crypto](https://nodejs.org/api/crypto.html) | Mocked | -
[node:crypto](https://nodejs.org/api/crypto.html) | Polyfilled | [unenv/node/crypto](./src/runtime/node/crypto)
[node:dgram](https://nodejs.org/api/dgram.html) | Mocked | -

@@ -58,0 +58,0 @@ [node:diagnostics_channel](https://nodejs.org/api/diagnostics_channel.html) | Mocked | -

@@ -9,1 +9,2 @@ import type fs from "node:fs";

export declare const FileWriteStream: any;
export declare const StatsFs: typeof fs.StatsFs;

@@ -35,2 +35,3 @@ import type fs from "node:fs";

export declare const writeFile: typeof fs.writeFile;
export declare const statfs: typeof fs.statfs;
export declare const close: typeof fs.close;

@@ -96,2 +97,3 @@ export declare const createReadStream: typeof fs.createReadStream;

export declare const writevSync: typeof fs.writevSync;
export declare const statfsSync: typeof fs.statfsSync;
export {};

@@ -32,1 +32,2 @@ import type fsp from "node:fs/promises";

export declare const watch: typeof fsp.watch;
export declare const statfs: typeof fsp.statfs;

@@ -1,2 +0,2 @@

declare const _default: any;
export default _default;
export declare const consola: any;
export default consola;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet