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

@ndn/tlv

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ndn/tlv - npm Package Compare versions

Comparing version 0.0.20200606 to 0.0.20200909

lib/decoder_browser.js

2

lib/ev-decoder.d.ts

@@ -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"
}
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