@univerjs/core 0.2.15 → 0.3.0-alpha.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/core",
3
- "version": "0.2.15",
3
+ "version": "0.3.0-alpha.1",
4
4
  "private": false,
5
5
  "description": "Core library for Univer.",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -48,25 +48,25 @@
48
48
  "peerDependencies": {
49
49
  "react": "^16.9.0 || ^17.0.0 || ^18.0.0",
50
50
  "rxjs": ">=7.0.0",
51
- "@univerjs/core": "0.2.15"
51
+ "@univerjs/core": "0.3.0-alpha.1"
52
52
  },
53
53
  "dependencies": {
54
- "@types/lodash.mergewith": "^4.6.9",
55
54
  "@univerjs/protocol": "0.1.39-alpha.15",
56
55
  "@wendellhu/redi": "0.16.1",
57
- "lodash.mergewith": "^4.6.2",
56
+ "lodash-es": "^4.17.21",
58
57
  "nanoid": "5.0.7",
59
58
  "numeral": "^2.0.6",
60
59
  "numfmt": "^2.5.2",
61
60
  "ot-json1": "^1.0.2"
62
61
  },
63
62
  "devDependencies": {
63
+ "@types/lodash-es": "^4.17.12",
64
64
  "@types/numeral": "^2.0.5",
65
65
  "rxjs": "^7.8.1",
66
66
  "typescript": "^5.6.2",
67
- "vite": "^5.4.4",
68
- "vitest": "^2.0.5",
69
- "@univerjs-infra/shared": "0.2.15"
67
+ "vite": "^5.4.8",
68
+ "vitest": "^2.1.1",
69
+ "@univerjs-infra/shared": "0.3.0-alpha.1"
70
70
  },
71
71
  "univerSpace": {
72
72
  ".": {
@@ -1,27 +0,0 @@
1
- /**
2
- * Copyright 2023-present DreamNum Inc.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- type debounceFn<T extends (...args: any[]) => any> = (this: ThisParameterType<T>, ...args: Parameters<T>) => void;
17
- /**
18
- * Creates a debounced function that delays invoking the provided function until after `wait` milliseconds have elapsed since the last time the debounced function was invoked.
19
- * @template T - The type of the function to be debounced.
20
- * @param {T} func - The function to be debounced.
21
- * @param {number} wait - The number of milliseconds to wait before invoking the function.
22
- * @returns {debounceFn<T> & { cancel: () => void }} - The debounced function, which also has a `cancel` method to cancel the scheduled function call.
23
- */
24
- export declare function debounce<T extends (...args: any[]) => any>(func: T, wait: number): debounceFn<T> & {
25
- cancel: () => void;
26
- };
27
- export {};