@thednp/shorty 2.0.0 → 2.0.2

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/dts.config.ts CHANGED
@@ -11,6 +11,7 @@ const config = {
11
11
  outFile: `./dist/${getPackageName()}.d.ts`,
12
12
  noCheck: false,
13
13
  output: {
14
+ exportReferencedTypes: false,
14
15
  umdModuleName: 'SHORTY',
15
16
  noBanner: true,
16
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thednp/shorty",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "description": "TypeScript shorties for the web",
5
5
  "source": "./src/index.ts",
6
6
  "main": "./dist/shorty.js",
@@ -32,33 +32,33 @@
32
32
  },
33
33
  "homepage": "https://github.com/thednp/shorty",
34
34
  "devDependencies": {
35
- "@bahmutov/cypress-esbuild-preprocessor": "^2.2.0",
36
- "@cypress/code-coverage": "^3.12.12",
35
+ "@bahmutov/cypress-esbuild-preprocessor": "^2.2.1",
36
+ "@cypress/code-coverage": "^3.12.43",
37
37
  "@types/istanbul-lib-instrument": "^1.7.7",
38
- "@types/node": "^20.10.0",
38
+ "@types/node": "^20.14.11",
39
39
  "@typescript-eslint/eslint-plugin": "^5.62.0",
40
40
  "@typescript-eslint/parser": "^5.62.0",
41
- "cypress": "^13.6.0",
42
- "dts-bundle-generator": "^8.1.2",
43
- "eslint": "^8.54.0",
44
- "eslint-plugin-jsdoc": "^46.9.0",
41
+ "cypress": "^13.13.1",
42
+ "dts-bundle-generator": "^9.5.1",
43
+ "eslint": "^8.57.0",
44
+ "eslint-plugin-jsdoc": "^46.10.1",
45
45
  "eslint-plugin-prefer-arrow": "^1.2.3",
46
46
  "eslint-plugin-prettier": "^4.2.1",
47
47
  "istanbul-lib-coverage": "^3.2.2",
48
48
  "istanbul-lib-instrument": "^5.2.1",
49
49
  "nyc": "^15.1.0",
50
50
  "prettier": "^2.8.8",
51
- "rimraf": "^5.0.5",
52
- "typescript": "^5.3.2",
53
- "vite": "^4.5.0"
51
+ "rimraf": "^5.0.9",
52
+ "typescript": "^5.5.3",
53
+ "vite": "^5.3.4"
54
54
  },
55
- "packageManager": "pnpm@8.6.12",
56
55
  "engines": {
57
56
  "node": ">=16",
58
57
  "pnpm": ">=8.6.0"
59
58
  },
60
59
  "scripts": {
61
60
  "pre-test": "pnpm clean-coverage",
61
+ "badges": "npx -p dependency-version-badge update-badge typescript prettier cypress eslint vite",
62
62
  "test": "pnpm pre-test && npx cypress run",
63
63
  "clean-coverage": "rimraf coverage .nyc_output",
64
64
  "cypress": "pnpm pre-test && npx cypress open",
package/src/index.ts CHANGED
@@ -477,4 +477,36 @@ export {
477
477
  version,
478
478
  };
479
479
 
480
- export * from './interface/event.d';
480
+ export type {
481
+ NativeEvent,
482
+ ClipboardEvent,
483
+ CompositionEvent,
484
+ DragEvent,
485
+ FocusEvent,
486
+ FormEvent,
487
+ ChangeEvent,
488
+ KeyboardEvent,
489
+ MouseEvent,
490
+ TouchEvent,
491
+ PointerEvent,
492
+ UIEvent,
493
+ WheelEvent,
494
+ AnimationEvent,
495
+ TransitionEvent,
496
+ NativeEventHandler,
497
+ ClipboardEventHandler,
498
+ CompositionEventHandler,
499
+ DragEventHandler,
500
+ FocusEventHandler,
501
+ FormEventHandler,
502
+ ChangeEventHandler,
503
+ KeyboardEventHandler,
504
+ MouseEventHandler,
505
+ TouchEventHandler,
506
+ PointerEventHandler,
507
+ UIEventHandler,
508
+ WheelEventHandler,
509
+ AnimationEventHandler,
510
+ TransitionEventHandler,
511
+ PossibleEventTarget,
512
+ } from './interface/event.d';