🚨 Active Supply Chain Attack:node-ipc Package Compromised.Learn More
Socket
Book a DemoSign in
Socket

@web/config-loader

Package Overview
Dependencies
Maintainers
7
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@web/config-loader - npm Package Compare versions

Comparing version
0.3.2
to
0.3.3
+1
-1
package.json
{
"name": "@web/config-loader",
"version": "0.3.2",
"version": "0.3.3",
"publishConfig": {

@@ -5,0 +5,0 @@ "access": "public"

@@ -20,3 +20,2 @@ const getPackageType = require('./getPackageType');

async function importOrRequireConfig(configPath, basedir) {
const packageType = await getPackageType(basedir);
const ext = path.extname(configPath);

@@ -30,2 +29,3 @@

default:
const packageType = await getPackageType(basedir);
return packageType === 'module' ? importConfig(configPath) : requireConfig(configPath);

@@ -32,0 +32,0 @@ }