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

office-addin-manifest-converter

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

office-addin-manifest-converter - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

4

lib/cli.js

@@ -41,5 +41,3 @@ #!/usr/bin/env node

utilities_1.Utilities.setShowDebugInfo(dbg);
if (dbg) {
console.log('convert ' + xmlManifestFile + ' ' + JSON.stringify(options));
}
utilities_1.Utilities.logDebug('Command line: convert ' + xmlManifestFile + ' ' + JSON.stringify(options));
yield main.convert(xmlManifestFile, output, imageDownload, verbose)

@@ -46,0 +44,0 @@ .catch((e) => {

@@ -125,3 +125,4 @@ import { OSF } from '../lib/osfmos';

private _doesHostHaveContentInManifest;
private static _legacyLaunchEventToMosEventType;
}
//# sourceMappingURL=converter.d.ts.map

@@ -5,3 +5,3 @@ "use strict";

const osfmos_1 = require("../lib/osfmos");
const xmldom_1 = require("xmldom");
const xmldom_1 = require("@xmldom/xmldom");
var Utils;

@@ -8,0 +8,0 @@ (function (Utils) {

@@ -14,2 +14,3 @@ export declare class Utilities {

static logError(message?: any, ...optionalParams: any[]): void;
static logDebug(message?: any, ...optionalParams: any[]): void;
static assert(condition: boolean, message?: any, ...optionalParams: any[]): void;

@@ -16,0 +17,0 @@ static createLocaleFileName(locale: string): string;

@@ -43,3 +43,3 @@ "use strict";

if (!fs.existsSync(folderPath)) {
fs.mkdirSync(folderPath);
fs.mkdirSync(folderPath, { recursive: true });
}

@@ -66,5 +66,10 @@ }

}
static logDebug(message, ...optionalParams) {
if (Utilities._showDebugInfo) {
console.log(constants_1.Constants.LoggingPrefix + message, ...optionalParams);
}
}
static assert(condition, message, ...optionalParams) {
if (Utilities._showDebugInfo) {
(0, console_1.assert)(condition, message, ...optionalParams);
console_1.assert(condition, message, ...optionalParams);
}

@@ -99,5 +104,5 @@ }

exports.Utilities = Utilities;
Utilities._showDebugInfo = true;
Utilities._verboseLogging = true;
Utilities._downloadImages = true;
Utilities._showDebugInfo = false;
Utilities._verboseLogging = false;
Utilities._downloadImages = false;
//# sourceMappingURL=utilities.js.map
{
"name": "office-addin-manifest-converter",
"version": "0.1.3",
"version": "0.1.4",
"description": "A tool to convert Microsoft Office add-in manifests from XML format to JSON format.",

@@ -18,3 +18,3 @@ "main": "./lib/main.js",

"dependencies": {
"xmldom": "^0.6.0",
"@xmldom/xmldom": "^0.7.5",
"terser": "^5.6.0",

@@ -21,0 +21,0 @@ "commander": "^9.0.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 too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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