SalamLang / Salam

Salam Language: The inaugural coding language for Persian and Arabic speakers, inspired by the word salam meaning peace. With a user-friendly approach, it provides an accessible coding experience, promoting collaboration and simplicity for local developers.
https://www.salamlang.ir
GNU General Public License v3.0
9 stars 8 forks source link

(node:9540) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead. (Use `node --trace-deprecation ...` to show where the warning was created) #191

Open BaseMax opened 3 months ago

BaseMax commented 3 months ago
C:\Users\MAX\Salam>git add .
warning: in the working copy of 'output.html', LF will be replaced by CRLF the next time Git touches it

C:\Users\MAX\Salam>git commit -m "update"
identity.................................................................Passed
- hook id: identity
- duration: 0.14s

assets/logo-box.png
README.md
assets/logo-box.svg
assets/logo.png
assets/logo.svg

Check hooks apply to the repository..................(no files to check)Skipped
check for added large files..............................................Passed
check for case conflicts.................................................Passed
check that executables have shebangs.....................................Passed
check for merge conflicts................................................Passed
check that scripts with shebangs are executable..........................Passed
check vcs permalinks.....................................................Passed
check yaml...........................................(no files to check)Skipped
detect destroyed symlinks................................................Passed
detect aws credentials...................................................Passed
detect private key.......................................................Passed
fix end of files.........................................................Passed
fix utf-8 byte order marker..............................................Passed
forbid submodules....................................(no files to check)Skipped
mixed line ending........................................................Passed
trim trailing whitespace.................................................Passed
Run codespell............................................................Passed
Markdown Link Check......................................................Failed
- hook id: markdown-link-check
- exit code: 1

(node:9540) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)

  ERROR: 1 dead links found in README.md !
  [✖] https://raw.githubusercontent.com/SalamLang/Salam/main/assets/logo-box.svg → Status: 404

Run markdownlint.........................................................Passed
Run yamllint.........................................(no files to check)Skipped

C:\Users\MAX\Salam>git push
Everything up-to-date
BaseMax commented 3 months ago
  ERROR: 1 dead links found in README.md !
  [✖] https://raw.githubusercontent.com/SalamLang/Salam/main/assets/logo-box.svg → Status: 404

fixed by: git commit --no-verify -m "update" but we still need to check:

(node:9540) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
BaseMax commented 3 months ago

Please check it mate @jbampton

jbampton commented 3 months ago

refs #190

Seems you might have the wrong settings for your Git line endings ??

jbampton commented 3 months ago

Next time you can still run the hooks and just skip the markdown-link-check hook:

SKIP=markdown-link-check git commit -m "foo"

jbampton commented 2 weeks ago

Sometimes when the markdown link check finds broken links it also spits out a warning message like so:

(node:9540) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)

Pretty sure it has to do with using and older dependency.

https://github.com/DavidAnson/markdownlint/issues/1032

@BaseMax