profile
viewpoint

syumai/dem 50

A module version manager for Deno.

denolib/typeorm 46

Forked from https://github.com/typeorm/typeorm

uki00a/carol 7

Build cross-platform desktop apps with Deno and HTML

uki00a/dotfiles 1

vimrc

uki00a/rax-blessed-driver 1

blessed driver for Rax

uki00a/redis-term 1

a terminal client for Redis

uki00a/asdf-deno 0

Deno plugin for asdf version manager

push eventuki00a/deno-redis

uki00a

commit sha 7a89bf315fbf26747307128de0ea2b2c2ebe43dd

bump: deno@v1.2.2 (#134)

view details

push time in 3 days

delete branch uki00a/deno-redis

delete branch : bump@v1.2.2

delete time in 3 days

push eventdenolib/deno-redis

uki00a

commit sha 7a89bf315fbf26747307128de0ea2b2c2ebe43dd

bump: deno@v1.2.2 (#134)

view details

push time in 3 days

PR merged denolib/deno-redis

bump: deno@v1.2.2
+7 -7

0 comment

7 changed files

uki00a

pr closed time in 3 days

PR opened denolib/deno-redis

bump: deno@v1.2.2
+7 -7

0 comment

7 changed files

pr created time in 3 days

create barnchuki00a/deno-redis

branch : bump@v1.2.2

created branch time in 3 days

delete branch denolib/typeorm

delete branch : bump-deno-to-v1.2.2

delete time in 3 days

push eventdenolib/typeorm

uki00a

commit sha 2122ae66107c9550f248c0152da9fd1a39cf76e8

update: bump deno to v1.2.2 and std to v0.63.0 (#104)

view details

push time in 3 days

PR opened denolib/typeorm

update: bump deno to v1.2.2 and std to v0.63.0
+13 -13

0 comment

12 changed files

pr created time in 3 days

create barnchdenolib/typeorm

branch : bump-deno-to-v1.2.2

created branch time in 3 days

issue commentdenolib/deno-redis

Enforce at least one argument in commands

PS) On second thought, I think the current behavior is not wrong :thinking:

Reason 1: There may be a situation where users want to use an array

const keys = collectKeys();
await redis.del(...keys);

Reason 2: Some other clients behave the same way as this module

Fo example, go-redis and redis-cli gives the same error when no key passed:

main.go

package main

import (
    "context"
    "fmt"
    "github.com/go-redis/redis/v8"  
)

var ctx = context.Background()

func main() {
    rdb := redis.NewClient(&redis.Options{
        Addr:     "localhost:6379",
        Password: "",
        DB:       0,
    })
    keysToDelete := []string{}
    n, err := rdb.Del(ctx, keysToDelete...).Result()
    if err != nil {
      fmt.Printf("%v\n", err)
    } else {
      fmt.Printf("%d\n", n)
    }
}
$ go run main.go
ERR wrong number of arguments for 'del' command
tumile

comment created time in 4 days

issue commentdenolib/deno-redis

Enforce at least one argument in commands

node-redis

https://github.com/DefinitelyTyped/DefinitelyTyped/blob/7032a7ec67198833fcbfd18a3cc62db419e0503d/types/redis/index.d.ts#L343

ioredis

https://github.com/DefinitelyTyped/DefinitelyTyped/blob/7032a7ec67198833fcbfd18a3cc62db419e0503d/types/ioredis/index.d.ts#L985

go-redis

https://github.com/go-redis/redis/blob/3fbf7df0144b53a5c5af591df1641527c78b94e6/commands.go#L81

tumile

comment created time in 4 days

issue commentdenolib/deno-redis

Enforce at least one argument in commands

I agree with this change :+1: We haven't reached a major release yet, so I'm open to breaking changes :smile:

tumile

comment created time in 4 days

delete branch denolib/typeorm

delete branch : use-std-hash256-instead-of-x-sha256

delete time in 5 days

push eventdenolib/typeorm

uki00a

commit sha 6c8dc95e0b845f26c56c14d7c5c829525519857b

chore: use std/hash/sha256.ts instead of x/sha256/mod.ts (#102)

view details

push time in 5 days

issue openeddenolib/typeorm

Manage test dependencies with dem

See https://github.com/denolib/typeorm/tree/master/test/deps

created time in 5 days

create barnchdenolib/typeorm

branch : use-std-hash256-instead-of-x-sha256

created branch time in 5 days

delete branch denolib/typeorm

delete branch : support-dotenv

delete time in 5 days

push eventdenolib/typeorm

uki00a

commit sha e594136dbf1f07a86296641760861314c6fcddab

feat: add support for .env (#101)

view details

push time in 5 days

PR merged denolib/typeorm

feat: add support for .env

This PR closes #100.

+26 -8

0 comment

6 changed files

uki00a

pr closed time in 5 days

issue closeddenolib/typeorm

Add support for .env

closed time in 5 days

uki00a

startedpietvanzoen/deno-dotenv

started time in 5 days

PR opened denolib/typeorm

feat: add support for .env

This PR closes #100.

+26 -8

0 comment

6 changed files

pr created time in 5 days

create barnchdenolib/typeorm

branch : support-dotenv

created branch time in 5 days

issue openeddenolib/typeorm

Add support for .env

created time in 5 days

GollumEvent
GollumEvent
GollumEvent

issue openeddenolib/typeorm

Automate generation of typings.ts

The following files should be generated automatically:

created time in 5 days

PR merged denolib/typeorm

fix(#79): stop downloading unnecessary drivers

Closes #79.

+140 -49

0 comment

10 changed files

uki00a

pr closed time in 5 days

push eventdenolib/typeorm

uki00a

commit sha 581c1011790d08b1e7b805d0a00a2e458377bdc4

fix(#79): stop downloading unnecessary drivers (#98)

view details

push time in 5 days

issue closeddenolib/typeorm

Avoid downloading unnecessary drivers

Only deno-sqlite is needed to use SQLiteDriver. Other drivers (e.g. deno-postgres and deno_mysql) should not be downloaded.

closed time in 5 days

uki00a
GollumEvent

push eventdenolib/typeorm

uki00a

commit sha 0047ee73a3d0f6ef31defad22bb88e091ddd73ba

Revert "ci: enable PostgresDriver" This reverts commit c546bd89e4e7baa71036300d9df9a944d33ed957.

view details

push time in 5 days

PR opened denolib/typeorm

fix(#79): stop downloading unnecessary drivers
+143 -52

0 comment

11 changed files

pr created time in 5 days

create barnchdenolib/typeorm

branch : issue-79

created branch time in 5 days

issue commentuki00a/carol

Fix flaky tests

Hi @Regan-Koopmans, thanks for your comments!

is any further work required for this bug?

I'd like to remove error checks in test_util.ts.

https://github.com/uki00a/carol/blob/f89cee23722bf34032896f01f936d39c800c1417/test_util.ts#L35-L36

In order to do that, we'll probably need to add error handling to the following line:

https://github.com/uki00a/carol/blob/f89cee23722bf34032896f01f936d39c800c1417/chrome.ts#L669

uki00a

comment created time in 9 days

issue commentuki00a/carol

Refactor internal code

Hi, @Regan-Koopmans, thanks for your comments!

Do you have any broad plans for refactoring?

I plan to do the following things:

  • (high priority) chrome.ts is messy. I'd like to split this file into separate files (chrome.ts, request.ts, errors.ts, messages.ts, etc.)
  • (low priority) simplify chrome.ts using puppeteer
    • calro, on which this module is based, uses puppeteer to provide more flexibility to users.
uki00a

comment created time in 9 days

delete branch denolib/typeorm

delete branch : fix-not-to-use-in-memory-db

delete time in 10 days

push eventdenolib/typeorm

uki00a

commit sha d7ac16d46d9f1439896c6780079138775e604171

test(sqlite): re-enable the issue-4096 test and stop using in-memory db (#97) This commit closes #13 and #17.

view details

push time in 10 days

issue closeddenolib/typeorm

[sqlite]test/github-issues/4096/issue-4096.ts fails

Issue type:

[ ] question [x] bug report [ ] feature request [ ] documentation issue

Database system/driver:

[ ] cordova [ ] mongodb [ ] mssql [ ] mysql / mariadb [ ] oracle [ ] postgres [ ] cockroachdb [x] sqlite [ ] sqljs [ ] react-native [ ] expo

TypeORM version:

[x] latest [ ] @next [ ] 0.x.x (or put your version here)

Steps to reproduce or a small repository showing the problem:

This bug is introduced by 5cbe0f64ffe4568281f952da3258fcdde5b4a33f.

closed time in 10 days

uki00a

issue closeddenolib/typeorm

[sqlite]tests fail on CI when using SQLiteDriver

Issue type:

[ ] question [x] bug report [ ] feature request [ ] documentation issue

Database system/driver:

[ ] cordova [ ] mongodb [ ] mssql [ ] mysql / mariadb [ ] oracle [ ] postgres [ ] cockroachdb [x] sqlite [ ] sqljs [ ] react-native [ ] expo

TypeORM version:

[x] latest [ ] @next [ ] 0.x.x (or put your version here)

Steps to reproduce or a small repository showing the problem:

Summary

  • This problem does not occur when using the in-memory database (:memory:).
  • This problem does not occur in my local environment.

How to reproduce

ormconfig.gh-actions.json

[
  {
    "skip": false,
    "name": "sqlite",
    "type": "sqlite",
    "database": "temp/sqlite.db",
    "logging": true
  }
]

Logs

query: PRAGMA foreign_keys = OFF;
query: BEGIN TRANSACTION
query: SELECT 'DROP VIEW "' || name || '";' as query FROM "sqlite_master" WHERE "type" = 'view'
query: SELECT 'DROP TABLE "' || name || '";' as query FROM "sqlite_master" WHERE "type" = 'table' AND "name" != 'sqlite_sequence'
query: DROP TABLE "tag";
query: DROP TABLE "image";
query: DROP TABLE "category";
query: DROP TABLE "post";
query: DROP TABLE "category_images_image";
query failed: DROP TABLE "category_images_image";
error: SqliteError: no such table: category_images_image
    at DB._error (https://deno.land/x/sqlite@d451a28e55180730a296a9383cd5dd26155a2c11/src/db.js:252:16)
    at DB.query (https://deno.land/x/sqlite@d451a28e55180730a296a9383cd5dd26155a2c11/src/db.js:112:18)
    at run (SqliteQueryRunner.ts:58:49)
    at SqliteQueryRunner.query (SqliteQueryRunner.ts:69:28)
    at async Promise.all (index function getPromiseIndex() { [native code] })
    at async SqliteQueryRunner.clearDatabase (AbstractSqliteQueryRunner.ts:715:13)
    at async Connection.dropDatabase (Connection.ts:258:13)
    at async Connection.synchronize (Connection.ts:243:13)
    at async Promise.all (index function getPromiseIndex() { [native code] })
query: DROP TABLE "post_categories_category";
query: DROP TABLE "post_subcategories_category";
query: ROLLBACK
query: PRAGMA foreign_keys = ON;
    1) "before each" hook for "should load ids when loadRelationIdAndMap used on ManyToMany inverse side"
  1) query builder > relation-id > many-to-many > basic-functionality
       "before each" hook for "should load ids when loadRelationIdAndMap used on ManyToMany owning side with additional condition":
     QueryFailedError: SqliteError: no such table: category_images_image
      at SqliteQueryRunner.query (SqliteQueryRunner.ts:74:19)
      at async Promise.all (index function getPromiseIndex() { [native code] })
      at async SqliteQueryRunner.clearDatabase (AbstractSqliteQueryRunner.ts:715:13)
      at async Connection.dropDatabase (Connection.ts:258:13)
      at async Connection.synchronize (Connection.ts:243:13)
      at async Promise.all (index function getPromiseIndex() { [native code] })

closed time in 10 days

uki00a

push eventdenolib/typeorm

uki00a

commit sha 66bd165087e6556af74917b12c7e85460fa8b475

Revert "ci: skip MysqlDriver" This reverts commit ed0bcc8f60dd1a961c1a72e48805cf1d9e6801d8.

view details

push time in 10 days

create barnchdenolib/typeorm

branch : fix-not-to-use-in-memory-db

created branch time in 10 days

push eventuki00a/dem

uki00a

commit sha c444db9afc2a472d345b549bb01313c7dde0a822

Update std to v0.60.0

view details

uki00a

commit sha 7278f9ccd714eeffb4135f4b69fee6f6dabf2d4d

Merge pull request #40 from uki00a/bump-deno-to-v1.1.3 Update std to v0.60.0

view details

uki00a

commit sha 2b78afac8cd0edf5e985244fbd24f10b565ea8d4

Run "deno lint" in CI

view details

syumai

commit sha 4645b00ebfcc0e9d11c20475c443df03c17a1f80

Merge pull request #41 from uki00a/run-deno-lint-in-ci Run "deno lint" in CI

view details

syumai

commit sha 2dec4ed486a3b84c2f58f16906f9df4a277f6437

Release 0.9.4

view details

syumai

commit sha 8cfe3e38b7f0098206397c35bcf8e630030f2a8d

Merge branch 'master' into release-0.9.4

view details

syumai

commit sha 62f42ee1614297ce8e014c60a118848420b3e7e8

Fixed fmt

view details

syumai

commit sha ee8a88fbfdcaab1a00d6f5f85c606cece60eaee2

Merge pull request #42 from syumai/release-0.9.4 Release 0.9.4

view details

uki00a

commit sha 179071090227fdc1e4b56751537d65357e158aac

Update deno to v1.2.0 and std to v0.61.0

view details

uki00a

commit sha d32eb6e6941c33651106496bdbc38ce8c5706c58

Merge pull request #43 from uki00a/support-deno-v1.2.0 Update std to v0.61.0

view details

uki00a

commit sha 6a59b5f8d419bddd7170b6adac8124da9566f166

Release 0.9.5

view details

uki00a

commit sha e30bb5506c52587cddb9a39a9be022d9326215f6

Merge pull request #44 from uki00a/release-0.9.5 Release 0.9.5

view details

push time in 10 days

push eventuki00a/deno-redis

Tuan Le

commit sha 29030ab37ad9ccb06a9cce0a987b7a67a89fb99d

ci: use actions-setup-redis (#127)

view details

Tuan Le

commit sha 8a8f2814fe97624b2f4ad560deefe94b881c8430

refactor: Connection and CommandExecutor (#126)

view details

uki00a

commit sha 4ad600278d9c6aeccbbf624eb2593d895ebb9e1c

bump: deno@v1.2.1 (#129)

view details

push time in 10 days

delete branch uki00a/deno-redis

delete branch : bump@1.2.1

delete time in 10 days

push eventdenolib/deno-redis

uki00a

commit sha 4ad600278d9c6aeccbbf624eb2593d895ebb9e1c

bump: deno@v1.2.1 (#129)

view details

push time in 10 days

PR merged denolib/deno-redis

bump: deno@v1.2.1
+7 -7

0 comment

7 changed files

uki00a

pr closed time in 10 days

PR opened denolib/deno-redis

bump: deno@v1.2.1
+7 -7

0 comment

7 changed files

pr created time in 10 days

create barnchuki00a/deno-redis

branch : bump@1.2.1

created branch time in 10 days

delete branch denolib/typeorm

delete branch : remove-dependencies-on-unstable-apis

delete time in 10 days

push eventdenolib/typeorm

uki00a

commit sha f37ea74636c594ba8735b1b27cdc762db8afdc10

fix: make this module independent of the unstable APIs (#96)

view details

push time in 10 days

create barnchdenolib/typeorm

branch : remove-dependencies-on-unstable-apis

created branch time in 10 days

delete branch denolib/typeorm

delete branch : bump-deno-to-v1.2.1

delete time in 10 days

push eventdenolib/typeorm

uki00a

commit sha bff70e800dd503e95e430f5578ed264eb0bb341b

update: bump deno to v1.2.1 and std to v0.62.0 (#95)

view details

push time in 10 days

issue openeddenolib/deno-redis

Support unix domain socket

In Deno, Unix domain socket is still unstable. We'll support it when it becomes stable.

created time in 10 days

PR opened denolib/typeorm

update: bump deno to v1.2.1 and std to v0.62.0
+12 -12

0 comment

10 changed files

pr created time in 10 days

create barnchdenolib/typeorm

branch : bump-deno-to-v1.2.1

created branch time in 10 days

created tagdenolib/typeorm

tagv0.2.23-rc6

Forked from https://github.com/typeorm/typeorm

created time in 11 days

release denolib/typeorm

v0.2.23-rc6

released time in 11 days

delete branch denolib/typeorm

delete branch : release-v0.2.23-rc6

delete time in 11 days

push eventdenolib/typeorm

uki00a

commit sha fad20fa4715f6dbe08e31ec02706a10e5ad788dc

release: v0.2.23-rc6 (#94)

view details

push time in 11 days

PR merged denolib/typeorm

release: v0.2.23-rc6

Closes #77.

+1 -1

0 comment

1 changed file

uki00a

pr closed time in 11 days

issue closeddenolib/typeorm

v0.2.23-rc6

  • [x] Fix the remaining bugs in MysqlDriver (#82)
  • [x] Bump deno-sqlite to v2.2.1 (#88)

closed time in 11 days

uki00a

PR opened denolib/typeorm

release: v0.2.23-rc6
+1 -1

0 comment

1 changed file

pr created time in 11 days

create barnchdenolib/typeorm

branch : release-v0.2.23-rc6

created branch time in 11 days

delete branch denolib/typeorm

delete branch : issue-90

delete time in 11 days

push eventdenolib/typeorm

uki00a

commit sha 59394ea9585db5af99b34bd037a2be29fa225f82

fix(#90): Could not connect to the postgres database when TYPEORM_PORT is set (#92)

view details

push time in 11 days

issue closeddenolib/typeorm

CLI error with postgres: InvalidData: data did not match any variant of untagged enum ArgsEnum

Issue type:

[ ] question [x] bug report [ ] feature request [ ] documentation issue

Database system/driver:

[ ] cordova [ ] mongodb [ ] mssql [ ] mysql / mariadb [ ] oracle [x] postgres [ ] cockroachdb [ ] sqlite [ ] sqljs [ ] react-native [ ] expo

TypeORM version:

[ ] latest [ ] @next [x] 0.2.23-rc5 (or put your version here)

Steps to reproduce or a small repository showing the problem:

  • Install TypeORM CLI
  • Create a project
  • Prepare some PostgresQL test database
  • Set up environment variables:
$ env |grep TYPEORM_
TYPEORM_HOST=localhost
TYPEORM_CONNECTION=postgres
TYPEORM_PORT=5432
TYPEORM_USERNAME=****
TYPEORM_PASSWORD=****
TYPEORM_DATABASE=testdb
TYPEORM_ENTITIES_DIR=src/entities
TYPEORM_MIGRATIONS_DIR=src/migrations
TYPEORM_MIGRATIONS_TABLE_NAME=__typeorm_migrations
TYPEORM_LOGGING=true
TYPEORM_SYNCHRONIZE=false
  • Try running TypeORM CLI commands:
$ typeorm migration:run
Error during migration run:
InvalidData: data did not match any variant of untagged enum ArgsEnum
    at unwrapResponse ($deno$/ops/dispatch_json.ts:42:11)
    at Object.sendAsync ($deno$/ops/dispatch_json.ts:93:10)
    at async Object.connect ($deno$/net.ts:183:11)
    at async Connection.startup (connection.ts:138:17)
    at async Pool._createConnection (pool.ts:32:5)
    at async pool.ts:61:7
    at async Promise.all (index 0)
    at async Pool._startup (pool.ts:63:25)
    at async Pool.connect (pool.ts:85:5)
    at async PostgresDriver.createPool (PostgresDriver.ts:944:28)
$ typeorm migration:show
# Same error
$ typeorm cache:clear
# Same error
  • Now, try changing TYPEORM_CONNECTION to sqlite and run typeorm migration:run again. There'd be no error, with a sqlite db file created.

<!-- To answer those questions you need to put "x" inside the square brackets, for example: [x] mysql [ ] postgres

Also, please format your code properly (by taking code blocks into ```ts .... ```)

!>

closed time in 11 days

quaos

delete branch denolib/typeorm

delete branch : update-issue-template

delete time in 11 days

push eventdenolib/typeorm

uki00a

commit sha a8cf0d402ab5f3191d3e35d200872da611df042b

chore: update ISSUE_TEMPLATE.md (#93)

view details

push time in 11 days

PR merged denolib/typeorm

chore: update ISSUE_TEMPLATE.md
+4 -0

0 comment

1 changed file

uki00a

pr closed time in 11 days

PR opened denolib/typeorm

chore: update ISSUE_TEMPLATE.md
+4 -0

0 comment

1 changed file

pr created time in 11 days

create barnchdenolib/typeorm

branch : update-issue-template

created branch time in 11 days

push eventdenolib/typeorm

uki00a

commit sha d94602cab21f0fbaf896af8242f44faf8b21f729

reset CI

view details

push time in 11 days

push eventdenolib/typeorm

uki00a

commit sha 5dbbfd3de63d0c64fba32280c74236fd74637768

ci: fix

view details

push time in 11 days

push eventdenolib/typeorm

uki00a

commit sha e36d7d3803453d134db9695ef28c76116733692c

fix test

view details

push time in 11 days

PR opened denolib/typeorm

Issue 90

Closes #90.

+66 -4

0 comment

5 changed files

pr created time in 11 days

GollumEvent

create barnchdenolib/typeorm

branch : issue-90

created branch time in 11 days

delete branch denolib/typeorm

delete branch : fix-installation-url

delete time in 11 days

push eventdenolib/typeorm

uki00a

commit sha 6c4f5b76055f4cf95f74fa33d7bdd77a0ab70149

docs: fix installation URL (#91)

view details

push time in 11 days

PR merged denolib/typeorm

docs: fix installation URL
+1 -1

0 comment

1 changed file

uki00a

pr closed time in 11 days

issue commentdenolib/typeorm

CLI error with postgres: InvalidData: data did not match any variant of untagged enum ArgsEnum

Thanks for opening this issue! I was able to reproduce the same issue. I'll look into it.

quaos

comment created time in 11 days

PR opened denolib/typeorm

docs: fix installation URL
+1 -1

0 comment

1 changed file

pr created time in 11 days

create barnchdenolib/typeorm

branch : fix-installation-url

created branch time in 11 days

startedDhghomon/easy_rust

started time in 11 days

starteddenosaurs/ddoc

started time in 12 days

more