@stablelib/base64
Advanced tools
Comparing version 0.7.2 to 1.0.0
// Copyright (C) 2016 Dmitry Chestnykh | ||
// MIT License. See LICENSE file for details. | ||
/** | ||
* Package base64 implements Base64 encoding and decoding. | ||
*/ | ||
// Invalid character used in decoding to indicate | ||
@@ -10,3 +14,3 @@ // that the character to decode is out of range of | ||
/** | ||
* Implements standard Base64-encoding. | ||
* Implements standard Base64 encoding. | ||
* | ||
@@ -13,0 +17,0 @@ * Operates in constant time. |
/** | ||
* Implements standard Base64-encoding. | ||
* Implements standard Base64 encoding. | ||
* | ||
@@ -16,3 +16,3 @@ * Operates in constant time. | ||
protected _decodeChar(c: number): number; | ||
private _getPaddingLength(s); | ||
private _getPaddingLength; | ||
} | ||
@@ -19,0 +19,0 @@ export declare function encode(data: Uint8Array): string; |
@@ -5,5 +5,8 @@ "use strict"; | ||
var __extends = (this && this.__extends) || (function () { | ||
var extendStatics = Object.setPrototypeOf || | ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; | ||
var extendStatics = function (d, b) { | ||
extendStatics = Object.setPrototypeOf || | ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; | ||
return extendStatics(d, b); | ||
}; | ||
return function (d, b) { | ||
@@ -16,2 +19,5 @@ extendStatics(d, b); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/** | ||
* Package base64 implements Base64 encoding and decoding. | ||
*/ | ||
// Invalid character used in decoding to indicate | ||
@@ -22,7 +28,7 @@ // that the character to decode is out of range of | ||
/** | ||
* Implements standard Base64-encoding. | ||
* Implements standard Base64 encoding. | ||
* | ||
* Operates in constant time. | ||
*/ | ||
var Coder = (function () { | ||
var Coder = /** @class */ (function () { | ||
// TODO(dchest): methods to encode chunk-by-chunk. | ||
@@ -219,3 +225,3 @@ function Coder(_paddingCharacter) { | ||
*/ | ||
var URLSafeCoder = (function (_super) { | ||
var URLSafeCoder = /** @class */ (function (_super) { | ||
__extends(URLSafeCoder, _super); | ||
@@ -222,0 +228,0 @@ function URLSafeCoder() { |
{ | ||
"name": "@stablelib/base64", | ||
"version": "0.7.2", | ||
"version": "1.0.0", | ||
"description": "Base64 encoding and decoding", | ||
@@ -18,4 +18,5 @@ "main": "./lib/base64.js", | ||
"devDependencies": { | ||
"@stablelib/benchmark": "^0.5.0" | ||
} | ||
"@stablelib/benchmark": "^1.0.0" | ||
}, | ||
"gitHead": "c3b9e138650642a738a9225956c75dbe44c76ae6" | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
792
1
45893