@stylable/jest
Advanced tools
Comparing version 2.5.3 to 3.0.0
@@ -10,3 +10,11 @@ "use strict"; | ||
function processFactory(stylableConfig, factoryOptions) { | ||
return module_utils_1.stylableModuleFactory(Object.assign({ fileSystem: fs_1.default, requireModule: require, projectRoot: '' }, stylableConfig), Object.assign({ runtimePath: stylableRuntimePath }, factoryOptions)); | ||
return module_utils_1.stylableModuleFactory({ | ||
fileSystem: fs_1.default, | ||
requireModule: require, | ||
projectRoot: '', | ||
...stylableConfig | ||
}, | ||
// ensure the generated module points to our own @stylable/runtime copy | ||
// this allows @stylable/jest to be used as part of a globally installed CLI | ||
{ runtimePath: stylableRuntimePath, ...factoryOptions }); | ||
} | ||
@@ -13,0 +21,0 @@ exports.processFactory = processFactory; |
{ | ||
"name": "@stylable/jest", | ||
"version": "2.5.3", | ||
"version": "3.0.0", | ||
"description": "Test your Stylable React components using Jest", | ||
@@ -14,5 +14,5 @@ "main": "cjs/index.js", | ||
"dependencies": { | ||
"@stylable/core": "^2.5.3", | ||
"@stylable/module-utils": "^2.5.3", | ||
"@stylable/runtime": "^2.5.3" | ||
"@stylable/core": "^3.0.0", | ||
"@stylable/module-utils": "^3.0.0", | ||
"@stylable/runtime": "^3.0.0" | ||
}, | ||
@@ -24,3 +24,3 @@ "files": [ | ||
"engines": { | ||
"node": ">=8" | ||
"node": ">=10" | ||
}, | ||
@@ -33,3 +33,3 @@ "publishConfig": { | ||
"license": "BSD-3-Clause", | ||
"gitHead": "34fda1233d815a4b6729c56f8fccec749335d5e8" | ||
"gitHead": "91b92e8380ec81e5ad6ae4d96625f8d9e972c50d" | ||
} |
Sorry, the diff of this file is not supported yet
8493
85
+ Added@stylable/core@3.13.2(transitive)
+ Added@stylable/module-utils@3.13.2(transitive)
+ Added@stylable/runtime@3.13.2(transitive)
+ Addeddetect-newline@3.1.0(transitive)
+ Addedis-url-superb@5.0.0(transitive)
+ Addedis-vendor-prefixed@4.0.0(transitive)
+ Addedjest-docblock@26.0.0(transitive)
+ Addedmurmurhash@1.0.0(transitive)
+ Addednanoid@3.3.8(transitive)
+ Addedpicocolors@1.1.1(transitive)
+ Addedpostcss@8.5.1(transitive)
+ Addedpostcss-js@3.0.3(transitive)
+ Addedpostcss-nested@5.0.6(transitive)
+ Addedpostcss-safe-parser@5.0.2(transitive)
+ Addedsource-map-js@1.2.1(transitive)
+ Addedtoky@0.1.0(transitive)
- Removed@stylable/core@2.5.3(transitive)
- Removed@stylable/module-utils@2.5.3(transitive)
- Removed@stylable/runtime@2.5.3(transitive)
- Removeddetect-newline@2.1.0(transitive)
- Removedip-regex@4.3.0(transitive)
- Removedis-vendor-prefixed@3.5.0(transitive)
- Removedjest-docblock@24.9.0(transitive)
- Removedmurmurhash@0.0.2(transitive)
- Removedpostcss-js@2.0.3(transitive)
- Removedpostcss-nested@4.2.3(transitive)
- Removedpostcss-safe-parser@4.0.2(transitive)
- Removedtlds@1.255.0(transitive)
- Removedurl-regex@5.0.0(transitive)
Updated@stylable/core@^3.0.0
Updated@stylable/runtime@^3.0.0