Skip to content

Commit

Permalink
Release 1.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
afeiship committed May 25, 2023
1 parent 8e9ae70 commit ab7d7fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jswork/next-is-plain-object",
"version": "1.0.3",
"version": "1.0.4",
"description": "A isPlainObject implement.",
"homepage": "https://js.work",
"author": {
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ nx.isPlainObject = function (inTarget) {
return true;
};

if (typeof module !== 'undefined' && module.exports) {
if (typeof module !== 'undefined' && module.exports && typeof wx === 'undefined') {
module.exports = nx.isPlainObject;
}

Expand Down

0 comments on commit ab7d7fd

Please sign in to comment.