536 Commits

Author SHA1 Message Date
Vishnu Prasad
d4b3867d20 Fixed a typo: 'The install' to 'To install' 2024-05-06 20:21:58 +05:30
Corey Butler
60d4312fbe Merge pull request #1131 from coreybutler/coreybutler-patch-8
Update README.md
2024-04-29 10:44:06 -05:00
Corey Butler
7a10d51df4 Update README.md 2024-04-29 10:42:13 -05:00
Wojciech Sobolewski
dc699f5960 Code cleanup. 2024-04-02 19:52:28 +02:00
Corey Butler
1e14623ddb Merge pull request #1114 from sagexfors/patch-1
Update README.md
2024-03-18 10:56:01 -05:00
sagexfors
dac961f4fd Update README.md
nvm check -> nvm debug
2024-03-16 11:22:35 +08:00
Wojciech Sobolewski
bab56dab69 Support whitespace and non-ASCI characters in path. 2024-02-27 21:14:49 +01:00
Corey Butler
94f952aebb Merge pull request #1105 from jamesbeegen/typo-fix
Fixed a typo in the word 'simplicity'
2024-02-23 17:05:08 +00:00
Beegen, James C (CGI Federal)
5c7b19ce69 Fixed a typo in the word 'simplicity' 2024-02-22 15:13:38 -05:00
Corey Butler
3ed627953c Merge pull request #1072 from coreybutler/dependabot/github_actions/actions/stale-9
Bump actions/stale from 8 to 9
2023-12-26 23:29:29 +00:00
Corey Butler
29656c93df Merge pull request #1058 from coreybutler/dependabot/go_modules/buildtools/iconize/golang.org/x/sys-0.1.0
Bump golang.org/x/sys from 0.0.0-20201018230417-eeed37f84f13 to 0.1.0 in /buildtools/iconize
2023-12-26 23:28:36 +00:00
Corey Butler
db51c48d9f Merge pull request #1078 from Nasfame/github/fix-issue-template
chore: fix github issue template for older versions
2023-12-22 14:25:05 +00:00
Hiro
9f932c3fbc Update bug_report.yml
fix issue template for older versions
2023-12-21 10:33:29 +05:30
dependabot[bot]
b0155032f9 Bump actions/stale from 8 to 9
Bumps [actions/stale](https://github.com/actions/stale) from 8 to 9.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v8...v9)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-08 10:15:42 +00:00
Wojciech Sobolewski
f52379fca3 Update arch detection. 2023-12-04 13:59:01 +01:00
Wojciech Sobolewski
5167c809dc Update build script 2023-12-04 10:16:06 +01:00
Wojciech Sobolewski
b657035a0b Merge branch 'coreybutler:master' into arm64 2023-12-03 13:30:05 +01:00
Wojciech Sobolewski
b07894d8ca Merge branch 'master' of https://github.com/wsobolewski/nvm-windows 2023-12-03 13:28:32 +01:00
Corey Butler
7af9934eaf Add error messages for failed version lookups (when nodejs.org returns partial/no results. Resolves #1064. 1.1.12 2023-11-22 10:41:38 -06:00
dependabot[bot]
770cc28139 Bump golang.org/x/sys in /buildtools/iconize
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.0.0-20201018230417-eeed37f84f13 to 0.1.0.
- [Commits](https://github.com/golang/sys/commits/v0.1.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-07 18:23:20 +00:00
Corey Butler
4854ee0832 Merge branch 'master' of github.com:coreybutler/nvm-windows 2023-11-07 12:22:49 -06:00
Corey Butler
3c736ab164 Add debugging option to identify IPv6 configurations and remind users it is slow. 2023-11-07 12:22:12 -06:00
Corey Butler
4b31ca31e1 Merge pull request #967 from nineninesevenfour/fix-spaces-build-bat
allow to run build.bat on paths with spaces
2023-10-10 17:21:00 +00:00
Corey Butler
9c37af6290 Merge pull request #965 from nineninesevenfour/fix-932-path-with-spaces
fix issue #932
2023-10-10 17:19:34 +00:00
Corey Butler
a73ef54a42 Merge pull request #1049 from Juneezee/master
Avoid unnecessary byte/string conversion
2023-10-10 17:14:26 +00:00
Eng Zer Jun
683357f2f3 Avoid unnecessary byte/string conversion
We can use `(*regexp.Regexp).MatchString` instead of
`(*regexp.Regexp).Match([]byte(...))` to avoid unnecessary `[]byte`
conversions and reduce allocations.

Example benchmark:

func BenchmarkMatch(b *testing.B) {
	reg, _ := regexp.Compile("[^0-9]")

	for i := 0; i < b.N; i++ {
		if match := reg.Match([]byte("v")); !match {
			b.Fail()
		}
	}
}

func BenchmarkMatchString(b *testing.B) {
	reg, _ := regexp.Compile("[^0-9]")

	for i := 0; i < b.N; i++ {
		if match := reg.MatchString("v"); !match {
			b.Fail()
		}
	}
}

BenchmarkMatch-16          	19712776	        65.47 ns/op	       1 B/op	       1 allocs/op
BenchmarkMatchString-16    	24261463	        51.16 ns/op	       0 B/op	       0 allocs/op

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2023-10-10 18:53:32 +08:00
Corey Butler
71713ecc75 Merge pull request #1048 from acdvorak/patch-1
Fix small typo in README.md
2023-10-09 18:07:53 +00:00
Andrew C. Dvorak
90b67e0ec1 Fix small typo in README.md
`installter` → `installer`
2023-10-09 10:23:23 -05:00
Corey Butler
27bd0d0def Update README.md
closes #1044
2023-10-06 13:22:43 -05:00
Corey Butler
e0e573a710 Merge pull request #1042 from coreybutler/coreybutler-patch-7
Update bug_report.yml
2023-10-02 17:26:21 +00:00
Corey Butler
34f5f135ae Update bug_report.yml 2023-10-02 12:26:11 -05:00
Corey Butler
d7c80b285b Update bug_report.yml 2023-10-02 12:25:44 -05:00
Corey Butler
511644513b Merge pull request #1041 from coreybutler/coreybutler-patch-6
Update bug_report.yml
2023-10-02 17:24:39 +00:00
Corey Butler
4d76e3077a Update bug_report.yml 2023-10-02 12:24:23 -05:00
Corey Butler
27e38b2a17 Merge pull request #1040 from coreybutler/coreybutler-patch-5
Update bug_report.yml
2023-10-02 17:23:26 +00:00
Corey Butler
e2458b1827 Update bug_report.yml 2023-10-02 12:22:56 -05:00
Corey Butler
df8ca9eb89 Merge pull request #1032 from Humbunklung/master
Modified folder detection code against #1031
2023-09-20 12:43:50 -05:00
Corey Butler
504c540c82 Merge pull request #1034 from coreybutler/coreybutler-patch-4
Update README.md
2023-09-19 22:59:08 -05:00
Corey Butler
cdc945d736 Update README.md 2023-09-19 22:58:28 -05:00
Shengyuan Ye
53283980d5 Modified folder detection code against #1031 2023-09-20 09:49:57 +08:00
Corey Butler
7591688f32 Merge pull request #1016 from sitiom/winget-releaser
Change Winget Releaser job to `ubuntu-latest`
2023-09-18 04:17:24 -05:00
sitiom
2ef52e672b Change Winget Releaser job to ubuntu-latest 2023-08-17 14:58:13 +08:00
Corey Butler
c2aba37b1e Merge pull request #1005 from coreybutler/coreybutler-patch-3
Update README.md
2023-07-11 10:10:52 -05:00
Corey Butler
4abbd31782 Update README.md 2023-07-11 10:10:03 -05:00
Corey Butler
c1a633745c prevent invalid zip file from exracting files to arbitrary locations. 2023-04-27 11:31:01 -05:00
Corey Butler
be690ad162 Add instructions for determining the version. 2023-04-22 11:11:27 -05:00
Corey Butler
11eb58e96c Remove email address so people don't feel required to post their address publically (this was optional, but some treat it as required) 2023-04-22 11:07:44 -05:00
Corey Butler
e0670513e9 Add nvm debug output placeholder for issues 2023-04-22 11:02:17 -05:00
Corey Butler
0990c1fa75 Added a debug check to identify invalid Node installations. 2023-04-20 09:44:15 -05:00
Corey Butler
026d2de590 Remove redundant security section 2023-04-19 09:22:47 -05:00