Skip to content

Commit a7ea9c0

Browse files
authored
Merge pull request #41 from SocketDev/dependabot/npm_and_yarn/chai-as-promised-8.0.1
Bump chai-as-promised from 7.1.2 to 8.0.1
2 parents 66c650d + 79fb6ed commit a7ea9c0

File tree

6 files changed

+8
-9
lines changed

6 files changed

+8
-9
lines changed

.eslintignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
with:
2525
no-lockfile: true
2626
npm-test-script: 'test-ci'
27-
node-versions: '18,20,22,23,24'
27+
node-versions: '20,22,23,24'
2828
# We currently have some issues on Windows that will have to wait to be fixed
2929
# os: 'ubuntu-latest,windows-latest'
3030
os: 'ubuntu-latest'

eslint.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import neostandard, { resolveIgnoresFromGitignore } from 'neostandard'
1+
const neostandard = require('neostandard')
22

3-
export default neostandard({
3+
module.exports = neostandard({
44
ts: true,
55
env: ['mocha'],
66
ignores: [
7-
...resolveIgnoresFromGitignore(),
7+
...neostandard.resolveIgnoresFromGitignore(),
88
],
99
})

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "2.1.3",
44
"description": "Config parser for Socket.dev",
55
"homepage": "http://github.com/SocketDev/socket-config-js",
6+
"type": "commonjs",
67
"repository": {
78
"type": "git",
89
"url": "git://github.com/SocketDev/socket-config-js.git"
@@ -54,7 +55,7 @@
5455
"@types/node": "^14.18.36",
5556
"c8": "^10.1.3",
5657
"chai": "^4.3.6",
57-
"chai-as-promised": "^7.1.1",
58+
"chai-as-promised": "^8.0.1",
5859
"dependency-check": "^5.0.0-7",
5960
"husky": "^8.0.3",
6061
"installed-check": "^9.3.0",

test/parse.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const { readFile } = require('node:fs/promises')
44
const path = require('node:path')
55

66
const chai = require('chai')
7-
const chaiAsPromised = require('chai-as-promised')
7+
const { default: chaiAsPromised } = require('chai-as-promised')
88

99
const {
1010
getDefaultConfig,

test/read.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
const path = require('node:path')
44

55
const chai = require('chai')
6-
const chaiAsPromised = require('chai-as-promised')
6+
const { default: chaiAsPromised } = require('chai-as-promised')
77

88
const {
99
readSocketConfig

0 commit comments

Comments
 (0)