Skip to content

Commit e70f574

Browse files
brettz9josephfrazier
authored andcommitted
- npm: Update devDeps
- Linting: Fixes for newly-enforced (indentation) ESLint rules
1 parent 1050835 commit e70f574

File tree

4 files changed

+21
-21
lines changed

4 files changed

+21
-21
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@
3838
"babel-cli": "^6.24.1",
3939
"babel-plugin-add-module-exports": "^0.2.1",
4040
"babel-plugin-array-includes": "^2.0.3",
41-
"babel-plugin-transform-xregexp": "^0.0.4",
41+
"babel-plugin-transform-xregexp": "^0.0.6",
4242
"babel-preset-env": "^1.4.0",
43-
"browserify": "^12.0.1",
44-
"eslint": "^3.19.0",
45-
"jasmine": "^2.5.3",
43+
"browserify": "^16.2.0",
44+
"eslint": "^4.19.1",
45+
"jasmine": "^3.1.0",
4646
"jsesc": "^2.5.1",
4747
"unicode-10.0.0": "^0.7.5",
4848
"unicode-property-value-aliases": "^3.0.0",

tests/perf/perf.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@
5555
suites[0].run();
5656
};
5757

58-
/*--------------------------------------
59-
* Start of perf suites
60-
*------------------------------------*/
58+
/*--------------------------------------
59+
* Start of perf suites
60+
*------------------------------------*/
6161

6262
(function() {
6363
var configs = [

tests/spec/s-addons-matchrecursive.js

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ describe('XRegExp.matchRecursive addon:', function() {
1818
XRegExp.matchRecursive(str, '<div\\s*>', '</div>', 'gi', {
1919
valueNames: ['between', 'left', 'match', 'right']
2020
}))
21-
.toEqual([
22-
{name: 'between', value: 'Here is ', start: 0, end: 8},
23-
{name: 'left', value: '<div>', start: 8, end: 13},
24-
{name: 'match', value: ' <div>an</div>', start: 13, end: 27},
25-
{name: 'right', value: '</div>', start: 27, end: 33},
26-
{name: 'between', value: ' example', start: 33, end: 41}
27-
]);
21+
.toEqual([
22+
{name: 'between', value: 'Here is ', start: 0, end: 8},
23+
{name: 'left', value: '<div>', start: 8, end: 13},
24+
{name: 'match', value: ' <div>an</div>', start: 13, end: 27},
25+
{name: 'right', value: '</div>', start: 27, end: 33},
26+
{name: 'between', value: ' example', start: 33, end: 41}
27+
]);
2828
});
2929

3030
it('should pass the readme example for omitting unneeded parts with null valueNames and using escapeChar', function() {
@@ -34,12 +34,12 @@ describe('XRegExp.matchRecursive addon:', function() {
3434
valueNames: ['literal', null, 'value', null],
3535
escapeChar: '\\'
3636
}))
37-
.toEqual([
38-
{name: 'literal', value: '...', start: 0, end: 3},
39-
{name: 'value', value: '1', start: 4, end: 5},
40-
{name: 'literal', value: '.\\{', start: 6, end: 9},
41-
{name: 'value', value: 'function(x,y){return {y:x}}', start: 10, end: 37}
42-
]);
37+
.toEqual([
38+
{name: 'literal', value: '...', start: 0, end: 3},
39+
{name: 'value', value: '1', start: 4, end: 5},
40+
{name: 'literal', value: '.\\{', start: 6, end: 9},
41+
{name: 'value', value: 'function(x,y){return {y:x}}', start: 10, end: 37}
42+
]);
4343
});
4444

4545
it('should pass the readme example for sticky mode via flag y', function() {

tests/spec/s-xregexp.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ describe('XRegExp()', function() {
315315
expect(regexIM.multiline).toBe(true);
316316
});
317317

318-
// These properties are `undefined`, but future ES may define them with value `false`
318+
// These properties are `undefined`, but future ES may define them with value `false`
319319
it('should not set properties for nonnative flags', function() {
320320
expect(XRegExp('(?n)').explicitCapture).toBeFalsy();
321321
expect(XRegExp('(?s)').singleline).toBeFalsy();

0 commit comments

Comments
 (0)