@karta.io/utils 0.31.1 → 0.31.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/README.md CHANGED
@@ -41,7 +41,7 @@
41
41
  Нужно использовать пакеты `lodash` вместо `lodash-es` и импорт в виде
42
42
 
43
43
  ```js
44
- import camelCase from 'lodash/camelCase';
44
+ import camelCase from 'lodash/camelCase.js';
45
45
  ```
46
46
 
47
47
  Чтобы небыло конфликтов в vite.config при использовании, к примеру, `UiComponentsResolver`
package/dist/index.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- const camelCase = require('lodash/camelCase');
3
+ const camelCase = require('lodash/camelCase.js');
4
4
  const libphonenumberJs = require('libphonenumber-js');
5
- const snakeCase = require('lodash/snakeCase');
5
+ const snakeCase = require('lodash/snakeCase.js');
6
6
  const vue = require('vue');
7
7
  const core = require('@vueuse/core');
8
8
  const dayjs = require('dayjs');
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
- import camelCase from 'lodash/camelCase';
1
+ import camelCase from 'lodash/camelCase.js';
2
2
  import { parsePhoneNumberFromString } from 'libphonenumber-js';
3
- import snakeCase from 'lodash/snakeCase';
3
+ import snakeCase from 'lodash/snakeCase.js';
4
4
  import { ref, computed, onBeforeUnmount } from 'vue';
5
5
  import { useDebounceFn } from '@vueuse/core';
6
6
  import dayjs from 'dayjs';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@karta.io/utils",
3
- "version": "0.31.1",
3
+ "version": "0.31.2",
4
4
  "description": "karta.io utils for admin and application",
5
5
  "author": "Vitaly Blokhin <karambafe@gmail.com>",
6
6
  "homepage": "",
@@ -23,7 +23,7 @@
23
23
  "vue": "3.2.x"
24
24
  },
25
25
  "dependencies": {
26
- "@karta.io/common-data": "^0.31.1",
26
+ "@karta.io/common-data": "^0.31.2",
27
27
  "@vueuse/core": "9.13.0",
28
28
  "dayjs": "1.11.7",
29
29
  "detect-browser": "5.3.0",