Socket
Socket
Sign inDemoInstall

@ledgerhq/devices

Package Overview
Dependencies
Maintainers
20
Versions
261
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ledgerhq/devices - npm Package Compare versions

Comparing version 7.0.7 to 8.0.0-ios-builds-improvement.0

21

CHANGELOG.md
# @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 @@

23

package.json
{
"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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc