Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@trezor/utils

Package Overview
Dependencies
Maintainers
4
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trezor/utils - npm Package Compare versions

Comparing version 9.0.21 to 9.0.22

lib/splitStringEveryNCharacters.d.ts

17

CHANGELOG.md

@@ -0,1 +1,18 @@

# 9.0.22
- fix: from g:tsx to local tsx in prepublish script (d21d698b2)
- fix(suite): allow for N screens to be shown on suite (not just hardcoded 2) (a0f1b3c4d)
- chore(suite): autofix newlines (c82455e74)
- chore(utils): remove build step requirement from @trezor/utils (#11176) (6cd3d3c81)
- chore(repo): ESLint refactor + speed up 70% (#11143) (44fa12a79)
- chore: use global tsx (c21d81f66)
- chore: update typescript and use global tsc (84bc9b8bd)
- chore: use global rimraf (5a6759eff)
- chore: update prettier (00fe229e0)
- chore: use global jest (a7e68797d)
- chore: upgrade jest to 29.7.0 (3c656dc0b)
- chore: upgrade jest (004938e24)
- chore: update root dependencies (fac6d99ec)
- chore: updated deprecated jest syntax (d3f8043f0)
# 9.0.21

@@ -2,0 +19,0 @@

16

lib/index.d.ts

@@ -0,1 +1,6 @@

export * as bufferUtils from './bufferUtils';
export * as enumUtils from './enumUtils';
export * as versionUtils from './versionUtils';
export * as xssFilters from './xssFilters';
export * from './addDashesToSpaces';
export * from './arrayDistinct';

@@ -5,3 +10,2 @@ export * from './arrayPartition';

export * from './arrayToDictionary';
export * as bufferUtils from './bufferUtils';
export * from './bytesToHumanReadable';

@@ -15,3 +19,3 @@ export * from './capitalizeFirstLetter';

export * from './createTimeoutPromise';
export * as enumUtils from './enumUtils';
export * from './getLocaleSeparators';
export * from './getNumberFromPixelString';

@@ -33,10 +37,8 @@ export * from './getRandomNumberInRange';

export * from './scheduleAction';
export * from './splitStringEveryNCharacters';
export * from './throwError';
export * from './topologicalSort';
export * from './truncateMiddle';
export * from './topologicalSort';
export * from './typedEventEmitter';
export * from './urlToOnion';
export * as versionUtils from './versionUtils';
export * as xssFilters from './xssFilters';
export * from './getLocaleSeparators';
export * from './addDashesToSpaces';
//# sourceMappingURL=index.d.ts.map

@@ -5,2 +5,7 @@ "use strict";

const tslib_1 = require("tslib");
exports.bufferUtils = tslib_1.__importStar(require("./bufferUtils"));
exports.enumUtils = tslib_1.__importStar(require("./enumUtils"));
exports.versionUtils = tslib_1.__importStar(require("./versionUtils"));
exports.xssFilters = tslib_1.__importStar(require("./xssFilters"));
tslib_1.__exportStar(require("./addDashesToSpaces"), exports);
tslib_1.__exportStar(require("./arrayDistinct"), exports);

@@ -10,3 +15,2 @@ tslib_1.__exportStar(require("./arrayPartition"), exports);

tslib_1.__exportStar(require("./arrayToDictionary"), exports);
exports.bufferUtils = tslib_1.__importStar(require("./bufferUtils"));
tslib_1.__exportStar(require("./bytesToHumanReadable"), exports);

@@ -20,3 +24,3 @@ tslib_1.__exportStar(require("./capitalizeFirstLetter"), exports);

tslib_1.__exportStar(require("./createTimeoutPromise"), exports);
exports.enumUtils = tslib_1.__importStar(require("./enumUtils"));
tslib_1.__exportStar(require("./getLocaleSeparators"), exports);
tslib_1.__exportStar(require("./getNumberFromPixelString"), exports);

@@ -38,10 +42,8 @@ tslib_1.__exportStar(require("./getRandomNumberInRange"), exports);

tslib_1.__exportStar(require("./scheduleAction"), exports);
tslib_1.__exportStar(require("./splitStringEveryNCharacters"), exports);
tslib_1.__exportStar(require("./throwError"), exports);
tslib_1.__exportStar(require("./topologicalSort"), exports);
tslib_1.__exportStar(require("./truncateMiddle"), exports);
tslib_1.__exportStar(require("./topologicalSort"), exports);
tslib_1.__exportStar(require("./typedEventEmitter"), exports);
tslib_1.__exportStar(require("./urlToOnion"), exports);
exports.versionUtils = tslib_1.__importStar(require("./versionUtils"));
exports.xssFilters = tslib_1.__importStar(require("./xssFilters"));
tslib_1.__exportStar(require("./getLocaleSeparators"), exports);
tslib_1.__exportStar(require("./addDashesToSpaces"), exports);
//# sourceMappingURL=index.js.map
{
"name": "@trezor/utils",
"version": "9.0.21",
"version": "9.0.22",
"author": "Trezor <info@trezor.io>",

@@ -17,2 +17,5 @@ "homepage": "https://github.com/trezor/trezor-suite/tree/develop/packages/utils",

"sideEffects": false,
"publishConfig": {
"main": "lib/index"
},
"main": "lib/index",

@@ -25,17 +28,14 @@ "files": [

"lint:js": "yarn g:eslint '**/*.{ts,tsx,js}'",
"test:unit": "jest --verbose -c ../../jest.config.base.js",
"type-check": "tsc --build tsconfig.json",
"build:lib": "rimraf ./lib && yarn tsc --build tsconfig.lib.json",
"test:unit": "yarn g:jest --verbose -c ../../jest.config.base.js",
"type-check": "yarn g:tsc --build tsconfig.json",
"build:lib": "yarn g:rimraf ./lib && yarn g:tsc --build tsconfig.lib.json",
"prepublishOnly": "yarn tsx ../../scripts/prepublishNPM.js",
"prepublish": "yarn tsx ../../scripts/prepublish.js"
},
"devDependencies": {
"jest": "29.5.0",
"rimraf": "^5.0.5",
"tsx": "^4.6.2",
"typescript": "5.3.2"
},
"peerDependencies": {
"tslib": "^2.6.2"
},
"devDependencies": {
"tsx": "^4.7.0"
}
}
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