Skip to content

Commit

Permalink
fix: avoid an edge case that process was stubbed without process.brow…
Browse files Browse the repository at this point in the history
…ser property (#96)

Some unknown JS lib (or browser plugin) stubbed global var "process" with only "env" property. This breaks aurelia 1's check of environment. This fix is the tiniest change I can think off. In Node(or Nodelike) environment, process.version is always populated with the version of Nodejs.

closes #71, closes #72
  • Loading branch information
3cp authored Apr 19, 2024
1 parent a3e7bb8 commit f6dfdf7
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion dist/amd/aurelia-bootstrapper.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/amd/aurelia-bootstrapper.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/commonjs/aurelia-bootstrapper.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f6dfdf7

Please sign in to comment.