@netless/app-presentation 0.1.9 → 0.1.10

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": "@netless/app-presentation",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "description": "Netless App for presentation slides (images)",
5
5
  "author": "netless",
6
6
  "license": "MIT",
@@ -41,14 +41,12 @@
41
41
  "@wopjs/dom": "^0.1.3",
42
42
  "esbuild": "^0.20.2",
43
43
  "jspdf": "^2.5.1",
44
+ "lodash": "^4.17.21",
44
45
  "rollup": "^4.13.1",
45
46
  "sass": "^1.72.0",
46
47
  "vanilla-lazyload": "^18.0.0",
47
48
  "vite": "^5.2.6",
48
49
  "white-web-sdk": "^2.16.53",
49
50
  "@netless/appliance-plugin": "1.1.22-beta.11"
50
- },
51
- "dependencies": {
52
- "lodash": "^4.17.21"
53
51
  }
54
52
  }
@@ -7,7 +7,7 @@ import styles from './style.scss?inline';
7
7
  import { Presentation, type PresentationConfig, type PresentationPage } from "./presentation";
8
8
  import { readable, type Readable } from "./store";
9
9
  import { Scrollbar, type ScrollbarEventCallback } from "./scrollbar";
10
- import { debounce } from "lodash";
10
+ import debounce from "lodash/debounce";
11
11
 
12
12
  export type Logger = (...data: any[]) => void
13
13
 
@@ -1,7 +1,8 @@
1
1
  import './style.scss?inline';
2
2
  import type { View, AnimationMode } from "@netless/window-manager";
3
3
  import { makeDraggable } from "./Draggable";
4
- import { debounce, isNumber } from 'lodash';
4
+ import debounce from "lodash/debounce";
5
+ import isNumber from "lodash/isNumber";
5
6
 
6
7
  export interface ScrollbarOption {
7
8
  appId: string;
@@ -295,4 +296,4 @@ export class Scrollbar {
295
296
  this.option.syncView();
296
297
  }
297
298
 
298
- }
299
+ }