File: fix-for-schema-utils-3.patch

package info (click to toggle)
node-extract-text-webpack-plugin 3.0.2-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,196 kB
  • sloc: javascript: 1,072; makefile: 2
file content (16 lines) | stat: -rw-r--r-- 559 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: fix for node-schema-utils ≥ 3
Author: Xavier Guimard <yadd@debian.org>
Forwarded: no
Last-Update: 2020-11-18

--- a/src/index.js
+++ b/src/index.js
@@ -4,7 +4,7 @@
 import { ConcatSource } from 'webpack-sources';
 import async from 'neo-async';
 import loaderUtils from 'loader-utils';
-import validateOptions from 'schema-utils';
+import { validate as validateOptions } from 'schema-utils';
 import ExtractTextPluginCompilation from './lib/ExtractTextPluginCompilation';
 import OrderUndefinedError from './lib/OrderUndefinedError';
 import {