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

office-addin-manifest

Package Overview
Dependencies
Maintainers
1
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

office-addin-manifest - npm Package Compare versions

Comparing version 1.7.1 to 1.7.2

2

lib/cli.js

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

commander.on("command:*", function () {
office_addin_cli_1.logErrorMessage(`The command syntax is not valid.\n`);
(0, office_addin_cli_1.logErrorMessage)(`The command syntax is not valid.\n`);
process.exitCode = 1;

@@ -23,0 +23,0 @@ commander.help();

@@ -35,3 +35,3 @@ // Copyright (c) Microsoft Corporation. All rights reserved.

defaults_1.usageDataObject.reportException("info", err);
office_addin_cli_1.logErrorMessage(err);
(0, office_addin_cli_1.logErrorMessage)(err);
}

@@ -132,3 +132,3 @@ });

defaults_1.usageDataObject.reportException("modify", err);
office_addin_cli_1.logErrorMessage(err);
(0, office_addin_cli_1.logErrorMessage)(err);
}

@@ -141,3 +141,3 @@ });

try {
const validation = yield validate_1.validateManifest(manifestPath);
const validation = yield (0, validate_1.validateManifest)(manifestPath);
if (validation.isValid) {

@@ -165,3 +165,3 @@ console.log("The manifest is valid.");

defaults_1.usageDataObject.reportException("validate", err);
office_addin_cli_1.logErrorMessage(err);
(0, office_addin_cli_1.logErrorMessage)(err);
}

@@ -168,0 +168,0 @@ });

@@ -138,3 +138,3 @@ // Copyright (c) Microsoft Corporation. All rights reserved.

if (!guid || guid === "random") {
guid = uuid_1.v4();
guid = (0, uuid_1.v4)();
}

@@ -141,0 +141,0 @@ xmlMethods.setXmlElementValue(xml, "Id", guid);

@@ -42,6 +42,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved.

yield manifestInfo_1.OfficeAddinManifest.readManifestFile(manifestPath);
const stream = yield fs_1.createReadStream(manifestPath);
const stream = yield (0, fs_1.createReadStream)(manifestPath);
let response;
try {
response = yield node_fetch_1.default("https://validationgateway.omex.office.net/package/api/check?gates=DisableIconDimensionValidation", {
response = yield (0, node_fetch_1.default)("https://validationgateway.omex.office.net/package/api/check?gates=DisableIconDimensionValidation", {
body: stream,

@@ -48,0 +48,0 @@ headers: {

{
"name": "office-addin-manifest",
"version": "1.7.1",
"version": "1.7.2",
"description": "Read and modify Office Add-in manifest files.",

@@ -28,4 +28,4 @@ "main": "./lib/main.js",

"node-fetch": "^2.6.1",
"office-addin-cli": "^1.3.1",
"office-addin-usage-data": "^1.4.1",
"office-addin-cli": "^1.3.2",
"office-addin-usage-data": "^1.4.2",
"path": "^0.12.7",

@@ -47,3 +47,3 @@ "uuid": "^8.3.2",

"mocha": "^9.1.1",
"office-addin-lint": "^1.4.1",
"office-addin-lint": "^1.4.2",
"rimraf": "^3.0.2",

@@ -62,3 +62,3 @@ "ts-node": "^10.1.0",

"prettier": "office-addin-prettier-config",
"gitHead": "a6c41b4d843bf23789f0c7caa7ab80e5dd571f0e"
"gitHead": "c73a6f1d1dd59da8031a198bc5c454c7d02f5400"
}

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