Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@stylable/core

Package Overview
Dependencies
Maintainers
6
Versions
218
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stylable/core - npm Package Compare versions

Comparing version 4.0.2 to 4.1.0-alpha.0

2

dist/stylable.d.ts

@@ -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

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