@style-this/core 0.2.1 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,7 +5,6 @@ declare class Transformer$1 {
5
5
  [Symbol.dispose](): void;
6
6
  /**
7
7
  * Clear import registrations for a file
8
- * Call this before re-transforming a file to clear its old import records
9
8
  */
10
9
  clear_file_imports(filepath: string): void;
11
10
  /**
@@ -34,6 +33,14 @@ declare class Transformer$1 {
34
33
  * `changed_exports` should be a JS Array of export names that changed, empty means any
35
34
  */
36
35
  get_transitive_importers(filepath: string, changed_exports: any): Array<any>;
36
+ has_importers(filepath: string): boolean;
37
+ /**
38
+ * Updates the cached values after `filepath` changed to `code` (`None` if deleted).
39
+ *
40
+ * Returns the other files whose CSS is affected: importers of the changed exports, importers
41
+ * of their exports that depend on those, and so on.
42
+ */
43
+ invalidate_file(filepath: string, code?: string | null): Array<any>;
37
44
  constructor(opts: any);
38
45
  /**
39
46
  * * `load_file` - Overrides the transformer's `loadFile` for this transform and all of its
@@ -43,6 +50,13 @@ declare class Transformer$1 {
43
50
  }
44
51
  //#endregion
45
52
  //#region src/compiler.d.ts
53
+ /**
54
+ * JS side cache the compiler resolves CSS and atomic modules into, `initializeRefs` must store the
55
+ * CSS and atomic `Map`s on `globalThis` under the given names.
56
+ */
57
+ interface JsCacheRegistry {
58
+ initializeRefs(cssRef: string, atomicRef: string): void;
59
+ }
46
60
  interface CacheRegistry {
47
61
  css_cache_ref(): string;
48
62
  atomic_cache_ref(): string;
@@ -69,7 +83,7 @@ declare const Transformer: new (opts: {
69
83
  ignoredImports: Record<string, string[]>;
70
84
  loadFile: (filepath: string, importer: string) => Promise<[string, string]>;
71
85
  createRequire?: (filename: string) => NodeRequire;
72
- cacheRegistry: CacheRegistry;
86
+ cacheRegistry?: JsCacheRegistry;
73
87
  wrapSelectorsWithGlobal?: boolean;
74
88
  cssExtension: string;
75
89
  useRequire?: boolean;
@@ -80,5 +94,5 @@ declare const Transformer: new (opts: {
80
94
  declare const CacheRegistry: new () => CacheRegistry;
81
95
  declare const initializeStyleThis: () => Promise<void>;
82
96
  //#endregion
83
- export { CacheRegistry, CssCachEntry, CssSourceMapData, Transformer, initializeStyleThis };
97
+ export { CacheRegistry, CssCachEntry, CssSourceMapData, JsCacheRegistry, Transformer, initializeStyleThis };
84
98
  //# sourceMappingURL=compiler.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"compiler.d.cts","names":["CacheRegistry","Symbol","dispose","Transformer","Array","Function","Promise","initialize","InitInput","RequestInfo","URL","Response","BufferSource","WebAssembly","Module","InitOutput","Memory","Table","SyncInitInput","initSync","__wbg_init","default"],"sources":["../native/pkg/style_this.d.ts","../src/compiler.ts"],"sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n\n/**\n * Registry for all caches used during CSS transformation.\n * Holds Rust-side VALUE_CACHE, ATOMIC_CSS_CACHE, and owns JS-side caches.\n */\nexport class CacheRegistry {\n free(): void;\n [Symbol.dispose](): void;\n /**\n * Get the atomic cache reference (for internal Rust use with JS eval)\n */\n atomic_cache_ref(): string;\n /**\n * Get the CSS cache reference (for internal Rust use with JS eval)\n */\n css_cache_ref(): string;\n /**\n * Delete an atomic cache entry\n */\n delete_atomic_module(filepath: string): void;\n /**\n * Delete a CSS cache entry\n */\n delete_css_module(filepath: string): void;\n /**\n * Delete a value cache entry\n */\n delete_value_cache_entry(filepath: string): void;\n /**\n * Create a new CacheRegistry from an existing JS CacheRegistry\n * This creates global refs that point to the TS CacheRegistry's existing cache objects\n */\n static from_js_cache_registry(js_cache_registry: any, css_cache_ref: string, atomic_cache_ref: string, value_cache_ref: string): CacheRegistry;\n /**\n * Get atomic module from cache\n */\n get_atomic_module(filepath: string): any;\n /**\n * Get CSS module from cache\n */\n get_css_module(filepath: string): any;\n /**\n * Check if atomic module exists in cache\n */\n has_atomic_module(filepath: string): boolean;\n /**\n * Check if CSS module exists in cache\n */\n has_css_module(filepath: string): boolean;\n /**\n * Invalidate a module by removing it from both CSS and atomic caches\n */\n invalidate_module(filepath: string): void;\n /**\n * Create a new CacheRegistry with default JS caches\n */\n constructor();\n /**\n * Set atomic module in cache\n */\n set_atomic_module(filepath: string, value: any): void;\n /**\n * Set CSS module in cache\n */\n set_css_module(filepath: string, value: any): void;\n /**\n * Get the value cache reference (for internal Rust use with JS eval)\n */\n value_cache_ref(): string;\n}\n\nexport class Transformer {\n free(): void;\n [Symbol.dispose](): void;\n /**\n * Clear import registrations for a file\n * Call this before re-transforming a file to clear its old import records\n */\n clear_file_imports(filepath: string): void;\n /**\n * Clear value cache for a specific file\n */\n clear_value_cache(filepath: string): void;\n /**\n * Get all collected atomic CSS\n */\n get_atomic_css(): string;\n /**\n * Get the current exports for a file from the value cache\n * Returns a JS Array of export names\n */\n get_file_exports(filepath: string): Array<any>;\n /**\n * Get files that import changed exports from the given file\n * Returns a JS Array of filepaths that need to be invalidated\n *\n * `changed_exports` should be a JS Array of export names that changed\n */\n get_importers_of_changed_exports(filepath: string, changed_exports: any): Array<any>;\n /**\n * Get all files that transitively depend on changed exports from the given file\n *\n * `changed_exports` should be a JS Array of export names that changed, empty means any\n */\n get_transitive_importers(filepath: string, changed_exports: any): Array<any>;\n constructor(opts: any);\n /**\n * * `load_file` - Overrides the transformer's `loadFile` for this transform and all of its\n * dependency evaluations, e.g. to resolve within the calling plugin context.\n */\n transform(code: string, filepath: string, skip_css_eval: boolean, load_file?: Function | null): Promise<any | undefined>;\n}\n\nexport function initialize(): void;\n\nexport type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;\n\nexport interface InitOutput {\n readonly memory: WebAssembly.Memory;\n readonly __wbg_cacheregistry_free: (a: number, b: number) => void;\n readonly __wbg_transformer_free: (a: number, b: number) => void;\n readonly cacheregistry_atomic_cache_ref: (a: number) => [number, number];\n readonly cacheregistry_css_cache_ref: (a: number) => [number, number];\n readonly cacheregistry_delete_atomic_module: (a: number, b: number, c: number) => void;\n readonly cacheregistry_delete_css_module: (a: number, b: number, c: number) => void;\n readonly cacheregistry_delete_value_cache_entry: (a: number, b: number, c: number) => void;\n readonly cacheregistry_from_js_cache_registry: (a: any, b: number, c: number, d: number, e: number, f: number, g: number) => number;\n readonly cacheregistry_get_atomic_module: (a: number, b: number, c: number) => any;\n readonly cacheregistry_get_css_module: (a: number, b: number, c: number) => any;\n readonly cacheregistry_has_atomic_module: (a: number, b: number, c: number) => number;\n readonly cacheregistry_has_css_module: (a: number, b: number, c: number) => number;\n readonly cacheregistry_invalidate_module: (a: number, b: number, c: number) => void;\n readonly cacheregistry_new: () => number;\n readonly cacheregistry_set_atomic_module: (a: number, b: number, c: number, d: any) => void;\n readonly cacheregistry_set_css_module: (a: number, b: number, c: number, d: any) => void;\n readonly cacheregistry_value_cache_ref: (a: number) => [number, number];\n readonly initialize: () => void;\n readonly transformer_clear_file_imports: (a: number, b: number, c: number) => void;\n readonly transformer_clear_value_cache: (a: number, b: number, c: number) => void;\n readonly transformer_get_atomic_css: (a: number) => [number, number];\n readonly transformer_get_file_exports: (a: number, b: number, c: number) => any;\n readonly transformer_get_importers_of_changed_exports: (a: number, b: number, c: number, d: any) => any;\n readonly transformer_get_transitive_importers: (a: number, b: number, c: number, d: any) => any;\n readonly transformer_new: (a: any) => number;\n readonly transformer_transform: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => any;\n readonly wasm_bindgen_a26a977dcb4e9872___convert__closures_____invoke___js_sys_cd38c056b37ed74a___Function_fn_wasm_bindgen_a26a977dcb4e9872___JsValue_____wasm_bindgen_a26a977dcb4e9872___sys__Undefined___js_sys_cd38c056b37ed74a___Function_fn_wasm_bindgen_a26a977dcb4e9872___JsValue_____wasm_bindgen_a26a977dcb4e9872___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;\n readonly wasm_bindgen_a26a977dcb4e9872___convert__closures_____invoke___wasm_bindgen_a26a977dcb4e9872___JsValue__core_dde6c4b55a98adc4___result__Result_____wasm_bindgen_a26a977dcb4e9872___JsError___true_: (a: number, b: number, c: any) => [number, number];\n readonly __wbindgen_malloc: (a: number, b: number) => number;\n readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;\n readonly __wbindgen_free: (a: number, b: number, c: number) => void;\n readonly __wbindgen_exn_store: (a: number) => void;\n readonly __externref_table_alloc: () => number;\n readonly __wbindgen_externrefs: WebAssembly.Table;\n readonly __wbindgen_destroy_closure: (a: number, b: number) => void;\n readonly __externref_table_dealloc: (a: number) => void;\n readonly __wbindgen_start: () => void;\n}\n\nexport type SyncInitInput = BufferSource | WebAssembly.Module;\n\n/**\n * Instantiates the given `module`, which can either be bytes or\n * a precompiled `WebAssembly.Module`.\n *\n * @param {{ module: SyncInitInput }} module - Passing `SyncInitInput` directly is deprecated.\n *\n * @returns {InitOutput}\n */\nexport function initSync(module: { module: SyncInitInput } | SyncInitInput): InitOutput;\n\n/**\n * If `module_or_path` is {RequestInfo} or {URL}, makes a request and\n * for everything else, calls `WebAssembly.instantiate` directly.\n *\n * @param {{ module_or_path: InitInput | Promise<InitInput> }} module_or_path - Passing `InitInput` directly is deprecated.\n *\n * @returns {Promise<InitOutput>}\n */\nexport default function __wbg_init (module_or_path?: { module_or_path: InitInput | Promise<InitInput> } | InitInput | Promise<InitInput>): Promise<InitOutput>;\n"],"mappings":";;cAyEaG,aAAAA;;GAERF,MAAAA,CAAOC,OAAAA;;;;;;;;;;;;;;;;;;sCAkB4BE;;;;;;;4EAOsCA;;;;;;oEAMRA;;;;;;gFAMYC,kBAAkBC;;;;AAvCvFH,UCpEI,aAAA,CDoEO;EAEnBF,aAAOC,EAAAA,EAAAA,MAAAA;EAkB4BE,gBAAAA,EAAAA,EAAAA,MAAAA;EAOsCA,eAAAA,EAAAA,EAAAA,MAAAA;EAMRA,gBAAAA,CAAAA,QAAAA,EAAAA,MAAAA,CAAAA,EAAAA,IAAAA;;AAM8BE,UCpGnF,WAAA,SAAoB,IDoG+DA,CCpG1D,aDoG0DA,EAAAA,WAAAA,CAAAA,CAAAA;EAAO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,WAIO;cAFA,yBAAuD;cAEvD,2BAAmB"}
1
+ {"version":3,"file":"compiler.d.cts","names":["CacheRegistry","Symbol","dispose","Transformer","Array","Function","Promise","initialize","InitInput","RequestInfo","URL","Response","BufferSource","WebAssembly","Module","InitOutput","Memory","Table","SyncInitInput","initSync","__wbg_init","default"],"sources":["../native/pkg/style_this.d.ts","../src/compiler.ts"],"sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n\n/**\n * Registry for all caches used during CSS transformation.\n * Holds Rust-side VALUE_CACHE, ATOMIC_CSS_CACHE, and owns JS-side caches.\n */\nexport class CacheRegistry {\n free(): void;\n [Symbol.dispose](): void;\n /**\n * Get the atomic cache reference (for internal Rust use with JS eval)\n */\n atomic_cache_ref(): string;\n /**\n * Get the CSS cache reference (for internal Rust use with JS eval)\n */\n css_cache_ref(): string;\n /**\n * Delete an atomic cache entry\n */\n delete_atomic_module(filepath: string): void;\n /**\n * Delete a CSS cache entry\n */\n delete_css_module(filepath: string): void;\n /**\n * Delete a value cache entry\n */\n delete_value_cache_entry(filepath: string): void;\n /**\n * Create a new CacheRegistry from an existing JS CacheRegistry\n * This creates global refs that point to the TS CacheRegistry's existing cache objects\n */\n static from_js_cache_registry(js_cache_registry: any, css_cache_ref: string, atomic_cache_ref: string, value_cache_ref: string): CacheRegistry;\n /**\n * Get atomic module from cache\n */\n get_atomic_module(filepath: string): any;\n /**\n * Get CSS module from cache\n */\n get_css_module(filepath: string): any;\n /**\n * Check if atomic module exists in cache\n */\n has_atomic_module(filepath: string): boolean;\n /**\n * Check if CSS module exists in cache\n */\n has_css_module(filepath: string): boolean;\n /**\n * Invalidate a module by removing it from both CSS and atomic caches\n */\n invalidate_module(filepath: string): void;\n /**\n * Create a new CacheRegistry with default JS caches\n */\n constructor();\n /**\n * Set atomic module in cache\n */\n set_atomic_module(filepath: string, value: any): void;\n /**\n * Set CSS module in cache\n */\n set_css_module(filepath: string, value: any): void;\n /**\n * Get the value cache reference (for internal Rust use with JS eval)\n */\n value_cache_ref(): string;\n}\n\nexport class Transformer {\n free(): void;\n [Symbol.dispose](): void;\n /**\n * Clear import registrations for a file\n */\n clear_file_imports(filepath: string): void;\n /**\n * Clear value cache for a specific file\n */\n clear_value_cache(filepath: string): void;\n /**\n * Get all collected atomic CSS\n */\n get_atomic_css(): string;\n /**\n * Get the current exports for a file from the value cache\n * Returns a JS Array of export names\n */\n get_file_exports(filepath: string): Array<any>;\n /**\n * Get files that import changed exports from the given file\n * Returns a JS Array of filepaths that need to be invalidated\n *\n * `changed_exports` should be a JS Array of export names that changed\n */\n get_importers_of_changed_exports(filepath: string, changed_exports: any): Array<any>;\n /**\n * Get all files that transitively depend on changed exports from the given file\n *\n * `changed_exports` should be a JS Array of export names that changed, empty means any\n */\n get_transitive_importers(filepath: string, changed_exports: any): Array<any>;\n has_importers(filepath: string): boolean;\n /**\n * Updates the cached values after `filepath` changed to `code` (`None` if deleted).\n *\n * Returns the other files whose CSS is affected: importers of the changed exports, importers\n * of their exports that depend on those, and so on.\n */\n invalidate_file(filepath: string, code?: string | null): Array<any>;\n constructor(opts: any);\n /**\n * * `load_file` - Overrides the transformer's `loadFile` for this transform and all of its\n * dependency evaluations, e.g. to resolve within the calling plugin context.\n */\n transform(code: string, filepath: string, skip_css_eval: boolean, load_file?: Function | null): Promise<any | undefined>;\n}\n\nexport function initialize(): void;\n\nexport type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;\n\nexport interface InitOutput {\n readonly memory: WebAssembly.Memory;\n readonly __wbg_cacheregistry_free: (a: number, b: number) => void;\n readonly __wbg_transformer_free: (a: number, b: number) => void;\n readonly cacheregistry_atomic_cache_ref: (a: number) => [number, number];\n readonly cacheregistry_css_cache_ref: (a: number) => [number, number];\n readonly cacheregistry_delete_atomic_module: (a: number, b: number, c: number) => void;\n readonly cacheregistry_delete_css_module: (a: number, b: number, c: number) => void;\n readonly cacheregistry_delete_value_cache_entry: (a: number, b: number, c: number) => void;\n readonly cacheregistry_from_js_cache_registry: (a: any, b: number, c: number, d: number, e: number, f: number, g: number) => number;\n readonly cacheregistry_get_atomic_module: (a: number, b: number, c: number) => any;\n readonly cacheregistry_get_css_module: (a: number, b: number, c: number) => any;\n readonly cacheregistry_has_atomic_module: (a: number, b: number, c: number) => number;\n readonly cacheregistry_has_css_module: (a: number, b: number, c: number) => number;\n readonly cacheregistry_invalidate_module: (a: number, b: number, c: number) => void;\n readonly cacheregistry_new: () => number;\n readonly cacheregistry_set_atomic_module: (a: number, b: number, c: number, d: any) => void;\n readonly cacheregistry_set_css_module: (a: number, b: number, c: number, d: any) => void;\n readonly cacheregistry_value_cache_ref: (a: number) => [number, number];\n readonly initialize: () => void;\n readonly transformer_clear_file_imports: (a: number, b: number, c: number) => void;\n readonly transformer_clear_value_cache: (a: number, b: number, c: number) => void;\n readonly transformer_get_atomic_css: (a: number) => [number, number];\n readonly transformer_get_file_exports: (a: number, b: number, c: number) => any;\n readonly transformer_get_importers_of_changed_exports: (a: number, b: number, c: number, d: any) => any;\n readonly transformer_get_transitive_importers: (a: number, b: number, c: number, d: any) => any;\n readonly transformer_has_importers: (a: number, b: number, c: number) => number;\n readonly transformer_invalidate_file: (a: number, b: number, c: number, d: number, e: number) => any;\n readonly transformer_new: (a: any) => number;\n readonly transformer_transform: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => any;\n readonly wasm_bindgen_a26a977dcb4e9872___convert__closures_____invoke___js_sys_cd38c056b37ed74a___Function_fn_wasm_bindgen_a26a977dcb4e9872___JsValue_____wasm_bindgen_a26a977dcb4e9872___sys__Undefined___js_sys_cd38c056b37ed74a___Function_fn_wasm_bindgen_a26a977dcb4e9872___JsValue_____wasm_bindgen_a26a977dcb4e9872___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;\n readonly wasm_bindgen_a26a977dcb4e9872___convert__closures_____invoke___wasm_bindgen_a26a977dcb4e9872___JsValue__core_dde6c4b55a98adc4___result__Result_____wasm_bindgen_a26a977dcb4e9872___JsError___true_: (a: number, b: number, c: any) => [number, number];\n readonly __wbindgen_malloc: (a: number, b: number) => number;\n readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;\n readonly __wbindgen_free: (a: number, b: number, c: number) => void;\n readonly __wbindgen_exn_store: (a: number) => void;\n readonly __externref_table_alloc: () => number;\n readonly __wbindgen_externrefs: WebAssembly.Table;\n readonly __wbindgen_destroy_closure: (a: number, b: number) => void;\n readonly __externref_table_dealloc: (a: number) => void;\n readonly __wbindgen_start: () => void;\n}\n\nexport type SyncInitInput = BufferSource | WebAssembly.Module;\n\n/**\n * Instantiates the given `module`, which can either be bytes or\n * a precompiled `WebAssembly.Module`.\n *\n * @param {{ module: SyncInitInput }} module - Passing `SyncInitInput` directly is deprecated.\n *\n * @returns {InitOutput}\n */\nexport function initSync(module: { module: SyncInitInput } | SyncInitInput): InitOutput;\n\n/**\n * If `module_or_path` is {RequestInfo} or {URL}, makes a request and\n * for everything else, calls `WebAssembly.instantiate` directly.\n *\n * @param {{ module_or_path: InitInput | Promise<InitInput> }} module_or_path - Passing `InitInput` directly is deprecated.\n *\n * @returns {Promise<InitOutput>}\n */\nexport default function __wbg_init (module_or_path?: { module_or_path: InitInput | Promise<InitInput> } | InitInput | Promise<InitInput>): Promise<InitOutput>;\n"],"mappings":";;cAyEaG,aAAAA;;GAERF,MAAAA,CAAOC,OAAAA;;;;;;;;;;;;;;;;;sCAiB4BE;;;;;;;4EAOsCA;;;;;;oEAMRA;;;;;;;;2DAQTA;;;;;;gFAMqBC,kBAAkBC;;;;AA9CpG;;;;AAgCsEF,UChGrD,eAAA,CDgGqDA;EAQTA,cAAAA,CAAAA,MAAAA,EAAAA,MAAAA,EAAAA,SAAAA,EAAAA,MAAAA,CAAAA,EAAAA,IAAAA;;AAMuCE,UC1GnF,aAAA,CD0GmFA;EAAO,aAAA,EAAA,EAAA,MAAA;;;;AC9G3G;AAIiB,UAOA,WAAA,SAAoB,IAPP,CAOY,aAPZ,EAAA,WAAA,CAAA,CAAA;EAOb,SA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ent":[],"mappings":";;KA2BY,gBAAA,GAAmB;;;;;;;AAAnB,UCzBK,gBAAA,CDyBW;;;;ECzBX,cAAA,EAAA,MAAgB;EAQhB,MAAA,EAAA,MAAS;AAY1B;UAZiB,SAAA;;;;;;;;;;;iBAYD,oBAAA,oCAEC,iGAId"}
1
+ {"version":3,"file":"cssSourceMap.d.mts","names":[],"sources":["../src/compiler.ts","../src/cssSourceMap.ts"],"sourcesContent":[],"mappings":";;KAmCY,gBAAA,GAAmB;;;;;;;AAAnB,UCjCK,gBAAA,CDiCW;;;;ECjCX,cAAA,EAAA,MAAgB;EAQhB,MAAA,EAAA,MAAS;AAY1B;UAZiB,SAAA;;;;;;;;;;;iBAYD,oBAAA,oCAEC,iGAId"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@style-this/core",
3
- "version": "0.2.1",
3
+ "version": "0.4.0",
4
4
  "description": "CSS-in-JS library for the modern web - core module",
5
5
  "type": "module",
6
6
  "files": [