This is an automated email from the ASF dual-hosted git repository.
jensg pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/thrift.git
from 951bb1840 THRIFT-5667: Make ThriftConfig.cmake relocatable
add caef0eda2 THRIFT-5811: Update eslint & prettier Client: js Patch:
Cameron Martin
No new revisions were added by this update.
Summary of changes:
.eslintignore | 9 -
.eslintrc.json | 24 -
eslint.config.mjs | 44 +
lib/js/Gruntfile.js | 297 ++--
lib/nodejs/examples/client.js | 24 +-
lib/nodejs/examples/client_multitransport.js | 64 +-
lib/nodejs/examples/hello.js | 56 +-
lib/nodejs/examples/httpClient.js | 24 +-
lib/nodejs/examples/httpServer.js | 37 +-
lib/nodejs/examples/parse.js | 6 +-
lib/nodejs/examples/server.js | 10 +-
lib/nodejs/examples/server_http.js | 38 +-
lib/nodejs/examples/server_multitransport.js | 26 +-
lib/nodejs/lib/thrift/binary.js | 53 +-
lib/nodejs/lib/thrift/binary_protocol.js | 216 +--
lib/nodejs/lib/thrift/browser.js | 32 +-
lib/nodejs/lib/thrift/buffered_transport.js | 85 +-
lib/nodejs/lib/thrift/compact_protocol.js | 479 +++---
lib/nodejs/lib/thrift/connection.js | 340 ++--
lib/nodejs/lib/thrift/create_client.js | 4 +-
lib/nodejs/lib/thrift/framed_transport.js | 70 +-
lib/nodejs/lib/thrift/header_protocol.js | 118 +-
lib/nodejs/lib/thrift/header_transport.js | 107 +-
lib/nodejs/lib/thrift/http_connection.js | 93 +-
lib/nodejs/lib/thrift/index.js | 38 +-
.../lib/thrift/input_buffer_underrun_error.js | 2 +-
lib/nodejs/lib/thrift/int64_util.js | 44 +-
lib/nodejs/lib/thrift/json_parse.js | 515 +++---
lib/nodejs/lib/thrift/json_protocol.js | 322 ++--
lib/nodejs/lib/thrift/log.js | 30 +-
lib/nodejs/lib/thrift/multiplexed_processor.js | 29 +-
lib/nodejs/lib/thrift/multiplexed_protocol.js | 50 +-
lib/nodejs/lib/thrift/ohos_connection.js | 73 +-
lib/nodejs/lib/thrift/protocol.js | 6 +-
lib/nodejs/lib/thrift/server.js | 129 +-
lib/nodejs/lib/thrift/thrift.js | 158 +-
lib/nodejs/lib/thrift/transport.js | 6 +-
lib/nodejs/lib/thrift/web_server.js | 481 +++---
lib/nodejs/lib/thrift/ws_connection.js | 83 +-
lib/nodejs/lib/thrift/ws_transport.js | 109 +-
lib/nodejs/lib/thrift/xhr_connection.js | 98 +-
lib/nodejs/test/binary.test.js | 74 +-
lib/nodejs/test/client.js | 26 +-
lib/nodejs/test/deep-constructor.test.js | 152 +-
.../test/episodic-code-generation-test/client.js | 16 +-
.../test/episodic-code-generation-test/server.js | 6 +-
lib/nodejs/test/exceptions.js | 36 +-
lib/nodejs/test/header.test.js | 20 +-
lib/nodejs/test/helpers.js | 4 +-
lib/nodejs/test/int64.test.js | 24 +-
lib/nodejs/test/server.js | 22 +-
lib/nodejs/test/test-cases.js | 40 +-
lib/nodejs/test/test_driver.js | 102 +-
lib/nodejs/test/test_handler.js | 14 +-
lib/nodets/test/client.ts | 8 +-
lib/nodets/test/int64.test.ts | 48 +-
lib/nodets/test/server.ts | 27 +-
lib/nodets/test/test-cases.ts | 168 +-
lib/nodets/test/test_driver.ts | 185 ++-
lib/nodets/test/test_handler.ts | 192 ++-
lib/ts/Gruntfile.js | 145 +-
lib/ts/test/phantom-client.ts | 655 ++++----
lib/ts/test/server_http.js | 28 +-
lib/ts/test/test-int64.ts | 136 +-
lib/ts/test/test.ts | 665 ++++----
lib/ts/test/test_handler.js | 132 +-
lib/ts/thrift.d.ts | 175 +-
package-lock.json | 1673 +++++++++-----------
package.json | 16 +-
test/result.js | 99 +-
tutorial/nodejs/NodeClient.js | 35 +-
tutorial/nodejs/NodeClientPromise.js | 58 +-
tutorial/nodejs/NodeServer.js | 19 +-
tutorial/nodejs/NodeServerPromise.js | 21 +-
74 files changed, 4880 insertions(+), 4570 deletions(-)
delete mode 100644 .eslintignore
delete mode 100644 .eslintrc.json
create mode 100644 eslint.config.mjs