@ornikar/kitt-universal 25.58.1-canary.01e4aa02ad8f3c2fd23f16498fb058cc1cad88cd.0 → 25.58.1-canary.3703fdd8c845452ef85a7328ca509b5645f6f56f.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.
package/CHANGELOG.md CHANGED
@@ -3,7 +3,7 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [25.58.1-canary.01e4aa02ad8f3c2fd23f16498fb058cc1cad88cd.0](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@25.58.0...@ornikar/kitt-universal@25.58.1-canary.01e4aa02ad8f3c2fd23f16498fb058cc1cad88cd.0) (2025-06-04)
6
+ ## [25.58.1-canary.3703fdd8c845452ef85a7328ca509b5645f6f56f.0](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@25.58.0...@ornikar/kitt-universal@25.58.1-canary.3703fdd8c845452ef85a7328ca509b5645f6f56f.0) (2025-06-05)
7
7
 
8
8
 
9
9
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ornikar/kitt-universal",
3
- "version": "25.58.1-canary.01e4aa02ad8f3c2fd23f16498fb058cc1cad88cd.0",
3
+ "version": "25.58.1-canary.3703fdd8c845452ef85a7328ca509b5645f6f56f.0",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "directory": "@ornikar/kitt-universal",
@@ -3,12 +3,16 @@
3
3
  /* eslint-disable prefer-destructuring */
4
4
  /* eslint-disable unicorn/no-array-method-this-argument */
5
5
 
6
+ // Use local jscodeshift instance directly
7
+ const jscodeshift = require('jscodeshift');
8
+
6
9
  // List of modal component names we want to transform
7
10
  const MODAL_COMPONENTS = ['FullscreenModal', 'CardModal', 'NavigationModal'];
8
11
 
9
12
  module.exports = function transformer(fileInfo, api) {
10
- // jscodeshift library
11
- const j = api.jscodeshift;
13
+ // Use the jscodeshift API to parse the file
14
+ const j = api.jscodeshift || jscodeshift;
15
+
12
16
  // Parse the source code of the file
13
17
  const root = j(fileInfo.source);
14
18