{"id":120128,"date":"2024-10-10T13:09:15","date_gmt":"2024-10-10T11:09:15","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/dostupna-platforma-deno-2-0-razvivaemaya-avtorom-node-js"},"modified":"2024-10-10T13:09:15","modified_gmt":"2024-10-10T11:09:15","slug":"dostupna-platforma-deno-2-0-razvivaemaya-avtorom-node-js","status":"publish","type":"post","link":"https:\/\/prohoster.info\/en\/blog\/news\/dostupna-platforma-deno-2-0-razvivaemaya-avtorom-node-js","title":{"rendered":"\u0414\u043e\u0441\u0442\u0443\u043f\u043d\u0430 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430 Deno 2.0, \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u043c\u0430\u044f \u0430\u0432\u0442\u043e\u0440\u043e\u043c Node.js","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>The release of the Deno 2.0 platform has been announced, designed for the isolated execution of server applications in JavaScript and TypeScript using the V8 engine, which is utilized in Chromium-based browsers. The Deno project is developed by Ryan Dahl, the creator of Node.js, with the goal of providing a more secure environment and eliminating conceptual mistakes made in Node.js architecture. To enhance security, the binding around the V8 engine is written in Rust, and the Tokio platform is used for handling requests in a non-blocking manner. The project code is distributed under the MIT license. Builds are prepared for Linux, Windows, and macOS.        <\/p>\n<p>In preparing the new branch, the main focus was on compatibility with the old JavaScript infrastructure and expanding the spectrum of supported JavaScript projects without compromising security. Among the changes:  <\/p>\n<ul>\n<li class=\"l\"> Backward compatibility with Node.js and npm has been implemented, allowing the execution of unmodified applications created for Node.js. The support for Node.js also enables a gradual transition of existing projects from Node.js to Deno or connecting dependencies from NPM to Deno projects by specifying the &#171;npm:&#187; specifier when importing packages in deno.json.\n<li class=\"l\"> Built-in support for the package.json file and the node_modules directory used in Node.js has been added.\n<li class=\"l\"> Support for private NPM repositories defined through &#171;.npmrc&#187; files has been ensured.\n<li class=\"l\"> Support for popular JavaScript frameworks such as Next.js, Astro, Remix, Angular, SvelteKit, and QwikCity has been added.\n<li class=\"l\"> Support for npm workspaces and monorepositories with separate dependency management has been added.\n<li class=\"l\"> New package management commands have been added: &#171;deno install&#187; for installing dependencies, &#171;deno add&#187; for adding packages in package.json or deno.json, and &#171;deno remove&#187; for removing packages. It is noted that &#171;deno install&#187; works about 15 times faster than npm when packages are not in the cache and 90% faster when the package is in the cache (supporting both node_modules and its own global cache).\n<li class=\"l\"> The standard library has been stabilized.\n<li class=\"l\"> A long-term support (LTS) cycle has been ensured.\n<li class=\"l\"> JSR has been introduced \u2014 a repository of JavaScript and TypeScript libraries that can be used in various JavaScript runtimes.\n<li class=\"l\"> The &#171;deno fmt&#187; command now supports formatting content in HTML, CSS, and YAML formats.\n<li class=\"l\"> The &#171;deno lint&#187; command has added support for Node.js specific rules and fixes.\n<li class=\"l\"> The &#171;deno test&#187; command now allows running tests created with node:test.\n<li class=\"l\"> The &#171;deno task&#187; command has implemented support for running scripts via package.json.\n<li class=\"l\"> The &#171;deno compile&#187; command now allows code to be signed digitally.\n<li class=\"l\"> The &#171;deno serve&#187; command has implemented parallelization of HTTP server operations using multiple CPU cores.\n<li class=\"l\"> The &#171;deno coverage&#187; command now supports saving reports in HTML format.\n<li class=\"l\"> Performance optimization has been conducted.    <center><img decoding=\"async\" alt=\"\u0414\u043e\u0441\u0442\u0443\u043f\u043d\u0430 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430 Deno 2.0, \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u043c\u0430\u044f \u0430\u0432\u0442\u043e\u0440\u043e\u043c Node.js\" src=\"\/wp-content\/uploads\/2024\/10\/be70c578e8bba6dfbe01cca4a159b36e.png\" style=\"display:block;margin: 0 auto;\" \/><\/center>    <\/ul>\n<p>Key features of Deno:  <\/p>\n<ul>\n<li class=\"l\"> Security orientation in the default configuration. File access, network capabilities, and access to environment variables are blocked by default and require explicit enabling. Default applications run in isolated sandbox environments and cannot access system capabilities without explicit permissions.    <\/li>\n<li class=\"l\"> Built-in support for TypeScript alongside JavaScript. The standard TypeScript compiler is used for type checking and generating JavaScript, which results in a drop in performance compared to parsing JavaScript in V8.      <\/li>\n<li class=\"l\"> The runtime is delivered as a single self-contained executable file (&#171;deno&#187;). To run applications using Deno, it is sufficient to download a single executable file for your platform, around 40 MB in size, with no external dependencies and no special installation requirements. Additionally, Deno is not a monolithic application, but a collection of Rust crate packages (deno_core, rusty_v8) that can be used separately.      <\/li>\n<li class=\"l\"> When launching the program and loading modules, you can use URL addressing. For example, to run the program welcome.js, you can use the command \"deno https:\/\/deno.land\/std\/examples\/welcome.js\". Code from external resources is downloaded and cached on the local system, but is never automatically updated (to refresh, the application must be explicitly started with the flag \"--reload\");      <\/li>\n<li class=\"l\"> Efficient handling of HTTP network requests in applications; the platform is designed for creating high-performance network applications.    <\/li>\n<li class=\"l\"> The ability to create universal web applications that can run both in Deno and in a regular web browser.    <\/li>\n<li class=\"l\"> A standard set of modules is available, which does not require binding to external dependencies. Modules from the standard collection have undergone additional auditing and compatibility checks.      <\/li>\n<li class=\"l\"> In addition to the runtime, the Deno platform also acts as a package manager, allowing modules to be accessed via URL within the code. For example, to load a module, you can specify in the code \"import * as log from 'https:\/\/deno.land\/std\/log\/mod.ts'. Files downloaded from external <a class=\"wpil_keyword_link\" href=\"https:\/\/prohoster.info\/en\/server\/\"   title=\"servers\" data-wpil-keyword-link=\"linked\"  data-wpil-monitor-id=\"1733\">servers<\/a> via URL are cached. Version binding for modules is determined by specifying version numbers within the URL, for example, \"https:\/\/unpkg.com\/liltest@0.0.5\/dist\/liltest.js\";\n<li class=\"l\"> Focus on using Web standards, support for Promise, fetch, and ECMAScript modules.\n<li class=\"l\"> Compatibility with packages hosted in the NPM repository and created for the Node.js platform.    <\/li>\n<li class=\"l\"> The system includes a dependency inspection tool (the \"deno info\" command) and a utility for formatting code (deno fmt);    <\/li>\n<li class=\"l\"> All application scripts can be bundled into a single JavaScript file.      <\/ul>\n<p>Source: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=62024\">opennet.ru<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d \u0432\u044b\u043f\u0443\u0441\u043a \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b Deno 2.0, \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u043d\u043e\u0439 \u0434\u043b\u044f \u043e\u0431\u043e\u0441\u043e\u0431\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043d\u0430 \u044f\u0437\u044b\u043a\u0430\u0445 JavaScript \u0438 TypeScript \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0434\u0432\u0438\u0436\u043a\u0430 V8, \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u043c\u043e\u0433\u043e \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u0445 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 Chromium. \u041f\u0440\u043e\u0435\u043a\u0442 Deno \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u0442 \u0420\u0430\u0439\u0430\u043d \u0414\u0430\u043b\u044c (Ryan Dahl), \u0441\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u044c Node.js, \u0441 \u0446\u0435\u043b\u044c\u044e \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0431\u043e\u043b\u0435\u0435 \u0437\u0430\u0449\u0438\u0449\u0451\u043d\u043d\u043e\u0433\u043e \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f \u0438 \u0443\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u043d\u0446\u0435\u043f\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u043e\u0448\u0438\u0431\u043e\u043a, \u0434\u043e\u043f\u0443\u0449\u0435\u043d\u043d\u044b\u0445 \u0432 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0435 Node.js. \u0414\u043b\u044f \u043f\u043e\u0432\u044b\u0448\u0435\u043d\u0438\u044f \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 \u043e\u0431\u0432\u044f\u0437\u043a\u0430 \u0432\u043e\u043a\u0440\u0443\u0433 \u0434\u0432\u0438\u0436\u043a\u0430 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":120129,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-120128","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.1.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d \u0432\u044b\u043f\u0443\u0441\u043a \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b Deno 2.0, \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u043d\u043e\u0439 \u0434\u043b\u044f \u043e\u0431\u043e\u0441\u043e\u0431\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043d\u0430 \u044f\u0437\u044b\u043a\u0430\u0445 JavaScript \u0438 TypeScript \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0434\u0432\u0438\u0436\u043a\u0430 V8, \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u043c\u043e\u0433\u043e \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u0445 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 Chromium.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/en\/blog\/news\/dostupna-platforma-deno-2-0-razvivaemaya-avtorom-node-js\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.1.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0414\u043e\u0441\u0442\u0443\u043f\u043d\u0430 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430 Deno 2.0, \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u043c\u0430\u044f \u0430\u0432\u0442\u043e\u0440\u043e\u043c Node.js | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d \u0432\u044b\u043f\u0443\u0441\u043a \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b Deno 2.0, \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u043d\u043e\u0439 \u0434\u043b\u044f \u043e\u0431\u043e\u0441\u043e\u0431\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043d\u0430 \u044f\u0437\u044b\u043a\u0430\u0445 JavaScript \u0438 TypeScript \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0434\u0432\u0438\u0436\u043a\u0430 V8, \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u043c\u043e\u0433\u043e \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u0445 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 Chromium.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/en\/blog\/news\/dostupna-platforma-deno-2-0-razvivaemaya-avtorom-node-js\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2024-10-10T11:09:15+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2024-10-10T11:09:15+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Deno 2.0 platform now available, developed by the creator of Node.js | ProHoster","description":"The release of Deno 2.0 has been published, designed for the isolated execution of server applications in JavaScript and TypeScript using the V8 engine found in Chromium-based browsers.","canonical_url":"https:\/\/prohoster.info\/en\/blog\/news\/dostupna-platforma-deno-2-0-razvivaemaya-avtorom-node-js","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"en_US","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0414\u043e\u0441\u0442\u0443\u043f\u043d\u0430 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430 Deno 2.0, \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u043c\u0430\u044f \u0430\u0432\u0442\u043e\u0440\u043e\u043c Node.js | ProHoster","og:description":"\u041e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d \u0432\u044b\u043f\u0443\u0441\u043a \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b Deno 2.0, \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u043d\u043e\u0439 \u0434\u043b\u044f \u043e\u0431\u043e\u0441\u043e\u0431\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043d\u0430 \u044f\u0437\u044b\u043a\u0430\u0445 JavaScript \u0438 TypeScript \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0434\u0432\u0438\u0436\u043a\u0430 V8, \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u043c\u043e\u0433\u043e \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u0445 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 Chromium.","og:url":"https:\/\/prohoster.info\/en\/blog\/news\/dostupna-platforma-deno-2-0-razvivaemaya-avtorom-node-js","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2024-10-10T11:09:15+00:00","article:modified_time":"2024-10-10T11:09:15+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"120128","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-02-09 17:34:52","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2026-01-23 07:13:19","updated":"2026-02-09 17:34:52","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/120128","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/comments?post=120128"}],"version-history":[{"count":1,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/120128\/revisions"}],"predecessor-version":[{"id":158977,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/120128\/revisions\/158977"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/media\/120129"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/media?parent=120128"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/categories?post=120128"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/tags?post=120128"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}