@agencecinq/utils 5.0.0 → 5.0.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.
@@ -8,6 +8,6 @@
8
8
  rendering chunks (1)...
9
9
  [vite:dts] Start generate declaration files...
10
10
  computing gzip size (0)...computing gzip size (1)...dist/index.js 3.66 kB │ gzip: 1.66 kB
11
- [vite:dts] Declaration files built in 1427ms.
11
+ [vite:dts] Declaration files built in 1458ms.
12
12
  
13
- ✓ built in 1.61s
13
+ ✓ built in 1.65s
package/dist/index.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- export * from './events';
2
- export * from './scroll';
3
- export * from './throttle';
4
- export * from './environment';
5
- export * from './focus-trap';
6
- export * from './keycode';
7
- export * from './clamp';
1
+ export * from './events.js';
2
+ export * from './scroll.js';
3
+ export * from './throttle.js';
4
+ export * from './environment.js';
5
+ export * from './focus-trap.js';
6
+ export * from './keycode.js';
7
+ export * from './clamp.js';
8
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agencecinq/utils",
3
- "version": "5.0.0",
3
+ "version": "5.0.1",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,4 +1,4 @@
1
- import { throttle } from "./throttle";
1
+ import { throttle } from "./throttle.js";
2
2
 
3
3
  const html = document.documentElement;
4
4
  const { body } = document;
package/src/index.ts CHANGED
@@ -1,7 +1,7 @@
1
- export * from './events';
2
- export * from './scroll';
3
- export * from './throttle';
4
- export * from './environment';
5
- export * from './focus-trap';
6
- export * from './keycode';
7
- export * from './clamp';
1
+ export * from './events.js';
2
+ export * from './scroll.js';
3
+ export * from './throttle.js';
4
+ export * from './environment.js';
5
+ export * from './focus-trap.js';
6
+ export * from './keycode.js';
7
+ export * from './clamp.js';
package/src/scroll.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { html, body, scroll } from "./environment";
1
+ import { html, body, scroll } from "./environment.js";
2
2
 
3
3
 
4
4
  /**
package/vite.config.ts CHANGED
@@ -11,7 +11,7 @@ export default defineConfig({
11
11
  },
12
12
  },
13
13
  plugins: [
14
- dts({
14
+ dts({
15
15
  insertTypesEntry: true,
16
16
  })
17
17
  ]