duckdb 0.10.1-dev17.0 → 0.10.1-dev22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -30,20 +30,6 @@ jobs:
30
30
  with:
31
31
  python-version: '3.11'
32
32
 
33
- - name: Debug workflow
34
- shell: bash
35
- run: |
36
- echo "$AWS_ACCESS_KEY_ID" "$AWS_DEFAULT_REGION"
37
- echo "$AWS_ACCESS_KEY_ID" > myfile.txt
38
- LOCAL_BINARY=myfile.txt
39
- REMOTE_BINARY=https://npm.duckdb.org/duckdb/myfile.txt
40
- S3_ENDPOINT_BINARY="s3://duckdb-npm/"${REMOTE_BINARY:23}
41
- pip install awscli
42
- echo "local binary at $LOCAL_BINARY"
43
- echo "remote binary at $REMOTE_BINARY"
44
- echo "served from $S3_ENDPOINT_BINARY"
45
- aws s3 cp $LOCAL_BINARY $S3_ENDPOINT_BINARY --acl public-read
46
-
47
33
  - name: Setup NPM
48
34
  shell: bash
49
35
  run: ./scripts/node_version.sh upload
@@ -62,7 +48,7 @@ jobs:
62
48
  strategy:
63
49
  matrix:
64
50
  # node.js current support policy to be found at https://github.com/duckdb/duckdb-node/tree/main/#Supported-Node-versions
65
- node: [ '16', '17', '18', '19', '20', '21']
51
+ node: [ '12', '14', '16', '17', '18', '19', '20', '21']
66
52
  target_arch: [ x64, arm64 ]
67
53
  isRelease:
68
54
  - ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main' }}
@@ -95,7 +81,7 @@ jobs:
95
81
  # Default Python (3.12) doesn't have support for distutils
96
82
  - uses: actions/setup-python@v4
97
83
  with:
98
- python-version: '3.11'
84
+ python-version: '3.10'
99
85
 
100
86
  - name: Update apt
101
87
  shell: bash
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "duckdb",
3
3
  "main": "./lib/duckdb.js",
4
4
  "types": "./lib/duckdb.d.ts",
5
- "version": "0.10.1-dev17.0",
5
+ "version": "0.10.1-dev22.0",
6
6
  "description": "DuckDB node.js API",
7
7
  "gypfile": true,
8
8
  "dependencies": {
package/src/database.cpp CHANGED
@@ -141,6 +141,7 @@ static void TaskCompleteCallback(napi_env e, napi_status status, void *data) {
141
141
  duckdb::unique_ptr<TaskHolder> holder((TaskHolder *)data);
142
142
  holder->db->TaskComplete(e);
143
143
  holder->task->DoCallback();
144
+ napi_delete_async_work(e, holder->request);
144
145
  }
145
146
 
146
147
  void Database::TaskComplete(Napi::Env env) {
package/myfile.txt DELETED
@@ -1 +0,0 @@
1
- AKIA4HHCC5ZJWTGUGAKV