-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure wrapper doesn't invalidate strict mode (#29)
* make sure wrapper doesn't invalidate strict mode * refresh Travis matrix
- Loading branch information
1 parent
eccac78
commit 858f01f
Showing
4 changed files
with
18 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,15 @@ | ||
node_js: | ||
- "4" | ||
- "6" | ||
- "8" | ||
- "10" | ||
- "12" | ||
- "14" | ||
env: | ||
- DEBUG_VERSION=2 | ||
- DEBUG_VERSION=3 | ||
- DEBUG_VERSION=4 | ||
matrix: | ||
exclude: | ||
- node_js: "4" | ||
env: DEBUG_VERSION=4 | ||
sudo: false | ||
language: node_js | ||
script: | ||
- npm install --no-save debug@^$DEBUG_VERSION | ||
- npm run ci | ||
after_success: | ||
- npm i -g codecov && codecov -t a62849b5-9006-4dd4-8334-94624d6d8ea2 | ||
- npm i -g codecov && codecov -t a62849b5-9006-4dd4-8334-94624d6d8ea2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
'use strict' | ||
|
||
eval('var test = 123') | ||
|
||
// This will evaluate to `true` if strict mode is enabled | ||
module.exports = typeof test === 'undefined' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters