{"id":102260,"date":"2021-11-10T15:36:45","date_gmt":"2021-11-10T13:36:45","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/vypusk-javascript-platformy-deno-1-16"},"modified":"2021-11-10T15:36:45","modified_gmt":"2021-11-10T13:36:45","slug":"vypusk-javascript-platformy-deno-1-16","status":"publish","type":"post","link":"https:\/\/prohoster.info\/sv\/blog\/news\/vypusk-javascript-platformy-deno-1-16","title":{"rendered":"Utg\u00e5van av JavaScript-plattformen Deno 1.16","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Lanseringen av JavaScript-plattformen Deno 1.16 har \u00e4gt rum, vilket \u00e4r avsett f\u00f6r isolerad k\u00f6rning (utan anv\u00e4ndning av webbl\u00e4sare) av applikationer skrivna i JavaScript och TypeScript. Projektet utvecklas av Node.js-skaparen Ryan Dahl. Plattformens kod \u00e4r skriven i programmeringsspr\u00e5ket Rust och distribueras under MIT-licensen. F\u00e4rdiga byggen har f\u00f6rberetts f\u00f6r Linux, Windows och macOS.    <\/p>\n<p>Projektet liknar Node.js-plattformen och, precis som den, anv\u00e4nder JavaScript-motorn V8, men enligt Node.js-skaparen \u00e5tg\u00e4rdar det ett antal arkitektoniska brister hos sin f\u00f6reg\u00e5ngare och skiljer sig d\u00e4rmed med f\u00f6ljande punkter:  <\/p>\n<ul>\n<li class=\"l\"> Anv\u00e4ndning av Rust som huvudspr\u00e5k, vilket enligt utvecklarna minskar risken f\u00f6r s\u00e5rbarheter kopplade till l\u00e5gniv\u00e5hantering av minnet (buffer overflow, use-after-free, osv.);\n<li class=\"l\"> Deno anv\u00e4nder inte paketf\u00f6rvaltaren npm och package.json, utan erbjuder anv\u00e4ndaren att installera moduler genom att ange URL eller s\u00f6kv\u00e4g till modulen f\u00f6r installation. \u00c4nd\u00e5 tillhandah\u00e5ller projektet flera verktyg f\u00f6r att f\u00f6renkla arbete med externa moduler;\n<li class=\"l\"> Applikationer k\u00f6rs isolerat i sandl\u00e5dor och har inte tillg\u00e5ng till n\u00e4tverket, milj\u00f6variabler och filsystemet utan uttryckligen beviljade beh\u00f6righeter;\n<li class=\"l\"> Arkitekturen m\u00f6jligg\u00f6r skapandet av universella webbapplikationer som kan k\u00f6ras b\u00e5de i Deno-systemet och i en vanlig webbl\u00e4sare;\n<li class=\"l\"> Anv\u00e4ndningen av \u00abES Modules\u00bb och avsaknaden av st\u00f6d f\u00f6r require();\n<li class=\"l\"> Eventuella ohandledda programmeringsfel i webbapplikationen leder till deras tvingade avslutande;\n<li class=\"l\"> St\u00f6d f\u00f6r TypeScript ut\u00f6ver JavaScript;\n<li class=\"l\"> Den fullst\u00e4ndiga storleken p\u00e5 den f\u00e4rdiga plattformen \u2014 84 MB (i zip-arkivet \u2014 31 MB) i form av en enda k\u00f6rbar fil;\n<li class=\"l\"> En system f\u00f6r hantering av beroenden och kodformatering ing\u00e5r;\n<li class=\"l\"> Sikta p\u00e5 h\u00f6gpresterande applikationer.  <\/ul>\n<p>Deno hanterar f\u00f6rfr\u00e5gningar i icke-blockerande l\u00e4ge med hj\u00e4lp av plattformen Tokio, som \u00e4r avsedd f\u00f6r att skapa h\u00f6gpresterande applikationer baserade p\u00e5 en h\u00e4ndelsestyrd arkitektur. Det \u00e4r ocks\u00e5 intressant att den inbyggda HTTP-servern i Deno \u00e4r implementerad i TypeScript ovanp\u00e5 inbyggda TCP-sockets, vilket har en positiv inverkan p\u00e5 n\u00e4tverksoperationers prestanda.    <\/p>\n<p>Den nya versionen markerar:  <\/p>\n<ul>\n<li class=\"l\"> Prestandaoptimering (4 patchar);\n<li class=\"l\"> Korrigering av mer \u00e4n 15 fel, s\u00e4rskilt nu st\u00f6djer TLS-klienten HTTP\/2, kodningssystemet st\u00f6djer ytterligare kodningsm\u00e4rken, med mera.\n<li class=\"l\"> Mer \u00e4n tv\u00e5 dussin nyheter, bland vilka stabilisering av tidigare testade subsystem som Deno.startTls och Deno.TestDefinition.permissions, uppdatering av JS-motorn V8 till version 9.7 och st\u00f6d f\u00f6r transformationer av React 17 JSX kan n\u00e4mnas.  <\/ul>\n<p>K\u00e4lla: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=56129\">opennet.ru<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0421\u043e\u0441\u0442\u043e\u044f\u043b\u0441\u044f \u0440\u0435\u043b\u0438\u0437 JavaScript-\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b Deno 1.16, \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 (\u0431\u0435\u0437 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430) \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0445 \u043d\u0430 \u044f\u0437\u044b\u043a\u0430\u0445 JavaScript \u0438 TypeScript. \u041f\u0440\u043e\u0435\u043a\u0442 \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0430\u0432\u0442\u043e\u0440\u043e\u043c Node.js \u0420\u0430\u0439\u0430\u043d\u043e\u043c \u0414\u0430\u043b\u0435\u043c (Ryan Dahl). \u041a\u043e\u0434 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f Rust \u0438 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u044f\u0435\u0442\u0441\u044f \u043f\u043e\u0434 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0435\u0439 MIT. \u0413\u043e\u0442\u043e\u0432\u044b\u0435 \u0441\u0431\u043e\u0440\u043a\u0438 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043b\u0435\u043d\u044b \u0434\u043b\u044f Linux, Windows \u0438 macOS. \u041f\u0440\u043e\u0435\u043a\u0442 \u0441\u0445\u043e\u0436 \u0441 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u043e\u0439 Node.js \u0438, \u043f\u043e\u0434\u043e\u0431\u043d\u043e \u0435\u043c\u0443, [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-102260","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.4 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0421\u043e\u0441\u0442\u043e\u044f\u043b\u0441\u044f \u0440\u0435\u043b\u0438\u0437 JavaScript-\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b Deno 1.16, \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 (\u0431\u0435\u0437 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430) \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0445 \u043d\u0430 \u044f\u0437\u044b\u043a\u0430\u0445 JavaScript \u0438 TypeScript.\" \/>\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\/sv\/blog\/news\/vypusk-javascript-platformy-deno-1-16\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.4\" \/>\n\t\t<meta property=\"og:locale\" content=\"sv_SE\" \/>\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\u0412\u044b\u043f\u0443\u0441\u043a JavaScript-\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b Deno 1.16 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0421\u043e\u0441\u0442\u043e\u044f\u043b\u0441\u044f \u0440\u0435\u043b\u0438\u0437 JavaScript-\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b Deno 1.16, \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 (\u0431\u0435\u0437 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430) \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0445 \u043d\u0430 \u044f\u0437\u044b\u043a\u0430\u0445 JavaScript \u0438 TypeScript.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/sv\/blog\/news\/vypusk-javascript-platformy-deno-1-16\" \/>\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=\"2021-11-10T13:36:45+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2021-11-10T13:36:45+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\udd47Utgivningen av JavaScript-plattformen Deno 1.16 | ProHoster","description":"Lanseringen av JavaScript-plattformen Deno 1.16 har \u00e4gt rum, avsedd f\u00f6r isolerad k\u00f6rning (utan att anv\u00e4nda en webbl\u00e4sare) av applikationer skrivna i JavaScript och TypeScript.","canonical_url":"https:\/\/prohoster.info\/sv\/blog\/news\/vypusk-javascript-platformy-deno-1-16","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"sv_SE","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\u0412\u044b\u043f\u0443\u0441\u043a JavaScript-\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b Deno 1.16 | ProHoster","og:description":"\u0421\u043e\u0441\u0442\u043e\u044f\u043b\u0441\u044f \u0440\u0435\u043b\u0438\u0437 JavaScript-\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b Deno 1.16, \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 (\u0431\u0435\u0437 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430) \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0445 \u043d\u0430 \u044f\u0437\u044b\u043a\u0430\u0445 JavaScript \u0438 TypeScript.","og:url":"https:\/\/prohoster.info\/sv\/blog\/news\/vypusk-javascript-platformy-deno-1-16","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":"2021-11-10T13:36:45+00:00","article:modified_time":"2021-11-10T13:36:45+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"102260","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":null,"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":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-11-10 13:38:21","updated":"2022-09-28 08:19:17","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/posts\/102260","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/comments?post=102260"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/posts\/102260\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/media?parent=102260"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/categories?post=102260"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/tags?post=102260"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}