diff options
Diffstat (limited to 'runtime/js/01_version.js')
-rw-r--r-- | runtime/js/01_version.js | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/runtime/js/01_version.js b/runtime/js/01_version.js deleted file mode 100644 index 62f3df17c..000000000 --- a/runtime/js/01_version.js +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. - -const primordials = globalThis.__bootstrap.primordials; -const { ObjectFreeze } = primordials; - -const version = { - deno: "", - v8: "", - typescript: "", -}; - -function setVersions( - denoVersion, - v8Version, - tsVersion, -) { - version.deno = denoVersion; - version.v8 = v8Version; - version.typescript = tsVersion; - - ObjectFreeze(version); -} - -export { setVersions, version }; |