@stylable/core
Advanced tools
Comparing version 4.0.2 to 4.1.0-alpha.0
@@ -54,3 +54,3 @@ import type { FileProcessor, MinimalFS } from './cached-process-file'; | ||
initCache(): void; | ||
createResolver({ requireModule, resolverCache, }: Pick<StylableConfig, 'requireModule' | 'resolverCache'>): StylableResolver; | ||
createResolver({ requireModule, resolverCache, }?: Pick<StylableConfig, 'requireModule' | 'resolverCache'>): StylableResolver; | ||
createProcessor({ resolveNamespace }?: CreateProcessorOptions): StylableProcessor; | ||
@@ -57,0 +57,0 @@ createTransformer(options?: Partial<TransformerOptions>): StylableTransformer; |
@@ -43,3 +43,3 @@ "use strict"; | ||
} | ||
createResolver({ requireModule, resolverCache, }) { | ||
createResolver({ requireModule, resolverCache, } = {}) { | ||
return new stylable_resolver_1.StylableResolver(this.fileProcessor, requireModule || this.requireModule, resolverCache || this.resolverCache); | ||
@@ -46,0 +46,0 @@ } |
{ | ||
"name": "@stylable/core", | ||
"version": "4.0.2", | ||
"version": "4.1.0-alpha.0", | ||
"description": "CSS for Components", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -106,3 +106,3 @@ import type { FileProcessor, MinimalFS } from './cached-process-file'; | ||
resolverCache, | ||
}: Pick<StylableConfig, 'requireModule' | 'resolverCache'>) { | ||
}: Pick<StylableConfig, 'requireModule' | 'resolverCache'> = {}) { | ||
return new StylableResolver( | ||
@@ -109,0 +109,0 @@ this.fileProcessor, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
689970
1