Skip to content

Commit 3b02a13

Browse files
committed
WL#15434: update 3rd-party dependencies for 8.0.32
This patch updates all 3rd-party dependencies with new released versions that are compatible with the current minimum required Node.js version (v14.0.0). As part of the "google-protobuf" update, the X Protocol stubs have been re-generated using the corresponding version of the compiler. The latest version of "dns2" also introduces a few breaking changes which lead to a few small changes in the test suite. Change-Id: Ia0dade4e2bb256ffebb7abdf6b67255257dffad7
1 parent c33d553 commit 3b02a13

15 files changed

+135
-21
lines changed

lib/Protocol/Stubs/mysqlx_connection_pb.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,24 @@
3232
/**
3333
* @fileoverview
3434
* @enhanceable
35+
* @suppress {missingRequire} reports error on implicit type usages.
3536
* @suppress {messageConventions} JS Compiler reports an error if a variable or
3637
* field starts with 'MSG_' and isn't a translatable message.
3738
* @public
3839
*/
3940
// GENERATED CODE -- DO NOT EDIT!
41+
/* eslint-disable */
42+
// @ts-nocheck
4043

4144
var jspb = require('google-protobuf');
4245
var goog = jspb;
43-
var global = Function('return this')();
46+
var global =
47+
(typeof globalThis !== 'undefined' && globalThis) ||
48+
(typeof window !== 'undefined' && window) ||
49+
(typeof global !== 'undefined' && global) ||
50+
(typeof self !== 'undefined' && self) ||
51+
(function () { return this; }).call(null) ||
52+
Function('return this')();
4453

4554
var mysqlx_datatypes_pb = require('./mysqlx_datatypes_pb.js');
4655
goog.object.extend(proto, mysqlx_datatypes_pb);

lib/Protocol/Stubs/mysqlx_crud_pb.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,24 @@
3232
/**
3333
* @fileoverview
3434
* @enhanceable
35+
* @suppress {missingRequire} reports error on implicit type usages.
3536
* @suppress {messageConventions} JS Compiler reports an error if a variable or
3637
* field starts with 'MSG_' and isn't a translatable message.
3738
* @public
3839
*/
3940
// GENERATED CODE -- DO NOT EDIT!
41+
/* eslint-disable */
42+
// @ts-nocheck
4043

4144
var jspb = require('google-protobuf');
4245
var goog = jspb;
43-
var global = Function('return this')();
46+
var global =
47+
(typeof globalThis !== 'undefined' && globalThis) ||
48+
(typeof window !== 'undefined' && window) ||
49+
(typeof global !== 'undefined' && global) ||
50+
(typeof self !== 'undefined' && self) ||
51+
(function () { return this; }).call(null) ||
52+
Function('return this')();
4453

4554
var mysqlx_pb = require('./mysqlx_pb.js');
4655
goog.object.extend(proto, mysqlx_pb);

lib/Protocol/Stubs/mysqlx_cursor_pb.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,24 @@
3232
/**
3333
* @fileoverview
3434
* @enhanceable
35+
* @suppress {missingRequire} reports error on implicit type usages.
3536
* @suppress {messageConventions} JS Compiler reports an error if a variable or
3637
* field starts with 'MSG_' and isn't a translatable message.
3738
* @public
3839
*/
3940
// GENERATED CODE -- DO NOT EDIT!
41+
/* eslint-disable */
42+
// @ts-nocheck
4043

4144
var jspb = require('google-protobuf');
4245
var goog = jspb;
43-
var global = Function('return this')();
46+
var global =
47+
(typeof globalThis !== 'undefined' && globalThis) ||
48+
(typeof window !== 'undefined' && window) ||
49+
(typeof global !== 'undefined' && global) ||
50+
(typeof self !== 'undefined' && self) ||
51+
(function () { return this; }).call(null) ||
52+
Function('return this')();
4453

4554
var mysqlx_pb = require('./mysqlx_pb.js');
4655
goog.object.extend(proto, mysqlx_pb);

lib/Protocol/Stubs/mysqlx_datatypes_pb.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,24 @@
3232
/**
3333
* @fileoverview
3434
* @enhanceable
35+
* @suppress {missingRequire} reports error on implicit type usages.
3536
* @suppress {messageConventions} JS Compiler reports an error if a variable or
3637
* field starts with 'MSG_' and isn't a translatable message.
3738
* @public
3839
*/
3940
// GENERATED CODE -- DO NOT EDIT!
41+
/* eslint-disable */
42+
// @ts-nocheck
4043

4144
var jspb = require('google-protobuf');
4245
var goog = jspb;
43-
var global = Function('return this')();
46+
var global =
47+
(typeof globalThis !== 'undefined' && globalThis) ||
48+
(typeof window !== 'undefined' && window) ||
49+
(typeof global !== 'undefined' && global) ||
50+
(typeof self !== 'undefined' && self) ||
51+
(function () { return this; }).call(null) ||
52+
Function('return this')();
4453

4554
goog.exportSymbol('proto.Mysqlx.Datatypes.Any', null, global);
4655
goog.exportSymbol('proto.Mysqlx.Datatypes.Any.Type', null, global);

lib/Protocol/Stubs/mysqlx_expect_pb.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,24 @@
3232
/**
3333
* @fileoverview
3434
* @enhanceable
35+
* @suppress {missingRequire} reports error on implicit type usages.
3536
* @suppress {messageConventions} JS Compiler reports an error if a variable or
3637
* field starts with 'MSG_' and isn't a translatable message.
3738
* @public
3839
*/
3940
// GENERATED CODE -- DO NOT EDIT!
41+
/* eslint-disable */
42+
// @ts-nocheck
4043

4144
var jspb = require('google-protobuf');
4245
var goog = jspb;
43-
var global = Function('return this')();
46+
var global =
47+
(typeof globalThis !== 'undefined' && globalThis) ||
48+
(typeof window !== 'undefined' && window) ||
49+
(typeof global !== 'undefined' && global) ||
50+
(typeof self !== 'undefined' && self) ||
51+
(function () { return this; }).call(null) ||
52+
Function('return this')();
4453

4554
var mysqlx_pb = require('./mysqlx_pb.js');
4655
goog.object.extend(proto, mysqlx_pb);

lib/Protocol/Stubs/mysqlx_expr_pb.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,24 @@
3232
/**
3333
* @fileoverview
3434
* @enhanceable
35+
* @suppress {missingRequire} reports error on implicit type usages.
3536
* @suppress {messageConventions} JS Compiler reports an error if a variable or
3637
* field starts with 'MSG_' and isn't a translatable message.
3738
* @public
3839
*/
3940
// GENERATED CODE -- DO NOT EDIT!
41+
/* eslint-disable */
42+
// @ts-nocheck
4043

4144
var jspb = require('google-protobuf');
4245
var goog = jspb;
43-
var global = Function('return this')();
46+
var global =
47+
(typeof globalThis !== 'undefined' && globalThis) ||
48+
(typeof window !== 'undefined' && window) ||
49+
(typeof global !== 'undefined' && global) ||
50+
(typeof self !== 'undefined' && self) ||
51+
(function () { return this; }).call(null) ||
52+
Function('return this')();
4453

4554
var mysqlx_datatypes_pb = require('./mysqlx_datatypes_pb.js');
4655
goog.object.extend(proto, mysqlx_datatypes_pb);

lib/Protocol/Stubs/mysqlx_notice_pb.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,24 @@
3232
/**
3333
* @fileoverview
3434
* @enhanceable
35+
* @suppress {missingRequire} reports error on implicit type usages.
3536
* @suppress {messageConventions} JS Compiler reports an error if a variable or
3637
* field starts with 'MSG_' and isn't a translatable message.
3738
* @public
3839
*/
3940
// GENERATED CODE -- DO NOT EDIT!
41+
/* eslint-disable */
42+
// @ts-nocheck
4043

4144
var jspb = require('google-protobuf');
4245
var goog = jspb;
43-
var global = Function('return this')();
46+
var global =
47+
(typeof globalThis !== 'undefined' && globalThis) ||
48+
(typeof window !== 'undefined' && window) ||
49+
(typeof global !== 'undefined' && global) ||
50+
(typeof self !== 'undefined' && self) ||
51+
(function () { return this; }).call(null) ||
52+
Function('return this')();
4453

4554
var mysqlx_pb = require('./mysqlx_pb.js');
4655
goog.object.extend(proto, mysqlx_pb);

lib/Protocol/Stubs/mysqlx_pb.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,24 @@
3232
/**
3333
* @fileoverview
3434
* @enhanceable
35+
* @suppress {missingRequire} reports error on implicit type usages.
3536
* @suppress {messageConventions} JS Compiler reports an error if a variable or
3637
* field starts with 'MSG_' and isn't a translatable message.
3738
* @public
3839
*/
3940
// GENERATED CODE -- DO NOT EDIT!
41+
/* eslint-disable */
42+
// @ts-nocheck
4043

4144
var jspb = require('google-protobuf');
4245
var goog = jspb;
43-
var global = Function('return this')();
46+
var global =
47+
(typeof globalThis !== 'undefined' && globalThis) ||
48+
(typeof window !== 'undefined' && window) ||
49+
(typeof global !== 'undefined' && global) ||
50+
(typeof self !== 'undefined' && self) ||
51+
(function () { return this; }).call(null) ||
52+
Function('return this')();
4453

4554
var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js');
4655
goog.object.extend(proto, google_protobuf_descriptor_pb);

lib/Protocol/Stubs/mysqlx_prepare_pb.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,24 @@
3232
/**
3333
* @fileoverview
3434
* @enhanceable
35+
* @suppress {missingRequire} reports error on implicit type usages.
3536
* @suppress {messageConventions} JS Compiler reports an error if a variable or
3637
* field starts with 'MSG_' and isn't a translatable message.
3738
* @public
3839
*/
3940
// GENERATED CODE -- DO NOT EDIT!
41+
/* eslint-disable */
42+
// @ts-nocheck
4043

4144
var jspb = require('google-protobuf');
4245
var goog = jspb;
43-
var global = Function('return this')();
46+
var global =
47+
(typeof globalThis !== 'undefined' && globalThis) ||
48+
(typeof window !== 'undefined' && window) ||
49+
(typeof global !== 'undefined' && global) ||
50+
(typeof self !== 'undefined' && self) ||
51+
(function () { return this; }).call(null) ||
52+
Function('return this')();
4453

4554
var mysqlx_pb = require('./mysqlx_pb.js');
4655
goog.object.extend(proto, mysqlx_pb);

lib/Protocol/Stubs/mysqlx_resultset_pb.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,24 @@
3232
/**
3333
* @fileoverview
3434
* @enhanceable
35+
* @suppress {missingRequire} reports error on implicit type usages.
3536
* @suppress {messageConventions} JS Compiler reports an error if a variable or
3637
* field starts with 'MSG_' and isn't a translatable message.
3738
* @public
3839
*/
3940
// GENERATED CODE -- DO NOT EDIT!
41+
/* eslint-disable */
42+
// @ts-nocheck
4043

4144
var jspb = require('google-protobuf');
4245
var goog = jspb;
43-
var global = Function('return this')();
46+
var global =
47+
(typeof globalThis !== 'undefined' && globalThis) ||
48+
(typeof window !== 'undefined' && window) ||
49+
(typeof global !== 'undefined' && global) ||
50+
(typeof self !== 'undefined' && self) ||
51+
(function () { return this; }).call(null) ||
52+
Function('return this')();
4453

4554
var mysqlx_pb = require('./mysqlx_pb.js');
4655
goog.object.extend(proto, mysqlx_pb);

0 commit comments

Comments
 (0)