{"id":81744,"date":"2020-05-16T01:42:49","date_gmt":"2020-05-15T23:42:49","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/deno-1-0"},"modified":"2020-05-16T01:42:49","modified_gmt":"2020-05-15T23:42:49","slug":"deno-1-0","status":"publish","type":"post","link":"https:\/\/prohoster.info\/hu\/blog\/news\/deno-1-0","title":{"rendered":"Deno 1.0","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><a rel=\"nofollow\" href=\"https:\/\/www.linux.org.ru\/images\/19141\/original.png\" itemprop=\"contentURL\"><br \/>\n      <img decoding=\"async\" alt=\"Deno 1.0\" src=\"\/wp-content\/uploads\/2020\/05\/bbff20dea4cf288d96bb520726b373d4.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p>    <\/a><\/p>\n<p>Meg\u00e9rkezett a Deno nagy friss\u00edt\u00e9se \u2013 egy ny\u00edlt forr\u00e1sk\u00f3d\u00fa, biztons\u00e1gos TypeScript futtat\u00e1si k\u00f6rnyezet, amely az al\u00e1bbi jellemz\u0151kkel rendelkezik:<\/p>\n<ul>\n<li>Kiz\u00e1r\u00f3lagos, explicit hozz\u00e1f\u00e9r\u00e9s a f\u00e1jlrendszerhez, a h\u00e1l\u00f3zathoz \u00e9s a k\u00f6rnyezethez a felhaszn\u00e1l\u00f3 \u00e1ltal megadott megfelel\u0151 enged\u00e9lyek be\u00e1ll\u00edt\u00e1s\u00e1val;<\/li>\n<li>TypeScript futtat\u00e1sa Node.JS \u00e9s tsc n\u00e9lk\u00fcl;<\/li>\n<li>Visszamen\u0151leges kompatibilit\u00e1s Javascript-tel: b\u00e1rmely Deno-ra vonatkoz\u00f3 program, amely nem hivatkozik a Deno glob\u00e1lis n\u00e9vt\u00e9rre \u00e9s \u00e9rv\u00e9nyes Javascript k\u00f3dot k\u00e9pvisel, futtathat\u00f3 a b\u00f6ng\u00e9sz\u0151ben;<\/li>\n<li>Kiz\u00e1r\u00f3lag egy v\u00e9grehajthat\u00f3 f\u00e1jl form\u00e1j\u00e1ban, amely tov\u00e1bbi eszk\u00f6z\u00f6ket is tartalmaz, mint p\u00e9ld\u00e1ul\n<ul>\n<li>deno run \u2014inspect-brk: hibakeres\u00e9s -<a class=\"wpil_keyword_link\" href=\"https:\/\/prohoster.info\/hu\/server\/\"   title=\"szerver\" data-wpil-keyword-link=\"linked\">szerver<\/a>, amely egy\u00fcttm\u0171k\u00f6dik a Visual Studio Code-dal \u00e9s a Google Chrome t\u00e1voli hibakeres\u0151 eszk\u00f6zeivel;<\/li>\n<li>deno install: Deno programok telep\u00edt\u0151je t\u00e1voli forr\u00e1sokb\u00f3l. Let\u00f6lti a f\u00fcgg\u0151s\u00e9gekkel egy\u00fctt, \u00e9s el\u00e9rhet\u0151v\u00e9 teszi a program futtat\u00e1s\u00e1hoz sz\u00fcks\u00e9ges szkriptet a $HOME\/.deno\/bin k\u00f6nyvt\u00e1rban;<\/li>\n<li>deno fmt: form\u00e1zza a k\u00f3dot;<\/li>\n<li>deno bundle: Deno programok csomagol\u00f3ja. Olyan js-f\u00e1jlt hoz l\u00e9tre, amely tartalmazza a Deno programot \u00e9s annak f\u00fcgg\u0151s\u00e9geit;<\/li>\n<li>WIP: dokument\u00e1ci\u00f3gener\u00e1tor \u00e9s f\u00fcgg\u0151s\u00e9gi audit\u00e1l\u00f3 eszk\u00f6z;<\/li>\n<\/ul>\n<\/li>\n<li>Nincs f\u00fcgg\u0151s\u00e9g az npm-t\u0151l \u00e9s a package.json-t\u00f3l: a k\u00fcls\u0151 modulok k\u00f6zvetlen\u00fcl a programban megadott URL-c\u00edm alapj\u00e1n t\u00f6lt\u0151dnek le \u00e9s haszn\u00e1lhat\u00f3k (a h\u00e1l\u00f3zati bet\u00f6lt\u00e9s csak az els\u0151 v\u00e9grehajt\u00e1s sor\u00e1n t\u00f6rt\u00e9nik, a tov\u00e1bbiakban a modul a \u2014reload param\u00e9ter h\u00edv\u00e1s\u00e1ig cache-elve van):<br \/>\nimport * as log from \"https:\/\/deno.land\/std\/log\/mod.ts\";<\/p>\n<\/li>\n<li>Minden aszinkron m\u0171velet Promise-t ad vissza, ellent\u00e9tben a Node.JS-sel;<\/li>\n<li>A program v\u00e9grehajt\u00e1sa <strong>k\u00edm\u00e9letlenek voltak<\/strong> megszakad, ha nem kezelt hib\u00e1k l\u00e9pnek fel.<\/li>\n<\/ul>\n<p><noindex><noindex><\/p>\n<p>A Deno be\u00e1gyazhat\u00f3 k\u00f6rnyezet, \u00e9s Rust alap\u00fa megl\u00e9v\u0151 programok kieg\u00e9sz\u00edt\u00e9s\u00e9re is haszn\u00e1lhat\u00f3 a crate seg\u00edts\u00e9g\u00e9vel. <a rel=\"nofollow\" href=\"https:\/\/crates.io\/crates\/deno_core\">deno_core<\/a>.<\/p>\n<p><\/noindex><\/noindex><\/p>\n<p>A Deno csapata standard modulokat biztos\u00edt k\u00fcls\u0151 f\u00fcgg\u0151s\u00e9gek n\u00e9lk\u00fcl, hasonl\u00f3 funkci\u00f3kkal, mint a Go nyelv standard k\u00f6nyvt\u00e1ra.<\/p>\n<p>A Deno megfelel\u0151en haszn\u00e1lhat\u00f3 szkriptek futtat\u00e1s\u00e1ra \u2013 a shebang h\u00edv\u00e1s t\u00e1mogatott.<br \/>\nVan REPL.<br \/>\nRust programoz\u00e1si nyelven \u00edr\u00f3dott.<\/p>\n<p>Forr\u00e1s: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"http:\/\/www.linux.org.ru\/news\/development\/15703913\">linux.org.ru<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0421\u043e\u0441\u0442\u043e\u044f\u043b\u0441\u044f \u043c\u0430\u0436\u043e\u0440\u043d\u044b\u0439 \u0440\u0435\u043b\u0438\u0437 Deno &ndash; \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u0439, \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0439 \u0441\u0440\u0435\u0434\u044b \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 TypeScript, \u043e\u0431\u043b\u0430\u0434\u0430\u044e\u0449\u0435\u0439 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c\u0438 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044f\u043c\u0438: \u0418\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u044f\u0432\u043d\u044b\u0439 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435, \u0441\u0435\u0442\u0438 \u0438 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044e \u0447\u0435\u0440\u0435\u0437 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u043c; \u0418\u0441\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 TypeScript \u0431\u0435\u0437 Node.JS \u0438 tsc; \u041e\u0431\u0440\u0430\u0442\u043d\u0430\u044f \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u044c \u0441 Javascript: \u043b\u044e\u0431\u043e\u0435 \u043f\u043e\u0434\u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c \u0434\u043b\u044f Deno, \u043d\u0435 \u0441\u0441\u044b\u043b\u0430\u044e\u0449\u0435\u0435\u0441\u044f \u043d\u0430 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e \u0438\u043c\u0451\u043d Deno \u0438 \u044f\u0432\u043b\u044f\u044e\u0449\u0435\u0435\u0441\u044f \u0432\u0430\u043b\u0438\u0434\u043d\u044b\u043c [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":81745,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-81744","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.3 - aioseo.com -->\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\/hu\/blog\/news\/deno-1-0\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"hu_HU\" \/>\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\udd47Deno 1.0 | ProHoster\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/hu\/blog\/news\/deno-1-0\" \/>\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=\"2020-05-15T23:42:49+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-05-15T23:42:49+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 1.0 | ProHoster","description":"","canonical_url":"https:\/\/prohoster.info\/hu\/blog\/news\/deno-1-0","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"hu_HU","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\udd47Deno 1.0 | ProHoster","og:url":"https:\/\/prohoster.info\/hu\/blog\/news\/deno-1-0","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":"2020-05-15T23:42:49+00:00","article:modified_time":"2020-05-15T23:42:49+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"81744","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-02-28 15:52:23","updated":"2022-09-28 07:32:39","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/81744","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/comments?post=81744"}],"version-history":[{"count":1,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/81744\/revisions"}],"predecessor-version":[{"id":172882,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/81744\/revisions\/172882"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/media\/81745"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/media?parent=81744"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/categories?post=81744"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/tags?post=81744"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}