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

@glue42/office

Package Overview
Dependencies
Maintainers
3
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@glue42/office - npm Package Compare versions

Comparing version 1.6.8 to 1.6.9

3

changelog.md

@@ -0,1 +1,4 @@

1.6.9
- bugfix: excel .then is not a function fix
1.6.8

@@ -2,0 +5,0 @@ - bugfix: version import

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

const utils_1 = require("./utils");
function executeAsync(registry, key, ...args) {
return __awaiter(this, void 0, void 0, function* () {
const results = registry.execute(key, ...args);
console.log("RESULTs", results);
yield Promise.all(results.map((result) => __awaiter(this, void 0, void 0, function* () {
if (result && typeof result.then === "function") {
yield result;
}
return result;
})));
});
}
class SheetImpl {

@@ -92,3 +104,3 @@ constructor(cookie, config, invokeShowGrid) {

onChanged(callback) {
return this._registry.add("on-changed", callback);
return this._registry.add("on-changed", (data, error, done, delta) => callback(data, error, done, delta));
}

@@ -134,3 +146,3 @@ onChanging(callback) {

const allDeltas = this._deltaCache && utils_1.flatten(this._deltaCache);
yield this._registry.executeAsync("on-changed", this._data, this.errorCallback, this.doneCallback, allDeltas);
yield executeAsync(this._registry, "on-changed", this._data, this.errorCallback, this.doneCallback, allDeltas);
}

@@ -137,0 +149,0 @@ finally {

2

dist/cjs/version.d.ts

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

export declare const version = "1.6.8";
export declare const version = "1.6.9";
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "1.6.8";
exports.version = "1.6.9";
//# sourceMappingURL=version.js.map

@@ -46,2 +46,35 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

import { convertParams, flatten, camelize } from "./utils";
function executeAsync(registry, key) {
var args = [];
for (var _i = 2; _i < arguments.length; _i++) {
args[_i - 2] = arguments[_i];
}
return __awaiter(this, void 0, void 0, function () {
var results;
var _this = this;
return __generator(this, function (_a) {
switch (_a.label) {
case 0:
results = registry.execute.apply(registry, __spreadArrays([key], args));
console.log("RESULTs", results);
return [4, Promise.all(results.map(function (result) { return __awaiter(_this, void 0, void 0, function () {
return __generator(this, function (_a) {
switch (_a.label) {
case 0:
if (!(result && typeof result.then === "function")) return [3, 2];
return [4, result];
case 1:
_a.sent();
_a.label = 2;
case 2: return [2, result];
}
});
}); }))];
case 1:
_a.sent();
return [2];
}
});
});
}
var SheetImpl = (function () {

@@ -132,3 +165,3 @@ function SheetImpl(cookie, config, invokeShowGrid) {

SheetImpl.prototype.onChanged = function (callback) {
return this._registry.add("on-changed", callback);
return this._registry.add("on-changed", function (data, error, done, delta) { return callback(data, error, done, delta); });
};

@@ -178,3 +211,3 @@ SheetImpl.prototype.onChanging = function (callback) {

allDeltas = this._deltaCache && flatten(this._deltaCache);
return [4, this._registry.executeAsync("on-changed", this._data, this.errorCallback, this.doneCallback, allDeltas)];
return [4, executeAsync(this._registry, "on-changed", this._data, this.errorCallback, this.doneCallback, allDeltas)];
case 2:

@@ -181,0 +214,0 @@ _a.sent();

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

export var version = "1.6.8";
export var version = "1.6.9";

@@ -12,2 +12,14 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

import { convertParams, flatten, camelize } from "./utils";
function executeAsync(registry, key, ...args) {
return __awaiter(this, void 0, void 0, function* () {
const results = registry.execute(key, ...args);
console.log("RESULTs", results);
yield Promise.all(results.map((result) => __awaiter(this, void 0, void 0, function* () {
if (result && typeof result.then === "function") {
yield result;
}
return result;
})));
});
}
export default class SheetImpl {

@@ -90,3 +102,3 @@ constructor(cookie, config, invokeShowGrid) {

onChanged(callback) {
return this._registry.add("on-changed", callback);
return this._registry.add("on-changed", (data, error, done, delta) => callback(data, error, done, delta));
}

@@ -132,3 +144,3 @@ onChanging(callback) {

const allDeltas = this._deltaCache && flatten(this._deltaCache);
yield this._registry.executeAsync("on-changed", this._data, this.errorCallback, this.doneCallback, allDeltas);
yield executeAsync(this._registry, "on-changed", this._data, this.errorCallback, this.doneCallback, allDeltas);
}

@@ -135,0 +147,0 @@ finally {

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

export const version = "1.6.8";
export const version = "1.6.9";
{
"name": "@glue42/office",
"version": "1.6.8",
"version": "1.6.9",
"description": "Glue42 for Office",

@@ -5,0 +5,0 @@ "browser": "./dist/web-bundle/office.js",

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 not supported yet

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

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