This is an automated email from the ASF dual-hosted git repository.

linkinstar pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-answer-plugins.git

commit 5a9afe780d9cb85c64383bfbe66ce88e0e871798
Author: robin <[email protected]>
AuthorDate: Tue May 28 10:52:26 2024 +0800

    chore(embed-basic): update npm dependencies
---
 embed-basic/package.json       |  20 +++---
 embed-basic/pnpm-lock.yaml     | 151 ++++++++++++++++++++---------------------
 embed-basic/tsconfig.node.json |   2 +-
 3 files changed, 86 insertions(+), 87 deletions(-)

diff --git a/embed-basic/package.json b/embed-basic/package.json
index 44d0b89..1e351c6 100644
--- a/embed-basic/package.json
+++ b/embed-basic/package.json
@@ -1,18 +1,18 @@
 {
-  "name": "embed_basic",
+  "name": "embed-basic",
   "version": "0.0.1",
   "description": "",
   "files": [
     "dist",
     "README.md"
   ],
-  "main": "./dist/embed_basic.umd.js",
-  "module": "./dist/embed_basic.es.js",
-  "types": "./dist/embed_basic.d.ts",
+  "main": "./dist/embed-basic.umd.js",
+  "module": "./dist/embed-basic.es.js",
+  "types": "./dist/embed-basic.d.ts",
   "exports": {
     ".": {
-      "import": "./dist/embed_basic.es.js",
-      "require": "./dist/embed_basic.umd.js"
+      "import": "./dist/embed-basic.es.js",
+      "require": "./dist/embed-basic.umd.js"
     }
   },
   "scripts": {
@@ -23,12 +23,14 @@
   "keywords": [],
   "author": "Answer.dev",
   "peerDependencies": {
-    "react": ">=16.14.0",
-    "react-bootstrap": ">2.0.0",
-    "react-dom": ">=16.14.0",
+    "react": "^18.2.0",
+    "react-bootstrap": "^2.10.0",
+    "react-dom": "^18.2.0",
     "react-i18next": "^11.18.3"
   },
   "dependencies": {
+    "@types/react": "^18.0.17",
+    "@types/react-dom": "^18.0.6",
     "@modyfi/vite-plugin-yaml": "^1.1.0",
     "@typescript-eslint/eslint-plugin": "^6.0.0",
     "@typescript-eslint/parser": "^6.0.0",
diff --git a/embed-basic/pnpm-lock.yaml b/embed-basic/pnpm-lock.yaml
index 4f5c67e..907232f 100644
--- a/embed-basic/pnpm-lock.yaml
+++ b/embed-basic/pnpm-lock.yaml
@@ -1,9 +1,19 @@
 lockfileVersion: '6.0'
 
+settings:
+  autoInstallPeers: true
+  excludeLinksFromLockfile: false
+
 dependencies:
   '@modyfi/vite-plugin-yaml':
     specifier: ^1.1.0
     version: 1.1.0([email protected])
+  '@types/react':
+    specifier: ^18.0.17
+    version: 18.3.3
+  '@types/react-dom':
+    specifier: ^18.0.6
+    version: 18.3.0
   '@typescript-eslint/eslint-plugin':
     specifier: ^6.0.0
     version: 
6.0.0(@typescript-eslint/[email protected])([email protected])([email protected])
@@ -23,17 +33,17 @@ dependencies:
     specifier: ^0.4.3
     version: 0.4.3([email protected])
   react:
-    specifier: '>=16.14.0'
-    version: 16.14.0
+    specifier: ^18.2.0
+    version: 18.3.1
   react-bootstrap:
-    specifier: '>2.0.0'
-    version: 2.0.1([email protected])([email protected])
+    specifier: ^2.10.0
+    version: 2.10.2(@types/[email protected])([email protected])([email protected])
   react-dom:
-    specifier: '>=16.14.0'
-    version: 16.14.0([email protected])
+    specifier: ^18.2.0
+    version: 18.3.1([email protected])
   react-i18next:
     specifier: ^11.18.3
-    version: 11.18.3([email protected])([email protected])([email protected])
+    version: 11.18.3([email protected])([email protected])([email protected])
   typescript:
     specifier: ^5.0.2
     version: 5.0.2
@@ -421,59 +431,41 @@ packages:
     resolution: {integrity: 
sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==}
     dev: false
 
-  /@react-aria/[email protected]([email protected]):
+  /@react-aria/[email protected]([email protected]):
     resolution: {integrity: 
sha512-4jmAigVq409qcJvQyuorsmBR4+9r3+JEC60wC+Y0MZV0HCtTmm8D9guYXlJMdx0SSkgj0hHAyFm/HvPNFofCoQ==}
     engines: {node: '>= 12'}
     peerDependencies:
       react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0
     dependencies:
       '@swc/helpers': 0.5.11
-      react: 16.14.0
-    dev: false
-
-  /@restart/[email protected]([email protected]):
-    resolution: {integrity: 
sha512-INJYZQJP7g+IoDUh/475NlGiTeMfwTXUEr3tmRneckHIxNolGOW9CTq83S8cxq0CgJwwcMzMJFchxvlwe7Rk8Q==}
-    peerDependencies:
-      react: '>=16.3.2'
-    dependencies:
-      react: 16.14.0
-    dev: false
-
-  /@restart/[email protected]([email protected]):
-    resolution: {integrity: 
sha512-s984xV/EapUIfkjlf8wz9weP2O9TNKR96C68FfMEy2bE69+H4cNv3RD4Mf97lW7Htt7PjZrYTjSC8f3SB9VCXw==}
-    peerDependencies:
-      react: '>=16.8.0'
-    dependencies:
-      dequal: 2.0.3
-      react: 16.14.0
+      react: 18.3.1
     dev: false
 
-  /@restart/[email protected]([email protected]):
+  /@restart/[email protected]([email protected]):
     resolution: {integrity: 
sha512-f7aCv7c+nU/3mF7NWLtVVr0Ra80RqsO89hO72r+Y/nvQr5+q0UFGkocElTH6MJApvReVh6JHUFYn2cw1WdHF3w==}
     peerDependencies:
       react: '>=16.8.0'
     dependencies:
       dequal: 2.0.3
-      react: 16.14.0
+      react: 18.3.1
     dev: false
 
-  /@restart/[email protected]([email protected])([email protected]):
-    resolution: {integrity: 
sha512-lcutEWPvsxz0uEyRxuysCbHBfXDFnMKNMNTsnuPmLFjZXgW9fVmhksS6rpFklXHMwxOM9g6hRTBq0gS3QRKgzQ==}
+  /@restart/[email protected]([email protected])([email protected]):
+    resolution: {integrity: 
sha512-mUbygUsJcRurjZCt1f77gg4DpheD1D+Sc7J3JjAkysUj7t8m4EBJVOqWC9788Qtbc69cJ+HlJc6jBguKwS8Mcw==}
     peerDependencies:
       react: '>=16.14.0'
       react-dom: '>=16.14.0'
     dependencies:
       '@babel/runtime': 7.24.6
       '@popperjs/core': 2.11.8
-      '@react-aria/ssr': 3.9.4([email protected])
-      '@restart/hooks': 0.4.16([email protected])
+      '@react-aria/ssr': 3.9.4([email protected])
+      '@restart/hooks': 0.4.16([email protected])
       '@types/warning': 3.0.3
       dequal: 2.0.3
       dom-helpers: 5.2.1
-      prop-types: 15.8.1
-      react: 16.14.0
-      react-dom: 16.14.0([email protected])
-      uncontrollable: 7.2.1([email protected])
+      react: 18.3.1
+      react-dom: 18.3.1([email protected])
+      uncontrollable: 8.0.4([email protected])
       warning: 4.0.3
     dev: false
 
@@ -676,10 +668,6 @@ packages:
     resolution: {integrity: 
sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==}
     dev: false
 
-  /@types/[email protected]:
-    resolution: {integrity: 
sha512-IwpIMieE55oGWiXkQPSBY1nw1nFs6bsKXTFskNY8sdS17K24vyEBRQZEwlRS7ZmXCWnJcQtbxWzly+cODWGs2A==}
-    dev: false
-
   /@types/[email protected]:
     resolution: {integrity: 
sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==}
     dev: false
@@ -688,6 +676,12 @@ packages:
     resolution: {integrity: 
sha512-5zvhXYtRNRluoE/jAp4GVsSduVUzNWKkOZrCDBWYtE7biZywwdC2AcEzg+cSMLFRfVgeAFqpfNabiPjxFddV1Q==}
     dev: false
 
+  /@types/[email protected]:
+    resolution: {integrity: 
sha512-EhwApuTmMBmXuFOikhQLIBUn6uFg81SwLMOAUgodJF14SOBOCMdU04gDoYi0WOJJHD144TL32z4yDqCW3dnkQg==}
+    dependencies:
+      '@types/react': 18.3.3
+    dev: false
+
   /@types/[email protected]:
     resolution: {integrity: 
sha512-hT/+s0VQs2ojCX823m60m5f0sL5idt9SO6Tj6Dg+rdphGPIeJbJ6CxvBYkgkGKrYeDjvIpKTR38UzmtHJOGW3Q==}
     dependencies:
@@ -1747,12 +1741,12 @@ packages:
     engines: {node: '>= 0.8.0'}
     dev: false
 
-  /[email protected]([email protected]):
+  /[email protected]([email protected]):
     resolution: {integrity: 
sha512-59+AHNnHYCdiC+vMwY52WmvP5dM3QLeoumYuEyceQDi9aEhtwN9zIQ2ZNo25sMyXnbh32h+P1ezDsUpUH3JAew==}
     peerDependencies:
       react: '>=0.14.0'
     dependencies:
-      react: 16.14.0
+      react: 18.3.1
       react-is: 16.13.1
       warning: 4.0.3
     dev: false
@@ -1774,46 +1768,44 @@ packages:
     resolution: {integrity: 
sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==}
     dev: false
 
-  /[email protected]([email protected])([email protected]):
-    resolution: {integrity: 
sha512-vx4fi3mHWWIzaAOJEzFfmTn/GHtirpASRk0C1PDBW5OZAt/VxLgUt+bvrSSh83eRmInq3wy8mERJMwuyI61KPA==}
+  /[email protected](@types/[email protected])([email protected])([email protected]):
+    resolution: {integrity: 
sha512-UvB7mRqQjivdZNxJNEA2yOQRB7L9N43nBnKc33K47+cH90/ujmnMwatTCwQLu83gLhrzAl8fsa6Lqig/KLghaA==}
     peerDependencies:
+      '@types/react': '>=16.14.8'
       react: '>=16.14.0'
       react-dom: '>=16.14.0'
+    peerDependenciesMeta:
+      '@types/react':
+        optional: true
     dependencies:
       '@babel/runtime': 7.24.6
-      '@restart/context': 2.1.4([email protected])
-      '@restart/hooks': 0.3.27([email protected])
-      '@restart/ui': 0.2.6([email protected])([email protected])
-      '@types/invariant': 2.2.37
-      '@types/prop-types': 15.7.12
+      '@restart/hooks': 0.4.16([email protected])
+      '@restart/ui': 1.6.9([email protected])([email protected])
       '@types/react': 18.3.3
       '@types/react-transition-group': 4.4.10
-      '@types/warning': 3.0.3
       classnames: 2.5.1
       dom-helpers: 5.2.1
       invariant: 2.2.4
       prop-types: 15.8.1
-      prop-types-extra: 1.1.1([email protected])
-      react: 16.14.0
-      react-dom: 16.14.0([email protected])
-      react-transition-group: 4.4.5([email protected])([email protected])
-      uncontrollable: 7.2.1([email protected])
+      prop-types-extra: 1.1.1([email protected])
+      react: 18.3.1
+      react-dom: 18.3.1([email protected])
+      react-transition-group: 4.4.5([email protected])([email protected])
+      uncontrollable: 7.2.1([email protected])
       warning: 4.0.3
     dev: false
 
-  /[email protected]([email protected]):
-    resolution: {integrity: 
sha512-1gCeQXDLoIqMgqD3IO2Ah9bnf0w9kzhwN5q4FGnHZ67hBm9yePzB5JJAIQCc8x3pFnNlwFq4RidZggNAAkzWWw==}
+  /[email protected]([email protected]):
+    resolution: {integrity: 
sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==}
     peerDependencies:
-      react: ^16.14.0
+      react: ^18.3.1
     dependencies:
       loose-envify: 1.4.0
-      object-assign: 4.1.1
-      prop-types: 15.8.1
-      react: 16.14.0
-      scheduler: 0.19.1
+      react: 18.3.1
+      scheduler: 0.23.2
     dev: false
 
-  /[email protected]([email protected])([email protected])([email protected]):
+  /[email protected]([email protected])([email protected])([email protected]):
     resolution: {integrity: 
sha512-EttTX31HbqzZymUM3SIrMPuvamfSXFZVsDHm/ZAqoDfTLjhzlwyxqfbDNxcKNAGOi2mjZaXfR7hSNMlvLNpB/g==}
     peerDependencies:
       i18next: '>= 19.0.0'
@@ -1829,8 +1821,8 @@ packages:
       '@babel/runtime': 7.24.6
       html-parse-stringify: 3.0.1
       i18next: 23.11.5
-      react: 16.14.0
-      react-dom: 16.14.0([email protected])
+      react: 18.3.1
+      react-dom: 18.3.1([email protected])
     dev: false
 
   /[email protected]:
@@ -1841,7 +1833,7 @@ packages:
     resolution: {integrity: 
sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA==}
     dev: false
 
-  /[email protected]([email protected])([email protected]):
+  /[email protected]([email protected])([email protected]):
     resolution: {integrity: 
sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g==}
     peerDependencies:
       react: '>=16.6.0'
@@ -1851,17 +1843,15 @@ packages:
       dom-helpers: 5.2.1
       loose-envify: 1.4.0
       prop-types: 15.8.1
-      react: 16.14.0
-      react-dom: 16.14.0([email protected])
+      react: 18.3.1
+      react-dom: 18.3.1([email protected])
     dev: false
 
-  /[email protected]:
-    resolution: {integrity: 
sha512-0X2CImDkJGApiAlcf0ODKIneSwBPhqJawOa5wCtKbu7ZECrmS26NvtSILynQ66cgkT/RJ4LidJOc3bUESwmU8g==}
+  /[email protected]:
+    resolution: {integrity: 
sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==}
     engines: {node: '>=0.10.0'}
     dependencies:
       loose-envify: 1.4.0
-      object-assign: 4.1.1
-      prop-types: 15.8.1
     dev: false
 
   /[email protected]:
@@ -1916,11 +1906,10 @@ packages:
       queue-microtask: 1.2.3
     dev: false
 
-  /[email protected]:
-    resolution: {integrity: 
sha512-n/zwRWRYSUj0/3g/otKDRPMh6qv2SYMWNq85IEa8iZyAv8od9zDYpGSnpBEjNgcMNq6Scbu5KfIPxNF72R/2EA==}
+  /[email protected]:
+    resolution: {integrity: 
sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==}
     dependencies:
       loose-envify: 1.4.0
-      object-assign: 4.1.1
     dev: false
 
   /[email protected]:
@@ -2062,7 +2051,7 @@ packages:
     hasBin: true
     dev: false
 
-  /[email protected]([email protected]):
+  /[email protected]([email protected]):
     resolution: {integrity: 
sha512-svtcfoTADIB0nT9nltgjujTi7BzVmwjZClOmskKu/E8FW9BXzg9os8OLr4f8Dlnk0rYWJIWr4wv9eKUXiQvQwQ==}
     peerDependencies:
       react: '>=15.0.0'
@@ -2070,10 +2059,18 @@ packages:
       '@babel/runtime': 7.24.6
       '@types/react': 18.3.3
       invariant: 2.2.4
-      react: 16.14.0
+      react: 18.3.1
       react-lifecycles-compat: 3.0.4
     dev: false
 
+  /[email protected]([email protected]):
+    resolution: {integrity: 
sha512-ulRWYWHvscPFc0QQXvyJjY6LIXU56f0h8pQFvhxiKk5V1fcI8gp9Ht9leVAhrVjzqMw0BgjspBINx9r6oyJUvQ==}
+    peerDependencies:
+      react: '>=16.14.0'
+    dependencies:
+      react: 18.3.1
+    dev: false
+
   /[email protected]:
     resolution: {integrity: 
sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==}
     engines: {node: '>= 4.0.0'}
diff --git a/embed-basic/tsconfig.node.json b/embed-basic/tsconfig.node.json
index 42872c5..6eeef8b 100644
--- a/embed-basic/tsconfig.node.json
+++ b/embed-basic/tsconfig.node.json
@@ -6,5 +6,5 @@
     "moduleResolution": "bundler",
     "allowSyntheticDefaultImports": true
   },
-  "include": ["vite.config.ts"]
+  "include": ["vite.config.ts"],
 }

Reply via email to