Can not be uglify
オープン
まだ誰も着手していません。
- 主要言語
- JavaScript
- スター
- 13.7k
- フォーク
- 1.1k
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
It's working without UglifyJS2. But after uglify, I got an error Error: not an error at selet query line . Is sql.js can't be compressed?
Origin Code
let db = new SQLjs.Database()
try {
db.run("CREATE TABLE products_2 (product_id int, name char, origin_price int);")
console.log('getRowsModified()', db.getRowsModified())
db.each("SELECT * FROM products_2", [], (row) => {
console.log('tables', row)
})
}catch(err) {
console.log('err', err)
}
after compressed
var t=new a.default.Database;try{t.run("CREATE TABLE products_2 (product_id int, name char, origin_price int);"),console.log("getRowsModified()",t.getRowsModified()),t.each("SELECT * FROM products_2",[],function(e){console.log("tables",e)})}catch(e){console.log("err",e)}
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Start by reproducing the uncompressed and UglifyJS2-compressed snippets using SQLjs.Database, then compare the failure at the SELECT query and the reported “Error: not an error” message. Done means the compressed example runs the SELECT without error and the behavior is documented or covered by an appropriate regression check.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- databases
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100