@kablamo/kerosene-test
Advanced tools
Comparing version 0.0.9 to 0.0.10
@@ -15,3 +15,3 @@ "use strict"; | ||
Consumer: Object.assign((props) => props.children(getter()), { displayName: `${displayName}.Consumer` }), | ||
Provider: createStubComponent_1.default(`${displayName}.Provider`), | ||
Provider: (0, createStubComponent_1.default)(`${displayName}.Provider`), | ||
displayName, | ||
@@ -18,0 +18,0 @@ /** |
@@ -16,3 +16,3 @@ "use strict"; | ||
}); | ||
const obj = classNames.reduce((acc, className) => (Object.assign(Object.assign({}, acc), { [className]: `${lodash_1.kebabCase(className)}-local-class ${lodash_1.kebabCase(className)}-webpack-composed-class` })), values); | ||
const obj = classNames.reduce((acc, className) => (Object.assign(Object.assign({}, acc), { [className]: `${(0, lodash_1.kebabCase)(className)}-local-class ${(0, lodash_1.kebabCase)(className)}-webpack-composed-class` })), values); | ||
// Use a Proxy to throw an error when trying to access styles which haven't been stubbed | ||
@@ -19,0 +19,0 @@ return new Proxy(obj, { |
{ | ||
"name": "@kablamo/kerosene-test", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"repository": "https://github.com/KablamoOSS/kerosene/tree/master/packages/kerosene-test", | ||
@@ -49,10 +49,10 @@ "bugs": { | ||
"dependencies": { | ||
"@types/lodash": "^4.14.168", | ||
"@types/sinon": "^9.0.10", | ||
"lodash": "^4.17.20", | ||
"sinon": "^9.2.4" | ||
"@types/lodash": "^4.14.178", | ||
"@types/sinon": "^10.0.11", | ||
"lodash": "^4.17.21", | ||
"sinon": "^13.0.1" | ||
}, | ||
"devDependencies": { | ||
"react": "^16.13.1", | ||
"react-dom": "^16.13.1" | ||
"react": "^17.0.2", | ||
"react-dom": "^17.0.2" | ||
}, | ||
@@ -59,0 +59,0 @@ "peerDependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24389
+ Added@sinonjs/commons@3.0.1(transitive)
+ Added@sinonjs/fake-timers@11.3.19.1.2(transitive)
+ Added@sinonjs/samsam@6.1.3(transitive)
+ Added@types/sinon@10.0.20(transitive)
+ Addeddiff@5.2.0(transitive)
+ Addedjust-extend@6.2.0(transitive)
+ Addednise@5.1.9(transitive)
+ Addedpath-to-regexp@6.3.0(transitive)
+ Addedsinon@13.0.2(transitive)
- Removed@sinonjs/fake-timers@6.0.1(transitive)
- Removed@sinonjs/samsam@5.3.1(transitive)
- Removed@types/sinon@9.0.11(transitive)
- Removeddiff@4.0.2(transitive)
- Removedisarray@0.0.1(transitive)
- Removedjust-extend@4.2.1(transitive)
- Removednise@4.1.0(transitive)
- Removedpath-to-regexp@1.9.0(transitive)
- Removedsinon@9.2.4(transitive)
Updated@types/lodash@^4.14.178
Updated@types/sinon@^10.0.11
Updatedlodash@^4.17.21
Updatedsinon@^13.0.1