@ledgerhq/devices
Advanced tools
Comparing version 7.0.7 to 8.0.0-ios-builds-improvement.0
# @ledgerhq/devices | ||
## 8.0.0-ios-builds-improvement.0 | ||
### Major Changes | ||
- [#1991](https://github.com/LedgerHQ/ledger-live/pull/1991) [`62af25493e`](https://github.com/LedgerHQ/ledger-live/commit/62af25493e2becf897d517af42542db208b971c7) Thanks [@valpinkman](https://github.com/valpinkman)! - Remove the support for imports ending with `/` mapping to the `index.js` file. | ||
For instance: | ||
```js | ||
import { getCryptoCurrencyById } from "@ledgerhq/live-common/currencies/"; | ||
``` | ||
Should be rewritten to: | ||
```js | ||
import { getCryptoCurrencyById } from "@ledgerhq/live-common/currencies/index"; | ||
``` | ||
This trailing slash is poorly supported by some tools like `vite.js` and was meant as a transitional change. | ||
Time has come to remove the support for thos shorthand. | ||
## 7.0.7 | ||
@@ -4,0 +25,0 @@ |
{ | ||
"name": "@ledgerhq/devices", | ||
"version": "7.0.7", | ||
"version": "8.0.0-ios-builds-improvement.0", | ||
"description": "Ledger devices", | ||
@@ -24,17 +24,8 @@ "keywords": [ | ||
"*": { | ||
"lib/*/": [ | ||
"lib/*/index.d.ts" | ||
], | ||
"lib/*": [ | ||
"lib/*" | ||
], | ||
"lib-es/*/": [ | ||
"lib-es/*/index.d.ts" | ||
], | ||
"lib-es/*": [ | ||
"lib-es/*" | ||
], | ||
"*/": [ | ||
"lib/*/index.d.ts" | ||
], | ||
"*": [ | ||
@@ -46,10 +37,6 @@ "lib/*" | ||
"exports": { | ||
"./lib/*/": "./lib/*/index.js", | ||
"./lib/*": "./lib/*.js", | ||
"./lib-es/*/": "./lib-es/*/index.js", | ||
"./lib/*.js": "./lib/*.js", | ||
"./lib-es/*": "./lib-es/*.js", | ||
"./*/": { | ||
"require": "./lib/*/index.js", | ||
"default": "./lib-es/*/index.js" | ||
}, | ||
"./lib-es/*.js": "./lib-es/*.js", | ||
"./*": { | ||
@@ -59,2 +46,6 @@ "require": "./lib/*.js", | ||
}, | ||
"./*.js": { | ||
"require": "./lib/*.js", | ||
"default": "./lib-es/*.js" | ||
}, | ||
".": { | ||
@@ -61,0 +52,0 @@ "require": "./lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
106411
1