@atlaskit/editor-plugin-autocomplete 7.0.0 → 8.0.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
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/editor-plugin-autocomplete
2
2
 
3
+ ## 8.0.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 7.0.0
4
10
 
5
11
  ### Major Changes
package/compass.yml CHANGED
@@ -1,7 +1,7 @@
1
1
  configVersion: 1
2
2
  id: ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:component/c5751cc6-3513-4070-9deb-af31e86aed34/45ef6a6c-98b8-4615-940d-e9013db36999
3
3
  name: '@atlaskit/editor-plugin-autocomplete'
4
- ownerId: ari:cloud:identity::team/0250ee69-f755-47fd-a468-bf8a9d10a3c5 # Editor AI
4
+ ownerId: ari:cloud:identity::team/cf6a670b-5252-4c68-a769-9207de366beb # Editor Developers
5
5
  labels:
6
6
  - platform-code
7
7
  - platform-afm
@@ -23,7 +23,7 @@ links:
23
23
  customFields:
24
24
  - name: Department
25
25
  type: text
26
- value: Eng - Editor AI
26
+ value: Editor Developers
27
27
  - name: Trusted Reviewer Teams
28
28
  type: text
29
29
  value: ari:cloud:identity::team/cf6a670b-5252-4c68-a769-9207de366beb
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-autocomplete",
3
- "version": "7.0.0",
3
+ "version": "8.0.0",
4
4
  "description": "Client-side text autocomplete plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -27,8 +27,8 @@
27
27
  "wink-nlp": "^2.4.0"
28
28
  },
29
29
  "peerDependencies": {
30
- "@atlaskit/editor-common": "^118.2.0",
31
- "@atlaskit/editor-plugin-analytics": "^14.0.0",
30
+ "@atlaskit/editor-common": "^119.0.0",
31
+ "@atlaskit/editor-plugin-analytics": "^15.0.0",
32
32
  "react": "^18.2.0 || ^19.2.0"
33
33
  },
34
34
  "techstack": {
@@ -766,9 +766,11 @@ export const loadVectorsAsync = async (options?: {
766
766
  ARTIFACT_NAME.WORD_INDEX,
767
767
  );
768
768
  const wrappedIndex = wordIndexPayload?.index;
769
- const wordIndex = (typeof wrappedIndex === 'object' && wrappedIndex !== null
770
- ? wrappedIndex
771
- : (wordIndexPayload ?? {})) as Record<string, number>;
769
+ const wordIndex = (
770
+ typeof wrappedIndex === 'object' && wrappedIndex !== null
771
+ ? wrappedIndex
772
+ : (wordIndexPayload ?? {})
773
+ ) as Record<string, number>;
772
774
  const nWords = Object.keys(wordIndex).length;
773
775
  if (nWords === 0) {
774
776
  // eslint-disable-next-line no-console