Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoSign in
Socket

keynote-parser2

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

keynote-parser2 - npm Package Compare versions

Comparing version
0.1.0
to
0.2.0
+2
-0
lib/parse/parse-iwa-protobuf-archive-info.d.ts

@@ -5,2 +5,4 @@ /// <reference types="node" />

* Parse IWA protobuf archive info
*
* @see https://github.com/obriensp/iWorkFileFormat/blob/master/Docs/index.md#protobuf
*/

@@ -7,0 +9,0 @@ export declare const parseIwaProtobufArchiveInfo: (data: Buffer, cursor: number) => {

+2
-1

@@ -12,2 +12,4 @@ "use strict";

* Parse IWA protobuf archive info
*
* @see https://github.com/obriensp/iWorkFileFormat/blob/master/Docs/index.md#protobuf
*/

@@ -35,3 +37,2 @@ const parseIwaProtobufArchiveInfo = (data, cursor) => {

messages.push({
messageInfo,
messageProtoName,

@@ -38,0 +39,0 @@ message,

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

* Parse IWA protobuf data
*
* @see https://github.com/obriensp/iWorkFileFormat/blob/master/Docs/index.md#protobuf
*/
export declare const parseIwaProtobuf: (data: Buffer) => IwaData;

@@ -7,2 +7,4 @@ "use strict";

* Parse IWA protobuf data
*
* @see https://github.com/obriensp/iWorkFileFormat/blob/master/Docs/index.md#protobuf
*/

@@ -9,0 +11,0 @@ const parseIwaProtobuf = (data) => {

/// <reference types="node" />
/**
* Parse IWA file snappy-compressed data
*
* @see https://github.com/obriensp/iWorkFileFormat/blob/master/Docs/index.md#snappy-compression
*/
export declare const parseIwaSnappy: (data: Buffer) => Promise<Buffer>;

@@ -7,2 +7,4 @@ "use strict";

* Parse IWA file snappy-compressed data
*
* @see https://github.com/obriensp/iWorkFileFormat/blob/master/Docs/index.md#snappy-compression
*/

@@ -9,0 +11,0 @@ const parseIwaSnappy = async (data) => {

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

* Parse IWA file data
*
* @see https://github.com/obriensp/iWorkFileFormat/blob/master/Docs/index.md#iwa
*/
export declare const parseIwa: (data: Buffer) => Promise<IwaData>;

@@ -8,2 +8,4 @@ "use strict";

* Parse IWA file data
*
* @see https://github.com/obriensp/iWorkFileFormat/blob/master/Docs/index.md#iwa
*/

@@ -10,0 +12,0 @@ const parseIwa = async (data) => {

/**
* Parse and output a keynote file
*
* @see https://github.com/obriensp/iWorkFileFormat/blob/master/Docs/index.md#bundle
*/
export declare const parse: (inputPath: string, outputPath?: string) => Promise<void>;

@@ -14,2 +14,4 @@ "use strict";

* Parse and output a keynote file
*
* @see https://github.com/obriensp/iWorkFileFormat/blob/master/Docs/index.md#bundle
*/

@@ -16,0 +18,0 @@ const parse = async (inputPath, outputPath = `${inputPath}.unzipped`) => {

@@ -10,5 +10,4 @@ import type proto from '#proto/proto';

export interface IwaMessageInfoData<T = unknown> {
messageInfo: proto.TSP.IMessageInfo;
messageProtoName: string;
message: T;
}
{
"name": "keynote-parser2",
"version": "0.1.0",
"version": "0.2.0",
"description": "A library for parsing Apple Keynote file",

@@ -40,3 +40,2 @@ "keywords": [

"decompress": "^4.2.1",
"fast-glob": "^3.2.12",
"fs-extra": "^11.1.0",

@@ -63,2 +62,3 @@ "lodash.get": "^4.4.2",

"eslint": "^8.34.0",
"fast-glob": "^3.2.12",
"husky": "^8.0.3",

@@ -65,0 +65,0 @@ "lint-staged": "^13.1.2",