1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-25 15:29:32 -05:00

chore(ext/node): cleanup empty internal_bindings (#18032)

This commit is contained in:
Divy Srivastava 2023-03-05 20:23:42 +05:30 committed by GitHub
parent 7d13d65468
commit c9c782940e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
36 changed files with 37 additions and 198 deletions

View file

@ -205,6 +205,8 @@ opt-level = 3
opt-level = 3
[profile.bench.package.deno_crypto]
opt-level = 3
[profile.bench.package.deno_node]
opt-level = 3
[profile.bench.package.num-bigint-dig]
opt-level = 3
[profile.bench.package.v8]
@ -263,6 +265,8 @@ opt-level = 3
opt-level = 3
[profile.release.package.deno_crypto]
opt-level = 3
[profile.release.package.deno_node]
opt-level = 3
[profile.release.package.deno_broadcast_channel]
opt-level = 3
[profile.release.package.deno_fetch]

View file

@ -193,55 +193,22 @@ pub fn init_polyfill() -> Extension {
"internal_binding/async_wrap.ts",
"internal_binding/buffer.ts",
"internal_binding/cares_wrap.ts",
"internal_binding/config.ts",
"internal_binding/connection_wrap.ts",
"internal_binding/constants.ts",
"internal_binding/contextify.ts",
"internal_binding/credentials.ts",
"internal_binding/crypto.ts",
"internal_binding/errors.ts",
"internal_binding/fs_dir.ts",
"internal_binding/fs_event_wrap.ts",
"internal_binding/fs.ts",
"internal_binding/handle_wrap.ts",
"internal_binding/heap_utils.ts",
"internal_binding/http_parser.ts",
"internal_binding/icu.ts",
"internal_binding/inspector.ts",
"internal_binding/js_stream.ts",
"internal_binding/messaging.ts",
"internal_binding/mod.ts",
"internal_binding/module_wrap.ts",
"internal_binding/native_module.ts",
"internal_binding/natives.ts",
"internal_binding/node_file.ts",
"internal_binding/node_options.ts",
"internal_binding/options.ts",
"internal_binding/os.ts",
"internal_binding/performance.ts",
"internal_binding/pipe_wrap.ts",
"internal_binding/process_methods.ts",
"internal_binding/report.ts",
"internal_binding/serdes.ts",
"internal_binding/signal_wrap.ts",
"internal_binding/spawn_sync.ts",
"internal_binding/stream_wrap.ts",
"internal_binding/string_decoder.ts",
"internal_binding/symbols.ts",
"internal_binding/task_queue.ts",
"internal_binding/tcp_wrap.ts",
"internal_binding/timers.ts",
"internal_binding/tls_wrap.ts",
"internal_binding/trace_events.ts",
"internal_binding/tty_wrap.ts",
"internal_binding/types.ts",
"internal_binding/udp_wrap.ts",
"internal_binding/url.ts",
"internal_binding/util.ts",
"internal_binding/uv.ts",
"internal_binding/v8.ts",
"internal_binding/worker.ts",
"internal_binding/zlib.ts",
"internal/assert.mjs",
"internal/async_hooks.ts",
"internal/blob.mjs",

View file

@ -1,3 +0,0 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
export {};

View file

@ -1,3 +0,0 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
export {};

View file

@ -1,3 +0,0 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
export {};

View file

@ -1,3 +0,0 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
export {};

View file

@ -1,3 +0,0 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
export {};

View file

@ -1,3 +0,0 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
export {};

View file

@ -1,3 +0,0 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
export {};

View file

@ -1,3 +0,0 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
export {};

View file

@ -1,3 +0,0 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
export {};

View file

@ -1,3 +0,0 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
export {};

View file

@ -1,3 +0,0 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
export {};

View file

@ -1,3 +0,0 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
export {};

View file

@ -1,3 +0,0 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
export {};

View file

@ -1,100 +1,67 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
import * as asyncWrap from "internal:deno_node/internal_binding/async_wrap.ts";
import * as buffer from "internal:deno_node/internal_binding/buffer.ts";
import * as config from "internal:deno_node/internal_binding/config.ts";
import * as caresWrap from "internal:deno_node/internal_binding/cares_wrap.ts";
import * as constants from "internal:deno_node/internal_binding/constants.ts";
import * as contextify from "internal:deno_node/internal_binding/contextify.ts";
import * as crypto from "internal:deno_node/internal_binding/crypto.ts";
import * as credentials from "internal:deno_node/internal_binding/credentials.ts";
import * as errors from "internal:deno_node/internal_binding/errors.ts";
import * as fs from "internal:deno_node/internal_binding/fs.ts";
import * as fsDir from "internal:deno_node/internal_binding/fs_dir.ts";
import * as fsEventWrap from "internal:deno_node/internal_binding/fs_event_wrap.ts";
import * as heapUtils from "internal:deno_node/internal_binding/heap_utils.ts";
import * as httpParser from "internal:deno_node/internal_binding/http_parser.ts";
import * as icu from "internal:deno_node/internal_binding/icu.ts";
import * as inspector from "internal:deno_node/internal_binding/inspector.ts";
import * as jsStream from "internal:deno_node/internal_binding/js_stream.ts";
import * as messaging from "internal:deno_node/internal_binding/messaging.ts";
import * as moduleWrap from "internal:deno_node/internal_binding/module_wrap.ts";
import * as nativeModule from "internal:deno_node/internal_binding/native_module.ts";
import * as natives from "internal:deno_node/internal_binding/natives.ts";
import * as options from "internal:deno_node/internal_binding/options.ts";
import * as os from "internal:deno_node/internal_binding/os.ts";
import * as pipeWrap from "internal:deno_node/internal_binding/pipe_wrap.ts";
import * as performance from "internal:deno_node/internal_binding/performance.ts";
import * as processMethods from "internal:deno_node/internal_binding/process_methods.ts";
import * as report from "internal:deno_node/internal_binding/report.ts";
import * as serdes from "internal:deno_node/internal_binding/serdes.ts";
import * as signalWrap from "internal:deno_node/internal_binding/signal_wrap.ts";
import * as spawnSync from "internal:deno_node/internal_binding/spawn_sync.ts";
import * as streamWrap from "internal:deno_node/internal_binding/stream_wrap.ts";
import * as stringDecoder from "internal:deno_node/internal_binding/string_decoder.ts";
import * as symbols from "internal:deno_node/internal_binding/symbols.ts";
import * as taskQueue from "internal:deno_node/internal_binding/task_queue.ts";
import * as tcpWrap from "internal:deno_node/internal_binding/tcp_wrap.ts";
import * as timers from "internal:deno_node/internal_binding/timers.ts";
import * as tlsWrap from "internal:deno_node/internal_binding/tls_wrap.ts";
import * as traceEvents from "internal:deno_node/internal_binding/trace_events.ts";
import * as ttyWrap from "internal:deno_node/internal_binding/tty_wrap.ts";
import * as types from "internal:deno_node/internal_binding/types.ts";
import * as udpWrap from "internal:deno_node/internal_binding/udp_wrap.ts";
import * as url from "internal:deno_node/internal_binding/url.ts";
import * as util from "internal:deno_node/internal_binding/util.ts";
import * as uv from "internal:deno_node/internal_binding/uv.ts";
import * as v8 from "internal:deno_node/internal_binding/v8.ts";
import * as worker from "internal:deno_node/internal_binding/worker.ts";
import * as zlib from "internal:deno_node/internal_binding/zlib.ts";
const modules = {
"async_wrap": asyncWrap,
buffer,
"cares_wrap": caresWrap,
config,
config: {},
constants,
contextify,
credentials,
contextify: {},
credentials: {},
crypto,
errors,
fs,
"fs_dir": fsDir,
"fs_event_wrap": fsEventWrap,
"heap_utils": heapUtils,
"http_parser": httpParser,
icu,
inspector,
"js_stream": jsStream,
messaging,
"module_wrap": moduleWrap,
"native_module": nativeModule,
natives,
options,
os,
performance,
errors: {},
fs: {},
"fs_dir": {},
"fs_event_wrap": {},
"heap_utils": {},
"http_parser": {},
icu: {},
inspector: {},
"js_stream": {},
messaging: {},
"module_wrap": {},
"native_module": {},
natives: {},
options: {},
os: {},
performance: {},
"pipe_wrap": pipeWrap,
"process_methods": processMethods,
report,
serdes,
"signal_wrap": signalWrap,
"spawn_sync": spawnSync,
"process_methods": {},
report: {},
serdes: {},
"signal_wrap": {},
"spawn_sync": {},
"stream_wrap": streamWrap,
"string_decoder": stringDecoder,
symbols,
"task_queue": taskQueue,
"task_queue": {},
"tcp_wrap": tcpWrap,
timers,
"tls_wrap": tlsWrap,
"trace_events": traceEvents,
"tty_wrap": ttyWrap,
timers: {},
"tls_wrap": {},
"trace_events": {},
"tty_wrap": {},
types,
"udp_wrap": udpWrap,
url,
url: {},
util,
uv,
v8,
worker,
zlib,
v8: {},
worker: {},
zlib: {},
};
export type BindingName = keyof typeof modules;

View file

@ -1,3 +0,0 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
export {};

View file

@ -1,3 +0,0 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
export {};

View file

@ -1,3 +0,0 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
export {};

View file

@ -1,3 +0,0 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
export {};

View file

@ -1,3 +0,0 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
export {};

View file

@ -1,3 +0,0 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
export {};

View file

@ -1,3 +0,0 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
export {};

View file

@ -1,3 +0,0 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
export {};

View file

@ -1,3 +0,0 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
export {};

View file

@ -1,3 +0,0 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
export {};

View file

@ -1,3 +0,0 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
export {};

View file

@ -1,3 +0,0 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
export {};

View file

@ -1,3 +0,0 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
export {};

View file

@ -1,3 +0,0 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
export {};

View file

@ -1,3 +0,0 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
export {};

View file

@ -1,3 +0,0 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
export {};

View file

@ -1,3 +0,0 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
export {};

View file

@ -1,3 +0,0 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
export {};

View file

@ -1,3 +0,0 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
export {};

View file

@ -1,3 +0,0 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
export {};