Skip to content
This repository has been archived by the owner on Dec 5, 2020. It is now read-only.

Commit

Permalink
Merge pull request #216 from liferay/wincent/8.x/vulnerabilities
Browse files Browse the repository at this point in the history
Address some yarn audit issues (for toolkit v8) (#199)
  • Loading branch information
wincent committed Mar 15, 2019
2 parents 4efe103 + 21a525f commit 9a56c17
Show file tree
Hide file tree
Showing 8 changed files with 65 additions and 2,380 deletions.
15 changes: 7 additions & 8 deletions packages/generator-liferay-theme/lib/layout_creator.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

'use strict';

var _ = require('lodash-bindright')(require('lodash'));
var _ = require('lodash');
var async = require('async');
var chalk = require('chalk');
var fs = require('fs');
Expand Down Expand Up @@ -491,7 +491,7 @@ LayoutCreator.prototype = {
validate: instance._validateColumnCount,
},
],
_.bindRight(this._afterPromptColumnCount, this, cb)
answers => this._afterPromptColumnCount(answers, cb)
);
},

Expand All @@ -518,9 +518,8 @@ LayoutCreator.prototype = {
};
});

this.prompt(
questions,
_.bindRight(this._afterPromptColumnWidths, this, cb)
this.prompt(questions, answers =>
this._afterPromptColumnWidths(answers, cb)
);
},

Expand All @@ -534,7 +533,7 @@ LayoutCreator.prototype = {
type: 'list',
},
],
_.bindRight(this._afterPromptFinishRow, this, cb)
answers => this._afterPromptFinishRow(answers, cb)
);
},

Expand All @@ -548,7 +547,7 @@ LayoutCreator.prototype = {
type: 'list',
},
],
_.bindRight(this._afterPromptInsertRow, this, cb)
answers => this._afterPromptInsertRow(answers, cb)
);
},

Expand All @@ -562,7 +561,7 @@ LayoutCreator.prototype = {
type: 'list',
},
],
_.bindRight(this._afterPromptRemoveRow, this, cb)
answers => this._afterPromptRemoveRow(answers, cb)
);
},

Expand Down
1 change: 0 additions & 1 deletion packages/generator-liferay-theme/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
"insight": "^0.10.1",
"liferay-theme-tasks": "^8.0.0-rc.3",
"lodash": "^4.17.10",
"lodash-bindright": "^1.0.1",
"minimist": "^1.2.0",
"yeoman-generator": "^3.2.0",
"yosay": "^0.3.0"
Expand Down
9 changes: 0 additions & 9 deletions packages/liferay-theme-es2015-hook/LICENSE.md

This file was deleted.

66 changes: 0 additions & 66 deletions packages/liferay-theme-es2015-hook/README.md

This file was deleted.

159 changes: 0 additions & 159 deletions packages/liferay-theme-es2015-hook/index.js

This file was deleted.

26 changes: 0 additions & 26 deletions packages/liferay-theme-es2015-hook/package.json

This file was deleted.

2 changes: 0 additions & 2 deletions packages/liferay-theme-tasks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"dependencies": {
"async": "^2.6.1",
"autoprefixer": "^9.1.5",
"browser-sync": "^2.24.4",
"compass-mixins": "^0.12.8",
"convert-bootstrap-2-to-3": "^1.0.1",
"cross-spawn": "^2.2.3",
Expand All @@ -24,7 +23,6 @@
"gulp-load-plugins": "^1.5.0",
"gulp-plumber": "^0.6.6",
"gulp-postcss": "^8.0.0",
"gulp-prompt": "^0.1.2",
"gulp-rename": "^1.2.0",
"gulp-replace-task": "^0.11.0",
"gulp-sourcemaps": "1.6.0",
Expand Down
Loading

0 comments on commit 9a56c17

Please sign in to comment.