New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@planetarium/bencodex

Package Overview
Dependencies
Maintainers
6
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@planetarium/bencodex - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

2

esm/mod.js

@@ -15,3 +15,3 @@ /**

export { encode, encodeInto, estimateSize, } from "./src/encoder.js";
export { areKeysEqual, isDictionary, isKey, } from "./src/types.js";
export { areDictionariesEqual, areKeysEqual, areValuesEqual, isDictionary, isKey, } from "./src/types.js";
export { BencodexDictionary, isRecordValue, RecordView, } from "./src/dict.js";

@@ -6,3 +6,3 @@ {

"name": "@planetarium/bencodex",
"version": "0.2.1",
"version": "0.2.2",
"description": "An alternative take on implementing Bencodex in TypeScript/JavaScript",

@@ -9,0 +9,0 @@ "keywords": [

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RecordView = exports.isRecordValue = exports.BencodexDictionary = exports.isKey = exports.isDictionary = exports.areKeysEqual = exports.estimateSize = exports.encodeInto = exports.encode = exports.DecodingError = exports.decodeValue = exports.decode = void 0;
exports.RecordView = exports.isRecordValue = exports.BencodexDictionary = exports.isKey = exports.isDictionary = exports.areValuesEqual = exports.areKeysEqual = exports.areDictionariesEqual = exports.estimateSize = exports.encodeInto = exports.encode = exports.DecodingError = exports.decodeValue = exports.decode = void 0;
/**

@@ -25,3 +25,5 @@ * This façade module exports the public API of this package.

var types_js_1 = require("./src/types.js");
Object.defineProperty(exports, "areDictionariesEqual", { enumerable: true, get: function () { return types_js_1.areDictionariesEqual; } });
Object.defineProperty(exports, "areKeysEqual", { enumerable: true, get: function () { return types_js_1.areKeysEqual; } });
Object.defineProperty(exports, "areValuesEqual", { enumerable: true, get: function () { return types_js_1.areValuesEqual; } });
Object.defineProperty(exports, "isDictionary", { enumerable: true, get: function () { return types_js_1.isDictionary; } });

@@ -28,0 +30,0 @@ Object.defineProperty(exports, "isKey", { enumerable: true, get: function () { return types_js_1.isKey; } });

@@ -15,3 +15,3 @@ /**

export { encode, encodeInto, type EncodingOptions, estimateSize, type NonAllocEncodingOptions, } from "./src/encoder.js";
export { areKeysEqual, type Dictionary, isDictionary, isKey, type Key, type Value, } from "./src/types.js";
export { areDictionariesEqual, areKeysEqual, areValuesEqual, type Dictionary, isDictionary, isKey, type Key, type Value, } from "./src/types.js";
export { BencodexDictionary, isRecordValue, type RecordValue, RecordView, } from "./src/dict.js";
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