@easy-cms/core 1.32.0 → 1.34.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.
@@ -1,4 +1,4 @@
1
- import { I as ID, C as Config, E as EasyCMS, L as LocalizationConfig, F as Field, e as FieldError, f as FilterOptions, g as CreateEasyCMSOptions, R as ResolvedConfig } from './config-Dr_NZGm6.js';
1
+ import { I as ID, C as Config, E as EasyCMS, L as LocalizationConfig, F as Field, e as FieldError, f as FilterOptions, g as CreateEasyCMSOptions, R as ResolvedConfig } from './config-3opRDa7L.js';
2
2
 
3
3
  /** Decrypts a file from `encryptBackup`; throws for another key or a changed file. */
4
4
  declare function decryptBackup(data: Uint8Array, encryptionKey: string): Uint8Array;
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { P as PaginatedDocs, I as ID, h as EmailSetting, i as WebhookPayload } from './config-Dr_NZGm6.js';
2
- export { A as ADAPTER_API_VERSION, j as ADMIN_ICONS, k as Access, l as AccessArgs, m as AccessOptions, n as AdminBrand, o as AdminCommand, p as AdminComponent, q as AdminConfig, r as AdminFieldArgs, s as AdminIcon, t as AdminLocale, u as AdminPage, v as AdminRole, w as AdminRoleChange, x as AdminRoleField, y as AdminRoleTarget, z as AdminRoleView, B as AdminRoles, D as AdminSso, H as AdminSwitcher, J as AdminViewAccess, K as AfterChangeHook, M as AfterDeleteHook, N as AfterReadHook, O as ApiKeyContext, Q as ApiKeyGlobalOperation, S as ApiKeyOperation, T as ApiKeyPermissions, V as ArrayField, X as AuditChange, Y as AuditConfig, Z as AuditEntry, _ as AuditLog, $ as AuditPage, a0 as AuditVerification, a1 as Auth, a2 as AuthConfig, a3 as AuthProvider, a4 as AuthProviderProfile, a5 as AuthProviderRequest, a6 as AuthUser, a7 as BackupsConfig, a8 as BeforeChangeHook, a9 as BeforeDeleteHook, aa as BeforeValidateHook, ab as Block, ac as BlockSummaryArgs, ad as BlocksField, ae as BooleanField, af as BuiltinApiKeysCollection, ag as BuiltinMediaCollection, ah as BuiltinMediaFoldersCollection, ai as BuiltinUsersCollection, aj as BundleHints, ak as CliCommand, al as CollectionAccess, am as CollectionAdmin, an as CollectionCalendarAdmin, ao as CollectionConfig, b as CollectionDocument, ap as CollectionHooks, aq as CollectionListAdmin, ar as CollectionSearch, a as CollectionSlug, as as CollectionView, C as Config, at as ConfigError, au as ConfigIssue, av as ContainerAdmin, g as CreateEasyCMSOptions, aw as CreateInput, ax as CreateMigrationResult, c as CursorDocs, ay as CustomField, az as CustomFieldTypes, aA as DashboardWidget, aB as Database, aC as DatabaseAdapter, aD as DatabaseInitArgs, aE as DatabaseTransfer, aF as DateField, aG as DepthOptions, aH as DirectUpload, aI as DiskStorageOptions, aJ as DocumentOf, E as EasyCMS, aK as EasyCMSError, aL as EmailAdapter, aM as EmailField, aN as EmailMessage, aO as Endpoint, aP as EndpointRequest, aQ as ErrorCode, aR as EventListener, aS as EventMessage, aT as FIELD_TYPES, F as Field, aU as FieldAccess, aV as FieldAccessFn, aW as FieldAdmin, e as FieldError, aX as FieldRule, aY as FieldType, aZ as FieldTypeBase, a_ as FieldTypeDefinition, a$ as FieldTypeValidateContext, b0 as FieldValidate, b1 as FieldValidateContext, b2 as FieldValue, b3 as FieldsInput, b4 as FieldsValue, f as FilterOptions, b5 as FilterOptionsArgs, b6 as FindAfterArgs, b7 as FindArgs, b8 as FindOptions, b9 as FolderLevel, ba as FolderPermissions, bb as ForbiddenError, bc as GlobalAccess, bd as GlobalConfig, d as GlobalDocument, be as GlobalHooks, bf as GlobalInput, G as GlobalSlug, bg as GroupField, bh as ImageSize, bi as IncrementOptions, bj as InferCollection, bk as InferGlobal, bl as IntegrationCategory, bm as IntegrationConfig, bn as IntegrationConnection, bo as IntegrationField, bp as IntegrationOAuthResult, bq as IntegrationTestResult, br as JobConfig, bs as JsonField, bt as KeysetPage, bu as Label, bv as LayoutNode, bw as LivePreview, bx as LocaleOf, L as LocalizationConfig, by as LogDetails, bz as Logger, bA as LoginArgs, bB as LogsConfig, bC as MediaDocument, bD as MediaSize, bE as MembersConfig, bF as MembersSignup, bG as MigrationInfo, bH as NavGroup, bI as NotFoundError, bJ as NumberField, bK as OnRequest, bL as OnRequestArgs, bM as Operation, bN as OutboxRow, bO as PLUGIN_API_VERSION, bP as PasswordEmail, bQ as PasswordEmailArgs, bR as PasswordEmailFn, bS as PasswordLinkOptions, bT as PayloadTooLargeError, bU as Plugin, bV as PluginInfo, bW as PluginTypes, bX as PreviewTarget, bY as PreviewURL, bZ as QueryError, b_ as ROLE_OPERATIONS, b$ as RawDocument, c0 as ReadOptions, c1 as RelationshipField, c2 as RequestContext, R as ResolvedConfig, c3 as RichTextBlock, c4 as RichTextBlocks, c5 as RichTextDocument, c6 as RichTextField, c7 as Role, c8 as RoleOperation, c9 as RolePermissions, ca as Roles, cb as RoutesConfig, cc as ScheduledPublish, cd as SchemaError, ce as SchemaMode, cf as SearchAdapter, cg as SearchEntry, ch as SearchHits, ci as SearchOptions, cj as SearchQuery, ck as SearchResults, cl as SearchSetting, cm as SelectField, cn as SelectOption, co as Session, cp as SidebarPanel, cq as SignupArgs, cr as SignupResult, cs as SingleSignOn, ct as SlugField, cu as SlugOf, cv as SsoOutcome, cw as SsoProviderRef, cx as StorageAdapter, cy as StoredFile, cz as TRIGRAM_LIKE_MIN, cA as TelemetryConfig, cB as TextField, cC as TextareaField, cD as TooManyRequestsError, cE as TypedPlugin, cF as UiField, cG as UnauthorizedError, U as UncountedDocs, cH as UpdateInput, cI as UpdateOptions, cJ as UploadConfig, cK as UploadField, cL as UploadFromURLConfig, cM as UserIdentity, cN as ValidationError, cO as Version, cP as VersionSummary, cQ as VersionsConfig, cR as WEBHOOK_EVENTS, cS as WebhookConfig, cT as WebhookEvent, W as Where, cU as WhereOperators, cV as anyone, cW as consoleEmail, cX as consoleLogger, cY as createEasyCMS, cZ as defineConfig, c_ as defineFieldType, c$ as definePlugin, d0 as diskStorage, d1 as hasRows, d2 as isAdmin, d3 as isHasMany, d4 as isPolymorphic, d5 as isSignedIn, d6 as isStaff, d7 as isSystemAdmin, d8 as jsonLogger, d9 as memorySearch, da as mimeAllowedBy, db as polymorphicValue, dc as relationTargets, dd as rowFields, de as silentLogger, df as uniqueWithinOf } from './config-Dr_NZGm6.js';
3
- export { A as ADMIN_API_VERSION, a as AdminCollection, b as AdminComponentRef, c as AdminElementProps, d as AdminField, e as AdminGlobal, f as AdminLayoutNode, g as AdminNavGroup, h as AdminNavItem, i as AdminNavNode, j as AdminPageRef, k as AdminPageRoute, l as AdminSchema, m as AdminWidgetRef, S as SetFieldDetail, w as warnDeprecated } from './plugin-DBHFjM-r.js';
4
- export { A as AdminBackup, a as AdminBackups, b as ApiHandlerOptions, B as BackupState, L as LoadConfigOptions, R as RestHandler, c as RestHandlerOptions, d as createApiHandler, e as createRestHandler, l as loadConfig, r as resolveConfig, s as sharedEasyCMS, f as slugify } from './handler-B0m4VOAy.js';
1
+ import { P as PaginatedDocs, I as ID, h as EmailSetting, i as WebhookPayload } from './config-3opRDa7L.js';
2
+ export { A as ADAPTER_API_VERSION, j as ADMIN_ICONS, k as Access, l as AccessArgs, m as AccessOptions, n as AdminAi, o as AdminBrand, p as AdminCommand, q as AdminComponent, r as AdminConfig, s as AdminFieldArgs, t as AdminIcon, u as AdminLocale, v as AdminPage, w as AdminRole, x as AdminRoleChange, y as AdminRoleField, z as AdminRoleTarget, B as AdminRoleView, D as AdminRoles, H as AdminSso, J as AdminSwitcher, K as AdminViewAccess, M as AfterChangeHook, N as AfterDeleteHook, O as AfterReadHook, Q as Ai, S as AiConfig, T as AiFeatureConfig, V as AiImage, X as AiProvider, Y as AiProviderError, Z as AiProviderRequest, _ as AiProviderResult, $ as AiRequest, a0 as AiResult, a1 as ApiKeyContext, a2 as ApiKeyGlobalOperation, a3 as ApiKeyOperation, a4 as ApiKeyPermissions, a5 as ArrayField, a6 as AuditChange, a7 as AuditConfig, a8 as AuditEntry, a9 as AuditLog, aa as AuditPage, ab as AuditVerification, ac as Auth, ad as AuthConfig, ae as AuthProvider, af as AuthProviderProfile, ag as AuthProviderRequest, ah as AuthUser, ai as BackupsConfig, aj as BeforeChangeHook, ak as BeforeDeleteHook, al as BeforeValidateHook, am as Block, an as BlockSummaryArgs, ao as BlocksField, ap as BooleanField, aq as BuiltinApiKeysCollection, ar as BuiltinMediaCollection, as as BuiltinMediaFoldersCollection, at as BuiltinUsersCollection, au as BundleHints, av as CliCommand, aw as CollectionAccess, ax as CollectionAdmin, ay as CollectionCalendarAdmin, az as CollectionConfig, b as CollectionDocument, aA as CollectionHooks, aB as CollectionListAdmin, aC as CollectionSearch, a as CollectionSlug, aD as CollectionView, C as Config, aE as ConfigError, aF as ConfigIssue, aG as ContainerAdmin, g as CreateEasyCMSOptions, aH as CreateInput, aI as CreateMigrationResult, c as CursorDocs, aJ as CustomField, aK as CustomFieldTypes, aL as DashboardWidget, aM as Database, aN as DatabaseAdapter, aO as DatabaseInitArgs, aP as DatabaseTransfer, aQ as DateField, aR as DepthOptions, aS as DirectUpload, aT as DiskStorageOptions, aU as DocumentOf, E as EasyCMS, aV as EasyCMSError, aW as EmailAdapter, aX as EmailField, aY as EmailMessage, aZ as Endpoint, a_ as EndpointRequest, a$ as ErrorCode, b0 as EventListener, b1 as EventMessage, b2 as FIELD_TYPES, F as Field, b3 as FieldAccess, b4 as FieldAccessFn, b5 as FieldAdmin, e as FieldError, b6 as FieldRule, b7 as FieldType, b8 as FieldTypeBase, b9 as FieldTypeDefinition, ba as FieldTypeValidateContext, bb as FieldValidate, bc as FieldValidateContext, bd as FieldValue, be as FieldsInput, bf as FieldsValue, f as FilterOptions, bg as FilterOptionsArgs, bh as FindAfterArgs, bi as FindArgs, bj as FindOptions, bk as FolderLevel, bl as FolderPermissions, bm as ForbiddenError, bn as GlobalAccess, bo as GlobalConfig, d as GlobalDocument, bp as GlobalHooks, bq as GlobalInput, G as GlobalSlug, br as GroupField, bs as ImageSize, bt as IncrementOptions, bu as InferCollection, bv as InferGlobal, bw as IntegrationCategory, bx as IntegrationConfig, by as IntegrationConnection, bz as IntegrationField, bA as IntegrationLogo, bB as IntegrationOAuthResult, bC as IntegrationTestResult, bD as JobConfig, bE as JsonField, bF as KeysetPage, bG as Label, bH as LayoutNode, bI as LivePreview, bJ as LocaleOf, L as LocalizationConfig, bK as LogDetails, bL as Logger, bM as LoginArgs, bN as LogsConfig, bO as MediaDocument, bP as MediaSize, bQ as MembersConfig, bR as MembersSignup, bS as MigrationInfo, bT as NavGroup, bU as NotFoundError, bV as NumberField, bW as OnRequest, bX as OnRequestArgs, bY as Operation, bZ as OutboxRow, b_ as PLUGIN_API_VERSION, b$ as PasswordEmail, c0 as PasswordEmailArgs, c1 as PasswordEmailFn, c2 as PasswordLinkOptions, c3 as PayloadTooLargeError, c4 as Plugin, c5 as PluginInfo, c6 as PluginTypes, c7 as PreviewTarget, c8 as PreviewURL, c9 as QueryError, ca as ROLE_OPERATIONS, cb as RawDocument, cc as ReadOptions, cd as RelationshipField, ce as RequestContext, R as ResolvedConfig, cf as RichTextBlock, cg as RichTextBlocks, ch as RichTextDocument, ci as RichTextField, cj as Role, ck as RoleOperation, cl as RolePermissions, cm as Roles, cn as RoutesConfig, co as ScheduledPublish, cp as SchemaError, cq as SchemaMode, cr as SearchAdapter, cs as SearchEntry, ct as SearchHits, cu as SearchOptions, cv as SearchQuery, cw as SearchResults, cx as SearchSetting, cy as SelectField, cz as SelectOption, cA as Session, cB as SidebarPanel, cC as SignupArgs, cD as SignupResult, cE as SingleSignOn, cF as SlugField, cG as SlugOf, cH as SsoOutcome, cI as SsoProviderRef, cJ as StorageAdapter, cK as StoredFile, cL as TRIGRAM_LIKE_MIN, cM as TelemetryConfig, cN as TextField, cO as TextareaField, cP as TooManyRequestsError, cQ as TypedPlugin, cR as UiField, cS as UnauthorizedError, U as UncountedDocs, cT as UpdateInput, cU as UpdateOptions, cV as UploadConfig, cW as UploadField, cX as UploadFromURLConfig, cY as UserIdentity, cZ as ValidationError, c_ as Version, c$ as VersionSummary, d0 as VersionsConfig, d1 as WEBHOOK_EVENTS, d2 as WebhookConfig, d3 as WebhookEvent, W as Where, d4 as WhereOperators, d5 as anyone, d6 as consoleEmail, d7 as consoleLogger, d8 as createEasyCMS, d9 as defineConfig, da as defineFieldType, db as definePlugin, dc as diskStorage, dd as hasRows, de as isAdmin, df as isHasMany, dg as isPolymorphic, dh as isSignedIn, di as isStaff, dj as isSystemAdmin, dk as jsonLogger, dl as memorySearch, dm as mimeAllowedBy, dn as polymorphicValue, dp as relationTargets, dq as rowFields, dr as silentLogger, ds as uniqueWithinOf } from './config-3opRDa7L.js';
3
+ export { A as ADMIN_API_VERSION, a as AdminCollection, b as AdminComponentRef, c as AdminElementProps, d as AdminField, e as AdminGlobal, f as AdminLayoutNode, g as AdminNavGroup, h as AdminNavItem, i as AdminNavNode, j as AdminPageRef, k as AdminPageRoute, l as AdminSchema, m as AdminWidgetRef, S as SetFieldDetail, w as warnDeprecated } from './plugin-D7ra0pjj.js';
4
+ export { A as AdminBackup, a as AdminBackups, b as ApiHandlerOptions, B as BackupState, L as LoadConfigOptions, R as RestHandler, c as RestHandlerOptions, d as createApiHandler, e as createRestHandler, l as loadConfig, r as resolveConfig, s as sharedEasyCMS, f as slugify } from './handler-Ce-WEeAh.js';
5
5
  export { FieldCondition, matchesCondition } from './conditions.js';
6
6
 
7
7
  type DeliveryKind = 'webhook' | 'email';
package/dist/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  ADAPTER_API_VERSION,
3
+ AiProviderError,
3
4
  AuditLog,
4
5
  Auth,
5
6
  EasyCMS,
@@ -28,7 +29,7 @@ import {
28
29
  silentLogger,
29
30
  slugify,
30
31
  verifyWebhook
31
- } from "./chunk-J4NASOMO.js";
32
+ } from "./chunk-OBVILNIV.js";
32
33
  import {
33
34
  matchesCondition
34
35
  } from "./chunk-U266LV4M.js";
@@ -58,6 +59,7 @@ export {
58
59
  ADAPTER_API_VERSION,
59
60
  ADMIN_API_VERSION,
60
61
  ADMIN_ICONS,
62
+ AiProviderError,
61
63
  AuditLog,
62
64
  Auth,
63
65
  ConfigError,
@@ -1,6 +1,6 @@
1
1
  import { Config, Database, EasyCMS, NavGroup, CollectionConfig, ID, RawDocument, Field, ResolvedConfig, ConfigIssue } from './index.js';
2
- export { dg as API_KEYS, dh as API_KEY_GLOBAL_OPERATIONS, di as API_KEY_OPERATIONS, dj as DEFAULT_MAX_VERSIONS, dk as DEFAULT_PASSWORD_EMAILS, dl as FIELD_TYPE_BASES, dm as FOLDER_LEVELS, dn as MediaFolders, dp as SSO_COOKIE, dq as Secrets, cz as TRIGRAM_LIKE_MIN, dr as codeOfStatus, d1 as hasRows, d3 as isHasMany, ds as isJsonLogger, d4 as isPolymorphic, dt as keyAllows, du as logFormat, da as mimeAllowedBy, db as polymorphicValue, dc as relationTargets, dd as rowFields, dv as secretsOf, df as uniqueWithinOf } from './config-Dr_NZGm6.js';
3
- export { C as CONFIG_FILE_NAMES, g as CSRF_COOKIE, h as CSRF_HEADER, D as DEFAULT_ADMIN_PATH, i as DEFAULT_API_PATH, j as DEFAULT_MAX_FILE_SIZE, k as DEFAULT_TOKEN_EXPIRATION, m as applyDefaults, n as applyPlugins, o as createRootEndpointHandler, p as decryptBackup, q as fillMissing, t as findConfigFile, u as forwardedClientIp, v as generateSlugs, w as importConfig, x as isEmail, y as mergeForUpdate, z as parseId, E as platformClientIp, F as readCookie, G as validateFields, H as writeBackupFile } from './handler-B0m4VOAy.js';
2
+ export { dt as API_KEYS, du as API_KEY_GLOBAL_OPERATIONS, dv as API_KEY_OPERATIONS, dw as DEFAULT_MAX_VERSIONS, dx as DEFAULT_PASSWORD_EMAILS, dy as FIELD_TYPE_BASES, dz as FOLDER_LEVELS, dA as MediaFolders, dB as SSO_COOKIE, dC as Secrets, cL as TRIGRAM_LIKE_MIN, dD as codeOfStatus, dd as hasRows, df as isHasMany, dE as isJsonLogger, dg as isPolymorphic, dF as keyAllows, dG as logFormat, dm as mimeAllowedBy, dn as polymorphicValue, dp as relationTargets, dq as rowFields, dH as secretsOf, ds as uniqueWithinOf } from './config-3opRDa7L.js';
3
+ export { C as CONFIG_FILE_NAMES, g as CSRF_COOKIE, h as CSRF_HEADER, D as DEFAULT_ADMIN_PATH, i as DEFAULT_API_PATH, j as DEFAULT_MAX_FILE_SIZE, k as DEFAULT_TOKEN_EXPIRATION, m as applyDefaults, n as applyPlugins, o as createRootEndpointHandler, p as decryptBackup, q as fillMissing, t as findConfigFile, u as forwardedClientIp, v as generateSlugs, w as importConfig, x as isEmail, y as mergeForUpdate, z as parseId, E as platformClientIp, F as readCookie, G as validateFields, H as writeBackupFile } from './handler-Ce-WEeAh.js';
4
4
  export { conditionIssues } from './conditions.js';
5
5
 
6
6
  /** The session cookie the REST API sets at login. */
package/dist/internal.js CHANGED
@@ -58,7 +58,7 @@ import {
58
58
  verifyPassword,
59
59
  verifyTurnstile,
60
60
  writeBackupFile
61
- } from "./chunk-J4NASOMO.js";
61
+ } from "./chunk-OBVILNIV.js";
62
62
  import {
63
63
  conditionIssues
64
64
  } from "./chunk-U266LV4M.js";
@@ -1,4 +1,4 @@
1
- import { bu as Label, F as Field, I as ID, as as CollectionView, t as AdminLocale, H as AdminSwitcher, cw as SsoProviderRef } from './config-Dr_NZGm6.js';
1
+ import { bG as Label, F as Field, I as ID, aD as CollectionView, u as AdminLocale, J as AdminSwitcher, cI as SsoProviderRef } from './config-3opRDa7L.js';
2
2
  import { FieldCondition } from './conditions.js';
3
3
 
4
4
  /** A Web Component from an admin module, with its `props` (plain JSON). */
package/dist/plugin.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export { j as ADMIN_ICONS, p as AdminComponent, s as AdminIcon, a6 as AuthUser, ak as CliCommand, al as CollectionAccess, ao as CollectionConfig, C as Config, at as ConfigError, aA as DashboardWidget, aK as EasyCMSError, aO as Endpoint, aP as EndpointRequest, aQ as ErrorCode, F as Field, aU as FieldAccess, e as FieldError, aZ as FieldTypeBase, a_ as FieldTypeDefinition, a$ as FieldTypeValidateContext, bb as ForbiddenError, bd as GlobalConfig, I as ID, br as JobConfig, bu as Label, bH as NavGroup, bI as NotFoundError, bK as OnRequest, bL as OnRequestArgs, bO as PLUGIN_API_VERSION, bT as PayloadTooLargeError, bU as Plugin, bV as PluginInfo, bW as PluginTypes, bZ as QueryError, c2 as RequestContext, cD as TooManyRequestsError, cE as TypedPlugin, cG as UnauthorizedError, cN as ValidationError, W as Where, c_ as defineFieldType, c$ as definePlugin } from './config-Dr_NZGm6.js';
2
- export { A as ADMIN_API_VERSION, c as AdminElementProps, k as AdminPageRoute, S as SetFieldDetail, w as warnDeprecated } from './plugin-DBHFjM-r.js';
1
+ export { j as ADMIN_ICONS, q as AdminComponent, t as AdminIcon, ah as AuthUser, av as CliCommand, aw as CollectionAccess, az as CollectionConfig, C as Config, aE as ConfigError, aL as DashboardWidget, aV as EasyCMSError, aZ as Endpoint, a_ as EndpointRequest, a$ as ErrorCode, F as Field, b3 as FieldAccess, e as FieldError, b8 as FieldTypeBase, b9 as FieldTypeDefinition, ba as FieldTypeValidateContext, bm as ForbiddenError, bo as GlobalConfig, I as ID, bD as JobConfig, bG as Label, bT as NavGroup, bU as NotFoundError, bW as OnRequest, bX as OnRequestArgs, b_ as PLUGIN_API_VERSION, c3 as PayloadTooLargeError, c4 as Plugin, c5 as PluginInfo, c6 as PluginTypes, c9 as QueryError, ce as RequestContext, cP as TooManyRequestsError, cQ as TypedPlugin, cS as UnauthorizedError, cZ as ValidationError, W as Where, da as defineFieldType, db as definePlugin } from './config-3opRDa7L.js';
2
+ export { A as ADMIN_API_VERSION, c as AdminElementProps, k as AdminPageRoute, S as SetFieldDetail, w as warnDeprecated } from './plugin-D7ra0pjj.js';
3
3
  import './conditions.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easy-cms/core",
3
- "version": "1.32.0",
3
+ "version": "1.34.0",
4
4
  "description": "Embedded, code-first headless CMS for Nuxt and Next.js",
5
5
  "license": "MIT",
6
6
  "type": "module",