Browse Source

try: switch to lodash-es as there are issues with imports

master
Marek Piasecki 2 years ago
parent
commit
7832c0c3f1
  1. 2459
      package-lock.json
  2. 13
      package.json
  3. 14
      src/helpers.imba

2459
package-lock.json

File diff suppressed because it is too large

13
package.json

@ -1,6 +1,6 @@
{
"name": "pro-router-imba2",
"version": "1.0.4",
"version": "1.0.5",
"type": "commonjs",
"files": [
"bin",
@ -24,18 +24,13 @@
"test": ""
},
"dependencies": {
"lodash.chunk": "^4.2.0",
"lodash.compact": "^3.0.1",
"lodash.flatten": "^4.4.0",
"lodash.frompairs": "^4.0.1",
"lodash.includes": "^4.3.0",
"lodash.reject": "^4.6.0",
"lodash.topairs": "^4.3.0",
"lodash-es": "^4.17.21",
"pro-router": "^4.3.2"
},
"devDependencies": {
"@types/lodash-es": "^4.17.6",
"imba": "^2.0.0-alpha.226",
"vite": "^3.2.5",
"vite-plugin-imba": "^0.10.1"
"vite-plugin-imba": "^0.10.2"
}
}

14
src/helpers.imba

@ -1,9 +1,9 @@
import compact from 'lodash.compact'
import fromPairs from 'lodash.frompairs'
import chunk from 'lodash.chunk'
import includes from 'lodash.includes'
import reject from 'lodash.reject'
import toPairs from 'lodash.topairs'
import flatten from 'lodash.flatten'
import compact from 'lodash-es/compact'
import fromPairs from 'lodash-es/fromPairs'
import chunk from 'lodash-es/chunk'
import includes from 'lodash-es/includes'
import reject from 'lodash-es/reject'
import toPairs from 'lodash-es/toPairs'
import flatten from 'lodash-es/flatten'
export { compact, fromPairs, chunk, includes, reject, toPairs, flatten }
Loading…
Cancel
Save