@e-mc/db 0.9.0 → 0.9.1

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/LICENSE CHANGED
@@ -1,11 +1,11 @@
1
- Copyright 2024 An Pham
2
-
3
- Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
4
-
5
- 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
6
-
7
- 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
8
-
9
- 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
10
-
1
+ Copyright 2024 An Pham
2
+
3
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
4
+
5
+ 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
6
+
7
+ 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
8
+
9
+ 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
10
+
11
11
  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @e-mc/db
2
2
 
3
- * NodeJS 14/16
3
+ * NodeJS 16
4
4
  * ES2020
5
5
 
6
6
  ## General Usage
@@ -9,7 +9,7 @@
9
9
 
10
10
  ## Interface
11
11
 
12
- * [View Source](https://www.unpkg.com/@e-mc/types@0.9.0/lib/index.d.ts)
12
+ * [View Source](https://www.unpkg.com/@e-mc/types@0.9.1/lib/index.d.ts)
13
13
 
14
14
  ```typescript
15
15
  import type { DbDataSource } from "./squared";
@@ -198,29 +198,13 @@ const [rows1, rows2] = await instance.executeBatchQuery([
198
198
  );
199
199
  ```
200
200
 
201
- ## NodeJS 14 LTS
202
-
203
- Any optional fail safe dependencies were removed as of `E-mc 0.9`. The code itself will still be *ES2020* and will continue to work equivalently when self-installing these dependencies:
204
-
205
- ### Under 15.4 + 16.0
206
-
207
- ```sh
208
- npm i abort-controller event-target-shim
209
- ```
210
-
211
- ### Under 14.17 + 15.6
212
-
213
- ```sh
214
- npm i uuid
215
- ```
216
-
217
201
  ## References
218
202
 
219
- - https://www.unpkg.com/@e-mc/types@0.9.0/lib/squared.d.ts
220
- - https://www.unpkg.com/@e-mc/types@0.9.0/lib/core.d.ts
221
- - https://www.unpkg.com/@e-mc/types@0.9.0/lib/db.d.ts
222
- - https://www.unpkg.com/@e-mc/types@0.9.0/lib/http.d.ts
223
- - https://www.unpkg.com/@e-mc/types@0.9.0/lib/settings.d.ts
203
+ - https://www.unpkg.com/@e-mc/types@0.9.1/lib/squared.d.ts
204
+ - https://www.unpkg.com/@e-mc/types@0.9.1/lib/core.d.ts
205
+ - https://www.unpkg.com/@e-mc/types@0.9.1/lib/db.d.ts
206
+ - https://www.unpkg.com/@e-mc/types@0.9.1/lib/http.d.ts
207
+ - https://www.unpkg.com/@e-mc/types@0.9.1/lib/settings.d.ts
224
208
 
225
209
  * https://www.npmjs.com/package/@types/node
226
210
 
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import type { DbConstructor } from '../types/lib';
2
-
3
- declare const Db: DbConstructor;
4
-
1
+ import type { DbConstructor } from '../types/lib';
2
+
3
+ declare const Db: DbConstructor;
4
+
5
5
  export = Db;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e-mc/db",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "DB modules for E-mc.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -20,8 +20,8 @@
20
20
  "license": "BSD 3-Clause",
21
21
  "homepage": "https://github.com/anpham6/e-mc#readme",
22
22
  "dependencies": {
23
- "@e-mc/core": "0.9.0",
24
- "@e-mc/request": "0.9.0",
25
- "@e-mc/types": "0.9.0"
23
+ "@e-mc/core": "0.9.1",
24
+ "@e-mc/request": "0.9.1",
25
+ "@e-mc/types": "0.9.1"
26
26
  }
27
27
  }
package/pool.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import type { DbPoolConstructor } from '../types/lib/db';
2
-
3
- declare const DbPool: DbPoolConstructor;
4
-
1
+ import type { DbPoolConstructor } from '../types/lib/db';
2
+
3
+ declare const DbPool: DbPoolConstructor;
4
+
5
5
  export = DbPool;