Skip to content

Commit

Permalink
js -d:nodejs now supports osenv: getEnv, putEnv, envPairs, `del…
Browse files Browse the repository at this point in the history
…Env`, `existsEnv` (v2) (nim-lang#15826)

* js -d:nodejs now supports osenv: `getEnv`, `putEnv`, `envPairs`, `delEnv`, `existsEnv`

* refactor to osenv

* fix for js (without -d:nodejs) + VM

Co-authored-by: Andreas Rumpf <[email protected]>
  • Loading branch information
2 people authored and mildred committed Jan 11, 2021
1 parent f4460d6 commit 53a7108
Show file tree
Hide file tree
Showing 3 changed files with 279 additions and 215 deletions.
2 changes: 2 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
- Removed deprecated `iup` module from stdlib, it has already moved to
[nimble](https://github.com/nim-lang/iup).

- Removed deprecated `iup` module from stdlib, it has already moved to [nimble](https://github.com/nim-lang/iup).
- nodejs now supports osenv: `getEnv`, `putEnv`, `envPairs`, `delEnv`, `existsEnv`
- `doAssertRaises` now correctly handles foreign exceptions.

## Language changes
Expand Down
Loading

0 comments on commit 53a7108

Please sign in to comment.