Skip to content

Commit

Permalink
Release 1.2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
afeiship committed Oct 23, 2024
1 parent 0a56421 commit 6f86d88
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@


## [1.2.7](https://github.com/afeiship/next/compare/v1.2.6...v1.2.7) (2024-10-23)


### Bug Fixes

* upt stub promise when undefined ([0a56421](https://github.com/afeiship/next/commit/0a564217a407645ff872a63257ea21931e47d0db))

## [1.2.6](https://github.com/afeiship/next/compare/v1.2.5...v1.2.6) (2024-08-17)


Expand Down
6 changes: 4 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var freeModule =
var nx = (root.nx = root.nx || {
BREAKER: {},
NIL: {},
VERSION: '1.2.6',
VERSION: '1.2.7',
DEBUG: false,
GLOBAL: root,
});
Expand Down Expand Up @@ -69,7 +69,8 @@ else if (freeModule) {
var POS1 = '.$1';
var EMP = '';
var normalize = function (path) {
return (path).toString()
return path
.toString()
.replace(INDEXES_PATH_RE, POS1)
.replace(MULTIPLE_DOT_RE, DOT)
.replace(EDGE_DOT_RE, EMP);
Expand Down Expand Up @@ -98,6 +99,7 @@ else if (freeModule) {
};

nx.stubPromise = function (inValue) {
if (typeof inValue === 'undefined') return Promise.resolve();
return Promise.resolve(inValue);
};

Expand Down
2 changes: 1 addition & 1 deletion dist/index.min.js

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

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",
"version": "1.2.6",
"version": "1.2.7",
"description": "A javascript OOP toolkit for mobile.",
"main": "dist/index.js",
"types": "./types/index.d.ts",
Expand Down

0 comments on commit 6f86d88

Please sign in to comment.