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

@vercel/frameworks

Package Overview
Dependencies
Maintainers
9
Versions
165
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vercel/frameworks - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

4

./dist/frameworks.js

@@ -834,3 +834,5 @@ "use strict";

if (content.length === 1 && content[0].isDirectory()) {
return (0, import_path.join)(base, content[0].name);
const potentialOutDir = (0, import_path.join)(base, content[0].name);
const potentialOutDirWithBrowser = (0, import_path.join)(potentialOutDir, "browser");
return (0, import_fs.existsSync)(potentialOutDirWithBrowser) ? potentialOutDirWithBrowser : potentialOutDir;
}

@@ -837,0 +839,0 @@ } catch (error) {

@@ -834,3 +834,5 @@ "use strict";

if (content.length === 1 && content[0].isDirectory()) {
return (0, import_path.join)(base, content[0].name);
const potentialOutDir = (0, import_path.join)(base, content[0].name);
const potentialOutDirWithBrowser = (0, import_path.join)(potentialOutDir, "browser");
return (0, import_fs.existsSync)(potentialOutDirWithBrowser) ? potentialOutDirWithBrowser : potentialOutDir;
}

@@ -837,0 +839,0 @@ } catch (error) {

{
"name": "@vercel/frameworks",
"version": "2.0.2",
"version": "2.0.3",
"main": "./dist/frameworks.js",

@@ -18,3 +18,3 @@ "types": "./dist/frameworks.d.ts",

"js-yaml": "3.13.1",
"@vercel/error-utils": "2.0.1"
"@vercel/error-utils": "2.0.2"
},

@@ -26,3 +26,3 @@ "devDependencies": {

"@types/node-fetch": "2.5.8",
"@vercel/routing-utils": "3.0.0",
"@vercel/routing-utils": "3.1.0",
"ajv": "6.12.2",

@@ -35,4 +35,5 @@ "jest-junit": "16.0.0",

"test": "jest --reporters=default --reporters=jest-junit --env node --verbose --runInBand --bail",
"test-unit": "pnpm test"
"test-unit": "pnpm test",
"type-check": "tsc --noEmit"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc