"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "test/karma.conf.js" between
DOMPurify-3.0.1.tar.gz and DOMPurify-3.0.2.tar.gz

About: DOMPurify is a DOM-only XSS sanitizer for HTML, MathML and SVG (written in JavaScript).

karma.conf.js  (DOMPurify-3.0.1):karma.conf.js  (DOMPurify-3.0.2)
const commonjs = require('@rollup/plugin-commonjs');
const includePaths = require('rollup-plugin-includepaths'); const includePaths = require('rollup-plugin-includepaths');
const rollupConfig = require('../rollup.config.js'); const rollupConfig = require('../rollup.config.js');
const customLaunchers = const customLaunchers =
require('./karma.custom-launchers.config.js').customLaunchers; require('./karma.custom-launchers.config.js').customLaunchers;
const browsers = require('./karma.custom-launchers.config.js').browsers; const browsers = require('./karma.custom-launchers.config.js').browsers;
rollupConfig.plugins.push( rollupConfig.plugins.push(
commonjs(),
includePaths({ includePaths({
include: { include: {
purify: 'dist/purify.js', purify: 'dist/purify.js',
'purify.min': 'dist/purify.min.js', 'purify.min': 'dist/purify.min.js',
}, },
}) })
); );
rollupConfig.output.format = 'umd'; rollupConfig.output.format = 'umd';
 End of changes. 2 change blocks. 
2 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)