IBM / marked-it

marked-it
MIT License
16 stars 24 forks source link

Update git:// with https:// for attrs dependency #34

Open gdelory opened 2 years ago

gdelory commented 2 years ago

Getting this error because of the legacy git:// protocol in the package.json:

20220111 06:36:57 : RC=0
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm ERR! Error while executing:
npm ERR! /usr/bin/git ls-remote -h -t git://github.com/IBM/markdown-it-attrs.git
npm ERR! 
npm ERR! fatal: remote error: 
npm ERR!   The unauthenticated git protocol on port 9418 is no longer supported.
npm ERR! Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
npm ERR! 
npm ERR! exited with error code: 128

npm ERR! A complete log of this run can be found in:

I'm thinking this line should be changed to use https://?

gdelory commented 2 years ago

Temporary work-around: git config --global url."https://".insteadOf git://