Socket
Socket
Sign inDemoInstall

token-types

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

token-types - npm Package Compare versions

Comparing version 1.0.4 to 1.1.0

4

lib/index.d.ts

@@ -100,3 +100,3 @@ /// <reference types="node" />

*/
export declare class IgnoreType implements IGetToken<Buffer> {
export declare class IgnoreType implements IGetToken<void> {
len: number;

@@ -107,3 +107,3 @@ /**

constructor(len: number);
get(buf: Buffer, off: number): Buffer;
get(buf: Buffer, off: number): void;
}

@@ -110,0 +110,0 @@ export declare class BufferType implements IGetToken<Buffer> {

@@ -343,3 +343,2 @@ "use strict";

get(buf, off) {
return null;
}

@@ -346,0 +345,0 @@ }

{
"name": "token-types",
"version": "1.0.4",
"version": "1.1.0",
"description": "Common token types for decoding and encoding binairy values",

@@ -40,13 +40,13 @@ "author": {

"devDependencies": {
"@types/chai": "^4.2.3",
"@types/chai": "^4.2.4",
"@types/mocha": "^5.2.5",
"@types/node": "^12.11.1",
"@types/node": "^12.12.3",
"chai": "^4.2.0",
"coveralls": "^3.0.7",
"del-cli": "^3.0.0",
"mocha": "^6.2.1",
"mocha": "^6.2.2",
"nyc": "^14.1.1",
"remark-cli": "^7.0.0",
"remark-preset-lint-recommended": "^3.0.3",
"source-map-support": "^0.5.13",
"source-map-support": "^0.5.16",
"ts-node": "^8.4.1",

@@ -53,0 +53,0 @@ "tslint": "^5.20.0",

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