* Update dependency pegjs to v0.10.0 * PEG.buildParser() => PEG.generate()
This commit is contained in:
parent
cb2b577176
commit
5cef1b587e
|
@ -198,7 +198,7 @@
|
|||
"node-fetch": "1.7.3",
|
||||
"opn": "^5.4.0",
|
||||
"oppsy": "^2.0.0",
|
||||
"pegjs": "0.9.0",
|
||||
"pegjs": "0.10.0",
|
||||
"postcss-loader": "3.0.0",
|
||||
"prop-types": "15.5.8",
|
||||
"proxy-from-env": "1.0.0",
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
"css-loader": "2.1.1",
|
||||
"del": "^4.0.0",
|
||||
"getopts": "^2.2.4",
|
||||
"pegjs": "0.9.0",
|
||||
"pegjs": "0.10.0",
|
||||
"sass-loader": "^7.1.0",
|
||||
"style-loader": "0.23.1",
|
||||
"supports-color": "^5.5.0",
|
||||
|
|
|
@ -60,7 +60,7 @@ describe('Timelion expression suggestions', () => {
|
|||
};
|
||||
const argValueSuggestions = ArgValueSuggestionsProvider(privateStub, indexPatternsStub); // eslint-disable-line new-cap
|
||||
beforeEach(function () {
|
||||
Parser = PEG.buildParser(grammar);
|
||||
Parser = PEG.generate(grammar);
|
||||
});
|
||||
|
||||
describe('parse exception', () => {
|
||||
|
|
|
@ -56,7 +56,7 @@ import {
|
|||
import { comboBoxKeyCodes } from '@elastic/eui';
|
||||
import { ArgValueSuggestionsProvider } from './timelion_expression_suggestions/arg_value_suggestions';
|
||||
|
||||
const Parser = PEG.buildParser(grammar);
|
||||
const Parser = PEG.generate(grammar);
|
||||
const app = require('ui/modules').get('apps/timelion', []);
|
||||
|
||||
app.directive('timelionExpressionInput', function ($document, $http, $interval, $timeout, Private) {
|
||||
|
|
|
@ -23,7 +23,7 @@ import path from 'path';
|
|||
import _ from 'lodash';
|
||||
const grammar = fs.readFileSync(path.resolve(__dirname, '../../../public/chain.peg'), 'utf8');
|
||||
import PEG from 'pegjs';
|
||||
const Parser = PEG.buildParser(grammar);
|
||||
const Parser = PEG.generate(grammar);
|
||||
|
||||
export default function parseSheet(sheet) {
|
||||
return _.map(sheet, function (plot) {
|
||||
|
|
|
@ -20496,7 +20496,12 @@ pdfmake@0.1.56:
|
|||
linebreak "^0.3.0"
|
||||
pdfkit "^0.9.1"
|
||||
|
||||
pegjs@0.9.0, pegjs@~0.9.0:
|
||||
pegjs@0.10.0:
|
||||
version "0.10.0"
|
||||
resolved "https://registry.yarnpkg.com/pegjs/-/pegjs-0.10.0.tgz#cf8bafae6eddff4b5a7efb185269eaaf4610ddbd"
|
||||
integrity sha1-z4uvrm7d/0tafvsYUmnqr0YQ3b0=
|
||||
|
||||
pegjs@~0.9.0:
|
||||
version "0.9.0"
|
||||
resolved "https://registry.yarnpkg.com/pegjs/-/pegjs-0.9.0.tgz#f6aefa2e3ce56169208e52179dfe41f89141a369"
|
||||
integrity sha1-9q76LjzlYWkgjlIXnf5B+JFBo2k=
|
||||
|
|
Loading…
Reference in a new issue