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

@enonic-types/lib-io

Package Overview
Dependencies
Maintainers
3
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@enonic-types/lib-io - npm Package Compare versions

Comparing version 7.11.0 to 7.11.1

14

io.d.ts

@@ -14,4 +14,4 @@ /**

}
import type { Resource } from '@enonic-types/core';
export type { Resource } from '@enonic-types/core';
import type { ByteSource, Resource } from '@enonic-types/core';
export type { ByteSource, Resource, } from '@enonic-types/core';
/**

@@ -25,3 +25,3 @@ * Read text from a stream.

*/
export declare function readText(stream: object): string;
export declare function readText(stream: ByteSource): string;
/**

@@ -35,3 +35,3 @@ * Read lines from a stream.

*/
export declare function readLines(stream: object): string[];
export declare function readLines(stream: ByteSource): string[];
/**

@@ -45,3 +45,3 @@ * Process lines from a stream.

*/
export declare function processLines(stream: object, func: (value: string) => object): void;
export declare function processLines(stream: ByteSource, func: (value: string) => void): void;
/**

@@ -55,3 +55,3 @@ * Returns the size of a stream.

*/
export declare function getSize(stream: object): number;
export declare function getSize(stream: ByteSource): number;
/**

@@ -74,3 +74,3 @@ * Returns the mime-type from a name or extension.

*/
export declare function newStream(text: string): object;
export declare function newStream(text: string): ByteSource;
/**

@@ -77,0 +77,0 @@ * Looks up a resource.

{
"name": "@enonic-types/lib-io",
"version": "7.11.0",
"version": "7.11.1",
"description": "Type definitions for lib-io.",

@@ -30,3 +30,3 @@ "types": "io.d.ts",

"dependencies": {
"@enonic-types/core": "7.11.0"
"@enonic-types/core": "7.11.1"
},

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

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