Skip to content

Commit

Permalink
Merge pull request #3849 from OpenLiberty/fix_package_vulnerability
Browse files Browse the repository at this point in the history
Update node-sass to Sass in package.json
  • Loading branch information
SteveSamJacob19 authored Sep 17, 2024
2 parents 0a01a88 + 3af478c commit dd42e8e
Show file tree
Hide file tree
Showing 5 changed files with 6,639 additions and 10,463 deletions.
2 changes: 1 addition & 1 deletion scripts/build/antora_build_ui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ echo "Installing Antora dependencies"
rm -rf node_modules
npm install -g @antora/[email protected]
npm install gulp -g --ignore-scripts
npm install node-sass gulp-sass gulp-dart-sass --save-dev
npm install sass gulp-sass gulp-dart-sass --save-dev
npm install
gulp sass:convert
SOURCEMAPS=true gulp build
Expand Down
2 changes: 1 addition & 1 deletion scripts/build/antora_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ echo "Installing Antora dependencies"
npm install -g @antora/[email protected]
npm install gulp -g --ignore-scripts
npm install html-minifier -g
npm install node-sass@7.0.3 gulp-sass gulp-dart-sass --save-dev
npm install sass gulp-sass gulp-dart-sass --save-dev
npm install
gulp sass:convert
SOURCEMAPS=true gulp build
Expand Down
2 changes: 1 addition & 1 deletion src/main/content/antora_ui/gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict'

const { src, dest, parallel, series, watch } = require('gulp')
const sass = require('gulp-sass')(require('node-sass'));
const sass = require('gulp-sass')(require('sass'));

const createTask = require('./gulp.d/lib/create-task')
const exportTasks = require('./gulp.d/lib/export-tasks')
Expand Down
Loading

0 comments on commit dd42e8e

Please sign in to comment.