Skip to content

Commit b143afe

Browse files
committed
add condParse['default'] support
1 parent d80a20d commit b143afe

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
module.exports = require("./src/index.js");
1+
let condParse = require("./src/index.js");
2+
module.exports = condParse;
3+
condParse["default"] = condParse;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "parse-condition-string",
3-
"version": "1.1.0",
3+
"version": "1.1.1",
44
"description": "A package about parse condition string to js condition",
55
"scripts": {
66
"test": "jest --findRelatedTests test/test.js",

0 commit comments

Comments
 (0)