profile
viewpoint
Andrey Filatkin anfilat Russia, Saransk

anfilat/vue-light-flowchart 3

Flowchart editor for Vue.js

anfilat/excelWriter.js 2

Create Excel .xlsx files with javascript

anfilat/mpzjs 1

Arithmetic on big integers using libgmp

anfilat/benchmarksgame-js 0

My contribution to https://benchmarksgame-team.pages.debian.net/benchmarksgame/

anfilat/deno 0

A secure JavaScript and TypeScript runtime

anfilat/fast-xml-parser 0

Validate XML, Parse XML to JS/JSON and vise versa, or parse XML to Nimn rapidly without C/C++ based libraries and no callback

anfilat/finger 0

10 finger typing trainer

anfilat/gmp_node_addon 0

GMP is a free library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating-point numbers.

push eventanfilat/finger

anfilat

commit sha dca8d98b1ae8202ef76afdd803409a0239415709

Deploying to gh-pages from @ 343081144046e786a1ae5286fb9f437898cb0735 🚀

view details

push time in 2 days

push eventanfilat/finger

Andrey Filatkin

commit sha 343081144046e786a1ae5286fb9f437898cb0735

fix2 ввод html-тэгов и пробелов

view details

push time in 2 days

push eventanfilat/finger

anfilat

commit sha e13ef9af67f9b64fe63c02290854ff1c3de9492a

Deploying to gh-pages from @ 18caa2fab715ef23de87d925edaacd81ecbab951 🚀

view details

push time in 2 days

push eventanfilat/finger

Andrey Filatkin

commit sha 18caa2fab715ef23de87d925edaacd81ecbab951

fix ввод html-тэгов и пробелов

view details

push time in 2 days

push eventanfilat/finger

anfilat

commit sha 2f2fbd4d9c17b88832fa6ec9d32d20ca7e4a02ac

Deploying to gh-pages from @ 5083ca5ed36aa620a993cae4c065c9c65fedcd4d 🚀

view details

push time in 2 days

push eventanfilat/finger

Andrey Filatkin

commit sha 5083ca5ed36aa620a993cae4c065c9c65fedcd4d

fix

view details

push time in 2 days

push eventanfilat/finger

anfilat

commit sha 13ffbf22215462b88cc73b2e2bb545a785b0fc13

Deploying to gh-pages from @ ef49e3463ae7ea9f4300b538d9fd83599155c0b0 🚀

view details

push time in 2 days

push eventanfilat/finger

Andrey Filatkin

commit sha d7fcaa41a078821dcd6ab6528968dffb9338cd57

Вынес сам тренинг в отдельный компонент

view details

Andrey Filatkin

commit sha ef49e3463ae7ea9f4300b538d9fd83599155c0b0

Набор из файлов

view details

push time in 2 days

push eventanfilat/finger

anfilat

commit sha 4fd0bcc5eb7ed1e3a3cb6ec864bc9ebd461c1139

Deploying to gh-pages from @ 722dfb2bcf3a14f4863bc2a3c0ede57c929b9974 🚀

view details

push time in 5 days

push eventanfilat/finger

Andrey Filatkin

commit sha 722dfb2bcf3a14f4863bc2a3c0ede57c929b9974

Подсветка ошибки

view details

push time in 5 days

push eventanfilat/finger

anfilat

commit sha f8cbd4bed8a142c8dc31bcb7d946ced4c248574c

Deploying to gh-pages from @ f6626ce66e5cb0636e45440929c0efaab596e2af 🚀

view details

push time in 6 days

push eventanfilat/finger

Andrey Filatkin

commit sha f6626ce66e5cb0636e45440929c0efaab596e2af

Чтобы пробелы не склеивались

view details

push time in 6 days

push eventanfilat/finger

anfilat

commit sha f52f47695aa8679428bbd656078e5250d10222a6

Deploying to gh-pages from @ 6f897a656cf55dd77578c042e18724658dd39fcd 🚀

view details

push time in 8 days

push eventanfilat/finger

Andrey Filatkin

commit sha c2b02b2c8a173acc04d0d426312c58f37b1cbc7d

Убрал приведение всех нажатых клавиш к маленьким буквам

view details

Andrey Filatkin

commit sha 6f897a656cf55dd77578c042e18724658dd39fcd

Набор фраз

view details

push time in 8 days

push eventanfilat/finger

anfilat

commit sha 61425457bc3066fd59ba5ffa59f36edc2fbd6481

Deploying to gh-pages from @ a799fdea949babe783a0e2136054bc91344f1311 🚀

view details

push time in 8 days

push eventanfilat/finger

Andrey Filatkin

commit sha 4335fb852e581175eed3dfe69fcb8174e8a624a7

Обновил зависимости

view details

Andrey Filatkin

commit sha a799fdea949babe783a0e2136054bc91344f1311

Убрал bulma

view details

push time in 8 days

push eventanfilat/scrapcount

Andrey Filatkin

commit sha 16828ba66a1b949fa56ad520ca5784105409cf61

Add express-async-errors

view details

Andrey Filatkin

commit sha 5ee251b6cf0f8d57da7c0733a36d83e9a58fe3a5

Correct validators

view details

Andrey Filatkin

commit sha 069dee50b9104782225233a539e3b45c39ad671d

Russian to English

view details

push time in 11 days

push eventanfilat/scrapcount

Andrey Filatkin

commit sha 4350300511c76f8d4b938f32ed4f61a01fe67e6f

More robust addUser

view details

Andrey Filatkin

commit sha 00e4ef66bd4d1698e69b5f3719af7d348e60051e

Rename user to account

view details

push time in 12 days

push eventanfilat/scrapcount

Andrey Filatkin

commit sha 004d58ebed63eb698086a7b3089446074357b49d

Add db migration

view details

push time in 20 days

push eventanfilat/scrapcount

Andrey Filatkin

commit sha 527cb49bf1a385c730d204a5c320aaf1abc2a7bd

Move db to folder

view details

Andrey Filatkin

commit sha ce411642dfd6b08d873b29f9ef04ee66bd6718b7

Fix semicolons

view details

Andrey Filatkin

commit sha 890770124a4bc92f952ca87ec9fa2b22b09fbe93

Refactor db init

view details

Andrey Filatkin

commit sha 54ed13f597609500b9cf79db94d28dbcad62b99f

Refactor db

view details

Andrey Filatkin

commit sha 98b0d3d828f2ab402ee1bd51d4d4ab4949dd7e49

AddUser within transaction

view details

Andrey Filatkin

commit sha ae766d1d74b17119ac43d11ca15d2dcddc35d6ab

Add transaction wrapper

view details

push time in 20 days

create barnchanfilat/scrapcount

branch : master

created branch time in 21 days

created repositoryanfilat/scrapcount

created time in 21 days

startedmatklad/rust-course

started time in a month

create barnchanfilat/deno

branch : mac-test

created branch time in a month

delete branch anfilat/deno

delete branch : mac-test

delete time in a month

create barnchanfilat/deno

branch : mac-test

created branch time in a month

delete branch anfilat/deno

delete branch : fix-5252

delete time in a month

push eventanfilat/deno

Ali Hasani

commit sha affba804546607c0d26887bb5c40cba9c9be3fe6

feat(std/datetime): add is leap and difference functions (#4857)

view details

Nayeem Rahman

commit sha d77a55a97371f75eeabe39f4f051013029926839

fix(cli/js/process): Fix conditional types for process sockets (#6275)

view details

Jim van der Voort

commit sha 6f3ad0f73aba22142fbd0036e18a2b40317b8f60

fix(std/http): Catch errors on file_server response.send (#6285)

view details

Vincent Victoria

commit sha 6be3487f73313b8928a325c56a2f1914dada7db0

docs: Update import_maps.md to include more examples (#5648)

view details

Marcos Casagrande

commit sha 6c093c0b5a1c908712c95c8657c42b30421bd519

fix(cli): Buffer.bytes() ArrayBuffer size (#6511)

view details

Casper Beyer

commit sha 40dcfc89969b6492a616d816c67ffdc081132d15

fix(std/wasi): path_filestat_get padding (#6509)

view details

Casper Beyer

commit sha 5f3d730df0a249357a0d9112b9ee25f16bf7b8d4

fix(std/wasi): use lookupflags for path_filestat_get (#6530)

view details

David Sherret

commit sha 0b28c80e9adbb67f5fa8ec782fb5bd1f7b56a21a

Update to dprint-plugin-typescript 0.19.3 (#6527)

view details

Marcos Casagrande

commit sha 4302941b06b51233b13cd1f7293a4f38e0ec8073

fix(std/node): add fill & encoding args to Buffer.alloc (#6526)

view details

Marcos Casagrande

commit sha f0093a9d8bed7bc10ac06e612a925d0e8d192981

test(std/node): Add Buffer tests (#6524)

view details

Casper Beyer

commit sha aeadf8189ae25d1b43f3c538a6c4aa6e5380c974

fix(cli): change seek offset type from i32 to i64 (#6518)

view details

Marcos Casagrande

commit sha a216bd06fc7dfb4a136e9fc04ae119c2e4801b6e

feat(std/node): support hex/base64 encoding in fs.readFile/fs.writeFile (#6512)

view details

Marcos Casagrande

commit sha a829fa8f57a2063492aab564ec1f15da21eb851c

feat(std/io): add fromStreamReader, fromStreamWriter (#5789)

view details

Marcos Casagrande

commit sha 2da084058397efd6f517ba98c9882760ec0a7bd6

fix(std/io): export streams.ts & added docs (#6535)

view details

Marcos Casagrande

commit sha d779053dc6ea6aafef06f8a5e7f28cbbc8166864

feat(std/node): Add Buffer.allocUnsafe (#6533)

view details

Haoran Liu

commit sha 1c12098e4a4fbbf981574fafe5ac5a97294c17a0

docs: update macOS dependencies of building V8 from source (#6538)

view details

Marcos Casagrande

commit sha 89ebe2079bf51ec55c89c093ab16c3179ccd43fe

fix(cli/body): Maximum call stack size exceeded error (#6537)

view details

Valentin Anger

commit sha 660f86f1a21298f7795760a24b91b7bd8788afc3

fix(cli/doc): doc printer missing [] around tuple type (#6523)

view details

Casper Beyer

commit sha 96b4a5f837fe984a91c03babc398fb55a6210610

docs(std): update paragraph about the tagging process (#6519)

view details

Marcos Casagrande

commit sha 0374eadcf7ecb054dae1b1587843a2006fdf4c2d

feat(std/node): Add Buffer.isEncoding (#6521)

view details

push time in a month

pull request commentdenoland/deno

fix(cli/upgrade): upgrade fails on Windows with space in temp path

Test done

anfilat

comment created time in a month

push eventanfilat/deno

anfilat

commit sha 08cc801a7630b57458c2fdc7f37f6a40ab1daf97

fix(cli/upgrade): upgrade fails on Windows with space in temp path

view details

push time in a month

push eventanfilat/deno

anfilat

commit sha 6950e9b932bcd914d75f545b32809a1905ab0807

fix(cli/upgrade): upgrade fails on Windows with space in temp path

view details

push time in a month

PR opened denoland/deno

fix(cli/upgrade): upgrade fails on Windows with space in temp path

Fixes #5252 Powershell requires quotes in quotes for string parameters)

+2 -2

0 comment

1 changed file

pr created time in a month

create barnchanfilat/deno

branch : fix-5252

created branch time in a month

push eventanfilat/deno

Casper Beyer

commit sha 9107b1ea3f1e83198b35154e02954fab0dc9fa2a

test(wasi/std): remove v8 flags from test runner (#6496)

view details

Andrey Filatkin

commit sha b049504bee229bc31db2ae8c879101080512fa5c

fix(cli/disk_cache): Support UNC paths in the typescript DiskCache (#6495)

view details

Casper Beyer

commit sha d924ad36aca5004c614d43655e8a7ef030f31fc8

perf(std/hash): optimize for speed (O3) (#6499)

view details

Bert Belder

commit sha 0c735ebdc75142d6b38d1d9bbbae5ef084ad4f4a

Fix clippy warning (#6503)

view details

Bert Belder

commit sha e10d74a3d3981310819299d21f129d6b8bf81d79

Upgrade to rusty_v8 0.4.2 / V8 8.5.216 (#6503)

view details

Casper Beyer

commit sha 99f4a710f16bc62ac79cfcc79533f76e646c2889

test(std/wasi): add read, write and metadata tests (#6494)

view details

Ryan Dahl

commit sha 3eec13fa0dfbc7fc4512102f8fe5277cdcbfb2c2

Create new DENO_DIR for each test (#6506)

view details

Ryan Dahl

commit sha 42464e922d0bc435f32cf9d2707537a9558271fb

'Compile' messages changed to 'Check' messages (#6504)

view details

Maayan Hanin

commit sha 598a7dcc8425c9b377d79dc86e298db862e45b91

fix(cli/permissions): panic on hostless URLs (#6500)

view details

Bartek Iwańczuk

commit sha 5bc130be2722fe54d42004cc48536b390437ede3

v1.1.2

view details

push time in a month

starteddenoland/deno

started time in a month

delete branch anfilat/deno

delete branch : fix-6198

delete time in a month

PR opened denoland/deno

fix(cli/disk_cache): Support UNC paths in the typescript DiskCache #6198

Fixes #6198 It adds UNC folder to deno/gen/file/ as root for Windows UNC paths.

+24 -1

0 comment

1 changed file

pr created time in a month

push eventanfilat/deno

anfilat

commit sha 835810e2053b620da4f96864404ef857bd5cde57

fix(cli/disk_cache): Support UNC paths in the typescript DiskCache #6198

view details

push time in a month

create barnchanfilat/deno

branch : fix-6198

created branch time in a month

fork anfilat/deno

A secure JavaScript and TypeScript runtime

https://deno.land/

fork in a month

push eventanfilat/finger

anfilat

commit sha f77bfe23981a8cae2411de6357fad70e8caeb111

Deploying to gh-pages from @ 8c187c98912150ecdee477febe6484ceabfd0288 🚀

view details

push time in a month

push eventanfilat/finger

andrey filatkin

commit sha 8c187c98912150ecdee477febe6484ceabfd0288

Update dependencies

view details

push time in a month

push eventanfilat/benchmarksgame-js

Andrey Filatkin

commit sha c7f240a3f435b6ade9f12dfb2202058767202017

Deno variants

view details

push time in 2 months

push eventanfilat/ozon_go_school

Andrey Filatkin

commit sha b411d6be39df810c55d168697e026378c8f26945

Update README.md

view details

push time in 2 months

push eventanfilat/ozon_go_school

Andrey Filatkin

commit sha fd29576d550e9e9508f2a7616e084a246297f12a

Create README.md

view details

push time in 2 months

create barnchanfilat/ozon_go_school

branch : master

created branch time in 2 months

created repositoryanfilat/ozon_go_school

created time in 2 months

created taganfilat/mpzjs

tag0.7.1

Arithmetic on big integers using libgmp

created time in 2 months

release anfilat/mpzjs

0.7.1

released time in 2 months

push eventanfilat/mpzjs

Andrey Filatkin

commit sha ef3a09225902f6fc238e1e25e482619484972c27

fix memory leak

view details

push time in 2 months

pull request commentNaturalIntelligence/fast-xml-parser

Speed up xml parser

@amitguptagwl Yes, it's my fail. I tested my changes with node 10 and forgot to switch back to to node 14. Real benchmarks are

Before

Running Suite: XML Parser benchmark validation : 24392.817587933325 requests/second xml to json : 20444.579203943587 requests/second xml to json + json string : 18832.37180819154 requests/second xml to json string : 3260.372110704194 requests/second xml2js : 6531.4937847609235 requests/second

After

Running Suite: XML Parser benchmark validation : 24668.64955496943 requests/second xml to json : 40247.82636682904 requests/second xml to json + json string : 34608.35386438647 requests/second xml to json string : 3539.056066557331 requests/second xml2js : 6614.874820643066 requests/second

anfilat

comment created time in 2 months

startedprebuild/node-gyp-build

started time in 2 months

PR opened NaturalIntelligence/fast-xml-parser

Speed up xml parser

Purpose / Goal

Refactoring XML parser for more speed

Type

Please mention the type of PR <!-- choose one by changing [ ] to [x] -->

  • [ ]Bug Fix
  • [x]Refactoring / Technology upgrade
  • [ ]New Feature

Benchmark before

Running Suite: XML Parser benchmark validation : 24472.96676651558 requests/second xml to json : 20323.82787435037 requests/second xml to json + json string : 18513.34418233639 requests/second xml to json string : 3257.8999597267316 requests/second xml2js : 6503.5277873583655 requests/second

Benchmark after

Running Suite: XML Parser benchmark validation : 25254.443972895737 requests/second xml to json : 37566.136707569676 requests/second xml to json + json string : 32032.6373744502 requests/second xml to json string : 3351.0517807181677 requests/second xml2js : 7196.912529781278 requests/second

Note : Please ensure that you've read contribution guidelines before raising this PR. If your PR is in progress, please prepend [WIP] in PR title. Your PR will be reviewed when [WIP] will be removed from the PR title.

Bookmark this repository for further updates.

+214 -193

0 comment

5 changed files

pr created time in 2 months

push eventanfilat/fast-xml-parser

andrey filatkin

commit sha fec04ea1912eb9ad0174bb9510768bafa4bcf915

2x speed up

view details

push time in 2 months

fork anfilat/fast-xml-parser

Validate XML, Parse XML to JS/JSON and vise versa, or parse XML to Nimn rapidly without C/C++ based libraries and no callback

https://naturalintelligence.github.io/fast-xml-parser/

fork in 2 months

PR closed nodejs/node-addon-examples

Upgrade node-addon-api Object Wrap example for multi-context support

It replaced global constructor with new SetInstanceData\GetInstanceData API.

+167 -0

3 comments

6 changed files

anfilat

pr closed time in 2 months

Pull request review commentnodejs/node-addon-examples

Upgrade node-addon-api Object Wrap example for multi-context support

+{+  "name": "object_wrap",+  "version": "0.0.0",+  "description": "Multiple load example of ObjectWrap",+  "main": "addon.js",+  "private": true,+  "gypfile": true,+  "engines": {+    "node": ">= 14.0.0"+  },

@gabrielschulhof I think I should close this PR. It's duplicate with https://github.com/nodejs/node-addon-examples/pull/139 now

anfilat

comment created time in 2 months

pull request commentnodejs/node-addon-examples

Upgrade node-addon-api Object Wrap example for multi-context support

@jschlight As I see, there is a similar PR from the N-API team member - https://github.com/nodejs/node-addon-examples/pull/139

anfilat

comment created time in 2 months

pull request commentnodejs/node-addon-api

test: run in both a child process and a worker thread

@gabrielschulhof With my test I wanted to try use SetInstanceData/GetInstanceData in different threads at the same time. But the test was crashed by working different addons at same thread (addon_data and objectwrap). You new testrunner starts each addon at a new process.

gabrielschulhof

comment created time in 2 months

push eventanfilat/oa

andrey filatkin

commit sha f39e8f741da89a7bbc74e45bc48faeb5be88e953

Описания заданий

view details

push time in 3 months

push eventanfilat/finger

anfilat

commit sha e6e480de87dc55a35862756658be21b76eceab4a

Deploying to gh-pages from @ c927796669640429e82e64726cf3fe95f702eb92 🚀

view details

push time in 3 months

push eventanfilat/finger

andrey filatkin

commit sha c927796669640429e82e64726cf3fe95f702eb92

Readme

view details

push time in 3 months

push eventanfilat/pentomino

anfilat

commit sha 3cb3923dced2ad36a293ff854976b13c95989652

Deploying to gh-pages from @ a8d3fc17c76baa6f1f2ea754820adba32d8bc63e 🚀

view details

push time in 3 months

push eventanfilat/pentomino

andrey filatkin

commit sha a8d3fc17c76baa6f1f2ea754820adba32d8bc63e

Add readme file

view details

push time in 3 months

created taganfilat/vue-light-flowchart

tagv0.3.3

Flowchart editor for Vue.js

created time in 3 months

release anfilat/vue-light-flowchart

v0.3.3

released time in 3 months

push eventanfilat/vue-light-flowchart

anfilat

commit sha decaa5b78d15ab753c2c51173ecc38ab7e4d8361

Deploying to gh-pages from @ 04992260530062c0c3c5473fcaeb2c6339923662 🚀

view details

push time in 3 months

push eventanfilat/vue-light-flowchart

andrey filatkin

commit sha 04a63fa042154524c6b8eb6d495224a2673bcbf7

Add canChangeNodes and canChangeLinks

view details

andrey filatkin

commit sha 04992260530062c0c3c5473fcaeb2c6339923662

Add GitHub action for npm publish

view details

push time in 3 months

Pull request review commentnodejs/node-addon-examples

Upgrade node-addon-api Object Wrap example for multi-context support

   "main": "addon.js",   "private": true,   "gypfile": true,+  "engines": {+    "node": ">= 14.0.0"+  },

Ok, I changed it and it a new example now. But there is linked bug https://github.com/nodejs/node-addon-api/issues/730

anfilat

comment created time in 3 months

push eventanfilat/node-addon-examples

andrey filatkin

commit sha 970565ded3e02d487b41b0280db42f310cebf553

Revert "add node 14 constraint" This reverts commit 6fdc2be7

view details

andrey filatkin

commit sha 4b1cc90e252416f0a727df713c780faab568fc84

Revert "upgrade ObjectWrap example to multi-context support" This reverts commit c5c353d9

view details

andrey filatkin

commit sha 42d19cfec6f83faf42cc75fc5b088b9f8014782c

Add an example of ObjectWrap for multi-context

view details

push time in 3 months

issue openednodejs/node-addon-api

FATAL ERROR with addon_data.cc test

I added an worker threads test for addon_data.cc:

'use strict';
const buildType = process.config.target_defaults.default_configuration;
const assert = require('assert');
const path = require('path');
const {Worker, isMainThread, workerData} = require('worker_threads');

test(path.resolve(__dirname, `./build/${buildType}/binding.node`));
test(path.resolve(__dirname, `./build/${buildType}/binding_noexcept.node`));

function test(bindingName) {
  if (isMainThread) {
    work(bindingName);
    new Promise(resolve => {
      const worker = new Worker(__filename, {workerData: bindingName});

      worker.on('exit', () => {
        resolve();
      });
    }).then();
  } else {
    work(workerData);
  }

  function work(bindingName) {
    const binding = require(bindingName).addon_data(0);

    // Make sure it is possible to get/set instance data.
    assert.strictEqual(binding.verbose.verbose, false);
    binding.verbose = true;
    assert.strictEqual(binding.verbose.verbose, true);
    binding.verbose = false;
    assert.strictEqual(binding.verbose.verbose, false);
  }
}

When I ran npm run dev:incremental with node 14.2 it fall on objectwrap test:

> node-addon-api@3.0.0 predev:incremental /home/anfilat/projects/node-addon-api
> node-gyp configure build -C test --debug

make: Entering directory '/home/anfilat/projects/node-addon-api/test/build'
make: Nothing to be done for 'all'.
make: Leaving directory '/home/anfilat/projects/node-addon-api/test/build'

> node-addon-api@3.0.0 dev:incremental /home/anfilat/projects/node-addon-api
> node test

Testing with N-API Version '6'.
Starting test suite

Running test 'addon_data'
Running test 'addon_data-threads'
Running test 'arraybuffer'
Running test 'asynccontext'
Running test 'asyncprogressqueueworker'
Running test 'asyncprogressworker'
Running test 'asyncworker'
Running test 'asyncworker-nocallback'
Running test 'asyncworker-persistent'
Running test 'basic_types/array'
Running test 'basic_types/boolean'
Running test 'basic_types/number'
Running test 'basic_types/value'
Running test 'bigint'
Running test 'date'
Running test 'buffer'
Running test 'callbackscope'
Running test 'dataview/dataview'
Running test 'dataview/dataview_read_write'
Running test 'error'
Running test 'external'
Running test 'function'
Running test 'handlescope'
Running test 'memory_management'
Running test 'name'
Running test 'object/delete_property'
Running test 'object/finalizer'
Running test 'object/get_property'
Running test 'object/has_own_property'
Running test 'object/has_property'
Running test 'object/object'
Running test 'object/object_deprecated'
Running test 'object/set_property'
Running test 'promise'
Running test 'run_script'
Running test 'threadsafe_function/threadsafe_function_ctx'
Running test 'threadsafe_function/threadsafe_function_existing_tsfn'
Running test 'threadsafe_function/threadsafe_function_ptr'
Running test 'threadsafe_function/threadsafe_function_sum'
Running test 'threadsafe_function/threadsafe_function_unref'
Running test 'threadsafe_function/threadsafe_function'
Running test 'typedarray'
Running test 'typedarray-bigint'
Running test 'objectwrap'
FATAL ERROR: v8::HandleScope::CreateHandle() Cannot create a handle without a HandleScope
 1: 0xa295e0 node::Abort() [/usr/bin/node]
 2: 0x9782df node::FatalError(char const*, char const*) [/usr/bin/node]
 3: 0xb9938a v8::Utils::ReportApiFailure(char const*, char const*) [/usr/bin/node]
 4: 0xd00c32 v8::internal::HandleScope::Extend(v8::internal::Isolate*) [/usr/bin/node]
 5: 0xb9b351 v8::HandleScope::CreateHandle(v8::internal::Isolate*, unsigned long) [/usr/bin/node]
 6: 0x9e9ed5 napi_get_reference_value [/usr/bin/node]
 7: 0x7fa5d842dcf3 Napi::Reference<Napi::Object>::Value() const [/home/anfilat/projects/node-addon-api/test/build/Debug/binding.node]
 8: 0x7fa5d8473010 StaticSetter(Napi::CallbackInfo const&, Napi::Value const&) [/home/anfilat/projects/node-addon-api/test/build/Debug/binding.node]
 9: 0x7fa5d84773a9 Napi::ObjectWrap<Test>::StaticSetterCallbackWrapper(napi_env__*, napi_callback_info__*)::{lambda()#1}::operator()() const [/home/anfilat/projects/node-addon-api/test/build/Debug/binding.node]
10: 0x7fa5d8478902 napi_value__* Napi::details::WrapCallback<Napi::ObjectWrap<Test>::StaticSetterCallbackWrapper(napi_env__*, napi_callback_info__*)::{lambda()#1}>(Napi::ObjectWrap<Test>::StaticSetterCallbackWrapper(napi_env__*, napi_callback_info__*)::{lambda()#1}) [/home/anfilat/projects/node-addon-api/test/build/Debug/binding.node]
11: 0x7fa5d8477439 Napi::ObjectWrap<Test>::StaticSetterCallbackWrapper(napi_env__*, napi_callback_info__*) [/home/anfilat/projects/node-addon-api/test/build/Debug/binding.node]
12: 0x9e2f0f  [/usr/bin/node]
13: 0xc0278b  [/usr/bin/node]
14: 0xc03d36  [/usr/bin/node]
15: 0xc043b6 v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) [/usr/bin/node]
16: 0x13a5b79  [/usr/bin/node]
Tests aborted with SIGABRT

If skip all test except addon_data-threads it works with node 14. But with node 13 it fall too:

Testing with N-API Version '6'.
Starting test suite

Running test 'addon_data-threads'

All tests passed!
FATAL ERROR: v8::HandleScope::CreateHandle() Cannot create a handle without a HandleScope
FATAL ERROR: v8::HandleScope::CreateHandle() Cannot create a handle without a HandleScope
 1: 0xa0e670 node::Abort() [/home/anfilat/projects/node-addon-api/node_modules/node/bin/node]
 1: 0xa0e670 node::Abort() [/home/anfilat/projects/node-addon-api/node_modules/node/bin/node]
 2: 0xa0ea9c node::OnFatalError(char const*, char const*) [/home/anfilat/projects/node-addon-api/node_modules/node/bin/node]
 2: 0xa0ea9c node::OnFatalError(char const*, char const*) [/home/anfilat/projects/node-addon-api/node_modules/node/bin/node]
 3: 0xb838ca v8::Utils::ReportApiFailure(char const*, char const*) [/home/anfilat/projects/node-addon-api/node_modules/node/bin/node]
 3: 0xb838ca v8::Utils::ReportApiFailure(char const*, char const*) [/home/anfilat/projects/node-addon-api/node_modules/node/bin/node]
 4: 0xcfc26a v8::internal::HandleScope::Extend(v8::internal::Isolate*) [/home/anfilat/projects/node-addon-api/node_modules/node/bin/node]
 5: 0xb85061 v8::HandleScope::CreateHandle(v8::internal::Isolate*, unsigned long) [/home/anfilat/projects/node-addon-api/node_modules/node/bin/node]
 4: 0xcfc26a v8::internal::HandleScope::Extend(v8::internal::Isolate*) [/home/anfilat/projects/node-addon-api/node_modules/node/bin/node]
 6: 0x9cea65 napi_get_reference_value [/home/anfilat/projects/node-addon-api/node_modules/node/bin/node]
 7: 0x7f6f4ef74cf3 Napi::Reference<Napi::Object>::Value() const [/home/anfilat/projects/node-addon-api/test/build/Debug/binding.node]
 8: 0x7f6f4ef75587 Napi::ObjectWrap<Addon::VerboseIndicator>::~ObjectWrap() [/home/anfilat/projects/node-addon-api/test/build/Debug/binding.node]
 5: 0xb85061 v8::HandleScope::CreateHandle(v8::internal::Isolate*, unsigned long) [/home/anfilat/projects/node-addon-api/node_modules/node/bin/node]
 9: 0x7f6f4ef79904 Addon::VerboseIndicator::~VerboseIndicator() [/home/anfilat/projects/node-addon-api/test/build/Debug/binding.node]
 6: 0x9cea65 napi_get_reference_value [/home/anfilat/projects/node-addon-api/node_modules/node/bin/node]
10: 0x7f6f4ef79924 Addon::VerboseIndicator::~VerboseIndicator() [/home/anfilat/projects/node-addon-api/test/build/Debug/binding.node]
11: 0x7f6f4ef76033 Napi::ObjectWrap<Addon::VerboseIndicator>::FinalizeCallback(napi_env__*, void*, void*) [/home/anfilat/projects/node-addon-api/test/build/Debug/binding.node]
 7: 0x7f6f4eaad40c Napi::Reference<Napi::Object>::Value() const [/home/anfilat/projects/node-addon-api/test/build/Debug/binding_noexcept.node]
 8: 0x7f6f4eaadb7f Napi::ObjectWrap<Addon::VerboseIndicator>::~ObjectWrap() [/home/anfilat/projects/node-addon-api/test/build/Debug/binding_noexcept.node]
12: 0x9c7a0a  [/home/anfilat/projects/node-addon-api/node_modules/node/bin/node]
 9: 0x7f6f4eaafade Addon::VerboseIndicator::~VerboseIndicator() [/home/anfilat/projects/node-addon-api/test/build/Debug/binding_noexcept.node]
13: 0x9e427f node_napi_env__::~node_napi_env__() [/home/anfilat/projects/node-addon-api/node_modules/node/bin/node]
10: 0x7f6f4eaafafe Addon::VerboseIndicator::~VerboseIndicator() [/home/anfilat/projects/node-addon-api/test/build/Debug/binding_noexcept.node]
14: 0x9be02a node::Environment::RunCleanup() [/home/anfilat/projects/node-addon-api/node_modules/node/bin/node]
11: 0x7f6f4eaae58f Napi::ObjectWrap<Addon::VerboseIndicator>::FinalizeCallback(napi_env__*, void*, void*) [/home/anfilat/projects/node-addon-api/test/build/Debug/binding_noexcept.node]
15: 0xac0a61 node::worker::Worker::Run() [/home/anfilat/projects/node-addon-api/node_modules/node/bin/node]
16: 0xac0d30  [/home/anfilat/projects/node-addon-api/node_modules/node/bin/node]
17: 0x7f6f55a6e609  [/lib/x86_64-linux-gnu/libpthread.so.0]
12: 0x9c7a0a  [/home/anfilat/projects/node-addon-api/node_modules/node/bin/node]
18: 0x7f6f55995103 clone [/lib/x86_64-linux-gnu/libc.so.6]
Tests aborted with SIGABRT

created time in 3 months

push eventanfilat/node-addon-examples

andrey filatkin

commit sha 6fdc2be7630e4a1c9fb2d0482e1e90ce036b9618

add node 14 constraint

view details

push time in 3 months

PR opened nodejs/node-addon-examples

Upgrade node-addon-api Object Wrap example for multi-context support

It replaced global constructor with new SetInstanceData\GetInstanceData API.

+51 -17

0 comment

4 changed files

pr created time in 3 months

push eventanfilat/node-addon-examples

andrey filatkin

commit sha c5c353d98b24704e3c0555762617795c43907afa

upgrade ObjectWrap example to multi-context support

view details

push time in 3 months

fork anfilat/node-addon-examples

Node.js C++ addon examples from http://nodejs.org/docs/latest/api/addons.html

fork in 3 months

push eventanfilat/benchmarksgame-js

andrey filatkin

commit sha e1418f7918d368bdf2c7116274ff29d367f4051a

update dependencies

view details

push time in 3 months

created taganfilat/mpzjs

tag0.7.0

Arithmetic on big integers using libgmp

created time in 3 months

release anfilat/mpzjs

0.7.0

released time in 3 months

push eventanfilat/mpzjs

andrey filatkin

commit sha a0afd63aaad0dc5b010dc39744d15f33baba9146

update dependencies

view details

andrey filatkin

commit sha 4aaea3ac003a58db2866292323214b5aafb9e1c8

add worker threads support

view details

push time in 3 months

more