@springworks/random-string
Advanced tools
Comparing version 3005.14.3 to 3005.76.0
@@ -20,3 +20,2 @@ "use strict"; | ||
it('has flat distribution', () => { | ||
var _a; | ||
const count = 100 * 1000; | ||
@@ -29,3 +28,3 @@ const length = 5; | ||
for (const char of id) { | ||
const char_count = (_a = char_count_map.get(char)) !== null && _a !== void 0 ? _a : 0; | ||
const char_count = char_count_map.get(char) ?? 0; | ||
char_count_map.set(char, char_count + 1); | ||
@@ -32,0 +31,0 @@ } |
"use strict"; | ||
// tslint:disable: no-submodule-imports | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -4,0 +3,0 @@ exports.getRandomString = exports.alphabet_09_az_AZ = exports.alphabet_09_az = exports.alphabet_az = exports.alphabet_09_af = exports.alphabet_09 = void 0; |
@@ -6,2 +6,10 @@ # Change Log | ||
# [3005.76.0](https://github.com/Springworks/m2h-mono/compare/v3005.75.2...v3005.76.0) (2021-08-23) | ||
**Note:** Version bump only for package @springworks/random-string | ||
## [3005.14.3](https://github.com/Springworks/m2h-mono/compare/v3005.14.2...v3005.14.3) (2020-12-23) | ||
@@ -8,0 +16,0 @@ |
{ | ||
"name": "@springworks/random-string", | ||
"version": "3005.14.3", | ||
"version": "3005.76.0", | ||
"description": "Generate random strings", | ||
@@ -10,6 +10,3 @@ "main": "build/main.js", | ||
], | ||
"scripts": { | ||
"lint": "tslint --project tsconfig.json --format stylish", | ||
"lint-fix": "tslint --project tsconfig.json --format stylish --fix" | ||
}, | ||
"scripts": {}, | ||
"dependencies": { | ||
@@ -27,3 +24,3 @@ "nanoid": "^3.1.20" | ||
"homepage": "https://github.com/Springworks/m2h-mono/tree/master/packages/random-string#readme", | ||
"gitHead": "f57b7b7a1714819794a145da80c3a674aeb42379" | ||
"gitHead": "ab6e347684e7a8e77b4e87fb8940039899036d0c" | ||
} |
Sorry, the diff of this file is not supported yet
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
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
23427
167