@sqb/sqljs 4.0.15 → 4.1.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.
- package/dist/SqljsAdapter.d.ts +1 -1
- package/dist/SqljsAdapter.js +3 -3
- package/package.json +3 -3
package/dist/SqljsAdapter.d.ts
CHANGED
package/dist/SqljsAdapter.js
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.closeMemoryDatabase = exports.SqljsAdapter = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const fs_1 = tslib_1.__importDefault(require("fs"));
|
|
6
5
|
require("@sqb/sqlite-dialect");
|
|
7
|
-
const
|
|
8
|
-
const SqljsConnection_1 = require("./SqljsConnection");
|
|
6
|
+
const fs_1 = tslib_1.__importDefault(require("fs"));
|
|
9
7
|
const path_1 = tslib_1.__importDefault(require("path"));
|
|
10
8
|
const putil_promisify_1 = tslib_1.__importDefault(require("putil-promisify"));
|
|
9
|
+
const sql_js_1 = tslib_1.__importDefault(require("sql.js"));
|
|
10
|
+
const SqljsConnection_1 = require("./SqljsConnection");
|
|
11
11
|
const dbCache = new Map();
|
|
12
12
|
class SqljsAdapter {
|
|
13
13
|
constructor() {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sqb/sqljs",
|
|
3
3
|
"description": "SQB serialization extension for sql.js driver",
|
|
4
|
-
"version": "4.0
|
|
4
|
+
"version": "4.1.0",
|
|
5
5
|
"author": "Panates",
|
|
6
6
|
"contributors": [
|
|
7
7
|
"Eray Hanoglu <e.hanoglu@panates.com>"
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"main": "dist/index.js",
|
|
39
39
|
"types": "dist/index.d.ts",
|
|
40
40
|
"engines": {
|
|
41
|
-
"node": ">=
|
|
41
|
+
"node": ">= 16.0"
|
|
42
42
|
},
|
|
43
43
|
"directories": {
|
|
44
44
|
"lib": "dist",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"dist/"
|
|
51
51
|
],
|
|
52
52
|
"scripts": {
|
|
53
|
-
"build": "tsc -b tsconfig
|
|
53
|
+
"build": "tsc -b tsconfig-build.json",
|
|
54
54
|
"prebuild": "npm run lint && npm run clean:dist",
|
|
55
55
|
"postbuild": "copyfiles package.json README.md LICENSE ../../build/sqljs",
|
|
56
56
|
"clean": "ts-cleanup -s src --all & ts-cleanup -s test",
|