@voltro/sql-mssql 0.86.0 → 0.87.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.
@@ -5,7 +5,7 @@ property of its respective copyright holders and is used under the terms of
5
5
  its license. This file is provided for attribution; it grants no rights in
6
6
  @voltro/sql-mssql itself, which is proprietary (see LICENSE).
7
7
 
8
- Generated from the resolved runtime dependency closure (72 packages).
8
+ Generated from the resolved runtime dependency closure (70 packages).
9
9
 
10
10
  ---
11
11
 
@@ -429,7 +429,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
429
429
  SOFTWARE
430
430
  ```
431
431
 
432
- ## @azure/msal-node@5.2.2
432
+ ## @azure/msal-node@7.1.1
433
433
 
434
434
  License: MIT
435
435
 
@@ -2076,214 +2076,6 @@ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
2076
2076
  PERFORMANCE OF THIS SOFTWARE.
2077
2077
  ```
2078
2078
 
2079
- ## typeid-js@1.2.0
2080
-
2081
- License: Apache-2.0
2082
-
2083
- ```
2084
- Apache License
2085
- Version 2.0, January 2004
2086
- http://www.apache.org/licenses/
2087
-
2088
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
2089
-
2090
- 1. Definitions.
2091
-
2092
- "License" shall mean the terms and conditions for use, reproduction,
2093
- and distribution as defined by Sections 1 through 9 of this document.
2094
-
2095
- "Licensor" shall mean the copyright owner or entity authorized by
2096
- the copyright owner that is granting the License.
2097
-
2098
- "Legal Entity" shall mean the union of the acting entity and all
2099
- other entities that control, are controlled by, or are under common
2100
- control with that entity. For the purposes of this definition,
2101
- "control" means (i) the power, direct or indirect, to cause the
2102
- direction or management of such entity, whether by contract or
2103
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
2104
- outstanding shares, or (iii) beneficial ownership of such entity.
2105
-
2106
- "You" (or "Your") shall mean an individual or Legal Entity
2107
- exercising permissions granted by this License.
2108
-
2109
- "Source" form shall mean the preferred form for making modifications,
2110
- including but not limited to software source code, documentation
2111
- source, and configuration files.
2112
-
2113
- "Object" form shall mean any form resulting from mechanical
2114
- transformation or translation of a Source form, including but
2115
- not limited to compiled object code, generated documentation,
2116
- and conversions to other media types.
2117
-
2118
- "Work" shall mean the work of authorship, whether in Source or
2119
- Object form, made available under the License, as indicated by a
2120
- copyright notice that is included in or attached to the work
2121
- (an example is provided in the Appendix below).
2122
-
2123
- "Derivative Works" shall mean any work, whether in Source or Object
2124
- form, that is based on (or derived from) the Work and for which the
2125
- editorial revisions, annotations, elaborations, or other modifications
2126
- represent, as a whole, an original work of authorship. For the purposes
2127
- of this License, Derivative Works shall not include works that remain
2128
- separable from, or merely link (or bind by name) to the interfaces of,
2129
- the Work and Derivative Works thereof.
2130
-
2131
- "Contribution" shall mean any work of authorship, including
2132
- the original version of the Work and any modifications or additions
2133
- to that Work or Derivative Works thereof, that is intentionally
2134
- submitted to Licensor for inclusion in the Work by the copyright owner
2135
- or by an individual or Legal Entity authorized to submit on behalf of
2136
- the copyright owner. For the purposes of this definition, "submitted"
2137
- means any form of electronic, verbal, or written communication sent
2138
- to the Licensor or its representatives, including but not limited to
2139
- communication on electronic mailing lists, source code control systems,
2140
- and issue tracking systems that are managed by, or on behalf of, the
2141
- Licensor for the purpose of discussing and improving the Work, but
2142
- excluding communication that is conspicuously marked or otherwise
2143
- designated in writing by the copyright owner as "Not a Contribution."
2144
-
2145
- "Contributor" shall mean Licensor and any individual or Legal Entity
2146
- on behalf of whom a Contribution has been received by Licensor and
2147
- subsequently incorporated within the Work.
2148
-
2149
- 2. Grant of Copyright License. Subject to the terms and conditions of
2150
- this License, each Contributor hereby grants to You a perpetual,
2151
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
2152
- copyright license to reproduce, prepare Derivative Works of,
2153
- publicly display, publicly perform, sublicense, and distribute the
2154
- Work and such Derivative Works in Source or Object form.
2155
-
2156
- 3. Grant of Patent License. Subject to the terms and conditions of
2157
- this License, each Contributor hereby grants to You a perpetual,
2158
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
2159
- (except as stated in this section) patent license to make, have made,
2160
- use, offer to sell, sell, import, and otherwise transfer the Work,
2161
- where such license applies only to those patent claims licensable
2162
- by such Contributor that are necessarily infringed by their
2163
- Contribution(s) alone or by combination of their Contribution(s)
2164
- with the Work to which such Contribution(s) was submitted. If You
2165
- institute patent litigation against any entity (including a
2166
- cross-claim or counterclaim in a lawsuit) alleging that the Work
2167
- or a Contribution incorporated within the Work constitutes direct
2168
- or contributory patent infringement, then any patent licenses
2169
- granted to You under this License for that Work shall terminate
2170
- as of the date such litigation is filed.
2171
-
2172
- 4. Redistribution. You may reproduce and distribute copies of the
2173
- Work or Derivative Works thereof in any medium, with or without
2174
- modifications, and in Source or Object form, provided that You
2175
- meet the following conditions:
2176
-
2177
- (a) You must give any other recipients of the Work or
2178
- Derivative Works a copy of this License; and
2179
-
2180
- (b) You must cause any modified files to carry prominent notices
2181
- stating that You changed the files; and
2182
-
2183
- (c) You must retain, in the Source form of any Derivative Works
2184
- that You distribute, all copyright, patent, trademark, and
2185
- attribution notices from the Source form of the Work,
2186
- excluding those notices that do not pertain to any part of
2187
- the Derivative Works; and
2188
-
2189
- (d) If the Work includes a "NOTICE" text file as part of its
2190
- distribution, then any Derivative Works that You distribute must
2191
- include a readable copy of the attribution notices contained
2192
- within such NOTICE file, excluding those notices that do not
2193
- pertain to any part of the Derivative Works, in at least one
2194
- of the following places: within a NOTICE text file distributed
2195
- as part of the Derivative Works; within the Source form or
2196
- documentation, if provided along with the Derivative Works; or,
2197
- within a display generated by the Derivative Works, if and
2198
- wherever such third-party notices normally appear. The contents
2199
- of the NOTICE file are for informational purposes only and
2200
- do not modify the License. You may add Your own attribution
2201
- notices within Derivative Works that You distribute, alongside
2202
- or as an addendum to the NOTICE text from the Work, provided
2203
- that such additional attribution notices cannot be construed
2204
- as modifying the License.
2205
-
2206
- You may add Your own copyright statement to Your modifications and
2207
- may provide additional or different license terms and conditions
2208
- for use, reproduction, or distribution of Your modifications, or
2209
- for any such Derivative Works as a whole, provided Your use,
2210
- reproduction, and distribution of the Work otherwise complies with
2211
- the conditions stated in this License.
2212
-
2213
- 5. Submission of Contributions. Unless You explicitly state otherwise,
2214
- any Contribution intentionally submitted for inclusion in the Work
2215
- by You to the Licensor shall be under the terms and conditions of
2216
- this License, without any additional terms or conditions.
2217
- Notwithstanding the above, nothing herein shall supersede or modify
2218
- the terms of any separate license agreement you may have executed
2219
- with Licensor regarding such Contributions.
2220
-
2221
- 6. Trademarks. This License does not grant permission to use the trade
2222
- names, trademarks, service marks, or product names of the Licensor,
2223
- except as required for reasonable and customary use in describing the
2224
- origin of the Work and reproducing the content of the NOTICE file.
2225
-
2226
- 7. Disclaimer of Warranty. Unless required by applicable law or
2227
- agreed to in writing, Licensor provides the Work (and each
2228
- Contributor provides its Contributions) on an "AS IS" BASIS,
2229
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
2230
- implied, including, without limitation, any warranties or conditions
2231
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
2232
- PARTICULAR PURPOSE. You are solely responsible for determining the
2233
- appropriateness of using or redistributing the Work and assume any
2234
- risks associated with Your exercise of permissions under this License.
2235
-
2236
- 8. Limitation of Liability. In no event and under no legal theory,
2237
- whether in tort (including negligence), contract, or otherwise,
2238
- unless required by applicable law (such as deliberate and grossly
2239
- negligent acts) or agreed to in writing, shall any Contributor be
2240
- liable to You for damages, including any direct, indirect, special,
2241
- incidental, or consequential damages of any character arising as a
2242
- result of this License or out of the use or inability to use the
2243
- Work (including but not limited to damages for loss of goodwill,
2244
- work stoppage, computer failure or malfunction, or any and all
2245
- other commercial damages or losses), even if such Contributor
2246
- has been advised of the possibility of such damages.
2247
-
2248
- 9. Accepting Warranty or Additional Liability. While redistributing
2249
- the Work or Derivative Works thereof, You may choose to offer,
2250
- and charge a fee for, acceptance of support, warranty, indemnity,
2251
- or other liability obligations and/or rights consistent with this
2252
- License. However, in accepting such obligations, You may act only
2253
- on Your own behalf and on Your sole responsibility, not on behalf
2254
- of any other Contributor, and only if You agree to indemnify,
2255
- defend, and hold each Contributor harmless for any liability
2256
- incurred by, or claims asserted against, such Contributor by reason
2257
- of your accepting any such warranty or additional liability.
2258
-
2259
- END OF TERMS AND CONDITIONS
2260
-
2261
- APPENDIX: How to apply the Apache License to your work.
2262
-
2263
- To apply the Apache License to your work, attach the following
2264
- boilerplate notice, with the fields enclosed by brackets "[]"
2265
- replaced with your own identifying information. (Don't include
2266
- the brackets!) The text should be enclosed in the appropriate
2267
- comment syntax for the file format. We also recommend that a
2268
- file or class name and description of purpose be included on the
2269
- same "printed page" as the copyright notice for easier
2270
- identification within third-party archives.
2271
-
2272
- Copyright [yyyy] [name of copyright owner]
2273
-
2274
- Licensed under the Apache License, Version 2.0 (the "License");
2275
- you may not use this file except in compliance with the License.
2276
- You may obtain a copy of the License at
2277
-
2278
- http://www.apache.org/licenses/LICENSE-2.0
2279
-
2280
- Unless required by applicable law or agreed to in writing, software
2281
- distributed under the License is distributed on an "AS IS" BASIS,
2282
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2283
- See the License for the specific language governing permissions and
2284
- limitations under the License.
2285
- ```
2286
-
2287
2079
  ## ulid@3.0.2
2288
2080
 
2289
2081
  License: MIT
@@ -2340,22 +2132,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2340
2132
  SOFTWARE.
2341
2133
  ```
2342
2134
 
2343
- ## uuid@11.1.1
2344
-
2345
- License: MIT
2346
-
2347
- ```
2348
- The MIT License (MIT)
2349
-
2350
- Copyright (c) 2010-2020 Robert Kieffer and other contributors
2351
-
2352
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
2353
-
2354
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
2355
-
2356
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2357
- ```
2358
-
2359
2135
  ## wsl-utils@0.1.0
2360
2136
 
2361
2137
  License: MIT
package/dist/index.d.ts CHANGED
@@ -10,6 +10,7 @@ import { DialectReplicationAdapter } from '@voltro/database';
10
10
  import { Effect } from 'effect';
11
11
  import { EventEmitter } from 'node:events';
12
12
  import { InsertIgnoreResult } from '@voltro/database';
13
+ import { InsertManyOptions } from '@voltro/database';
13
14
  import { Layer } from 'effect';
14
15
  import { ManagedRuntime } from 'effect';
15
16
  import { MssqlClient } from '@effect/sql-mssql';
@@ -232,6 +233,7 @@ export declare class MssqlStore implements DataStore {
232
233
  */
233
234
  private maxInTxn;
234
235
  private routeEvent;
236
+ integrityQuery(descriptor: QueryDescriptor): Promise<ReadonlyArray<Row>>;
235
237
  query(d: QueryDescriptor): Promise<readonly Readonly<Record<string, unknown>>[]>;
236
238
  raw<T extends object = Row>(fragment: RawSqlFragment, _opts?: {
237
239
  dependsOn?: ReadonlyArray<string>;
@@ -259,7 +261,7 @@ export declare class MssqlStore implements DataStore {
259
261
  */
260
262
  private writeWithRecorders;
261
263
  insert(t: string, r: Row): Promise<Readonly<Record<string, unknown>>>;
262
- insertMany(t: string, rows: ReadonlyArray<Row>): Promise<readonly Readonly<Record<string, unknown>>[]>;
264
+ insertMany(t: string, rows: ReadonlyArray<Row>, options?: InsertManyOptions): Promise<readonly Readonly<Record<string, unknown>>[]>;
263
265
  patchJson(t: string, pk: string, path: string, value: unknown, additionalPatch?: Readonly<Record<string, unknown>>): Promise<Readonly<Record<string, unknown>> | null>;
264
266
  update(t: string, pk: string, p: Readonly<Record<string, unknown>>): Promise<Readonly<Record<string, unknown>> | null>;
265
267
  delete(t: string, pk: string): Promise<boolean>;
@@ -270,6 +272,12 @@ export declare class MssqlStore implements DataStore {
270
272
  where: Predicate;
271
273
  }): Promise<number>;
272
274
  /* Excluded from this release type: executeUpdateMany */
275
+ /**
276
+ * A set-based write nobody reads the images of (`writeImagesObserved`): the
277
+ * same statement without OUTPUT, answered by `@@ROWCOUNT` from the same
278
+ * batch — one count row instead of every changed row.
279
+ */
280
+ private countWritten;
273
281
  /* Excluded from this release type: executeDeleteMany */
274
282
  upsert(t: string, r: Row, options: UpsertOptions): Promise<Readonly<Record<string, unknown>>>;
275
283
  insertIgnore(t: string, r: Row, options: {