Socket
Socket
Sign inDemoInstall

@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.1.1 to 0.1.2

6

CHANGELOG.md
# @web/config-loader
## 0.1.2
### Patch Changes
- 132c43c: export map entry for import needs to be valid
## 0.1.1

@@ -4,0 +10,0 @@

4

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

@@ -47,3 +47,3 @@ "access": "public"

".": {
"import": "./index.,js",
"import": "./index.mjs",
"require": "./src/index.js"

@@ -50,0 +50,0 @@ }

@@ -10,9 +10,9 @@ # Config Loader

```bash
npm i -D @web/config-loader
npm i --save-dev @web/config-loader
```
### CommonJS:
```js
const { readConfig, ConfigLoaderError } = require('@web/config-loader');
import { readConfig, ConfigLoaderError } from '@web/config-loader';
// Or as a commonjs module
// const { readConfig, ConfigLoaderError } = require('@web/config-loader');

@@ -39,11 +39,2 @@ (async () => {

### Es module:
```js
import ConfigLoader from '@web/config-loader';
const { readConfig, ConfigLoaderError } = ConfigLoader;
// samve as above
```
### Custom config file

@@ -50,0 +41,0 @@

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