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

@web/config-loader

Package Overview
Dependencies
Maintainers
7
Versions
28
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.2.0 to 0.2.1

2

package.json
{
"name": "@web/config-loader",
"version": "0.2.0",
"version": "0.2.1",
"publishConfig": {

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

@@ -38,3 +38,3 @@ const semver = require('semver');

} catch (e) {
if (CJS_ERRORS.some(msg => e.stack.includes(msg))) {
if (CJS_ERRORS.some(msg => /** @type {Error} */(e).stack?.includes(msg))) {
throw new ConfigLoaderError(

@@ -41,0 +41,0 @@ 'You are using CommonJS syntax such as "require" or "module.exports" in a config loaded as es module. ' +

@@ -17,3 +17,3 @@ const ConfigLoaderError = require('./ConfigLoaderError');

} catch (e) {
if (ESM_ERRORS.some(msg => e.stack.includes(msg))) {
if (ESM_ERRORS.some(msg => /** @type {Error} **/(e).stack?.includes(msg))) {
throw new ConfigLoaderError(

@@ -20,0 +20,0 @@ 'You are using es module syntax in a config loaded as CommonJS module. ' +

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