Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@harperdb/nextjs

Package Overview
Dependencies
Maintainers
0
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@harperdb/nextjs - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

3

extension.js

@@ -108,3 +108,3 @@ import fs from 'node:fs';

// Couple options to check if its a Next.js project
// 1. Check for Next.js config file (next.config.{js|ts})
// 1. Check for Next.js config file (next.config.{js|mjs|ts})
// - This file is not required for a Next.js project

@@ -123,2 +123,3 @@ // 2. Check package.json for Next.js dependency

fs.existsSync(path.join(componentPath, 'next.config.js')) ||
fs.existsSync(path.join(componentPath, 'next.config.mjs')) ||
fs.existsSync(path.join(componentPath, 'next.config.ts'));

@@ -125,0 +126,0 @@

{
"name": "@harperdb/nextjs",
"version": "0.0.6",
"version": "0.0.7",
"type": "module",

@@ -5,0 +5,0 @@ "description": "A HarperDB Component for running Next.js apps.",

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