@epublishing/grunt-epublishing 0.2.60 → 0.2.61

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,19 +4,13 @@
4
4
 
5
5
  'use strict';
6
6
 
7
- const sass = require('node-sass');
7
+ const sass = require('sass');
8
8
  const NODE_ENV = process.env.NODE_ENV || 'development';
9
9
 
10
10
  module.exports = function configureSass(config) {
11
11
 
12
12
  config.sass.options.functions = {
13
- 'epub-show-deprecation-warnings()': () => {
14
- if ([ 'local', 'development' ].includes(NODE_ENV)) {
15
- return sass.types.Boolean.TRUE;
16
- }
17
- return sass.types.Boolean.FALSE;
18
- },
19
- 'epub-node-env()': () => new sass.types.String(NODE_ENV),
13
+ 'epub-node-env()': () => new sass.String(NODE_ENV),
20
14
  };
21
15
 
22
16
  return config;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@epublishing/grunt-epublishing",
3
3
  "description": "Automated front-end tasks for ePublishing Jade and client sites.",
4
- "version": "0.2.60",
4
+ "version": "0.2.61",
5
5
  "homepage": "https://www.epublishing.com",
6
6
  "contributors": [
7
7
  {
@@ -19,12 +19,17 @@
19
19
  "node": ">= 8.0.0"
20
20
  },
21
21
  "dependencies": {
22
- "@epublishing/babel-preset-epublishing": "^0.1.8",
22
+ "@babel/core": "^7.25.2",
23
+ "@babel/plugin-syntax-dynamic-import": "^7.8.3",
24
+ "@babel/plugin-transform-react-jsx": "^7.25.2",
25
+ "@babel/preset-env": "^7.25.4",
26
+ "@babel/preset-react": "^7.24.7",
27
+ "@epublishing/babel-preset-epublishing": "^0.2.0",
23
28
  "@epublishing/get-gem-paths": "^0.1.1",
24
29
  "@epublishing/grunt-install-eslint": "^0.1.1",
25
30
  "@epublishing/jade-resolver": "^0.1.2",
26
31
  "async": "^2.6.1",
27
- "babel-loader": "^7.1.5",
32
+ "babel-loader": "^9.1.3",
28
33
  "babel-minify-webpack-plugin": "^0.3.0",
29
34
  "babel-plugin-transform-react-jsx": "^6.24.1",
30
35
  "bourbon": "^4.2.7",
@@ -65,10 +70,10 @@
65
70
  "jit-grunt": "^0.10.0",
66
71
  "listr": "^0.14.1",
67
72
  "lodash": "^4.17.10",
68
- "node-sass": "4.7.2",
69
73
  "postcss-css-variables": "^0.9.0",
70
74
  "prettyjson": "^1.2.1",
71
75
  "read-pkg": "^4.0.1",
76
+ "sass": "^1.49.9",
72
77
  "style-loader": "^0.20.2",
73
78
  "susy": "^2.2.14",
74
79
  "time-grunt": "^1.4.0",