[Pkg-javascript-devel] Bug#1013215: node-extract-text-webpack-plugin: error when validating schema

Jérémy Lal kapouer at melix.org
Sun Jun 19 07:00:33 BST 2022


Package: node-extract-text-webpack-plugin
Version: 3.0.2-6
Severity: normal

This usage triggers a call to 
(0, _schemaUtils.validate)(_path.default.resolve(__dirname, '../schema/loader.json'), options, 'Extract Text Plugin (Loader)');

But validate (from ajv) expects an object, not a path string.

Usage:
ExtractTextPlugin.extract({
                    use: {
                        loader: 'css-loader',
                        options: {
                            url: false
                        }
                    }
                })




-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.18.0-1-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages node-extract-text-webpack-plugin depends on:
ii  node-loader-utils     2.0.2-1
ii  node-neo-async        2.6.2+~cs3.0.0-2
ii  node-schema-utils     3.1.1~ds-1
ii  node-webpack-sources  3.2.1-5
ii  webpack               5.65.0+dfsg+~cs9.20.9-12

node-extract-text-webpack-plugin recommends no packages.

node-extract-text-webpack-plugin suggests no packages.

-- no debconf information



More information about the Pkg-javascript-devel mailing list