sqlmath 0.0.1 → 2021.11.20

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.
Files changed (96) hide show
  1. package/.npmignore +10 -0
  2. package/CHANGELOG.md +53 -2
  3. package/LICENSE +16 -22
  4. package/README.md +18 -219
  5. package/_binary_sqlmath_napi8_darwin_x64.node +0 -0
  6. package/_binary_sqlmath_napi8_linux_x64.node +0 -0
  7. package/_binary_sqlmath_napi8_win32_x64.node +0 -0
  8. package/jslint.mjs +10998 -0
  9. package/package.json +23 -8
  10. package/sqlmath.mjs +1713 -0
  11. package/.gitconfig +0 -25
  12. package/.github/workflows/ci.yml +0 -61
  13. package/.gitignore +0 -24
  14. package/extension-functions.c +0 -2047
  15. package/jslint_ci.sh +0 -1968
  16. package/node_sqlite3.cc +0 -11877
  17. package/sqlite-autoconf-3360000/INSTALL +0 -370
  18. package/sqlite-autoconf-3360000/Makefile.am +0 -20
  19. package/sqlite-autoconf-3360000/Makefile.fallback +0 -19
  20. package/sqlite-autoconf-3360000/Makefile.in +0 -1028
  21. package/sqlite-autoconf-3360000/Makefile.msc +0 -1037
  22. package/sqlite-autoconf-3360000/README.txt +0 -113
  23. package/sqlite-autoconf-3360000/Replace.cs +0 -223
  24. package/sqlite-autoconf-3360000/aclocal.m4 +0 -10199
  25. package/sqlite-autoconf-3360000/compile +0 -347
  26. package/sqlite-autoconf-3360000/config.guess +0 -1480
  27. package/sqlite-autoconf-3360000/config.sub +0 -1801
  28. package/sqlite-autoconf-3360000/configure +0 -16135
  29. package/sqlite-autoconf-3360000/configure.ac +0 -285
  30. package/sqlite-autoconf-3360000/depcomp +0 -791
  31. package/sqlite-autoconf-3360000/install-sh +0 -508
  32. package/sqlite-autoconf-3360000/ltmain.sh +0 -11156
  33. package/sqlite-autoconf-3360000/missing +0 -215
  34. package/sqlite-autoconf-3360000/shell.c +0 -22381
  35. package/sqlite-autoconf-3360000/sqlite3.1 +0 -286
  36. package/sqlite-autoconf-3360000/sqlite3.c +0 -235517
  37. package/sqlite-autoconf-3360000/sqlite3.h +0 -12353
  38. package/sqlite-autoconf-3360000/sqlite3.pc.in +0 -13
  39. package/sqlite-autoconf-3360000/sqlite3.rc +0 -83
  40. package/sqlite-autoconf-3360000/sqlite3ext.h +0 -663
  41. package/sqlite-autoconf-3360000/sqlite3rc.h +0 -3
  42. package/sqlite-autoconf-3360000/tea/Makefile.in +0 -440
  43. package/sqlite-autoconf-3360000/tea/README +0 -36
  44. package/sqlite-autoconf-3360000/tea/aclocal.m4 +0 -9
  45. package/sqlite-autoconf-3360000/tea/configure +0 -9989
  46. package/sqlite-autoconf-3360000/tea/configure.ac +0 -201
  47. package/sqlite-autoconf-3360000/tea/doc/sqlite3.n +0 -15
  48. package/sqlite-autoconf-3360000/tea/generic/tclsqlite3.c +0 -4016
  49. package/sqlite-autoconf-3360000/tea/license.terms +0 -6
  50. package/sqlite-autoconf-3360000/tea/pkgIndex.tcl.in +0 -7
  51. package/sqlite-autoconf-3360000/tea/tclconfig/install-sh +0 -528
  52. package/sqlite-autoconf-3360000/tea/tclconfig/tcl.m4 +0 -4168
  53. package/sqlite-autoconf-3360000/tea/win/makefile.vc +0 -419
  54. package/sqlite-autoconf-3360000/tea/win/nmakehlp.c +0 -815
  55. package/sqlite-autoconf-3360000/tea/win/rules.vc +0 -711
  56. package/sqlmath.js +0 -238
  57. package/test/backup.test.js +0 -279
  58. package/test/blob.test.js +0 -54
  59. package/test/cache.test.js +0 -42
  60. package/test/constants.test.js +0 -44
  61. package/test/database_fail.test.js +0 -153
  62. package/test/each.test.js +0 -39
  63. package/test/exec.test.js +0 -39
  64. package/test/extension.test.js +0 -26
  65. package/test/extension_functions.test.js +0 -29
  66. package/test/fts-content.test.js +0 -13
  67. package/test/interrupt.test.js +0 -80
  68. package/test/issue-108.test.js +0 -28
  69. package/test/json.test.js +0 -22
  70. package/test/map.test.js +0 -63
  71. package/test/named_columns.test.js +0 -38
  72. package/test/named_params.test.js +0 -69
  73. package/test/null_error.test.js +0 -41
  74. package/test/nw/.gitignore +0 -3
  75. package/test/nw/Makefile +0 -39
  76. package/test/nw/index.html +0 -14
  77. package/test/nw/package.json +0 -9
  78. package/test/open_close.test.js +0 -187
  79. package/test/other_objects.test.js +0 -98
  80. package/test/parallel_insert.test.js +0 -44
  81. package/test/prepare.test.js +0 -427
  82. package/test/profile.test.js +0 -57
  83. package/test/rerun.test.js +0 -50
  84. package/test/scheduling.test.js +0 -44
  85. package/test/serialization.test.js +0 -104
  86. package/test/support/createdb-electron.js +0 -10
  87. package/test/support/createdb.js +0 -47
  88. package/test/support/elmo.png +0 -0
  89. package/test/support/helper.js +0 -37
  90. package/test/support/script.sql +0 -70
  91. package/test/trace.test.js +0 -67
  92. package/test/unicode.test.js +0 -114
  93. package/test/upsert.test.js +0 -27
  94. package/test/verbose.test.js +0 -60
  95. package/test.js +0 -141
  96. package/test.slr.mjs +0 -212
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.js
23
- [remote "upstream"]
24
- fetch = +refs/heads/*:refs/remotes/upstream/*
25
- url = https://github.com/sqlmath/sqlmath.js
@@ -1,61 +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
- # shCiBase - start
18
- jobs:
19
- build:
20
- runs-on: ${{ matrix.os }}
21
- strategy:
22
- matrix:
23
- architecture:
24
- # - arm64
25
- - x64
26
- # - x86
27
- node_version:
28
- # - 12
29
- - 14
30
- # - 16
31
- os:
32
- - macos-latest
33
- - ubuntu-latest
34
- - windows-latest
35
- name: node . v${{ matrix.node_version }} . ${{ matrix.architecture }} . ${{ matrix.os }}
36
- steps:
37
- # disable autocrlf in windows
38
- - run: git config --global core.autocrlf false
39
- # https://github.com/actions/checkout
40
- - uses: actions/checkout@v2
41
- # https://github.com/actions/setup-node
42
- - uses: actions/setup-node@v2
43
- with:
44
- node-version: ${{ matrix.node_version }}
45
- architecture: ${{ matrix.architecture }}
46
- # fetch jslint_ci.sh from trusted source
47
- - run: git fetch origin alpha && git checkout origin/alpha jslint_ci.sh
48
- # run nodejs coverages and tests
49
- - run: sh jslint_ci.sh shCiBase
50
- # shCiBase - end
51
- #!! # fetch jslint_ci.sh from trusted source
52
- #!! - run: git fetch origin alpha && git checkout origin/alpha jslint_ci.sh
53
- #!! # upload build-artifacts to branch-gh-pages
54
- #!! - run: sh jslint_ci.sh shCiArtifactUpload
55
- #!! env:
56
- #!! CI_NODE_VERSION_ARCH_PLATFORM: v14.x64.linux
57
- #!! GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
58
- - uses: actions/upload-artifact@v2
59
- with:
60
- name: lib
61
- path: lib
package/.gitignore DELETED
@@ -1,24 +0,0 @@
1
- "*
2
- '*
3
- *.[0123456789][0123456789]
4
- *.lock
5
- *.log
6
- *.pyc
7
- *~
8
- .*
9
- _*
10
- node_modules
11
- package-lock.json
12
- temp*
13
- tmp
14
- undefined
15
-
16
- !.gitconfig
17
- !.github
18
- !.gitignore
19
-
20
- jslint.cjs
21
- jslint.js
22
-
23
- *.db
24
- build