Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3768531
D3410.id8793.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
3 KB
Referenced Files
None
Subscribers
None
D3410.id8793.diff
View Options
diff --git a/gulpfile.babel.js b/gulpfile.babel.js
--- a/gulpfile.babel.js
+++ b/gulpfile.babel.js
@@ -5,7 +5,7 @@
import browser from 'browser-sync';
import gulp from 'gulp';
import panini from 'panini';
-import rimraf from 'rimraf';
+import { rimraf } from 'rimraf';
import yaml from 'js-yaml';
import fs from 'fs';
import webpackStream from 'webpack-stream';
@@ -14,8 +14,11 @@
import uncss from 'uncss';
import autoprefixer from 'autoprefixer';
import imagemin from 'gulp-imagemin';
+import {gifsicle, mozjpeg, optipng, svgo} from 'gulp-imagemin';
-var sass = require('gulp-sass')(require('sass'));
+import * as dartSass from 'sass';
+import gulpSass from 'gulp-sass';
+const sass = gulpSass(dartSass);
// Load all Gulp plugins into one variable
const $ = plugins();
@@ -45,7 +48,8 @@
// Delete the "dist" folder
// This happens every time a build starts
function clean(done) {
- rimraf(PATHS.dist, done);
+ rimraf.rimrafSync(PATHS.dist);
+ done();
}
// Copy files out of the assets folder
@@ -137,10 +141,10 @@
function images() {
return gulp.src('src/assets/img/**/*')
.pipe($.if(PRODUCTION, imagemin([
- imagemin.gifsicle({interlaced: true}),
- imagemin.mozjpeg({quality: 85, progressive: true}),
- imagemin.optipng({optimizationLevel: 5}),
- imagemin.svgo({
+ gifsicle({interlaced: true}),
+ mozjpeg({quality: 85, progressive: true}),
+ optipng({optimizationLevel: 5}),
+ svgo({
plugins: [
{removeViewBox: true},
{cleanupIDs: false}
diff --git a/package.json b/package.json
--- a/package.json
+++ b/package.json
@@ -10,42 +10,43 @@
"author": "Sébastien Santoro <dereckson@espace-win.org>",
"license": "BSD-2-Clause",
"dependencies": {
- "foundation-sites": "~6.7.5",
+ "foundation-sites": "~6.8.1",
"jquery": "^3.6.0",
"what-input": "^5.2.12",
"motion-ui": "^2.0.4"
},
"devDependencies": {
- "@babel/core": "^7.15.15",
- "@babel/preset-env": "^7.15.6",
- "@babel/register": "^7.15.3",
- "autoprefixer": "^10.4.14",
- "babel-loader": "^9.1.2",
- "browser-sync": "^2.27.5",
- "gulp": "^4.0.2",
+ "@babel/core": "^7.25.2",
+ "@babel/preset-env": "^7.25.3",
+ "@babel/register": "^7.24.6",
+ "autoprefixer": "^10.4.20",
+ "babel-loader": "^9.1.3",
+ "browser-sync": "^3.0.2",
+ "gulp": "^5.0.0",
"gulp-babel": "^8.0.0",
"gulp-clean-css": "^4.3.0",
- "gulp-cli": "^2.3.0",
+ "gulp-cli": "^3.0.0",
"gulp-concat": "^2.6.1",
"gulp-extname": "^0.2.2",
"gulp-if": "^3.0.0",
"gulp-imagemin": "^7.1.0",
"gulp-load-plugins": "^2.0.8",
- "gulp-postcss": "^9.0.1",
+ "gulp-postcss": "^10.0.0",
"gulp-sass": "^5.1.0",
"gulp-sourcemaps": "^3.0.0",
- "gulp-uglify": "^3.0.1",
+ "gulp-uglify": "^3.0.2",
"js-yaml": "^4.1.0",
"js-yaml-js-types": "^1.0.1",
- "panini": "^1.3.0",
- "rimraf": "^3.0.2",
- "sass": "^1.60.0",
+ "panini": "^1.7.2",
+ "postcss": "^8.4.40",
+ "rimraf": "^6.0.1",
+ "sass": "^1.77.8",
"style-sherpa": "^1.0.2",
"uncss": "^0.17.3",
"vinyl-named": "^1.1.0",
- "webpack": "^5.76.3",
+ "webpack": "^5.93.0",
"webpack-stream": "^7.0.0",
- "yargs": "^17.7.1"
+ "yargs": "^17.7.2"
},
"repository": {
"type": "git",
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 24, 08:33 (10 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2259854
Default Alt Text
D3410.id8793.diff (3 KB)
Attached To
Mode
D3410: Upgrade dependencies
Attached
Detach File
Event Timeline
Log In to Comment