@graphcommerce/next-config 9.0.4-canary.8 → 9.0.4

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.
@@ -499,7 +499,7 @@ export class Visitor {
499
499
  return this.visitExpressionStatement(stmt)
500
500
 
501
501
  default:
502
- throw new Error(`Unknown statement type: ${(stmt as { type: string }).type}`)
502
+ throw new Error(`Unknown statement type: ${(stmt as any).type}`)
503
503
  }
504
504
  }
505
505
 
@@ -1,5 +1,5 @@
1
- import path from 'path'
2
1
  import type { ExportAllDeclaration } from '@swc/core'
2
+ import path from 'path'
3
3
  import type { ResolveDependency, ResolveDependencyReturn } from '../utils/resolveDependency'
4
4
  import type { PluginConfig } from './generateInterceptor'
5
5
  import { parseSync } from './swc'
@@ -1,7 +1,7 @@
1
1
  // eslint-disable-next-line import/no-extraneous-dependencies
2
+ import { sync as globSync } from 'glob'
2
3
  import fs from 'node:fs/promises'
3
4
  import path from 'path'
4
- import { sync as globSync } from 'glob'
5
5
  import { resolveDependenciesSync } from '../utils/resolveDependenciesSync'
6
6
  import type { GenerateInterceptorsReturn } from './generateInterceptors'
7
7
 
@@ -2,7 +2,7 @@ import fs from 'node:fs'
2
2
  import path from 'node:path'
3
3
  import type { PackageJson } from 'type-fest'
4
4
  import { PackagesSort } from './PackagesSort'
5
- import { sig } from './sig'
5
+ import { g, sig } from './sig'
6
6
 
7
7
  type PackageNames = Map<string, string>
8
8
  type DependencyStructure = Record<string, { dirName: string; dependencies: string[] }>