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

tsbuffer

Package Overview
Dependencies
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tsbuffer - npm Package Compare versions

Comparing version 2.0.4 to 2.0.5-dev.0

13

index.d.ts
/*!
* TSBuffer v2.0.4
* TSBuffer v2.0.5-dev.0
* -----------------------------------------

@@ -8,2 +8,3 @@ * MIT LICENSE

*/
import { CustomTypeSchema } from 'tsbuffer-schema';
import { TSBufferProto } from 'tsbuffer-schema';

@@ -55,3 +56,3 @@ import { TSBufferSchema } from 'tsbuffer-schema';

export declare class TSBuffer<Proto extends TSBufferProto = TSBufferProto> {
constructor(proto: Proto, options?: Partial<TSBufferOptions>);

@@ -112,4 +113,12 @@ /**

cloneProto?: boolean;
/**
* Append `CustomTypeSchema` to given schema,
* to customize validate & encode methods for specific types.
* For example 'mongodb/ObjectId'.
*/
customTypes?: {
[schemaId: string]: CustomTypeSchema;
};
}
export { }

26

package.json
{
"name": "tsbuffer",
"version": "2.0.4",
"version": "2.0.5-dev.0",
"description": "",

@@ -15,18 +15,18 @@ "main": "index.cjs",

"dependencies": {
"k8w-extend-native": "^1.4.5",
"tsbuffer-validator": "^2.0.4",
"tslib": "^2.3.0"
"k8w-extend-native": "^1.4.6",
"tsbuffer-validator": "^2.0.5-dev.0",
"tslib": "^2.3.1"
},
"devDependencies": {
"@microsoft/api-documenter": "^7.13.24",
"@microsoft/api-extractor": "^7.16.1",
"@types/mocha": "^8.2.2",
"@types/node": "^15.12.5",
"mocha": "^9.0.1",
"@microsoft/api-documenter": "^7.13.63",
"@microsoft/api-extractor": "^7.18.16",
"@types/mocha": "^8.2.3",
"@types/node": "^15.14.9",
"mocha": "^9.1.3",
"nyc": "^15.1.0",
"rollup": "^2.52.3",
"rollup": "^2.58.0",
"rollup-plugin-typescript2": "^0.30.0",
"ts-node": "^10.0.0",
"tsbuffer-proto-generator": "^1.4.2",
"typescript": "^4.3.4"
"ts-node": "^10.3.0",
"tsbuffer-proto-generator": "^1.4.9-dev.0",
"typescript": "^4.4.4"
},

@@ -33,0 +33,0 @@ "scripts": {

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

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