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

@vercel/nft

Package Overview
Dependencies
Maintainers
9
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vercel/nft - npm Package Compare versions

Comparing version

to
0.26.2

2

out/analyze.js

@@ -29,3 +29,3 @@ "use strict";

//require("acorn-private-class-elements")
);
require("acorn-import-attributes").importAttributes);
const os_1 = __importDefault(require("os"));

@@ -32,0 +32,0 @@ const wrappers_1 = require("./utils/wrappers");

@@ -53,3 +53,3 @@ /// <reference types="node" />

}
export declare type NodeFileTraceReasonType = 'initial' | 'resolve' | 'dependency' | 'asset' | 'sharedlib';
export type NodeFileTraceReasonType = 'initial' | 'resolve' | 'dependency' | 'asset' | 'sharedlib';
export interface NodeFileTraceReasons extends Map<string, {

@@ -56,0 +56,0 @@ type: NodeFileTraceReasonType[];

@@ -114,2 +114,12 @@ "use strict";

},
'sharp'({ id, emitAssetDirectory }) {
if (id.endsWith('sharp/lib/index.js')) {
const file = (0, path_1.resolve)(id, '..', '..', 'package.json');
const pkg = JSON.parse((0, graceful_fs_1.readFileSync)(file, 'utf8'));
for (const dep of Object.keys(pkg.optionalDependencies || {})) {
const dir = (0, path_1.resolve)(id, '..', '..', '..', dep);
emitAssetDirectory(dir);
}
}
},
'shiki'({ id, emitAssetDirectory }) {

@@ -116,0 +126,0 @@ if (id.endsWith('/dist/index.js')) {

{
"name": "@vercel/nft",
"version": "0.24.4",
"version": "0.26.2",
"repository": "vercel/nft",

@@ -24,2 +24,3 @@ "license": "MIT",

"acorn": "^8.6.0",
"acorn-import-attributes": "^1.9.2",
"async-sema": "^3.1.1",

@@ -37,5 +38,5 @@ "bindings": "^1.4.0",

"@bugsnag/js": "^6.3.2",
"@ffmpeg-installer/ffmpeg": "^1.0.19",
"@ffmpeg-installer/ffmpeg": "^1.1.0",
"@google-cloud/bigquery": "^4.1.4",
"@google-cloud/firestore": "^4.11.0",
"@google-cloud/firestore": "^6.2.0",
"@sentry/node": "^5.5.0",

@@ -94,3 +95,3 @@ "@tpluscode/sparql-builder": "^0.3.12",

"npm": "^6.14.6",
"oracledb": "^4.2.0",
"oracledb": "^6.2.0",
"paraphrase": "1.8.0",

@@ -102,3 +103,3 @@ "passport": "^0.6.0",

"pdf2json": "^2.0.0",
"pdfkit": "^0.10.0",
"pdfkit": "^0.14.0",
"pg": "^7.11.0",

@@ -121,3 +122,3 @@ "phantomjs-prebuilt": "^2.1.16",

"sequelize": "^6.29.0",
"sharp": "^0.32.6",
"sharp": "^0.33.1",
"shiki": "^0.14.5",

@@ -129,3 +130,3 @@ "socket.io": "^2.4.0",

"tiny-json-http": "^7.1.2",
"twilio": "^3.84.0",
"twilio": "^4.20.0",
"typescript": "^4.8.4",

@@ -142,2 +143,3 @@ "uglify-js": "^3.6.0",

},
"packageManager": "npm@10.2.5",
"publishConfig": {

@@ -144,0 +146,0 @@ "access": "public"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet