Skip to content

Commit

Permalink
Update dev dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
th0r committed Apr 10, 2019
1 parent 4a232f0 commit fe3c71e
Show file tree
Hide file tree
Showing 15 changed files with 1,963 additions and 2,767 deletions.
3 changes: 3 additions & 0 deletions .eslintignore
Expand Up @@ -16,4 +16,7 @@ test/webpack.config.js
# Test results
test/output

# Webpack config
webpack.config.js

samples
5 changes: 5 additions & 0 deletions client/.eslintrc.json
Expand Up @@ -3,6 +3,11 @@
"th0r-react",
"../.eslintrc.json"
],
"settings": {
"react": {
"version": "16.2"
}
},
"parserOptions": {
"ecmaFeatures": {
"legacyDecorators": true
Expand Down
4 changes: 2 additions & 2 deletions client/components/ModuleItem.jsx
Expand Up @@ -48,8 +48,8 @@ export default class ModuleItem extends PureComponent {

if (term) {
const regexp = (term instanceof RegExp) ?
new RegExp(term.source, 'ig') :
new RegExp(`(?:${_.escapeRegExp(term)})+`, 'i');
new RegExp(term.source, 'igu') :
new RegExp(`(?:${_.escapeRegExp(term)})+`, 'iu');
let match;
let lastMatch;

Expand Down
6 changes: 3 additions & 3 deletions client/components/ModulesTreemap.jsx
Expand Up @@ -114,10 +114,10 @@ export default class ModulesTreemap extends Component {
<Tooltip visible={showTooltip}>
{tooltipContent}
</Tooltip>
<ContextMenu onHide={this.handleChunkContextMenuHide}
visible={showChunkContextMenu}
<ContextMenu visible={showChunkContextMenu}
chunk={selectedChunk}
coords={selectedMouseCoords}/>
coords={selectedMouseCoords}
onHide={this.handleChunkContextMenuHide}/>
</div>
);
}
Expand Down
2 changes: 1 addition & 1 deletion client/components/Sidebar.jsx
Expand Up @@ -53,8 +53,8 @@ export default class Sidebar extends Component {
<Button type="button"
title="Pin"
className={s.pinButton}
toggle
active={pinned}
toggle
onClick={this.handlePinButtonClick}>
<Icon name="pin" size={13}/>
</Button>
Expand Down
2 changes: 1 addition & 1 deletion client/store.js
Expand Up @@ -61,7 +61,7 @@ export class Store {
}
try {
return new RegExp(query, 'i');
return new RegExp(query, 'iu');
} catch (err) {
return null;
}
Expand Down
2 changes: 1 addition & 1 deletion gulpfile.js
Expand Up @@ -7,7 +7,7 @@ const NODE_DEST = './lib';

const cli = require('commander')
.usage('<task> [options]')
.option('-e, --env <environment>', 'Can be `prod` or `dev`. Default is `dev`', /^(dev|prod)$/, 'dev')
.option('-e, --env <environment>', 'Can be `prod` or `dev`. Default is `dev`', /^(dev|prod)$/u, 'dev')
.option('-a, --analyze', 'Analyze client bundle. If set, `env` will be set to `prod`.')
.parse(process.argv);

Expand Down

0 comments on commit fe3c71e

Please sign in to comment.