drizzle-kit 0.9.51 → 0.9.52
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/index.js +40 -40
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -158458,9 +158458,9 @@ var require_uniq = __commonJS({
|
|
|
158458
158458
|
}
|
|
158459
158459
|
});
|
|
158460
158460
|
|
|
158461
|
-
// node_modules/.pnpm/cli-color@2.0.
|
|
158461
|
+
// node_modules/.pnpm/cli-color@2.0.3/node_modules/cli-color/lib/sgr.js
|
|
158462
158462
|
var require_sgr = __commonJS({
|
|
158463
|
-
"node_modules/.pnpm/cli-color@2.0.
|
|
158463
|
+
"node_modules/.pnpm/cli-color@2.0.3/node_modules/cli-color/lib/sgr.js"(exports, module2) {
|
|
158464
158464
|
"use strict";
|
|
158465
158465
|
var assign3 = require_assign();
|
|
158466
158466
|
var includes = require_contains();
|
|
@@ -158535,9 +158535,9 @@ var require_sgr = __commonJS({
|
|
|
158535
158535
|
}
|
|
158536
158536
|
});
|
|
158537
158537
|
|
|
158538
|
-
// node_modules/.pnpm/cli-color@2.0.
|
|
158538
|
+
// node_modules/.pnpm/cli-color@2.0.3/node_modules/cli-color/lib/supports-color.js
|
|
158539
158539
|
var require_supports_color = __commonJS({
|
|
158540
|
-
"node_modules/.pnpm/cli-color@2.0.
|
|
158540
|
+
"node_modules/.pnpm/cli-color@2.0.3/node_modules/cli-color/lib/supports-color.js"(exports, module2) {
|
|
158541
158541
|
"use strict";
|
|
158542
158542
|
var state = null;
|
|
158543
158543
|
var enableColor = function() {
|
|
@@ -158561,9 +158561,9 @@ var require_supports_color = __commonJS({
|
|
|
158561
158561
|
}
|
|
158562
158562
|
});
|
|
158563
158563
|
|
|
158564
|
-
// node_modules/.pnpm/cli-color@2.0.
|
|
158564
|
+
// node_modules/.pnpm/cli-color@2.0.3/node_modules/cli-color/lib/xterm-colors.js
|
|
158565
158565
|
var require_xterm_colors = __commonJS({
|
|
158566
|
-
"node_modules/.pnpm/cli-color@2.0.
|
|
158566
|
+
"node_modules/.pnpm/cli-color@2.0.3/node_modules/cli-color/lib/xterm-colors.js"(exports, module2) {
|
|
158567
158567
|
"use strict";
|
|
158568
158568
|
module2.exports = [
|
|
158569
158569
|
"000000",
|
|
@@ -158826,9 +158826,9 @@ var require_xterm_colors = __commonJS({
|
|
|
158826
158826
|
}
|
|
158827
158827
|
});
|
|
158828
158828
|
|
|
158829
|
-
// node_modules/.pnpm/cli-color@2.0.
|
|
158829
|
+
// node_modules/.pnpm/cli-color@2.0.3/node_modules/cli-color/lib/xterm-match.js
|
|
158830
158830
|
var require_xterm_match = __commonJS({
|
|
158831
|
-
"node_modules/.pnpm/cli-color@2.0.
|
|
158831
|
+
"node_modules/.pnpm/cli-color@2.0.3/node_modules/cli-color/lib/xterm-match.js"(exports, module2) {
|
|
158832
158832
|
"use strict";
|
|
158833
158833
|
var push = Array.prototype.push;
|
|
158834
158834
|
var reduce = Array.prototype.reduce;
|
|
@@ -158872,9 +158872,9 @@ var require_xterm_match = __commonJS({
|
|
|
158872
158872
|
}
|
|
158873
158873
|
});
|
|
158874
158874
|
|
|
158875
|
-
// node_modules/.pnpm/cli-color@2.0.
|
|
158875
|
+
// node_modules/.pnpm/cli-color@2.0.3/node_modules/cli-color/bare.js
|
|
158876
158876
|
var require_bare = __commonJS({
|
|
158877
|
-
"node_modules/.pnpm/cli-color@2.0.
|
|
158877
|
+
"node_modules/.pnpm/cli-color@2.0.3/node_modules/cli-color/bare.js"(exports, module2) {
|
|
158878
158878
|
"use strict";
|
|
158879
158879
|
var d = require_d();
|
|
158880
158880
|
var assign3 = require_assign();
|
|
@@ -158942,9 +158942,9 @@ var require_bare = __commonJS({
|
|
|
158942
158942
|
}
|
|
158943
158943
|
});
|
|
158944
158944
|
|
|
158945
|
-
// node_modules/.pnpm/cli-color@2.0.
|
|
158945
|
+
// node_modules/.pnpm/cli-color@2.0.3/node_modules/cli-color/window-size.js
|
|
158946
158946
|
var require_window_size = __commonJS({
|
|
158947
|
-
"node_modules/.pnpm/cli-color@2.0.
|
|
158947
|
+
"node_modules/.pnpm/cli-color@2.0.3/node_modules/cli-color/window-size.js"(exports) {
|
|
158948
158948
|
"use strict";
|
|
158949
158949
|
var d = require_d();
|
|
158950
158950
|
Object.defineProperties(exports, {
|
|
@@ -158958,9 +158958,9 @@ var require_window_size = __commonJS({
|
|
|
158958
158958
|
}
|
|
158959
158959
|
});
|
|
158960
158960
|
|
|
158961
|
-
// node_modules/.pnpm/cli-color@2.0.
|
|
158961
|
+
// node_modules/.pnpm/cli-color@2.0.3/node_modules/cli-color/erase.js
|
|
158962
158962
|
var require_erase = __commonJS({
|
|
158963
|
-
"node_modules/.pnpm/cli-color@2.0.
|
|
158963
|
+
"node_modules/.pnpm/cli-color@2.0.3/node_modules/cli-color/erase.js"(exports, module2) {
|
|
158964
158964
|
"use strict";
|
|
158965
158965
|
module2.exports = {
|
|
158966
158966
|
screen: "\x1B[2J",
|
|
@@ -159016,9 +159016,9 @@ var require_trunc = __commonJS({
|
|
|
159016
159016
|
}
|
|
159017
159017
|
});
|
|
159018
159018
|
|
|
159019
|
-
// node_modules/.pnpm/cli-color@2.0.
|
|
159019
|
+
// node_modules/.pnpm/cli-color@2.0.3/node_modules/cli-color/move.js
|
|
159020
159020
|
var require_move = __commonJS({
|
|
159021
|
-
"node_modules/.pnpm/cli-color@2.0.
|
|
159021
|
+
"node_modules/.pnpm/cli-color@2.0.3/node_modules/cli-color/move.js"(exports, module2) {
|
|
159022
159022
|
"use strict";
|
|
159023
159023
|
var d = require_d();
|
|
159024
159024
|
var trunc = require_trunc();
|
|
@@ -159064,9 +159064,9 @@ var require_move = __commonJS({
|
|
|
159064
159064
|
}
|
|
159065
159065
|
});
|
|
159066
159066
|
|
|
159067
|
-
// node_modules/.pnpm/cli-color@2.0.
|
|
159067
|
+
// node_modules/.pnpm/cli-color@2.0.3/node_modules/cli-color/beep.js
|
|
159068
159068
|
var require_beep = __commonJS({
|
|
159069
|
-
"node_modules/.pnpm/cli-color@2.0.
|
|
159069
|
+
"node_modules/.pnpm/cli-color@2.0.3/node_modules/cli-color/beep.js"(exports, module2) {
|
|
159070
159070
|
"use strict";
|
|
159071
159071
|
module2.exports = "\x07";
|
|
159072
159072
|
}
|
|
@@ -159184,9 +159184,9 @@ var require_repeat = __commonJS({
|
|
|
159184
159184
|
}
|
|
159185
159185
|
});
|
|
159186
159186
|
|
|
159187
|
-
// node_modules/.pnpm/cli-color@2.0.
|
|
159187
|
+
// node_modules/.pnpm/cli-color@2.0.3/node_modules/cli-color/regex-ansi.js
|
|
159188
159188
|
var require_regex_ansi = __commonJS({
|
|
159189
|
-
"node_modules/.pnpm/cli-color@2.0.
|
|
159189
|
+
"node_modules/.pnpm/cli-color@2.0.3/node_modules/cli-color/regex-ansi.js"(exports, module2) {
|
|
159190
159190
|
"use strict";
|
|
159191
159191
|
module2.exports = function() {
|
|
159192
159192
|
return new RegExp("[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)|(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))", "g");
|
|
@@ -159194,9 +159194,9 @@ var require_regex_ansi = __commonJS({
|
|
|
159194
159194
|
}
|
|
159195
159195
|
});
|
|
159196
159196
|
|
|
159197
|
-
// node_modules/.pnpm/cli-color@2.0.
|
|
159197
|
+
// node_modules/.pnpm/cli-color@2.0.3/node_modules/cli-color/strip.js
|
|
159198
159198
|
var require_strip = __commonJS({
|
|
159199
|
-
"node_modules/.pnpm/cli-color@2.0.
|
|
159199
|
+
"node_modules/.pnpm/cli-color@2.0.3/node_modules/cli-color/strip.js"(exports, module2) {
|
|
159200
159200
|
"use strict";
|
|
159201
159201
|
var stringifiable = require_validate_stringifiable();
|
|
159202
159202
|
var r = require_regex_ansi()();
|
|
@@ -159206,9 +159206,9 @@ var require_strip = __commonJS({
|
|
|
159206
159206
|
}
|
|
159207
159207
|
});
|
|
159208
159208
|
|
|
159209
|
-
// node_modules/.pnpm/cli-color@2.0.
|
|
159209
|
+
// node_modules/.pnpm/cli-color@2.0.3/node_modules/cli-color/get-stripped-length.js
|
|
159210
159210
|
var require_get_stripped_length = __commonJS({
|
|
159211
|
-
"node_modules/.pnpm/cli-color@2.0.
|
|
159211
|
+
"node_modules/.pnpm/cli-color@2.0.3/node_modules/cli-color/get-stripped-length.js"(exports, module2) {
|
|
159212
159212
|
"use strict";
|
|
159213
159213
|
var strip = require_strip();
|
|
159214
159214
|
module2.exports = function(str2) {
|
|
@@ -159217,9 +159217,9 @@ var require_get_stripped_length = __commonJS({
|
|
|
159217
159217
|
}
|
|
159218
159218
|
});
|
|
159219
159219
|
|
|
159220
|
-
// node_modules/.pnpm/cli-color@2.0.
|
|
159220
|
+
// node_modules/.pnpm/cli-color@2.0.3/node_modules/cli-color/columns.js
|
|
159221
159221
|
var require_columns = __commonJS({
|
|
159222
|
-
"node_modules/.pnpm/cli-color@2.0.
|
|
159222
|
+
"node_modules/.pnpm/cli-color@2.0.3/node_modules/cli-color/columns.js"(exports, module2) {
|
|
159223
159223
|
"use strict";
|
|
159224
159224
|
var generate = require_generate();
|
|
159225
159225
|
var from = require_from();
|
|
@@ -159268,9 +159268,9 @@ var require_columns = __commonJS({
|
|
|
159268
159268
|
}
|
|
159269
159269
|
});
|
|
159270
159270
|
|
|
159271
|
-
// node_modules/.pnpm/cli-color@2.0.
|
|
159271
|
+
// node_modules/.pnpm/cli-color@2.0.3/node_modules/cli-color/slice.js
|
|
159272
159272
|
var require_slice = __commonJS({
|
|
159273
|
-
"node_modules/.pnpm/cli-color@2.0.
|
|
159273
|
+
"node_modules/.pnpm/cli-color@2.0.3/node_modules/cli-color/slice.js"(exports, module2) {
|
|
159274
159274
|
"use strict";
|
|
159275
159275
|
var reAnsi = require_regex_ansi();
|
|
159276
159276
|
var stringifiable = require_validate_stringifiable_value();
|
|
@@ -159400,9 +159400,9 @@ var require_compose = __commonJS({
|
|
|
159400
159400
|
}
|
|
159401
159401
|
});
|
|
159402
159402
|
|
|
159403
|
-
// node_modules/.pnpm/cli-color@2.0.
|
|
159403
|
+
// node_modules/.pnpm/cli-color@2.0.3/node_modules/cli-color/throbber.js
|
|
159404
159404
|
var require_throbber = __commonJS({
|
|
159405
|
-
"node_modules/.pnpm/cli-color@2.0.
|
|
159405
|
+
"node_modules/.pnpm/cli-color@2.0.3/node_modules/cli-color/throbber.js"(exports, module2) {
|
|
159406
159406
|
"use strict";
|
|
159407
159407
|
var compose = require_compose();
|
|
159408
159408
|
var callable = require_valid_callable();
|
|
@@ -159461,9 +159461,9 @@ var require_throbber = __commonJS({
|
|
|
159461
159461
|
}
|
|
159462
159462
|
});
|
|
159463
159463
|
|
|
159464
|
-
// node_modules/.pnpm/cli-color@2.0.
|
|
159464
|
+
// node_modules/.pnpm/cli-color@2.0.3/node_modules/cli-color/reset.js
|
|
159465
159465
|
var require_reset = __commonJS({
|
|
159466
|
-
"node_modules/.pnpm/cli-color@2.0.
|
|
159466
|
+
"node_modules/.pnpm/cli-color@2.0.3/node_modules/cli-color/reset.js"(exports, module2) {
|
|
159467
159467
|
"use strict";
|
|
159468
159468
|
module2.exports = "\x1B[2J\x1B[0;0H";
|
|
159469
159469
|
}
|
|
@@ -159881,9 +159881,9 @@ var require_for_of = __commonJS({
|
|
|
159881
159881
|
}
|
|
159882
159882
|
});
|
|
159883
159883
|
|
|
159884
|
-
// node_modules/.pnpm/cli-color@2.0.
|
|
159884
|
+
// node_modules/.pnpm/cli-color@2.0.3/node_modules/cli-color/art.js
|
|
159885
159885
|
var require_art = __commonJS({
|
|
159886
|
-
"node_modules/.pnpm/cli-color@2.0.
|
|
159886
|
+
"node_modules/.pnpm/cli-color@2.0.3/node_modules/cli-color/art.js"(exports, module2) {
|
|
159887
159887
|
"use strict";
|
|
159888
159888
|
var object2 = require_valid_object();
|
|
159889
159889
|
var stringifiable = require_validate_stringifiable_value();
|
|
@@ -159900,9 +159900,9 @@ var require_art = __commonJS({
|
|
|
159900
159900
|
}
|
|
159901
159901
|
});
|
|
159902
159902
|
|
|
159903
|
-
// node_modules/.pnpm/cli-color@2.0.
|
|
159903
|
+
// node_modules/.pnpm/cli-color@2.0.3/node_modules/cli-color/index.js
|
|
159904
159904
|
var require_cli_color = __commonJS({
|
|
159905
|
-
"node_modules/.pnpm/cli-color@2.0.
|
|
159905
|
+
"node_modules/.pnpm/cli-color@2.0.3/node_modules/cli-color/index.js"(exports, module2) {
|
|
159906
159906
|
"use strict";
|
|
159907
159907
|
var d = require_d();
|
|
159908
159908
|
module2.exports = Object.defineProperties(require_bare(), {
|
|
@@ -181986,7 +181986,7 @@ var serialize = (path, fileName) => {
|
|
|
181986
181986
|
bundle: true,
|
|
181987
181987
|
platform: "node",
|
|
181988
181988
|
write: false,
|
|
181989
|
-
external: ["pg-native"]
|
|
181989
|
+
external: ["pg", "pg-native"]
|
|
181990
181990
|
});
|
|
181991
181991
|
const evaluated = eval(decoder.write(Buffer.from(result.outputFiles[0].text)));
|
|
181992
181992
|
const migration = new SnapshotSerializer().generate(evaluated.tables, evaluated.enums);
|
|
@@ -182297,19 +182297,19 @@ function diffForRenamedColumn(t1, t2) {
|
|
|
182297
182297
|
}
|
|
182298
182298
|
var renameNestedObjects = (obj, keyFrom, keyTo) => {
|
|
182299
182299
|
Object.entries(obj).forEach(([key, value]) => {
|
|
182300
|
-
if ((key === keyFrom || key.includes(keyFrom) && key !== keyFrom) && typeof value
|
|
182300
|
+
if ((key === keyFrom || key.includes(keyFrom) && key !== keyFrom) && "object" !== typeof value) {
|
|
182301
182301
|
const newKey = key.replace(keyFrom, keyTo);
|
|
182302
182302
|
obj[newKey] = value;
|
|
182303
182303
|
delete obj[key];
|
|
182304
182304
|
}
|
|
182305
|
-
if (typeof value
|
|
182305
|
+
if ("object" === typeof value) {
|
|
182306
182306
|
renameNestedObjects(obj[key], keyFrom, keyTo);
|
|
182307
182307
|
}
|
|
182308
182308
|
});
|
|
182309
182309
|
};
|
|
182310
182310
|
var update1to2 = (json2) => {
|
|
182311
182311
|
Object.entries(json2).forEach(([key, val]) => {
|
|
182312
|
-
if (typeof val
|
|
182312
|
+
if ("object" !== typeof val)
|
|
182313
182313
|
return;
|
|
182314
182314
|
if (val.hasOwnProperty("references")) {
|
|
182315
182315
|
const ref = val["references"];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "drizzle-kit",
|
|
3
|
-
"version": "0.9.
|
|
4
|
-
"repository": "https://github.com/
|
|
3
|
+
"version": "0.9.52",
|
|
4
|
+
"repository": "https://github.com/drizzle-team/drizzle-kit-mirror",
|
|
5
5
|
"author": "Alex Blokh <aleksandrblokh@gmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"bin": {
|