Skip to content

Conversation

brettz9
Copy link
Contributor

@brettz9 brettz9 commented Apr 26, 2018

  • npm: Update devDeps
  • npm: Add package-lock.json
  • Linting: Fixes for newly-enforced (indentation) ESLint rules

(Changes as discussed in #234)

@josephfrazier
Copy link
Collaborator

Hey, thanks for following up. A couple comments:

Thanks again!

@brettz9
Copy link
Contributor Author

brettz9 commented Apr 26, 2018

  1. It get the error when switching nvm to Node v10.0.0 but there is no issue on the 9.2.1 I was using. As I'm not as familiar with that part of the code, I'd appreciate it if someone else could take a look. I wonder if Node 10.0 could be adding its own named capture and there is some kind of conflict there.
  2. I've changed to add as a separate commit (but within the same PR).

@brettz9
Copy link
Contributor Author

brettz9 commented Apr 26, 2018

Btw, master is failing with the same test using Node 10.0.0

@josephfrazier
Copy link
Collaborator

Hmm, sure enough, it does: https://travis-ci.org/slevithan/xregexp/builds/370310563

I think we should pin Travis to Node v9 for now, and figure out the v10 issue separately later. I'll make a PR for that.

josephfrazier added a commit to josephfrazier/xregexp that referenced this pull request Apr 26, 2018
v10 fails currently: https://travis-ci.org/slevithan/xregexp/builds/370310563#L510-L528

```
Failures:
1) XRegExp() supports new regex syntax: named capture should throw an exception if characters other than A-Z, a-z, 0-9, $, and _ are used in capture names
  Message:
    Expected function to throw an Error.
  Stack:
    Error: Expected function to throw an Error.
        at UserContext.<anonymous> (/home/travis/build/slevithan/xregexp/tests/spec/s-xregexp.js:407:61)
  Message:
    Expected function to throw an Error.
  Stack:
    Error: Expected function to throw an Error.
        at UserContext.<anonymous> (/home/travis/build/slevithan/xregexp/tests/spec/s-xregexp.js:408:63)
  Message:
    Expected function to throw an Error.
  Stack:
    Error: Expected function to throw an Error.
        at UserContext.<anonymous> (/home/travis/build/slevithan/xregexp/tests/spec/s-xregexp.js:409:59)

398 specs, 1 failure
```

See also slevithan#241 (comment)
josephfrazier added a commit that referenced this pull request Apr 26, 2018
v10 fails currently: https://travis-ci.org/slevithan/xregexp/builds/370310563#L510-L528

```
Failures:
1) XRegExp() supports new regex syntax: named capture should throw an exception if characters other than A-Z, a-z, 0-9, $, and _ are used in capture names
  Message:
    Expected function to throw an Error.
  Stack:
    Error: Expected function to throw an Error.
        at UserContext.<anonymous> (/home/travis/build/slevithan/xregexp/tests/spec/s-xregexp.js:407:61)
  Message:
    Expected function to throw an Error.
  Stack:
    Error: Expected function to throw an Error.
        at UserContext.<anonymous> (/home/travis/build/slevithan/xregexp/tests/spec/s-xregexp.js:408:63)
  Message:
    Expected function to throw an Error.
  Stack:
    Error: Expected function to throw an Error.
        at UserContext.<anonymous> (/home/travis/build/slevithan/xregexp/tests/spec/s-xregexp.js:409:59)

398 specs, 1 failure
```

See also #241 (comment)
@josephfrazier
Copy link
Collaborator

I just merged #242, so feel free to rebase this branch onto master

brettz9 added 2 commits April 26, 2018 09:52
- Linting: Fixes for newly-enforced (indentation) ESLint rules
@brettz9
Copy link
Contributor Author

brettz9 commented Apr 26, 2018

Sorry for the last comment (just deleted)--no problems in this PR so feel free to merge if ok...

@josephfrazier josephfrazier merged commit f6e32c6 into slevithan:master Apr 26, 2018
@josephfrazier
Copy link
Collaborator

Thanks, it looks great!

@brettz9 brettz9 deleted the devdep-updates branch April 26, 2018 02:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants