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

@blitzjs/config

Package Overview
Dependencies
Maintainers
2
Versions
282
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blitzjs/config - npm Package Compare versions

Comparing version 0.36.5-danger.e7acb2375.16 to 0.37.0

index-browser.js

4

dist/blitzjs-config.cjs.dev.js

@@ -38,5 +38,9 @@ 'use strict';

function getProjectRoot() {
// TODO consolidate with nextjs/packages/next/server/lib/utils.ts
// IF THIS IS UPDATED, so does the one inside nextjs
return path__default['default'].dirname(getConfigSrcPath());
}
function getConfigSrcPath() {
// TODO consolidate with nextjs/packages/next/server/lib/utils.ts
// IF THIS IS UPDATED, so does the one inside nextjs
var tsPath = path__default['default'].resolve(path__default['default'].join(process.cwd(), "blitz.config.ts"));

@@ -43,0 +47,0 @@

@@ -38,5 +38,9 @@ 'use strict';

function getProjectRoot() {
// TODO consolidate with nextjs/packages/next/server/lib/utils.ts
// IF THIS IS UPDATED, so does the one inside nextjs
return path__default['default'].dirname(getConfigSrcPath());
}
function getConfigSrcPath() {
// TODO consolidate with nextjs/packages/next/server/lib/utils.ts
// IF THIS IS UPDATED, so does the one inside nextjs
var tsPath = path__default['default'].resolve(path__default['default'].join(process.cwd(), "blitz.config.ts"));

@@ -43,0 +47,0 @@

@@ -28,5 +28,9 @@ import { build } from 'esbuild';

function getProjectRoot() {
// TODO consolidate with nextjs/packages/next/server/lib/utils.ts
// IF THIS IS UPDATED, so does the one inside nextjs
return path.dirname(getConfigSrcPath());
}
function getConfigSrcPath() {
// TODO consolidate with nextjs/packages/next/server/lib/utils.ts
// IF THIS IS UPDATED, so does the one inside nextjs
var tsPath = path.resolve(path.join(process.cwd(), "blitz.config.ts"));

@@ -33,0 +37,0 @@

8

package.json
{
"name": "@blitzjs/config",
"version": "0.36.5-danger.e7acb2375.16+e7acb2375",
"version": "0.37.0",
"description": "Loads the blitz app config",

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

},
"browser": "index-browser.js",
"main": "dist/blitzjs-config.cjs.js",

@@ -15,3 +16,4 @@ "module": "dist/blitzjs-config.esm.js",

"files": [
"dist"
"dist",
"index-browser.js"
],

@@ -28,3 +30,3 @@ "keywords": [

},
"gitHead": "e7acb2375bd85f5c951312761d25135ba8dde1eb",
"gitHead": "7d5f437c7b7867450430aac85ddf6f05ceebcfb3",
"dependencies": {

@@ -31,0 +33,0 @@ "esbuild": "^0.11.12",

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