profile
viewpoint

MarkTiedemann/cisco-vpn 10

Wrapper around the Cisco AnyConnect VPN client.

MarkTiedemann/deno.mk 5

Cross-platform Makefile for installing and running Deno.

MarkTiedemann/anydo 3

Unofficial Any.do client for Node.js.

angular-hamburg/react.angular.hamburg 2

The old angular.hamburg website for Hamburg's Angular Meetup, written in React.

MarkTiedemann/anydo-cli 1

Unofficial CLI app for Any.do.

MarkTiedemann/deno_fastlist 1

List all running processes on Windows.

angular-hamburg/api.angular.hamburg 0

The API for angular.hamburg

MarkTiedemann/air.note 0

Simple notepad that works in airplane-mode.

MarkTiedemann/assertion_error 0

Error constructor for test and validation frameworks that implements standardized AssertionError specification.

issue commentdenoland/deno

Manual missing on website

Thanks, @ry!

MarkTiedemann

comment created time in 11 days

issue openeddenoland/deno

Manual missing on website

https://deno.land/manual shows "404 - Not Found" for the v1.4.5 manual.

Switching to v1.4.4 (https://deno.land/manual@v1.4.4/introduction) works - the old manual is still available.

created time in 11 days

startedhecrj/iced

started time in 20 days

startedpmarsceill/just-the-docs

started time in a month

startedactix/actix-web

started time in a month

issue commentdenoland/deno

`DOMParser` Discussion

Here's a ref to an even older DOMParser issue (and it's companion API XMLSerializer) if anyone's interested: https://github.com/denoland/deno/issues/3648

CodingCarter

comment created time in a month

startedcli/cli

started time in a month

CommitCommentEvent

push eventMarkTiedemann/node-latest

Mark Tiedemann

commit sha 4e3d6ea4e0e73150ad470229e5c096aac116c00b

Release v4.0.1

view details

push time in a month

startedvlang/v

started time in a month

startedv8/v8

started time in a month

pull request commentMarkTiedemann/node-latest

Bump node-fetch from 1.7.3 to 2.6.1

@ehmicky Just released v4.0.0.

  • Fixed npm.lts and npm.next.
  • npm.current is no longer sync.
  • Removed all dependencies.

Hope this helps.

dependabot[bot]

comment created time in a month

push eventMarkTiedemann/node-latest

Mark Tiedemann

commit sha 297de6d4d920a4adcfcce7db606c77c0bf77638c

Release v4.0.0

view details

push time in a month

PR closed MarkTiedemann/node-latest

Bump node-fetch from 1.7.3 to 2.6.1 dependencies

Bumps node-fetch from 1.7.3 to 2.6.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/bitinn/node-fetch/releases">node-fetch's releases</a>.</em></p> <blockquote> <h2>v2.6.1</h2> <p><strong>This is an important security release. It is strongly recommended to update as soon as possible.</strong></p> <p>See <a href="https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md#v261">CHANGELOG</a> for details.</p> <h2>v2.6.0</h2> <p>See <a href="https://github.com/bitinn/node-fetch/blob/v2.6.0/CHANGELOG.md#v260">CHANGELOG</a>.</p> <h2>v2.5.0</h2> <p>See <a href="https://github.com/bitinn/node-fetch/blob/v2.5.0/CHANGELOG.md#v250">CHANGELOG</a>.</p> <h2>v2.4.1</h2> <p>See <a href="https://github.com/bitinn/node-fetch/blob/v2.4.1/CHANGELOG.md#v241">CHANGELOG</a>.</p> <h2>v2.4.0</h2> <p>See <a href="https://github.com/bitinn/node-fetch/blob/v2.4.0/CHANGELOG.md#v240">CHANGELOG</a>.</p> <h2>v2.3.0</h2> <p>See <a href="https://github.com/bitinn/node-fetch/blob/v2.3.0/CHANGELOG.md#v230">CHANGELOG</a>.</p> <h2>v2.2.1</h2> <p>See <a href="https://github.com/bitinn/node-fetch/blob/v2.2.1/CHANGELOG.md#v221">CHANGELOG</a>.</p> <h2>Version 2.1.2</h2> <ul> <li>Fix: allow <code>Body</code> methods to work on ArrayBuffer<code>-backed </code>Body` objects</li> <li>Fix: reject promise returned by <code>Body</code> methods when the accumulated <code>Buffer</code> exceeds the maximum size</li> <li>Fix: support custom <code>Host</code> headers with any casing</li> <li>Fix: support importing <code>fetch()</code> from TypeScript in <code>browser.js</code></li> <li>Fix: handle the redirect response body properly</li> </ul> <p>See <a href="https://github.com/bitinn/node-fetch/blob/v2.1.2/CHANGELOG.md#v212">CHANGELOG</a>.</p> <h2>Version 2.1.1</h2> <p>See <a href="https://github.com/bitinn/node-fetch/blob/v2.1.1/CHANGELOG.md#v211">CHANGELOG</a>.</p> <p>Fix packaging errors in version 2.1.0.</p> <h2>Version 2.1.0</h2> <p>See <a href="https://github.com/bitinn/node-fetch/blob/v2.1.0/CHANGELOG.md#v210">CHANGELOG</a>:</p> <ul> <li>Enhance: allow using ArrayBuffer as the <code>body</code> of a <code>fetch()</code> or <code>Request</code></li> <li>Fix: store HTTP headers of a <code>Headers</code> object internally with the given case, for compatibility with older servers that incorrectly treated header names in a case-sensitive manner</li> <li>Fix: silently ignore invalid HTTP headers</li> <li>Fix: handle HTTP redirect responses without a <code>Location</code> header just like non-redirect responses</li> <li>Fix: include bodies when following a redirection when appropriate</li> </ul> <h2>Version 2.0.0</h2> <p>This is a major release. See <a href="https://github.com/bitinn/node-fetch/blob/master/UPGRADE-GUIDE.md">upgrade guide</a> on how to upgrade from v1.x, and the <a href="https://github.com/bitinn/node-fetch/blob/master/CHANGELOG.md">changelog</a> for all changes.</p> <h2>v2.0.0-alpha.9</h2> <!-- raw HTML omitted --> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md">node-fetch's changelog</a>.</em></p> <blockquote> <h2>v2.6.1</h2> <p><strong>This is an important security release. It is strongly recommended to update as soon as possible.</strong></p> <ul> <li>Fix: honor the <code>size</code> option after following a redirect.</li> </ul> <h2>v2.6.0</h2> <ul> <li>Enhance: <code>options.agent</code>, it now accepts a function that returns custom http(s).Agent instance based on current URL, see readme for more information.</li> <li>Fix: incorrect <code>Content-Length</code> was returned for stream body in 2.5.0 release; note that <code>node-fetch</code> doesn't calculate content length for stream body.</li> <li>Fix: <code>Response.url</code> should return empty string instead of <code>null</code> by default.</li> </ul> <h2>v2.5.0</h2> <ul> <li>Enhance: <code>Response</code> object now includes <code>redirected</code> property.</li> <li>Enhance: <code>fetch()</code> now accepts third-party <code>Blob</code> implementation as body.</li> <li>Other: disable <code>package-lock.json</code> generation as we never commit them.</li> <li>Other: dev dependency update.</li> <li>Other: readme update.</li> </ul> <h2>v2.4.1</h2> <ul> <li>Fix: <code>Blob</code> import rule for node < 10, as <code>Readable</code> isn't a named export.</li> </ul> <h2>v2.4.0</h2> <ul> <li>Enhance: added <code>Brotli</code> compression support (using node's zlib).</li> <li>Enhance: updated <code>Blob</code> implementation per spec.</li> <li>Fix: set content type automatically for <code>URLSearchParams</code>.</li> <li>Fix: <code>Headers</code> now reject empty header names.</li> <li>Fix: test cases, as node 12+ no longer accepts invalid header response.</li> </ul> <h2>v2.3.0</h2> <ul> <li>Enhance: added <code>AbortSignal</code> support, with README example.</li> <li>Enhance: handle invalid <code>Location</code> header during redirect by rejecting them explicitly with <code>FetchError</code>.</li> <li>Fix: update <code>browser.js</code> to support react-native environment, where <code>self</code> isn't available globally.</li> </ul> <h2>v2.2.1</h2> <ul> <li>Fix: <code>compress</code> flag shouldn't overwrite existing <code>Accept-Encoding</code> header.</li> <li>Fix: multiple <code>import</code> rules, where <code>PassThrough</code> etc. doesn't have a named export when using node <10 and <code>--experimental-modules</code> flag.</li> <li>Other: Better README.</li> </ul> <h2>v2.2.0</h2> <ul> <li>Enhance: Support all <code>ArrayBuffer</code> view types</li> <li>Enhance: Support Web Workers</li> <li>Enhance: Support Node.js' <code>--experimental-modules</code> mode; deprecate <code>.es.js</code> file</li> <li>Fix: Add <code>__esModule</code> property to the exports object</li> </ul> <!-- raw HTML omitted --> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/node-fetch/node-fetch/commit/b5e2e41b2b50bf2997720d6125accaf0dd68c0ab"><code>b5e2e41</code></a> update version number</li> <li><a href="https://github.com/node-fetch/node-fetch/commit/2358a6c2563d1730a0cdaccc197c611949f6a334"><code>2358a6c</code></a> Honor the <code>size</code> option after following a redirect and revert data uri support</li> <li><a href="https://github.com/node-fetch/node-fetch/commit/8c197f8982a238b3c345c64b17bfa92e16b4f7c4"><code>8c197f8</code></a> docs: Fix typos and grammatical errors in README.md (<a href="https://github-redirect.dependabot.com/bitinn/node-fetch/issues/686">#686</a>)</li> <li><a href="https://github.com/node-fetch/node-fetch/commit/1e99050f944ac435fce26a9549eadcc2419a968a"><code>1e99050</code></a> fix: Change error message thrown with redirect mode set to error (<a href="https://github-redirect.dependabot.com/bitinn/node-fetch/issues/653">#653</a>)</li> <li><a href="https://github.com/node-fetch/node-fetch/commit/244e6f63d42025465796e3ca4ce813bf2c31fc5b"><code>244e6f6</code></a> docs: Show backers in README</li> <li><a href="https://github.com/node-fetch/node-fetch/commit/6a5d192034a0f438551dffb6d2d8df2c00921d16"><code>6a5d192</code></a> fix: Properly parse meta tag when parameters are reversed (<a href="https://github-redirect.dependabot.com/bitinn/node-fetch/issues/682">#682</a>)</li> <li><a href="https://github.com/node-fetch/node-fetch/commit/47a24a03eb49a49d81b768892aee10074ed54a91"><code>47a24a0</code></a> chore: Add opencollective badge</li> <li><a href="https://github.com/node-fetch/node-fetch/commit/7b136627c537cb24430b0310638c9177a85acee1"><code>7b13662</code></a> chore: Add funding link</li> <li><a href="https://github.com/node-fetch/node-fetch/commit/5535c2ed478d418969ecfd60c16453462de2a53f"><code>5535c2e</code></a> fix: Check for global.fetch before binding it (<a href="https://github-redirect.dependabot.com/bitinn/node-fetch/issues/674">#674</a>)</li> <li><a href="https://github.com/node-fetch/node-fetch/commit/1d5778ad0d910dbd1584fb407a186f5a0bc1ea22"><code>1d5778a</code></a> docs: Add Discord badge</li> <li>Additional commits viewable in <a href="https://github.com/bitinn/node-fetch/compare/1.7.3...v2.6.1">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by <a href="https://www.npmjs.com/~akepinski">akepinski</a>, a new releaser for node-fetch since your current version.</p> </details> <br />

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

</details>

+1 -1

2 comments

1 changed file

dependabot[bot]

pr closed time in a month

pull request commentMarkTiedemann/node-latest

Bump node-fetch from 1.7.3 to 2.6.1

@ehmicky I never signed up for automatic security updates, and this is a 4 y/o npm package with 200 weekly downloads. So please understand that this is not a high-priority project to me.

Just for fun, I checked out the project locally, ran npm install and node example.js, and as it turns out 2 methods of this module don't even work anymore.

I'll work on patch which will remove all third-party dependencies just so I won't be annoyed by future security PRs by bots on long forgotten and almost abandoned projects of mine.

Thanks for your patience.

dependabot[bot]

comment created time in a month

startedelves/elvish

started time in a month

startedconnorskees/grass

started time in a month

issue commentdenoland/deno

Do we need virtualenv feature just like python?

Here's a "virtual environment" implementation using make: https://github.com/MarkTiedemann/deno.mk

CGQAQ

comment created time in a month

issue closedMarkTiedemann/cisco-vpn

Can I use it on unix based systems?

Hi,

I'm sorry if that's a silly question but is there a way to run it on MacOS or Ubuntu? I'm using Cisco AnyConnect Client on MacOS because that's the only way company allows it and wan't to make sql query over vpn. That's the result: vpncli.exe: cannot execute binary file

MacOS / node / cisco-vpn package - up to date.

closed time in a month

vivacenontroppo

issue commentMarkTiedemann/cisco-vpn

Can I use it on unix based systems?

Yes, you should be able to use this module on MacOS; though I have not tested it yet.

It is wrapping Cisco's VPN CLI which is located at C:\Program Files (x86)\Cisco\Cisco AnyConnect Secure Mobility Client\vpncli.exe on Windows and /opt/cisco/anyconnect/bin/vpn on MacOS with the default installation.

This module has an option called exe which you can use to provide the location of the VPN CLI.

I hope this helps.

vivacenontroppo

comment created time in a month

startedlitehtml/litehtml

started time in 2 months

startedultralight-ux/Ultralight

started time in 2 months

issue commentdenoland/deno_install

not being able to install deno in windows with powershell says """The term 'iwr' is not recognized as the name of a cmdlet, function, script file, or oper g of the name, or if a path was included, verify that the path is correct and try again."""

@Shirshak-Ach

What's the output of ver and powershell -c $psversiontable on your machine?

Does replacing iwr with Invoke-WebRequest solve the problem?

Shirshak-Ach

comment created time in 2 months

startedjart/cosmopolitan

started time in 2 months

startedmame/quine-relay

started time in 2 months

fork MarkTiedemann/xmldom

A pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module.

fork in 2 months

PublicEvent

startedrswier/c4

started time in 2 months

issue commentdenoland/deno

Support continuation/async local storage

Not sure I understand your feature request. Can you sketch the API?

I noticed that you created the @northscaler/continuation-local-storage module. Why do you want this module (or something similar) to be a part of Deno (I presume, the standard library) rather than a third-party module?

matthewadams

comment created time in 2 months

issue commentdenoland/deno

type error from the imports

@Conando025 I can reproduce your error if I use different versions of https://deno.land/std/http/server.ts and https://deno.land/std/ws/mod.ts, e.g. if std/http/server is v0.63.0 and std/ws/mod is v0.62.0. If both use the same std version, it's fine.

Conando025

comment created time in 2 months

issue commentdenoland/deno_website2

Wanted: provide a list of version information

@lucacasonato Where can I find the source code / docs for the API?

I'd like to add a feature for returning the latest version in plain text. :)

zhmushan

comment created time in 3 months

issue commentdenoland/deno_website2

Wanted: provide a list of version information

Sweet, that's perfect! Thanks. :)

zhmushan

comment created time in 3 months

issue commentdenoland/deno_website2

Wanted: provide a list of version information

https://cdn.deno.land/deno/meta/versions.json

That's nice.

Unfortunately, I think it's not usable for determining the latest Deno version for downloading the latest Deno binary. That is because there is a time difference between the git tag being pushed and the binaries being built and uploaded. For example, v1.2.2 was tagged at 2020-07-31T19:14:25Z, the GitHub release was created at 2020-07-31T21:06:46Z, almost 2h later, (and the binaries may have been added to the release even later?). That's why, in deno_install, we're currently parsing the HTML of the GitHub releases page to figure out the "latest release for the specific platform" - "latest" meaning "binary is available for download".

A quick and dirty solution would be something like this: https://gist.github.com/MarkTiedemann/6ec5dc6b4f968296fa7e7b578ca91ad6 A better solution would need to be integrated into the release process.

zhmushan

comment created time in 3 months

issue commentdenoland/deno

type error from the imports

@Conando025 The import statement is incorrect:

import("https://deno.land/std/io/bufio").BufReader

It's should be a static import:

import { BufReader } from "https://deno.land/std@0.63.0/io/bufio.ts";

Or a dynamic import:

const { BufReader } = await import("https://deno.land/std@0.63.0/io/bufio.ts");

See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import for more info.

Conando025

comment created time in 3 months

issue commentdenoland/deno_website2

Wanted: provide a list of version information

@lucacasonato This issue is not about the version of a module, but about Deno's version.

This is similar to https://github.com/denoland/deno_install/issues/115.

zhmushan

comment created time in 3 months

issue commentdenoland/deno

Question: install scripts with external assets

@swwind Documentation is missing, but the code is useable and tested: https://github.com/MarkTiedemann/deno_pack. Install with deno --allow-read --allow-write https://raw.githubusercontent.com/MarkTiedemann/deno_pack/master/pack.ts.

swwind

comment created time in 3 months

create barnchMarkTiedemann/deno_pack

branch : master

created branch time in 3 months

created repositoryMarkTiedemann/deno_pack

Pack assets for distribution in Deno.

created time in 3 months

fork MarkTiedemann/deno_pkger

General resources packager for Deno

fork in 3 months

issue commentdenoland/deno

Question: install scripts with external assets

Well, I just want deno to do that stuff for me(I'm lazy). In other words, I do hope some implementation like #5987.

@swwind Would you be fine with a third-party tool doing this for you? I'm thinking about building a tool that would do this for you, i.e. in-line asset files into JS/TS source files.

swwind

comment created time in 3 months

startedaddyosmani/puppeteer-webperf

started time in 3 months

startedSchemaStore/schemastore

started time in 3 months

issue commentdenoland/deno

Plugin Op call time

Haven't run any tests yet, but here's another obversation:

performance.now() is also an op/binding that calls into native code. If ops in Deno are slower than bindings in Node, the current benchmark setup may be skewed since it's testing the performance of 3 ops/bindings rather than just 1. To check whether this has an impact, you could take the time before the loop and after to calculate the average, e.g.:

let start = performance.now();
for (let i = 0; i < sample_size; i++) {
  // call op/binding here
}
let end = performance.now();
playerx

comment created time in 3 months

issue commentdenoland/deno

Question: install scripts with external assets

As for security, I think deno install is the same as npm install -g so long as you don't install scripts from weird source.

No, deno install is a safe command whereas npm install -g with a postinstall hook can add your computer to a crypto-mining farm.

swwind

comment created time in 3 months

issue commentdenoland/deno

Question: install scripts with external assets

I just want a way to import these non-TypeScript files as ArrayBuffer

Deno.getAssetById("b"); // get Uint8Array

bundle those non-code assets into TypeScript file does not make sense to me

I don't quite understand what you're saying.

The example code I showed was meant to illustrate how you can build a TypeScript file that contains binary data. So if you have a favicon.ico file, you can build a favicon.ts file that allows access to the binary data.

I don't quite get the difference between your suggested Deno.getAssetById("favicon") and my suggested import { favicon } from "./favicon.ts". Both give you a Uint8Array (or similar).

Granted, my setup would require an additional build step on your part, but I don't feel like that's unreasonable.

swwind

comment created time in 3 months

PR opened denoland/deno

Shorten Windows file description

The Windows file properties dialog only shows 51 characters on an English system. You can scroll right to see the remaining characters but that's not obvious in this case, as it ends with "... built on V8" (and cuts off "... and Rust.")

properties

Similary, if you start your first Deno HTTP server, the firewall dialog will say " secure JavaScript/TypeScript runtime, build on V8 and Rust.", cutting off the leading "A ...", only displaying 60 characters. You can scroll to the left in this case to read the full description, but again this is not quite obvious.

firewall

Therefore, I propose to shorten the description to the nicely fitting 47 characters from the homepage: "A secure runtime for JavaScript and TypeScript."

+1 -1

0 comment

1 changed file

pr created time in 3 months

push eventMarkTiedemann/deno

Mark Tiedemann

commit sha 654ddae72209fa26a043c6bea015a902c3f148ef

Shorten Windows file description

view details

push time in 3 months

issue commentdenoland/deno

Question: install scripts with external assets

deno install is excellent for installing scripts, but it seems that it could only install ts (and js?) files through dependencies.

I'd assume that this is for security reasons. Imagine deno install putting an executable into your path.

And this solution is not suit for images(such as favicon.ico) as they are binary files.

While it may not be "suitable", you can store binary data in a TypeScript text file, for example, in a Uint8Array:

import { equal } from "https://deno.land/std@0.62.0/testing/asserts.ts";

let res = await fetch("https://deno.land/favicon.ico");
let icon_from_url = new Uint8Array(await res.arrayBuffer());
await Deno.writeTextFile("favicon.ts", `export let icon = new Uint8Array([${icon_from_url.toString()}])`);
let icon_from_file = (await import("./favicon.ts")).icon;
equal(icon_from_url, icon_from_file);

Note that this will increase file size (e.g. favicon.ico is 15kb whereas favicon.ts is 34kb).

swwind

comment created time in 3 months

issue commentdenoland/deno_install

Proposal: Rustup-like installer

@nebrelbug You mentioned dvm by @justjavac. There exist other competing Deno Version Managers, of course - all with different features, designs, and properties. Here's a quick overview of version managers that I have personally used:

There are, of course, also general-purpose package managers that allow you to manage multiple deno versions, such as, scoop, brew, choco, asdf, yay, etc.

Another personal favorite of mine is MarkTiedemann/deno.mk, which is a cross-platform Makefile for installing and running Deno in a project.


I think there's a couple of questions that are not trivial to answer:

  • Should deno upgrade and/or deno_install do version management?
    • And if so, what properties are desirable? Which designs make sense? Which features should be implemented?
  • Or should there be a new, third official tool that does version management?
    • And if so, should it replace deno upgrade and/or deno_install?

There's also a related question of creating a GUI installer for Windows which came up a couple of times in the past, most recently in this issue: https://github.com/denoland/deno/issues/5640

I think this is a surprisingly large problem space. Personally, I'm fine with the current ecosystem of solutions, but I know it could benefit from being standardized and being more beginner-friendly.


Allow setting a specific Deno version on the directory level

I'm curious. How would that be implemented?

Add Deno to the user's $PATH

On Windows this can be done by editing the HKEY_CURRENT_USER\Environment\Path registry entry. How would that be done on Linux and MacOS (other than parsing and editing (or appending to) .bashrc (or similar), which I don't think is a solid solution)?

nebrelbug

comment created time in 3 months

push eventMarkTiedemann/deno.mk

Mark Tiedemann

commit sha b24f6dc8e50c3214d8dbb9360a05985ceff26b3b

Update MacOS/Linux to 1.2.1; Use tar on all platforms

view details

push time in 3 months

push eventMarkTiedemann/deno.mk

Mark Tiedemann

commit sha 0e345962c82070a065b90bc487c4e29080c98867

Remove unnecessary cmd /c invocation on Windows

view details

push time in 3 months

push eventMarkTiedemann/deno.mk

Mark Tiedemann

commit sha f9720dab0384690351c3284ac820de6cd74796e1

Update WIndows to 1.2.1

view details

push time in 3 months

issue commentdenoland/deno

Release Builds on WinGet Pkgs

@MarkTiedemann how about creating an MSI installer for Deno?

In general, I think that's a good idea and it's definitely a fix for this issue, though, as mentioned in the comments above, I do think that WinGet should just support plain executables rather than requiring an installer, and so I'd rather have this specific issue fixed upstream.

That being said, it's, of course, still a good idea to create a GUI installer. I think the main reason for doing that would be to be more beginner friendly. As witnessed in https://github.com/denoland/deno/issues/5727, people may not expect Deno to just be an .exe in a .zip. Since setup.exe or setup.msi installers are a common pattern on Windows, I think it's fair to offer this to users.

(Another potential "fix" for that problem would be to educate people that an installer in the classical sense isn't really needed. There's an issue for that in deno_install: https://github.com/denoland/deno_install/issues/130)

I think there's also a question of scope: deno_install and deno upgrade allow you to install the latest or a specific deno version to the default or a specific location, adding that location to the %path%. So the installer should have those features at least. Both don't have an "uninstall" feature - that'd be a potential new feature. Both also don't have the role of a version manager - not sure whether that would be in-scope: Personally, I'm using MarkTiedemann/dvm.cmd to manage my deno version on Windows, axetroy/dvm to manage my deno version on MacOS, and MarkTiedemann/deno.mk for cross-platform project-local installations. So I think it'd be great if the installer was aware of previous downloads and if you could switch the deno version that you want to download/use in the setup, but that's certainly not a requirement - just my personal preference.

Then there's a couple of questions in regards to "How do you actually build the installer?". Which languages? Which tools to you use? What's the build process? Do we need to sign the installer? And if so, how do we sign it? etc.

PS: I have previously started a deno-up.exe project, but I have abandoned it since dvm is covering all of my needs.

If such a PR is issued, is there any principal reason for it to be rejected?

I don't accept nor reject PRs so that's not a question I can answer. I'd gladly help review, but ultimately that's up to @ry, @piscisaureus and @bartlomieju to decide, I guess.

ntindle

comment created time in 3 months

startedsfackler/rust-native-tls

started time in 3 months

startedgabdube/native-windows-gui

started time in 3 months

more