Socket
Socket
Sign inDemoInstall

@open-wc/chai-dom-equals

Package Overview
Dependencies
Maintainers
2
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@open-wc/chai-dom-equals - npm Package Compare versions

Comparing version 0.6.2 to 0.7.0

karma.es5.config.js

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [0.7.0](https://github.com/open-wc/open-wc/tree/master/packages/chai-dom-equals/compare/@open-wc/chai-dom-equals@0.6.2...@open-wc/chai-dom-equals@0.7.0) (2018-12-19)
### Features
* use extendable karma configs by default ([8fd9435](https://github.com/open-wc/open-wc/tree/master/packages/chai-dom-equals/commit/8fd9435))
## [0.6.2](https://github.com/open-wc/open-wc/tree/master/packages/chai-dom-equals/compare/@open-wc/chai-dom-equals@0.6.1...@open-wc/chai-dom-equals@0.6.2) (2018-12-18)

@@ -8,0 +19,0 @@

40

karma.es5.bs.config.js

@@ -1,33 +0,15 @@

// eslint-disable-next-line import/no-extraneous-dependencies
const createBaseConfig = require('@open-wc/testing-karma-bs/create-karma-es5-bs.config');
/* eslint-disable import/no-extraneous-dependencies */
const merge = require('webpack-merge');
const bsSettings = require('@open-wc/testing-karma-bs/bs-settings.js');
const karmaEs5Config = require('./karma.es5.config.js');
module.exports = config => {
const baseConfig = createBaseConfig(config);
config.set({
...baseConfig,
files: [
...baseConfig.files,
// allows running single tests with the --grep flag
config.grep ? [config.grep] : 'test/**/*.test.js',
],
browserStack: {
...baseConfig.browserStack,
project: 'open-wc',
},
// only smoke tests for chai here
coverageIstanbulReporter: {
thresholds: {
global: {
statements: 0,
branches: 0,
functions: 0,
lines: 0,
},
config.set(
merge(bsSettings(config), karmaEs5Config(config), {
browserStack: {
project: 'open-wc',
},
},
});
}),
);
return config;
};
{
"name": "@open-wc/chai-dom-equals",
"version": "0.6.2",
"version": "0.7.0",
"description": "Chai Plugin to compare dom and shadow dom trees. Part of open-wc recommendations",

@@ -14,6 +14,9 @@ "author": "open-wc",

"test": "karma start",
"test:watch": "karma start --auto-watch=true --single-run=false",
"test:es5": "karma start karma.es5.config.js",
"test:es5:watch": "karma start karma.es5.config.js --auto-watch=true --single-run=false",
"test:es5:bs": "karma start karma.es5.bs.config.js"
},
"dependencies": {
"@open-wc/semantic-dom-diff": "^0.5.2",
"@open-wc/semantic-dom-diff": "^0.6.0",
"@types/chai": "^4.1.7"

@@ -23,9 +26,10 @@ },

"@bundled-es-modules/chai": "^4.2.0",
"@open-wc/testing-helpers": "^0.5.2",
"@open-wc/testing-karma": "^0.3.0",
"@open-wc/testing-karma-bs": "^0.1.5",
"@open-wc/testing-helpers": "^0.6.0",
"@open-wc/testing-karma": "^0.4.0",
"@open-wc/testing-karma-bs": "^0.2.0",
"@open-wc/testing-wallaby": "^0.1.4",
"mocha": "^5.0.0"
"mocha": "^5.0.0",
"webpack-merge": "^4.1.5"
},
"gitHead": "768387ec6b61cf0d0be79437a94a59c154f35425"
"gitHead": "a270234bc7c10edef68310c8c8169e7e5ccec5a8"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc