Skip to content

Commit fc0aed1

Browse files
committed
Replaced the placeholder package root entry with a CommonJS re-export of the built bundle so consumers no longer execute the sample script that referenced the Node process global
1 parent 3607a40 commit fc0aed1

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
'use strict';
2+
module.exports = require('./dist/index.js');

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
},
5050
"repository": {
5151
"type": "git",
52-
"url": "https://github.com/onamfc/api-mocker.git"
52+
"url": "git+https://github.com/onamfc/api-mocker.git"
5353
},
5454
"bugs": {
5555
"url": "https://github.com/onamfc/api-mocker/issues"

0 commit comments

Comments
 (0)