Skip to content

Commit

Permalink
fix release workflow fail and rm typedoc-plugin-markdown
Browse files Browse the repository at this point in the history
* fix

* rm typedoc-plugin-markdown
  • Loading branch information
Gioee authored Dec 6, 2024
1 parent 89de5cd commit 0d60814
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 20 deletions.
Binary file modified bun.lockb
Binary file not shown.
18 changes: 2 additions & 16 deletions package-lock.json

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

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sqlitecloud/drivers",
"version": "1.0.339",
"version": "1.0.340",
"description": "SQLiteCloud drivers for Typescript/Javascript in edge, web and node clients",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
Expand Down Expand Up @@ -76,7 +76,6 @@
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"typedoc": "0.27.3",
"typedoc-plugin-markdown": "4.3.1",
"typescript": "^5.7.2",
"webpack": "^5.91.0",
"webpack-cli": "^5.1.4"
Expand Down
4 changes: 2 additions & 2 deletions test/1brc.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ async function testChallenge(numberOfRows: number, insertChunks = BRC_INSERT_CHU

if (dataChunk.length === insertChunks || rowCount + 1 === numberOfRows) {
const insertOn = Date.now()
const values = dataChunk.map(({ city, temp }) => `('${city.replaceAll("'", "''")}', ${temp})`).join(',\n')
const values = dataChunk.map(({ city, temp }) => `('${city.replace(/'/g, "''")}', ${temp})`).join(',\n')
const insertSql = `INSERT INTO measurements (city, temp) VALUES \n${values};`

// insert values into database
Expand Down Expand Up @@ -203,7 +203,7 @@ async function testChallenge(numberOfRows: number, insertChunks = BRC_INSERT_CHU
fs.writeFileSync(selectCsvPathname, selectCsv)
} catch (error) {
console.error(`Error: ${error}`)
if (numberOfRows < 500000 ) {
if (numberOfRows < 500000) {
throw error
}
} finally {
Expand Down

0 comments on commit 0d60814

Please sign in to comment.