Comparing version 0.0.20200606 to 0.0.20200909
@@ -1,2 +0,2 @@ | ||
import { Decoder } from "./decoder"; | ||
import type { Decoder } from "./decoder"; | ||
/** Invoked when a matching TLV element is found. */ | ||
@@ -3,0 +3,0 @@ declare type ElementCallback<T> = (target: T, tlv: Decoder.Tlv) => void; |
@@ -1,3 +0,3 @@ | ||
import { Decoder } from "./decoder"; | ||
import { Encodable } from "./encoder"; | ||
import type { Decoder } from "./decoder"; | ||
import type { Encodable } from "./encoder"; | ||
/** An TLV element that allows extension sub element. */ | ||
@@ -4,0 +4,0 @@ export interface Extensible { |
@@ -17,2 +17,7 @@ import { Encodable, Encoder } from "./encoder"; | ||
} | ||
declare class Nni8Number { | ||
private readonly n; | ||
constructor(n: number); | ||
encodeTo(encoder: Encoder): void; | ||
} | ||
declare type Len = 1 | 2 | 4 | 8; | ||
@@ -29,2 +34,3 @@ interface Options<LenT = Len> { | ||
4: typeof Nni4; | ||
8: typeof Nni8Number; | ||
}; | ||
@@ -31,0 +37,0 @@ /** Create Encodable from non-negative integer. */ |
{ | ||
"name": "@ndn/tlv", | ||
"version": "0.0.20200606", | ||
"version": "0.0.20200909", | ||
"description": "NDNts: TLV", | ||
@@ -15,6 +15,5 @@ "keywords": [ | ||
"type": "module", | ||
"main": "lib/mod.js", | ||
"sideEffects": [ | ||
"./test-fixture/expect.ts" | ||
], | ||
"main": "lib/mod_node.js", | ||
"module": "lib/mod_browser.js", | ||
"sideEffects": false, | ||
"homepage": "https://yoursunny.com/p/NDNts/", | ||
@@ -27,4 +26,5 @@ "repository": { | ||
"dependencies": { | ||
"tslib": "*" | ||
} | ||
"tslib": "^2.0.1" | ||
}, | ||
"types": "lib/mod.d.ts" | ||
} |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 1 instance in 1 package
56243
23
1606
1
1
Updatedtslib@^2.0.1