Skip to content

Commit

Permalink
Merge branch 'release/v1.6.8'
Browse files Browse the repository at this point in the history
  • Loading branch information
kobalab committed Mar 23, 2022
2 parents d46df8a + 5eeb033 commit 2b4f7ad
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 14 deletions.
5 changes: 5 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
### 2022-03-24 v1.6.8

- 安全牌がなくやや危険な牌を切ってオリたときに、検討モードでその牌が黄色で表示されないバグを修正
- 脆弱性警告に対処(minimist 1.2.5 → 1.2.6)

### 2022-03-05 v1.6.7

- #99 副露後に役を崩してしまう打牌をすることがあるバグを修正
Expand Down
16 changes: 8 additions & 8 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "majiang",
"version": "1.6.7",
"version": "1.6.8",
"description": "HTML5 + JavaScript で動作する麻雀アプリ「電脳麻将」",
"main": "src/js/majiang.js",
"private": true,
"scripts": {
"preinstall": "npx npm-force-resolutions",
"build:html": "pug -o www -P src/html/page/",
"build:js": "webpack --mode development --devtool inline-source-map",
"build:css": "stylus src/css/index.styl -o www/css/majiang-1.6.7.css",
"build:css": "stylus src/css/index.styl -o www/css/majiang-1.6.8.css",
"build": "npm run build:html && npm run build:css && npm run build:js",
"release": "npm run build:html && npm run build:css && webpack --mode production",
"test": "mocha -u tdd",
Expand Down
2 changes: 1 addition & 1 deletion src/html/version.pug
Original file line number Diff line number Diff line change
@@ -1 +1 @@
- var version = '1.6.7'
- var version = '1.6.8'
4 changes: 2 additions & 2 deletions src/js/majiang.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
*
* Majiang v1.6.7
* Majiang v1.6.8
*
* Copyright(C) 2017 Satoshi Kobayashi
* Released under the MIT license
Expand All @@ -10,7 +10,7 @@
"use strict";

module.exports = {
VERSION: '1.6.7',
VERSION: '1.6.8',
Shoupai: require('./majiang/shoupai'),
Shan: require('./majiang/shan'),
He: require('./majiang/he'),
Expand Down
3 changes: 2 additions & 1 deletion src/js/majiang/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,8 @@ select_dapai(info) {
info.push({
p: anquan.substr(0,2),
n_xiangting: Majiang.Util.xiangting(
this._shoupai.clone().dapai(anquan))
this._shoupai.clone().dapai(anquan)),
weixian: weixian(anquan)
});
}
}
Expand Down

0 comments on commit 2b4f7ad

Please sign in to comment.