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

protons-runtime

Package Overview
Dependencies
Maintainers
2
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

protons-runtime - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

dist/src/utils.d.ts

2

dist/src/decode.js

@@ -1,2 +0,2 @@

import { reader } from './reader.js';
import { reader } from './utils.js';
export function decodeMessage(buf, codec) {

@@ -3,0 +3,0 @@ const r = reader(buf instanceof Uint8Array ? buf : buf.subarray());

@@ -1,2 +0,2 @@

import { writer } from './writer.js';
import { writer } from './utils.js';
export function encodeMessage(message, codec) {

@@ -3,0 +3,0 @@ const w = writer();

@@ -13,4 +13,3 @@ import type { Codec } from './codec.js';

export { message } from './codecs/message.js';
export { reader } from './reader.js';
export { writer } from './writer.js';
export { reader, writer } from './utils.js';
export type { Codec, EncodeOptions } from './codec.js';

@@ -17,0 +16,0 @@ export interface Writer {

@@ -5,4 +5,3 @@ export { decodeMessage } from './decode.js';

export { message } from './codecs/message.js';
export { reader } from './reader.js';
export { writer } from './writer.js';
export { reader, writer } from './utils.js';
//# sourceMappingURL=index.js.map
{
"name": "protons-runtime",
"version": "4.0.0",
"version": "4.0.1",
"description": "Shared code to make your bundle smaller when running protons in your app",

@@ -5,0 +5,0 @@ "license": "Apache-2.0 OR MIT",

import type { Uint8ArrayList } from 'uint8arraylist'
import type { Codec } from './codec.js'
import { reader } from './reader.js'
import { reader } from './utils.js'

@@ -5,0 +5,0 @@ export function decodeMessage <T> (buf: Uint8Array | Uint8ArrayList, codec: Codec<T>): T {

import type { Codec } from './codec.js'
import { writer } from './writer.js'
import { writer } from './utils.js'

@@ -4,0 +4,0 @@ export function encodeMessage <T> (message: T, codec: Codec<T>): Uint8Array {

@@ -21,4 +21,3 @@ import type { Codec } from './codec.js'

export { message } from './codecs/message.js'
export { reader } from './reader.js'
export { writer } from './writer.js'
export { reader, writer } from './utils.js'
export type { Codec, EncodeOptions } from './codec.js'

@@ -25,0 +24,0 @@

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

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