Skip to content

Commit

Permalink
chore: replace dotenv safe with dotenv
Browse files Browse the repository at this point in the history
  • Loading branch information
markin-io committed Sep 29, 2023
1 parent fd8f00d commit 372ee02
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .pnp.cjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/js-dash-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"chance": "^1.1.6",
"crypto-browserify": "^3.12.0",
"dirty-chai": "^2.0.1",
"dotenv-safe": "^8.2.0",
"dotenv": "^8.6.0",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-airbnb-typescript": "^17.0.0",
Expand Down
5 changes: 2 additions & 3 deletions packages/js-dash-sdk/src/test/bootstrap.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const dotenvSafe = require('dotenv-safe');
const dotenv = require('dotenv');
const path = require('path');

const sinon = require('sinon');
Expand All @@ -7,8 +7,7 @@ const { use } = require('chai');
const dirtyChai = require('dirty-chai');
const chaiAsPromised = require('chai-as-promised');

dotenvSafe.config({
allowEmptyValues: true,
dotenv.config({
path: path.resolve(__dirname, '..', '..', '.env'),
});

Expand Down
2 changes: 1 addition & 1 deletion packages/wallet-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"chai-as-promised": "^7.1.1",
"crypto-browserify": "^3.12.0",
"dirty-chai": "^2.0.1",
"dotenv-safe": "^8.2.0",
"dotenv": "^8.6.0",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-import": "^2.24.2",
Expand Down
5 changes: 2 additions & 3 deletions packages/wallet-lib/src/test/bootstrap.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const { use } = require('chai');
const { expect } = require('chai');
const path = require('path');
const dotenvSafe = require('dotenv-safe');
const dotenv = require('dotenv');
const sinon = require('sinon');
const sinonChai = require('sinon-chai');
const dirtyChai = require('dirty-chai');
Expand All @@ -11,8 +11,7 @@ use(sinonChai);
use(dirtyChai);
use(chaiAsPromised);

dotenvSafe.config({
allowEmptyValues: true,
dotenv.config({
path: path.resolve(__dirname, '..', '..', '.env'),
});

Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1874,7 +1874,7 @@ __metadata:
crypto-browserify: ^3.12.0
crypto-js: ^4.0.0
dirty-chai: ^2.0.1
dotenv-safe: ^8.2.0
dotenv: ^8.6.0
eslint: ^7.32.0
eslint-config-airbnb-base: ^14.2.1
eslint-plugin-import: ^2.24.2
Expand Down Expand Up @@ -6117,7 +6117,7 @@ __metadata:
chance: ^1.1.6
crypto-browserify: ^3.12.0
dirty-chai: ^2.0.1
dotenv-safe: ^8.2.0
dotenv: ^8.6.0
eslint: ^7.32.0
eslint-config-airbnb-base: ^14.2.1
eslint-config-airbnb-typescript: ^17.0.0
Expand Down

0 comments on commit 372ee02

Please sign in to comment.