profile
viewpoint

denolib/typeorm 7

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

uki00a/dotfiles 1

vimrc

uki00a/rax-blessed-driver 1

blessed driver for Rax

uki00a/chatwork-term 0

A terminal client for ChatWork

uki00a/codesandbox-react-tutorial 0

Created with CodeSandbox

uki00a/dem 0

A simple module version manager for Deno.

uki00a/deno 0

A secure JavaScript and TypeScript runtime

push eventuki00a/deno

uki00a

commit sha ac95cd1d95eb3f1514b2160ad85dc01f55eb9fb0

fmt

view details

push time in 13 hours

push eventuki00a/deno

uki00a

commit sha 5235df39deff987f780a0803093f7953fefa77d4

fix: add a test that verifies the issue has been fixed

view details

push time in 13 hours

PR opened denoland/deno

fix(#4521): BufReader should not share the internal buffer across reads

This PR resolves #4521.

+25 -1

0 comment

2 changed files

pr created time in 14 hours

create barnchuki00a/deno

branch : issue-4521

created branch time in 14 hours

pull request commentdenoland/deno

fix(std/encoding/csv): enable skipped tests

@ry @kitsonk Thanks for the review!

uki00a

comment created time in 14 hours

delete branch uki00a/deno

delete branch : enable-skipped-tests-for-csv

delete time in 14 hours

push eventuki00a/deno

Chris Knight

commit sha e88dcdc5e15fe4bc20b45e59d22fe993a6073da7

API doc improvments (#4525)

view details

Niklas Eicker

commit sha 92f1c71a6fde3701224f213f48e14776f9f8adee

doc: Fix some typos and improve a few sentences in the std manual (#4522)

view details

Luca Casonato

commit sha d795d3436246b609c572921ea4511fbde37f0ff3

fix(doc): Safely deal with optional type (#4526)

view details

Kitson Kelly

commit sha 7670a13f8a036589f200296693957e4e24ef769a

feat: Add common to std/path (#4527)

view details

uki00a

commit sha a98512af9a123b77332f0e7a75cfce753b7189bc

fix(std/encoding/csv): enable skipped tests (#4520)

view details

Michał Sabiniarz

commit sha 4b71ac550ea964e9c647dbb6bd9879bc06357255

console: iterable printing improvements (#4472) 1. Array elements are now grouped the same as in Node.js 2. Limit to 100 (Node.js default) elements to display in iterable 3. Print each element in new line if excessing max line length (same as in Node.js) 4. Print length of the TypedArray 5. Print information about empty items in Array

view details

Andres Villegas

commit sha 3892d49165f00b2ce078825c204ba8ceaa21f386

fix: Add check to fail the benchmark test on server error (#4519)

view details

Michał Sabiniarz

commit sha 30fdf6dc83d3a9d44436528959c39d3eab14cbbb

console: print promise details (#4524)

view details

dubiousjim

commit sha bdcb926b37d9ac79b58c66b418a9c37fa746eeb7

Fix umask test (#4533)

view details

Ondřej Žára

commit sha a86b07f2df20b6436291d77d9636061ede0b6c8e

used native padStart/End where possible (#4537)

view details

push time in 15 hours

push eventuki00a/deno

uki00a

commit sha daa132115eceeced4399ea3f2b5473847aae137c

fix: remove lengthNL function

view details

uki00a

commit sha 6c8345733ccd32ca2eb53e21c1b4c8f124ad649c

fix: constant names

view details

push time in 2 days

Pull request review commentdenoland/deno

fix(std/encoding/csv): enable skipped tests

 function chkOptions(opt: ReadOptions): void {     (typeof opt.comment === "string" && INVALID_RUNE.includes(opt.comment)) ||     opt.comma === opt.comment   ) {-    throw new Error("Invalid Delimiter");+    throw new Error(ErrInvalidDelim);   } } -async function read(+async function readRecord(   Startline: number,   reader: BufReader,   opt: ReadOptions = { comma: ",", trimLeadingSpace: false } ): Promise<string[] | Deno.EOF> {   const tp = new TextProtoReader(reader);-  let line: string;-  let result: string[] = [];   const lineIndex = Startline;+  let line = await readLine(tp); -  const r = await tp.readLine();-  if (r === Deno.EOF) return Deno.EOF;-  line = r;-  // Normalize \r\n to \n on all input lines.-  if (-    line.length >= 2 &&-    line[line.length - 2] === "\r" &&-    line[line.length - 1] === "\n"-  ) {-    line = line.substring(0, line.length - 2);-    line = line + "\n";-  }--  const trimmedLine = line.trimLeft();-  if (trimmedLine.length === 0) {+  if (line === Deno.EOF) return Deno.EOF;+  if (line.length === 0) {     return [];   }-   // line starting with comment character is ignored-  if (opt.comment && trimmedLine[0] === opt.comment) {+  if (opt.comment && line[0] === opt.comment) {     return [];   }    assert(opt.comma != null);-  result = line.split(opt.comma); -  let quoteError = false;-  result = result.map((r): string => {+  let quoteError: string | null = null;+  const quote = '"';+  const quoteLen = quote.length;+  const commaLen = opt.comma.length;+  let recordBuffer = "";+  const fieldIndexes = [] as number[];+  parseField: for (;;) {     if (opt.trimLeadingSpace) {-      r = r.trimLeft();-    }-    if (r[0] === '"' && r[r.length - 1] === '"') {-      r = r.substring(1, r.length - 1);-    } else if (r[0] === '"') {-      r = r.substring(1, r.length);+      line = line.trimLeft();     } -    if (!opt.lazyQuotes) {-      if (r[0] !== '"' && r.indexOf('"') !== -1) {-        quoteError = true;+    if (line.length === 0 || !line.startsWith(quote)) {+      // Non-quoted string field+      const i = line.indexOf(opt.comma);+      let field = line;+      if (i >= 0) {+        field = field.substring(0, i);+      } else {+        field = field.substring(0, field.length - lengthNL(field));+      }+      // Check to make sure a quote does not appear in field.+      if (!opt.lazyQuotes) {+        const j = field.indexOf(quote);+        if (j >= 0) {+          quoteError = ErrBareQuote;+          break parseField;+        }+      }+      recordBuffer += field;+      fieldIndexes.push(recordBuffer.length);+      if (i >= 0) {+        line = line.substring(i + commaLen);+        continue parseField;+      }+      break parseField;+    } else {+      // Quoted string field+      line = line.substring(quoteLen);+      for (;;) {+        const i = line.indexOf(quote);+        if (i >= 0) {+          // Hit next quote.+          recordBuffer += line.substring(0, i);+          line = line.substring(i + quoteLen);+          if (line.startsWith(quote)) {+            // `""` sequence (append quote).+            recordBuffer += quote;+            line = line.substring(quoteLen);+          } else if (line.startsWith(opt.comma)) {+            // `","` sequence (end of field).+            line = line.substring(commaLen);+            fieldIndexes.push(recordBuffer.length);+            continue parseField;+          } else if (lengthNL(line) === line.length) {+            // `"\n` sequence (end of line).+            fieldIndexes.push(recordBuffer.length);+            break parseField;+          } else if (opt.lazyQuotes) {+            // `"` sequence (bare quote).+            recordBuffer += quote;+          } else {+            // `"*` sequence (invalid non-escaped quote).+            quoteError = ErrQuote;+            break parseField;+          }+        } else if (line.length > 0 || !(await isEOF(tp))) {+          // Hit end of line (copy all data so far).+          recordBuffer += line;+          const r = await readLine(tp);+          if (r === Deno.EOF) {+            if (!opt.lazyQuotes) {+              quoteError = ErrQuote;+              break parseField;+            }+            fieldIndexes.push(recordBuffer.length);+            break parseField;+          }+          recordBuffer += "\n"; // preserve line feed (This is because TextProtoReader removes it.)+          line = r;+        } else {+          // Abrupt end of file (EOF on error).+          if (!opt.lazyQuotes) {+            quoteError = ErrQuote;+            break parseField;+          }+          fieldIndexes.push(recordBuffer.length);+          break parseField;+        }       }     }-    return r;-  });+  }   if (quoteError) {-    throw new ParseError(Startline, lineIndex, 'bare " in non-quoted-field');+    throw new ParseError(Startline, lineIndex, quoteError);+  }+  const result = [] as string[];+  let preIdx = 0;+  for (const i of fieldIndexes) {+    result.push(recordBuffer.slice(preIdx, i));+    preIdx = i;   }   return result; } +async function isEOF(tp: TextProtoReader): Promise<boolean> {+  return (await tp.r.peek(0)) === Deno.EOF;+}++async function readLine(tp: TextProtoReader): Promise<string | Deno.EOF> {+  let line: string;+  const r = await tp.readLine();+  if (r === Deno.EOF) return Deno.EOF;+  line = r;++  // For backwards compatibility, drop trailing \r before EOF.+  if ((await isEOF(tp)) && line.length > 0 && line[line.length - 1] === "\r") {+    line = line.substring(0, line.length - 1);+  }++  // Normalize \r\n to \n on all input lines.+  if (+    line.length >= 2 &&+    line[line.length - 2] === "\r" &&+    line[line.length - 1] === "\n"+  ) {+    line = line.substring(0, line.length - 2);+    line = line + "\n";+  }++  return line;+}++function lengthNL(s: string): number {+  if (s.length > 0 && s[s.length - 1] === "\n") {+    return 1;+  }+  return 0;

I tought about it well.

In the original Go's csv module, the lengthNL function is used for counting trailing \n.

However, Deno's TextProtoReader.readLine returns a single line without trailing \r\n and \n.

So we can simply remove lengthNL function and simplify conditional checks as follows:


https://github.com/denoland/deno/pull/4520/files#diff-129e29636adf93e67856596174b2f486R136-R140

Before:

          } else if (lengthNL(line) === line.length) {
            // `"\n` sequence (end of line).
            fieldIndexes.push(recordBuffer.length);
            break parseField;
          } else if (opt.lazyQuotes) {

After:

          } else if (0 === line.length) {
            // `"\n` sequence (end of line).
            fieldIndexes.push(recordBuffer.length);
            break parseField;
          } else if (opt.lazyQuotes) {
uki00a

comment created time in 3 days

push eventuki00a/deno

uki00a

commit sha 7201a8dfa6082758240ce0da4cb488cc08b5a230

fix: remove console.log

view details

uki00a

commit sha 691e8e27db0f22a30b9b233f5986b31b0970282e

fix: fmt

view details

uki00a

commit sha 4166c109944c11397c83dcea6f037688819b5df0

fix: rename read to reacRecord

view details

uki00a

commit sha 1208fe1e2bbc746683aee13ff18a1de27b2457db

fix: copyright headers

view details

uki00a

commit sha f39562d0ab87e5afca71683b6abe0bd43b28309f

fix: add TODO comment

view details

uki00a

commit sha de9449333bcd4889e57d8964f42219ecbd4d7ca2

fix

view details

push time in 3 days

issue openeddenoland/deno

TextProtoReader.readLine (probably) returns a wrong result if the line is too long

When working on PR #4520, I noticed that the following test fails:

Deno.test(async function readHugeLine() {
  const repeatCount = 5000;
  const input = "@".repeat(repeatCount) + "," + "*".repeat(repeatCount);
  const reader = new TextProtoReader(new BufReader(new StringReader(input)));
  const out = await reader.readLine();
  assertEquals(out, input);
});

created time in 3 days

push eventuki00a/deno

uki00a

commit sha 600dace3b4e349b3bf60a915ae76f97f7064a5cf

fix: lint

view details

push time in 3 days

PR opened denoland/deno

fix(std/encoding/csv): enable skipped tests
+254 -165

0 comment

2 changed files

pr created time in 3 days

create barnchuki00a/deno

branch : enable-skipped-tests-for-csv

created branch time in 3 days

push eventuki00a/deno

Ryan Dahl

commit sha 5837ce464c3283dc13f7bec237902b8c637f462d

upgrade: rusty_v8 to v0.3.9 (#4505)

view details

Kitson Kelly

commit sha 1397b8e0e7c85762e19d88fde103342bfa563360

upgrade: dprint 0.9.6 (#4509)

view details

Kitson Kelly

commit sha bced52505f32d6cca4f944bb610a8a26767908a8

Update to Prettier 2 and use ES Private Fields (#4498)

view details

Bartek Iwańczuk

commit sha 3fac487461abf055165fe0e2bb962573950277b8

feat: Add "deno doc" subcommand (#4500)

view details

Ryan Dahl

commit sha d6cb3892d48209fdb9c5196bb444e33a82bd3724

v0.38.0

view details

Luca Casonato

commit sha ad198b1cf175a1b88a6f698510bb0122e569f3ac

feat: Added colors to doc output (#4518)

view details

Kevin (Kun) "Kassimo" Qian

commit sha 2f7842246ecce1d69e13144931fd3b6417f4fdb0

fix(inspector): proper error message on port collision (#4514)

view details

Ryan Dahl

commit sha 6ae47449ec68b3353ef74fa232b1c1ff5b608773

Ignore flaky test cafile_info (#4517) Ref #4512

view details

push time in 3 days

issue openeddenolib/typeorm

Bump Deno to v0.38.0

created time in 3 days

issue openeddenolib/typeorm

dynamic import should be restricted to the local filesystem

  • denolib/typeorm@v0.22.3-rc1

deps.ts

import * as typeorm from "https://denolib.com/denolib/typeorm@v0.2.23-rc1/mod.ts";
import * as dinatra from "https://denopkg.com/syumai/dinatra@0.9.0/mod.ts";
export * as path from "https://deno.land/std@v0.37.1/path/mod.ts";

export { typeorm, dinatra };

ormconfig.ts

import { typeorm, path } from "./deps.ts";

export default {
   "type": "postgres",
   "host": "localhost",
   "port": 5432,
   "username": "postgres",
   "password": "postgres",
   "database": "typeorm-dinatra-example",
   "synchronize": false,
   "logging": ["info"],
   "entities": [
     path.resolve("./db/schema/*.ts"),
   ],
   "migrations": [
     path.resolve("./db/migration/*.ts")
   ],
   "cli": {
     "entitiesDir": path.resolve("./entity"),
     "migrationsDir": path.resolve("./db/migration"),
     "subscribersDir": path.resolve("./db/subscriber")
   }
} as typeorm.ConnectionOptions;

mod.ts

import {typeorm} from "./deps.ts";
import ormconfig from "./ormconfig.ts";

try {
  const connection = await typeorm.createConnection(ormconfig);
  await connection.synchronize();
} catch (err) {
  console.error(err);
}

db/schema/post.ts

import { typeorm } from "../../deps.ts";
import { Post } from "../../entity/Post.ts";

export default new typeorm.EntitySchema<Post>({
  target: Post,
  name: "posts",
  columns: {
    id: {
      type: Number,
      primary: true,
      generated: true
    },
    title: {
      type: "text",
      nullable: false
    },
    text: {
      type: "text",
      nullable: false
    }
  }
});

db/schema/category.ts

import { typeorm } from "../../deps.ts";
import { Category } from "../../entity/Category.ts";

export default new typeorm.EntitySchema<Category>({
  target: Category,
  name: "categories",
  columns: {
    id: {
      type: Number,
      primary: true,
      generated: true
    },
    name: {
      type: "text",
      nullable: false
    }
  }
});

When running mod.ts, this module tries to download entities from the https://denolib.com :cry:

$ deno run --allow-net --allow-read ./mod.ts
Download https://denolib.com/home/uki00a/work/typeorm-dinatra-example/db/schema/category.ts
Download https://denolib.com/home/uki00a/work/typeorm-dinatra-example/db/schema/post.ts
...

created time in 3 days

create barnchdenolib/typeorm

branch : fix-dynamic-import-bug

created branch time in 3 days

push eventuki00a/typeorm-dinatra-example

uki00a

commit sha ae155def8deecfedba3078f53a127513a5b40a5b

chore: add deps.ts

view details

push time in 4 days

create barnchuki00a/typeorm-dinatra-example

branch : master

created branch time in 4 days

created repositoryuki00a/typeorm-dinatra-example

created time in 4 days

created tagdenolib/typeorm

tagv0.2.23-rc1

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

created time in 4 days

release denolib/typeorm

v0.2.23-rc1

released time in 4 days

delete branch denolib/typeorm

delete branch : bump-deno-to-v0.37.1

delete time in 4 days

push eventdenolib/typeorm

uki00a

commit sha 119bb9d53fb2181db096d559bd87f385c82045c1

fix: bump Deno to v0.37.1 (#35)

view details

push time in 4 days

PR merged denolib/typeorm

fix: bump Deno to v0.37.1

Closes #30.

+7 -7

0 comment

7 changed files

uki00a

pr closed time in 4 days

issue closeddenolib/typeorm

Bump deno to v0.37.1

closed time in 4 days

uki00a

push eventdenolib/typeorm

uki00a

commit sha 3e95a8d73675afeea6d99715b93e31e1d2253634

ci: bump Deno to v0.37.1

view details

push time in 4 days

PR opened denolib/typeorm

fix: bump Deno to v0.37.1
+6 -6

0 comment

6 changed files

pr created time in 4 days

create barnchdenolib/typeorm

branch : bump-deno-to-v0.37.1

created branch time in 4 days

delete branch denolib/typeorm

delete branch : support-ormconfig-json

delete time in 4 days

push eventdenolib/typeorm

uki00a

commit sha 32da7d731c979fb2c384f60c7a7adf6399d44710

fix: support ormconfig as json format (#34)

view details

push time in 4 days

PR opened denolib/typeorm

fix: support ormconfig as json format
+1 -1

0 comment

1 changed file

pr created time in 4 days

create barnchdenolib/typeorm

branch : support-ormconfig-json

created branch time in 4 days

delete branch denolib/typeorm

delete branch : port-cli-to-deno

delete time in 4 days

push eventdenolib/typeorm

uki00a

commit sha abf4bab727c12a2624befde7f92bbb80e58df870

fix: port cli to deno (#29)

view details

push time in 4 days

PR merged denolib/typeorm

fix: port cli to deno

Closes #33.

  • [x] Add tests for CliBuilder
  • [x] Add cli.ts
+508 -485

0 comment

28 changed files

uki00a

pr closed time in 4 days

issue closeddenolib/typeorm

Port cli to Deno

closed time in 4 days

uki00a

push eventdenolib/typeorm

uki00a

commit sha 542049e345cd97de62c84fc1ebff43ac5a338e12

fix: add cli.ts and mod.ts

view details

uki00a

commit sha 6354f90650818cc008f5503567c6c28e81edfb9f

fix: port CacheClearCommand

view details

uki00a

commit sha 4645f394e208fb362eeac2a0841d7932b3c1e70f

fix: port SchemaSyncCommand

view details

uki00a

commit sha dcfb5391e451746c52387c6f04c0e10ae872fdff

fix: port SchemaDropCommand

view details

uki00a

commit sha 07521d6a586a60091ab441a66185e09f18a6f510

fix: port SchemaLogCommand

view details

uki00a

commit sha 92e8a0a184a3cad47cfa4447205ca913cad04a17

fix: port EntityCreateCommand

view details

uki00a

commit sha 53f9104b9001c1d696de158c5cfe9bdb76be615d

fix: port MigrationCreateCommand

view details

uki00a

commit sha 5ad1be101a3f0388c21f83ae7ab662f420f72413

fix: port MigrationRunCommand

view details

uki00a

commit sha e8765d9b69f7fb59a1dc74b478515eb19097fbee

fix: port MigrationRevertCommand

view details

uki00a

commit sha eec29584fe494c352004de802432601ac9ef420d

fix: port MigrationShowCommand

view details

uki00a

commit sha 42ed12479b20a214ddd60ba995569e73cb73c60c

fix: port SubscriberCreateCommand

view details

uki00a

commit sha e874d70c6bb5de9ce7f5c37c52a6bd5ae8051f1d

fix: port MigrationGenerateCommand

view details

uki00a

commit sha 7cc28fa4ac13cc1348c05fabdea68644d2ba999c

fix: port VersionCommand

view details

uki00a

commit sha 680141b510a54309ba49270c6b1bc40dd78f1618

fix: port InitCommand

view details

uki00a

commit sha bd099ffa429f4e462208f9748f452386e1103405

fix: cli

view details

uki00a

commit sha a2d14d121ef12e563679c9c33f2aeb4db68f9b8e

fix: README.md

view details

push time in 4 days

push eventuki00a/deno

uki00a

commit sha 07ea145ec4d1defe4481035432bb63234560ba8d

re-enable a test (#4461)

view details

Yusuke Sakurai

commit sha c337d2c4349abd710b1ab0d4de3f1041cd02715c

clean up textproto code in std (#4458) - moved and renamed append() into bytes from ws and textproto - renamed textproto/readder_tests.ts -> textproto/test.ts

view details

Ryan Dahl

commit sha 3e74309798513c5238cef9aa1c6907c1173fec49

ci: releases should all use zip and LLVM target triples (#4460) Old release files are left around until we are able to update deno_install.

view details

Chris Knight

commit sha a0ba476feef9dcc1b3bbd5144d2e48ef5053ee09

doc: API improvements to chown, close, compile and connect (#4463)

view details

bartOssh

commit sha ec0738606753b34525988fd9f58a23cb300b7bc0

feat: first pass at "deno upgrade" (#4328)

view details

Ryan Dahl

commit sha d143fe61bc61030c0874c091aa0dd8bf5141b5fa

v0.37.0

view details

Bert Belder

commit sha 449dbe5272aef429067abe3226d30f640fd3bac3

Statically link the C runtime library on Windows (#4469)

view details

Ryan Dahl

commit sha b924e5ab7e69eab4d3b6d9a863a8fc2974f33b5d

v0.37.1

view details

João Souto

commit sha 70a50344315a4c3361fc321e78e076fb09a502b3

feat: Support Unix Domain Sockets (#4176)

view details

Kevin (Kun) "Kassimo" Qian

commit sha c61a231ff40c027af2df9b303b834535c6407a38

remove extra dot in Permission request output (#4471)

view details

Michał Sabiniarz

commit sha 2e5e5fe393059091ed3b69a484c89aa144046a4a

console: replace object abbreviation with line breaking (#4425)

view details

uki00a

commit sha b2478f3a217d5decbb638bf46e169ee58f17adad

docs: update manual about how to run tests for std (#4462)

view details

Bartek Iwańczuk

commit sha 30bcf6a2ea620aa989a7362e7f4a62fc11743bb4

Revert "avoid using same port number for test (#4147)" Ref #4467 This reverts commit 60cee4f045778777a16b6fffd6d5b9a1400d7246.

view details

Yusuke Sakurai

commit sha 07fc95aceee950316500cf2d770317b6e993356e

feat: add queueMicrotask to d.ts (#4477)

view details

Kevin (Kun) "Kassimo" Qian

commit sha addfdc4cd0ffa0e0f6b284379c8873a202af7d5b

fix: add fsEvent notify::Error casts (#4488)

view details

Kevin (Kun) "Kassimo" Qian

commit sha 3d228f5f9ec729d1b027588ccf36987c82f53516

hide source line if error message longer than 150 chars (#4487)

view details

Chris Knight

commit sha eeedb416c098c50a05292cbbd8135b7050a5ce0e

doc: improve various API docs and include examples (#4486)

view details

Kevin (Kun) "Kassimo" Qian

commit sha 3938071e91e7c3dcf7b4e727601e1e99005aceab

errors: replace .lines with explicit .split newline (#4483)

view details

Kevin (Kun) "Kassimo" Qian

commit sha 5d7bcf86fdb2bfcee0bfac24aeb7aeecb8b3faca

feat: window.close() (#4474)

view details

Ryan Dahl

commit sha fd432e234691cfc660028f4873eef9c3bf70acee

upgrade: dprint 0.9.5 (#4491)

view details

push time in 4 days

startedmattn/golisp

started time in 4 days

push eventdenolib/typeorm

uki00a

commit sha 76b1db2d97adb6a26fcae114cf1acf0d527d0b2c

fix: port QueryCommand to Deno

view details

push time in 6 days

issue openeddenolib/typeorm

Port cli to Deno

created time in 6 days

issue openeddenolib/typeorm

Merge tag typeorm/0.2.23 into this repository

See: https://github.com/typeorm/typeorm/tree/0.2.23

created time in 6 days

push eventdenolib/typeorm

uki00a

commit sha bd6528593b66ba7f4825e7ba9bf92d4e5c14a2cc

fix: add tests

view details

push time in 6 days

issue commentdenoland/deno

Deno fmt should ignore the node_modules directory?

I'm sorry for late reply and thanks for many comments!

First of all, I was trying to use npm modules with Node polyfill (e.g. like this: https://github.com/davidbailey00/deno-babel-demo).

When I run deno fmt at that time, I noticed that more files are formatted than expected.

So I think it would be useful to have a way to ignore certain files :smile:

uki00a

comment created time in 7 days

delete branch uki00a/deno

delete branch : how-to-run-tests-for-std

delete time in 7 days

starteddavidbailey00/deno-babel-demo

started time in 8 days

push eventuki00a/deno

uki00a

commit sha cd4a845d06b74a7e848bafc58ace678e3f88c9db

fix: review point

view details

push time in 8 days

issue openeddenolib/typeorm

Bump deno to v0.37.0

created time in 8 days

PR opened denolib/typeorm

fix: port cli to deno
+76 -1

0 comment

3 changed files

pr created time in 8 days

create barnchdenolib/typeorm

branch : port-cli-to-deno

created branch time in 8 days

push eventuki00a/deno

uki00a

commit sha 11dceeedf19ece64a946ed0838172efc48da5bac

fix review point

view details

push time in 8 days

push eventdenolib/typeorm

uki00a

commit sha 04ad1285cf585b28cc8e23f22c423c73b3efc9cd

fix: enable TS strict mode (#28)

view details

push time in 8 days

delete branch denolib/typeorm

delete branch : enable-strict-mode

delete time in 8 days

PR merged denolib/typeorm

fix: enable TS strict mode

script.ts

import { expandGlob } from "https://deno.land/std@v0.36.0/fs/expand_glob.ts";

const [pattern] = Deno.args;
const encoder = new TextEncoder();
const decoder = new TextDecoder();
for await (const entry of expandGlob(pattern)) {
  const content = decoder.decode(await Deno.readFile(entry.filename));
  const replaced = content.replace(/^(.*)(\s+\w+):(\s*.+\s*)?;?$/gm, (match, $1, $2, $3) => {
      if ($3.includes('=')) {
        return match;
      } else {
        return `${$1}${$2}!:${$3}`;
      }
  });
  await Deno.writeFile(entry.filename, encoder.encode(replaced));
}
$ deno run --allow-read --allow-write ./script.ts '/<path>/<to>/<repository>/test/**/entity/*.ts'
$ deno run --allow-read --allow-write ./script.ts '/<path>/<to>/<repository>/test/**/entities/*.ts'
+4261 -4265

0 comment

984 changed files

uki00a

pr closed time in 8 days

delete branch uki00a/deno

delete branch : re-enable-curl-example-test

delete time in 8 days

pull request commentdenoland/deno

docs: update manual about how to run tests for std

@ry

cd std && cargo run -- test -A and cargo test std are not exactly the same.

When running cargo test std, some integration tests that include std in the name are also run.

$  cargo test std
    Finished test [unoptimized + debuginfo] target(s) in 0.12s
     Running target/debug/deps/deno-fd719d619b8bb339

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 202 filtered out

     Running target/debug/deps/deno-e3b2d9b2984f60aa

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out

     Running target/debug/deps/integration_tests-cc919576e0cf58fb

running 6 tests
test fmt_stdin_error ... ok
test fmt_stdin ... ok
test fmt_stdin_check_not_formatted ... ok
test fmt_stdin_check_formatted ... ok
test unbuffered_stdout ... ok
test unbuffered_stderr ... ok

test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 170 filtered out

     Running target/debug/deps/std_tests-052076291d27cef0

running 1 test
Compile file:///home/tanaka/projects/deno/deno/std/.deno.test.ts
vkk5k
test tests::std_tests ... test tests::std_tests has been running for over 60 seconds

running 809 tests
test ioStringWriter ... ok (3ms)
test [io/tuil] copyBytes ... ok (2ms)
...
uki00a

comment created time in 8 days

create barnchuki00a/deno

branch : how-to-run-tests-for-std

created branch time in 10 days

PR opened denoland/deno

fix(std/examples/curl): re-enable a test
+3 -5

0 comment

1 changed file

pr created time in 10 days

push eventuki00a/deno

uki00a

commit sha 848e68870344d96feccb56d04e1bda4dbaea8222

fix(std/examples/curl): re-enable a test

view details

push time in 10 days

create barnchuki00a/deno

branch : re-enable-curl-example-test

created branch time in 10 days

push eventdenolib/typeorm

uki00a

commit sha 678aba14d529775f02073868218d5d9c73107074

fix: test codes

view details

push time in 10 days

startedts-llvm/ts-llvm

started time in 10 days

create barnchuki00a/deno

branch : skip-node-modules-when-running-deno-fmt

created branch time in 10 days

issue openeddenoland/deno

Deno fmt should ignore the node_modules directory?

  • Deno: v0.36.0

When running deno fmt without arguments, files in the node_modules directory are formatted.

$ yarn list
yarn list v1.21.1
└─ ansi-regex@5.0.0
Done in 0.08s.

$ find .
.
./node_modules
./node_modules/.yarn-integrity
./node_modules/ansi-regex
./node_modules/ansi-regex/index.js
./node_modules/ansi-regex/license
./node_modules/ansi-regex/package.json
./node_modules/ansi-regex/readme.md
./node_modules/ansi-regex/index.d.ts
./package.json
./yarn.lock

$ deno fmt --check
Found 1 not formatted file

$ deno fmt
/home/uki00a/work/denofmt-test/node_modules/ansi-regex/index.js

created time in 10 days

fork uki00a/deno

A secure JavaScript and TypeScript runtime

https://deno.land/

fork in 10 days

push eventdenolib/typeorm

uki00a

commit sha b14fee64a40d049dd15a87b5a37bf3220272edc1

fix: re-enable experimentalDecorators

view details

push time in 10 days

push eventdenolib/typeorm

uki00a

commit sha 0637a9b519c2c6c253c711976170e666d6466c16

update: bump sha256 to v1.0.2

view details

push time in 10 days

fork uki00a/sha256

SHA2-256 4 Deno

fork in 10 days

PR opened denolib/typeorm

fix: enable TS strict mode
+113 -117

0 comment

41 changed files

pr created time in 10 days

create barnchdenolib/typeorm

branch : enable-strict-mode

created branch time in 10 days

startedameerthehacker/cli-spinners

started time in 11 days

startedsiokas/denomander

started time in 11 days

startedcacjs/cac

started time in 11 days

delete branch uki00a/deno-sqlite

delete branch : run-deno-fmt-in-ci

delete time in 11 days

created taguki00a/yargs-parser

tagv18.1.2-rc3

A fork of the original yargs-parser library targeting Deno.

created time in 11 days

release uki00a/yargs-parser

v18.1.2-rc3

released time in 11 days

issue closeduki00a/yargs-parser

Enable GitHub Actions

closed time in 11 days

uki00a

push eventuki00a/yargs-parser

uki00a

commit sha 22413d6322946ae09f8294b961078604451a228b

update: bump deno-yargs-compat to v0.0.4

view details

push time in 11 days

created taguki00a/deno-yargs-compat

tagv0.0.4

created time in 11 days

release uki00a/deno-yargs-compat

v0.0.4

released time in 11 days

push eventuki00a/deno-yargs-compat

uki00a

commit sha d41b4a24e49cb243e1b09b172be15630a362599d

feat: isNotFoundError()

view details

push time in 11 days

created taguki00a/yargs-parser

tagv18.1.2-rc2

A fork of the original yargs-parser library targeting Deno.

created time in 11 days

release uki00a/yargs-parser

v18.1.2-rc2

released time in 11 days

delete branch uki00a/yargs-parser

delete branch : bump-deno-yargs-compat-to-v0.0.3

delete time in 11 days

push eventuki00a/yargs-parser

uki00a

commit sha f0af5ab1850b2590eb88a6e00d267ddb15771586

update: bump deno-yargs-compat to v0.0.3 (#4)

view details

push time in 11 days

pull request commentyargs/yargs-parser

update: bump deno yargs compat to v0.0.3

I'm sorry. This PR is wrong.

uki00a

comment created time in 11 days

create barnchuki00a/yargs-parser

branch : bump-deno-yargs-compat-to-v0.0.3

created branch time in 11 days

delete branch uki00a/yargs-parser

delete branch : deno-support

delete time in 11 days

create barnchuki00a/yargs-parser

branch : deno-support

created branch time in 11 days

created taguki00a/deno-yargs-compat

tagv0.0.3

created time in 11 days

more