Skip to content

Commit

Permalink
Updated documentation and patches for @types/node and @types/rewire
Browse files Browse the repository at this point in the history
  • Loading branch information
nktnet committed Oct 19, 2023
1 parent 60e446b commit ba15a1d
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ Using a different basePath

```javascript
const { privateFunction } = jewire(
'../src/private-module.cjs',
'private-module',
{ basePath: process.cwd() }
);
```
Expand All @@ -114,7 +114,7 @@ Using a different clone function from the default `clone.objectClone`:

```javascript
const { privateFunction } = jewire(
'../src/private-module.cjs',
'private-module',
{ objectClone: (obj) => JSON.parse(JSON.stringify(obj)) }
);
```
Expand Down
20 changes: 10 additions & 10 deletions package-lock.json

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "git",
"url": "https://github.com/nktnet1/jewire"
},
"version": "1.0.3",
"version": "1.0.4",
"files": [
"dist"
],
Expand Down Expand Up @@ -42,8 +42,8 @@
"description": "Rewire private modules for use within Jest.",
"devDependencies": {
"@types/jest": "^29.5.6",
"@types/node": "^20.8.6",
"@types/rewire": "^2.5.28",
"@types/node": "^20.8.7",
"@types/rewire": "^2.5.29",
"@typescript-eslint/eslint-plugin": "^6.8.0",
"@typescript-eslint/parser": "^6.8.0",
"eslint": "^8.51.0",
Expand Down

0 comments on commit ba15a1d

Please sign in to comment.