@cosmjs/encoding
Advanced tools
Comparing version 0.28.11 to 0.29.0-alpha.1
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
@@ -6,4 +6,3 @@ "use strict"; | ||
function padded(integer, length = 2) { | ||
const filled = "00000" + integer.toString(); | ||
return filled.substring(filled.length - length); | ||
return integer.toString().padStart(length, "0"); | ||
} | ||
@@ -10,0 +9,0 @@ function fromRfc3339(str) { |
{ | ||
"name": "@cosmjs/encoding", | ||
"version": "0.28.11", | ||
"version": "0.29.0-alpha.1", | ||
"description": "Encoding helpers for blockchain projects", | ||
@@ -51,3 +51,3 @@ "contributors": [ | ||
"@types/eslint-plugin-prettier": "^3", | ||
"@types/jasmine": "^3.8", | ||
"@types/jasmine": "^4", | ||
"@types/karma-firefox-launcher": "^2", | ||
@@ -67,3 +67,3 @@ "@types/karma-jasmine": "^4", | ||
"glob": "^7.1.6", | ||
"jasmine": "^3.99", | ||
"jasmine": "^4", | ||
"jasmine-spec-reporter": "^6", | ||
@@ -73,3 +73,3 @@ "karma": "^6.3.14", | ||
"karma-firefox-launcher": "^2.1.0", | ||
"karma-jasmine": "^4.0.1", | ||
"karma-jasmine": "^5", | ||
"karma-jasmine-html-reporter": "^1.5.4", | ||
@@ -82,6 +82,7 @@ "nyc": "^15.1.0", | ||
"typedoc": "^0.22", | ||
"typescript": "~4.4", | ||
"typescript": "~4.6", | ||
"webpack": "^5.32.0", | ||
"webpack-cli": "^4.6.0" | ||
} | ||
}, | ||
"stableVersion": "0.28.11" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
24044
23
295