profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/thynson/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Xingcan LAN thynson Li Auto Beijing, China Node.js, Typescript, C++

thynson/kafka-pipeline 5

A robust, easy to use kafka message consumer helps you managing message offsets in correct way.

thynson/bupt-tsp 3

Bupt undergraduate subject system

thynson/Courier-X-Fonts 3

A modified version of Courier 10 Pitch to make it matrics compatitable with CJK fonts.

thynson/deadbeef 2

A Deadbeef Fork, especially concentrating in UI and artworks

thynson/bupt-tsp-test 1

Test stub project

thynson/git-po-zh_CN 1

Git l10n for Simplified Chinese. 中文本地化贡献者从本版本库派生

thynson/gtkqq 1

A qq client based on gtk+ uses webqq protocol(forked from kernelhcy, mainly for gtk3)

thynson/leela-zero 1

Go engine with no human-provided knowledge, modeled after the AlphaGo Zero paper.

push eventsensejs/sensejs

LAN Xingcan

commit sha 86143a48d081d754ac18b5f03d9386ac74c41701

chore: update IDE setting for esm and fix test tsconfig

view details

LAN Xingcan

commit sha 5232d42c73df60bdc7ccd494e97a00a03c24ef4b

test: improvin coverage

view details

LAN Xingcan

commit sha aa662a2dbd7622290c10939e5e42c640408ca701

refactor(kafkajs-standalone): no need to disconnect when connection error occurred

view details

push time in 15 hours

issue openedfacebook/jest

[Bug]: custom resolver not used in global setup files.

Version

27.2.1

Steps to reproduce

Minimal repo is at https://gist.github.com/thynson/6b3c467506ab385da1df006d046c241c There is a custom resolver that will print something when trying to resolve a particular file.

  1. run the test

Expected behavior

this line shall be printed twice shall appear twice.

Actual behavior

this line shall be printed twice only appears once that resolving './test-file' from './index.spec.ts'

Additional context

I'm trying to implement a custom resolver that supports Node.js package exports, as tracked in #9771. It almost works except in globalSetup(and maybe also in globalTeardown).

Environment

System:
    OS: macOS 11.6
    CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
  Binaries:
    Node: 14.17.6 - ~/.nvm/versions/node/v14.17.6/bin/node
    Yarn: 1.22.11 - ~/.nvm/versions/node/v14.17.6/bin/yarn
    npm: 6.14.15 - ~/.nvm/versions/node/v14.17.6/bin/npm
  npmPackages:
    jest: ^27.1.1 => 27.1.1

created time in a day

push eventsensejs/sensejs

LAN Xingcan

commit sha 80d9660d5a14c6b2e51cdbe340ac816d0c8a67e7

chore: fix clean script

view details

push time in 2 days

push eventsensejs/sensejs

LAN Xingcan

commit sha 26aa7ec1176768fc56034305aca33881b202916e

chore: prepare esm support

view details

LAN Xingcan

commit sha c2fcee59e7539ac12cc6d006697345d19d936b87

chore: initial esm support

view details

LAN Xingcan

commit sha def685b8724a6b3c4aa27a30da6f5bd7b2741d44

fix: add .js to all imports

view details

LAN Xingcan

commit sha 6923a8e2b512d23284db1c900eb97e0653f010a6

feat: update jest resolver to enforce import file extension

view details

LAN Xingcan

commit sha baa7a7015669d51924b59965426ea958d3f80b98

fix: make all test pass under ESM

view details

LAN Xingcan

commit sha a48abca78a56e20892ca245a1adb90da5bfa9c92

chore: add required node options for jest

view details

LAN Xingcan

commit sha 73fce84318c9c6a9a4755bea2ac44373f66d3458

fix: for node 12

view details

LAN Xingcan

commit sha 07ea6affa311f533d00ee72b4c908ac1897e886e

fix: e2e test

view details

LAN Xingcan

commit sha 6f579e351eb58d944a7c28ecaca9799580698413

chore: simplify and fix package.json

view details

LAN Xingcan

commit sha 88cec1d8be76713db5859a4582ed54171f58aa9b

chore: build examples with commonjs

view details

LAN Xingcan

commit sha a0af5be0f8d5cee67876e8be865288cdeae9ec3e

chore: bump versions

view details

LAN Xingcan

commit sha 775bc65447e8cf3c2b615f56d0b3c0ba85eca958

chore: fix publish

view details

push time in 2 days

PR merged sensejs/sensejs

Experimental ESM support
+1260 -767

0 comment

206 changed files

thynson

pr closed time in 2 days

push eventsensejs/sensejs

LAN Xingcan

commit sha 07ea6affa311f533d00ee72b4c908ac1897e886e

fix: e2e test

view details

push time in 2 days

push eventsensejs/sensejs

LAN Xingcan

commit sha da13dea2dda21a0548df677374b0f701141e28dd

fix: e2e test

view details

push time in 2 days

push eventsensejs/sensejs

LAN Xingcan

commit sha 73fce84318c9c6a9a4755bea2ac44373f66d3458

fix: for node 12

view details

push time in 3 days

push eventsensejs/sensejs

LAN Xingcan

commit sha c2fcee59e7539ac12cc6d006697345d19d936b87

chore: initial esm support

view details

LAN Xingcan

commit sha def685b8724a6b3c4aa27a30da6f5bd7b2741d44

fix: add .js to all imports

view details

LAN Xingcan

commit sha 6923a8e2b512d23284db1c900eb97e0653f010a6

feat: update jest resolver to enforce import file extension

view details

LAN Xingcan

commit sha baa7a7015669d51924b59965426ea958d3f80b98

fix: make all test pass under ESM

view details

LAN Xingcan

commit sha a48abca78a56e20892ca245a1adb90da5bfa9c92

chore: add required node options for jest

view details

push time in 3 days

PR opened sensejs/sensejs

Experimental ESM support
+637 -380

0 comment

74 changed files

pr created time in 4 days

create barnchsensejs/sensejs

branch : esm

created branch time in 4 days

push eventsensejs/sensejs

LAN Xingcan

commit sha f3f611d29a6fdda679dab0bad6079143079b409b

fix(http-common): fix test

view details

LAN Xingcan

commit sha c581fe172dcd3f56aee55b7817f50ff339bc175c

fix: avoid build error when switching node version

view details

LAN Xingcan

commit sha 40bcf76b14f8233b1ff3299054ae9a564bbf03b2

ci: fix build arg

view details

push time in 4 days

push eventsensejs/sensejs

LAN Xingcan

commit sha 421253888241c781624e4bc4f3aad6c4a3591af1

chore: replace colors with more actively maintained chalk

view details

push time in 4 days

push eventsensejs/sensejs

LAN Xingcan

commit sha 126ff80c06d986cd1da129bd1e5adf91ec3cc6bf

chore: bump version

view details

push time in 13 days

push eventsensejs/sensejs

LAN Xingcan

commit sha 755e9a347d24557a0cf03edd9f8c7970a27b5a8a

chore: bump version

view details

LAN Xingcan

commit sha 09ca1e996e102f23b783da018716609e37c14f7c

refactor: replace compile with validate

view details

LAN Xingcan

commit sha 97367520dfbad299b9ae41f52c07133179888704

feat: only validate container after start()

view details

LAN Xingcan

commit sha a9afbe200639159b89fd8e4dfbfa0ad6cf20bcad

test: fix compile error

view details

LAN Xingcan

commit sha 6efd8d17dc7182f9cd05d180477a32a587a6a439

feat: validate bindings on the first time being resolved

view details

LAN Xingcan

commit sha 2caf9105ada5316a51bb61f3f4d2298d61ee1093

fix: serviceIdToString alwasys return "Function" for constructor

view details

LAN Xingcan

commit sha fbe6b12693fbe2439a7588095612abd875b4a644

fix: remove unnessecary check

view details

push time in 13 days

push eventsensejs/sensejs

LAN Xingcan

commit sha 8b383a94f83cd5971f8499c18b522f470620219c

feat!: improve error

view details

LAN Xingcan

commit sha 1d6e27fab1382a809aa21127c8830bd408910ec9

Merge branch 'feat-improve-ioc-error'

view details

push time in 13 days

create barnchsensejs/sensejs

branch : feat-improve-ioc-error

created branch time in 13 days

push eventsensejs/sensejs

Renovate Bot

commit sha 739fbde7a8949177187054ce8069c5e640bcb284

chore(deps): lock file maintenance

view details

Xingcan LAN

commit sha 54f7501b25e56b40ca9b1b20c053a0ab38dc4776

Merge pull request #53 from sensejs/renovate/lock-file-maintenance chore(deps): lock file maintenance

view details

push time in 13 days

PR merged sensejs/sensejs

chore(deps): lock file maintenance

WhiteSource Renovate

This PR contains the following updates:

Update Change
lockFileMaintenance All locks refreshed

🔧 This Pull Request updates lock files to use the latest dependency versions.


Configuration

📅 Schedule: "before 5am on monday" (UTC).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

+7 -22

0 comment

1 changed file

renovate[bot]

pr closed time in 13 days

push eventsensejs/sensejs

LAN Xingcan

commit sha cc94efa2062dba72ff9a14aa2cf1bb8407df57a3

chore: update deps

view details

LAN Xingcan

commit sha d23768b8634c4178a98633026459f75ea6bc7023

chore: bump versions

view details

LAN Xingcan

commit sha 7edf39506dc0168c7774a485f480d120a1919d9b

Merge remote-tracking branch 'origin/master'

view details

LAN Xingcan

commit sha e2e12d4a48fae56497e33e2736a58bd0c02e4a36

chore: bump versions

view details

push time in 14 days

push eventsensejs/sensejs

LAN Xingcan

commit sha a7eb90714d729e699dcc8086b99bc2aa1c8ff42f

feat: add ability to validate container

view details

LAN Xingcan

commit sha 2eaf809e061c7f1caaee9c1cb7499afd3435a924

feat: add optimized method invoker

view details

LAN Xingcan

commit sha c4a2e524d4615b93902616777323b483d069d4cc

refactor: move validation code to utils.ts

view details

LAN Xingcan

commit sha eb132fe3bd2d2455b084d6bbd61d3a866d7e2fdc

feat: require bindings to be compiled by container

view details

LAN Xingcan

commit sha 73ea47d43c9629a1b548b6748601b095bb014305

feat: method invoker validation

view details

LAN Xingcan

commit sha 29e6dc7bf6ca0c192b6f931ccadb5b443523afad

fix: compile after registration to container

view details

LAN Xingcan

commit sha b18be8d1347b3984a365b762a6b29433458111d7

refactor: refine method invoker design

view details

LAN Xingcan

commit sha 2c27bd939de09fbd49aa535a653c26653ea24ebc

refactor: refine

view details

LAN Xingcan

commit sha b9cf4c682343f67baf977b7c41748d875d8b5f9a

feat: support variadic context

view details

LAN Xingcan

commit sha 2acd07609f9832d398ce79c742d34e6955afafef

feat: add OnStart and OnStop lifecycle

view details

LAN Xingcan

commit sha aae2ddacfd01de17fefc6de272c913b91c285599

feat!: rewrite http support with async intercept method invoker

view details

LAN Xingcan

commit sha 698143d7af29c5ddc323fc63529260619c0a6875

fix: update demo for this breaking change

view details

LAN Xingcan

commit sha a8f2b591aa168438121cac4ceebef162867e66ce

feat!: rewrite event publish

view details

LAN Xingcan

commit sha 7af06e40ea827495e3f0620a7938db21ec715438

feat!: rewrite kafka consumer with async intercept method invoker

view details

LAN Xingcan

commit sha d884e911738fb2a63cf440489019545a1088e188

refactor: remove identical code blocks

view details

LAN Xingcan

commit sha cde96f1b087b082776c5d79ae137b113f53d3d2f

refactor: split module specs into multiple files

view details

LAN Xingcan

commit sha faffd1ded7585dcae1cbe669d8d706b5c2a6beee

refactor: refine container

view details

LAN Xingcan

commit sha 16eda3a8e7175bb7f231b12181899d3d56a36685

refactor: refine kafka consumer

view details

LAN Xingcan

commit sha 5fc79c2f54a1140e7b25b8d2f1b7edef54325355

refactor: remove unused method

view details

LAN Xingcan

commit sha 09a32c4729bf785cd0b72342f78c8be3d4aede4d

chore: remove deprecated symbols

view details

push time in 14 days

PR merged sensejs/sensejs

Rewrite ioc
+1690 -1588

0 comment

46 changed files

thynson

pr closed time in 14 days

push eventsensejs/sensejs

LAN Xingcan

commit sha 04d4ca15c0c842fa5595c9f86f9f9b9d038c7697

docs: document about breaking changes

view details

LAN Xingcan

commit sha 156aaef0462dfbfe7aeaa235d83f0fbe77ef9530

refactor: change transactional interceptor to async intercept provider

view details

LAN Xingcan

commit sha 561f1c4bac95fd0fbcf13184f68dcd33109d45a1

refactor: remove core/src/interceptor.ts

view details

LAN Xingcan

commit sha 392ca39fada12fb717ad8048dcaa406ed27c706b

test: strip log

view details

push time in 14 days

push eventsensejs/sensejs

LAN Xingcan

commit sha 5fc79c2f54a1140e7b25b8d2f1b7edef54325355

refactor: remove unused method

view details

LAN Xingcan

commit sha 09a32c4729bf785cd0b72342f78c8be3d4aede4d

chore: remove deprecated symbols

view details

LAN Xingcan

commit sha b447de52580b081bb7acd355ccb6b51da3fe618f

chore: relax code-climate settings

view details

push time in 14 days

push eventsensejs/sensejs

LAN Xingcan

commit sha 08bcfba6c34374d8114561731e47265af607155a

chore: relax code-climate settings

view details

push time in 14 days

push eventsensejs/sensejs

LAN Xingcan

commit sha 16eda3a8e7175bb7f231b12181899d3d56a36685

refactor: refine kafka consumer

view details

LAN Xingcan

commit sha fbd809022e1c83ddf6fa68e2047821a58f0c3403

refactor: remove unused method

view details

LAN Xingcan

commit sha d3099f116f890a0d6f6152ba91f89f7d3dea8baf

chore: remove deprecated symbols

view details

push time in 14 days

push eventsensejs/sensejs

LAN Xingcan

commit sha cde96f1b087b082776c5d79ae137b113f53d3d2f

refactor: split module specs into multiple files

view details

LAN Xingcan

commit sha faffd1ded7585dcae1cbe669d8d706b5c2a6beee

refactor: refine container

view details

push time in 14 days

push eventsensejs/sensejs

LAN Xingcan

commit sha d6075f2d802879d67ef6ac4b01ccf8a9a1ba84fc

refactor: split module specs into multiple files

view details

push time in 14 days

push eventsensejs/sensejs

LAN Xingcan

commit sha d884e911738fb2a63cf440489019545a1088e188

refactor: remove identical code blocks

view details

LAN Xingcan

commit sha 16fc22f23e6869e1f071a9b490edb9ef79101f3d

refactor: split module specs into multiple files

view details

push time in 14 days

push eventsensejs/sensejs

LAN Xingcan

commit sha 7af06e40ea827495e3f0620a7938db21ec715438

feat!: rewrite kafka consumer with async intercept method invoker

view details

push time in 14 days