sqlmath 0.0.4 → 0.0.5
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.
- package/.npmignore +10 -0
- package/README.md +1 -1
- package/_binary_sqlmath_napi8_darwin_x64.node +0 -0
- package/_binary_sqlmath_napi8_linux_x64.node +0 -0
- package/_binary_sqlmath_napi8_win32_x64.node +0 -0
- package/package.json +2 -2
- package/.gitconfig +0 -25
- package/.github/workflows/ci.yml +0 -119
- package/.github/workflows/publish.yml +0 -67
- package/.gitignore +0 -20
- package/asset_image_folder_open_solid.svg +0 -1
- package/jslint_ci.sh +0 -2795
- package/sqlite3.c +0 -248548
- package/sqlite3_ext.c +0 -8372
- package/sqlite3_shell.c +0 -22436
- package/sqlmath_base.c +0 -1832
- package/sqlmath_custom.c +0 -78
- package/sqlmath_custom.cpp +0 -0
- package/sqlmath_custom.mjs +0 -4
- package/sqlmath_old.js +0 -31038
package/.npmignore
ADDED
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
# Status
|
|
5
|
-
| Branch | [master<br>(v2021.
|
|
5
|
+
| Branch | [master<br>(v2021.11.20)](https://github.com/sqlmath/sqlmath/tree/master) | [beta<br>(Web Demo)](https://github.com/sqlmath/sqlmath/tree/beta) | [alpha<br>(Development)](https://github.com/sqlmath/sqlmath/tree/alpha) |
|
|
6
6
|
|--:|:--:|:--:|:--:|
|
|
7
7
|
| CI | [](https://github.com/sqlmath/sqlmath/actions?query=branch%3Amaster) | [](https://github.com/sqlmath/sqlmath/actions?query=branch%3Abeta) | [](https://github.com/sqlmath/sqlmath/actions?query=branch%3Aalpha) |
|
|
8
8
|
| Coverage | [](https://sqlmath.github.io/sqlmath/branch-master/.artifact/coverage/index.html) | [](https://sqlmath.github.io/sqlmath/branch-beta/.artifact/coverage/index.html) | [](https://sqlmath.github.io/sqlmath/branch-alpha/.artifact/coverage/index.html) |
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"engines": {
|
|
12
12
|
"node": ">=14"
|
|
13
13
|
},
|
|
14
|
-
"fileCount":
|
|
14
|
+
"fileCount": 22,
|
|
15
15
|
"homepage": "https://github.com/sqlmath/sqlmath",
|
|
16
16
|
"keywords": [
|
|
17
17
|
"data-science",
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"test2": "sh jslint_ci.sh shCiBase",
|
|
38
38
|
"test_win32": "node -e \"require('child_process').spawn('C:\\\\Program Files\\\\Git\\\\bin\\\\bash.exe',['-c','npm run test' + ' ' + process.argv.slice(1).join(' ')],{stdio:['ignore',1,2]});\""
|
|
39
39
|
},
|
|
40
|
-
"version": "0.0.
|
|
40
|
+
"version": "0.0.5"
|
|
41
41
|
}
|
package/.gitconfig
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
[branch "alpha"]
|
|
2
|
-
merge = refs/heads/alpha
|
|
3
|
-
remote = origin
|
|
4
|
-
[branch "base"]
|
|
5
|
-
merge = refs/heads/base
|
|
6
|
-
remote = origin
|
|
7
|
-
[core]
|
|
8
|
-
# autocrlf = false
|
|
9
|
-
autocrlf = input
|
|
10
|
-
bare = false
|
|
11
|
-
# filemode = false
|
|
12
|
-
logallrefupdates = true
|
|
13
|
-
repositoryformatversion = 0
|
|
14
|
-
[diff]
|
|
15
|
-
algorithm = histogram
|
|
16
|
-
[pull]
|
|
17
|
-
ff = only
|
|
18
|
-
[receive]
|
|
19
|
-
denyCurrentBranch = warn
|
|
20
|
-
[remote "origin"]
|
|
21
|
-
fetch = +refs/heads/*:refs/remotes/origin/*
|
|
22
|
-
url = https://github.com/user/sqlmath
|
|
23
|
-
[remote "upstream"]
|
|
24
|
-
fetch = +refs/heads/*:refs/remotes/upstream/*
|
|
25
|
-
url = https://github.com/sqlmath/sqlmath
|
package/.github/workflows/ci.yml
DELETED
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
# this workflow will run nodejs coverages and tests
|
|
2
|
-
# and upload build-artifacts to branch-gh-pages
|
|
3
|
-
name: ci
|
|
4
|
-
on:
|
|
5
|
-
push:
|
|
6
|
-
branches:
|
|
7
|
-
- alpha
|
|
8
|
-
- beta
|
|
9
|
-
- master
|
|
10
|
-
- sandbox
|
|
11
|
-
workflow_dispatch:
|
|
12
|
-
branches:
|
|
13
|
-
- alpha
|
|
14
|
-
- beta
|
|
15
|
-
- master
|
|
16
|
-
- sandbox
|
|
17
|
-
jobs:
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
# shCiBase - start
|
|
21
|
-
job1:
|
|
22
|
-
strategy:
|
|
23
|
-
matrix:
|
|
24
|
-
architecture:
|
|
25
|
-
# - arm64
|
|
26
|
-
- x64
|
|
27
|
-
# - x86
|
|
28
|
-
node_version:
|
|
29
|
-
# - 12
|
|
30
|
-
- 14
|
|
31
|
-
- 16
|
|
32
|
-
os:
|
|
33
|
-
- macos-latest
|
|
34
|
-
- ubuntu-latest
|
|
35
|
-
- windows-latest
|
|
36
|
-
name: job1 . node . v${{ matrix.node_version }} . ${{ matrix.architecture }} . ${{ matrix.os }}
|
|
37
|
-
runs-on: ${{ matrix.os }}
|
|
38
|
-
steps:
|
|
39
|
-
# disable autocrlf in windows
|
|
40
|
-
- run: git config --global core.autocrlf false
|
|
41
|
-
# https://github.com/actions/checkout
|
|
42
|
-
- uses: actions/checkout@v2
|
|
43
|
-
# https://github.com/actions/cache
|
|
44
|
-
- uses: actions/cache@v2
|
|
45
|
-
with:
|
|
46
|
-
key: ${{ matrix.architecture }}-${{ matrix.node_version }}-${{ matrix.os }}-${{ hashFiles('./package.json') }}
|
|
47
|
-
path: .cache
|
|
48
|
-
# https://github.com/actions/setup-node
|
|
49
|
-
- uses: actions/setup-node@v2
|
|
50
|
-
with:
|
|
51
|
-
node-version: ${{ matrix.node_version }}
|
|
52
|
-
architecture: ${{ matrix.architecture }}
|
|
53
|
-
# fetch jslint_ci.sh from trusted source
|
|
54
|
-
- run: git fetch origin alpha && git checkout origin/alpha .ci.sh jslint_ci.sh
|
|
55
|
-
# run nodejs coverages and tests
|
|
56
|
-
- run: sh jslint_ci.sh shCiBase
|
|
57
|
-
# shCiBase - end
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
# shCiArtifactUpload - start
|
|
61
|
-
# fetch jslint_ci.sh from trusted source
|
|
62
|
-
- run: git fetch origin alpha && git checkout origin/alpha .ci.sh jslint_ci.sh
|
|
63
|
-
# upload build-artifacts to branch-gh-pages
|
|
64
|
-
- run: sh jslint_ci.sh shCiArtifactUpload
|
|
65
|
-
env:
|
|
66
|
-
CI_NODE_VERSION_ARCH_PLATFORM: v16.x64.linux
|
|
67
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
68
|
-
# shCiArtifactUpload - end
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
# upload binaries - start
|
|
72
|
-
- uses: actions/upload-artifact@v2
|
|
73
|
-
with:
|
|
74
|
-
name: binaries
|
|
75
|
-
path: _binary_*
|
|
76
|
-
# upload binaries - end
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
job2:
|
|
80
|
-
needs: job1
|
|
81
|
-
strategy:
|
|
82
|
-
matrix:
|
|
83
|
-
architecture:
|
|
84
|
-
# - arm64
|
|
85
|
-
- x64
|
|
86
|
-
# - x86
|
|
87
|
-
node_version:
|
|
88
|
-
# - 12
|
|
89
|
-
# - 14
|
|
90
|
-
- 16
|
|
91
|
-
os:
|
|
92
|
-
# - macos-latest
|
|
93
|
-
- ubuntu-latest
|
|
94
|
-
# - windows-latest
|
|
95
|
-
name: job2 . node . v${{ matrix.node_version }} . ${{ matrix.architecture }} . ${{ matrix.os }}
|
|
96
|
-
runs-on: ${{ matrix.os }}
|
|
97
|
-
steps:
|
|
98
|
-
# disable autocrlf in windows
|
|
99
|
-
- run: git config --global core.autocrlf false
|
|
100
|
-
# https://github.com/actions/checkout
|
|
101
|
-
- uses: actions/checkout@v2
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
# download binaries - start
|
|
105
|
-
- uses: actions/download-artifact@v2
|
|
106
|
-
with:
|
|
107
|
-
name: binaries
|
|
108
|
-
# download binaries - end
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
# shCiArtifactUpload2 - start
|
|
112
|
-
# fetch jslint_ci.sh from trusted source
|
|
113
|
-
- run: git fetch origin alpha && git checkout origin/alpha .ci.sh jslint_ci.sh
|
|
114
|
-
# upload build-artifacts to branch-gh-pages
|
|
115
|
-
- run: sh jslint_ci.sh shCiArtifactUpload2
|
|
116
|
-
env:
|
|
117
|
-
CI_NODE_VERSION_ARCH_PLATFORM: v16.x64.linux
|
|
118
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
119
|
-
# shCiArtifactUpload2 - end
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
# Publishing packages to npm and GitHub Packages
|
|
2
|
-
# https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages#publishing-packages-to-npm-and-github-packages
|
|
3
|
-
name: publish
|
|
4
|
-
on:
|
|
5
|
-
release:
|
|
6
|
-
types: [created]
|
|
7
|
-
workflow_dispatch:
|
|
8
|
-
branches:
|
|
9
|
-
- alpha
|
|
10
|
-
- beta
|
|
11
|
-
- master
|
|
12
|
-
- sandbox
|
|
13
|
-
jobs:
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
# npm publish - start
|
|
17
|
-
build:
|
|
18
|
-
strategy:
|
|
19
|
-
matrix:
|
|
20
|
-
architecture:
|
|
21
|
-
# - arm64
|
|
22
|
-
- x64
|
|
23
|
-
# - x86
|
|
24
|
-
node_version:
|
|
25
|
-
# - 12
|
|
26
|
-
# - 14
|
|
27
|
-
- 16
|
|
28
|
-
os:
|
|
29
|
-
# - macos-latest
|
|
30
|
-
- ubuntu-latest
|
|
31
|
-
# - windows-latest
|
|
32
|
-
name: job1 . node . v${{ matrix.node_version }} . ${{ matrix.architecture }} . ${{ matrix.os }}
|
|
33
|
-
runs-on: ${{ matrix.os }}
|
|
34
|
-
permissions:
|
|
35
|
-
contents: read
|
|
36
|
-
packages: write
|
|
37
|
-
steps:
|
|
38
|
-
|
|
39
|
-
# Setup .npmrc file to publish to GitHub Packages
|
|
40
|
-
- run: rm -f /home/runner/work/_temp/.npmrc
|
|
41
|
-
- uses: actions/checkout@v2
|
|
42
|
-
- uses: actions/setup-node@v2
|
|
43
|
-
with:
|
|
44
|
-
node-version: ${{ matrix.node_version }}
|
|
45
|
-
architecture: ${{ matrix.architecture }}
|
|
46
|
-
registry-url: 'https://npm.pkg.github.com'
|
|
47
|
-
# Defaults to the user or organization that owns the workflow file
|
|
48
|
-
# scope: '@octocat'
|
|
49
|
-
# Publish to GitHub Packages
|
|
50
|
-
- run: sh jslint_ci.sh shCiNpmPublish
|
|
51
|
-
env:
|
|
52
|
-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
53
|
-
NPM_REGISTRY: github
|
|
54
|
-
|
|
55
|
-
# Setup .npmrc file to publish to npm
|
|
56
|
-
- run: rm -f /home/runner/work/_temp/.npmrc
|
|
57
|
-
- uses: actions/checkout@v2
|
|
58
|
-
- uses: actions/setup-node@v2
|
|
59
|
-
with:
|
|
60
|
-
node-version: ${{ matrix.node_version }}
|
|
61
|
-
architecture: ${{ matrix.architecture }}
|
|
62
|
-
registry-url: 'https://registry.npmjs.org'
|
|
63
|
-
# Publish to npm
|
|
64
|
-
- run: sh jslint_ci.sh shCiNpmPublish
|
|
65
|
-
env:
|
|
66
|
-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
67
|
-
# npm publish - end
|
package/.gitignore
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="folder-open" class="svg-inline--fa fa-folder-open fa-w-18" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path fill="currentColor" d="M572.694 292.093L500.27 416.248A63.997 63.997 0 0 1 444.989 448H45.025c-18.523 0-30.064-20.093-20.731-36.093l72.424-124.155A64 64 0 0 1 152 256h399.964c18.523 0 30.064 20.093 20.73 36.093zM152 224h328v-48c0-26.51-21.49-48-48-48H272l-64-64H48C21.49 64 0 85.49 0 112v278.046l69.077-118.418C86.214 242.25 117.989 224 152 224z"></path></svg>
|