From 505fa9a90be40c78625a3147ecdddeb00f2ed0b0 Mon Sep 17 00:00:00 2001 From: agracio Date: Tue, 21 May 2024 14:29:32 +0100 Subject: [PATCH] updating edge-cs version --- package-lock.json | 14 +++++++------- package.json | 2 +- test/104_csx.js | 26 +++++++++++++------------- 3 files changed, 21 insertions(+), 21 deletions(-) diff --git a/package-lock.json b/package-lock.json index 37059f4c..2da4bfe7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "hasInstallScript": true, "license": "MIT", "dependencies": { - "edge-cs": "npm:@agracio/edge-cs@^1.3.5", + "edge-cs": "npm:@agracio/edge-cs@^1.3.6", "nan": "^2.19.0" }, "devDependencies": { @@ -888,9 +888,9 @@ }, "node_modules/edge-cs": { "name": "@agracio/edge-cs", - "version": "1.3.5", - "resolved": "https://registry.npmjs.org/@agracio/edge-cs/-/edge-cs-1.3.5.tgz", - "integrity": "sha512-gXNKtUFnWonz68ZWPK0FjgbXj8pNkXs3TwKsRQ7SbubEoLv2K3RRrSWmZ5fnVaMy+vZKpgSdQtfC7AaY6AXNDg==", + "version": "1.3.6", + "resolved": "https://registry.npmjs.org/@agracio/edge-cs/-/edge-cs-1.3.6.tgz", + "integrity": "sha512-wpQgL424rHaB9K+CcmIihvjSPN1KZo/14H4Ed0RkglNjMmI3HPCeSgV002OjZOwMVAtcLcNCiADgVRTPQkuhKA==", "engines": { "node": ">= 0.8" } @@ -3976,9 +3976,9 @@ "dev": true }, "edge-cs": { - "version": "npm:@agracio/edge-cs@1.3.5", - "resolved": "https://registry.npmjs.org/@agracio/edge-cs/-/edge-cs-1.3.5.tgz", - "integrity": "sha512-gXNKtUFnWonz68ZWPK0FjgbXj8pNkXs3TwKsRQ7SbubEoLv2K3RRrSWmZ5fnVaMy+vZKpgSdQtfC7AaY6AXNDg==" + "version": "npm:@agracio/edge-cs@1.3.6", + "resolved": "https://registry.npmjs.org/@agracio/edge-cs/-/edge-cs-1.3.6.tgz", + "integrity": "sha512-wpQgL424rHaB9K+CcmIihvjSPN1KZo/14H4Ed0RkglNjMmI3HPCeSgV002OjZOwMVAtcLcNCiADgVRTPQkuhKA==" }, "ee-first": { "version": "1.1.1", diff --git a/package.json b/package.json index e91939b3..af256fe3 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ }, "license": "MIT", "dependencies": { - "edge-cs": "npm:@agracio/edge-cs@^1.3.5", + "edge-cs": "npm:@agracio/edge-cs@^1.3.6", "nan": "^2.19.0" }, "devDependencies": { diff --git a/test/104_csx.js b/test/104_csx.js index 02ae6a6c..6b5abf80 100644 --- a/test/104_csx.js +++ b/test/104_csx.js @@ -507,21 +507,21 @@ describe('edge-cs', function () { this.skip(); } var func = edge.func(function () {/* - #r "Newtonsoft.Json" - using Newtonsoft.Json; - using System.Threading.Tasks; - public class MyObject - { - public string Message { get; set; } - } - public class Startup - { - public async Task Invoke(object input) + #r "Newtonsoft.Json" + using Newtonsoft.Json; + using System.Threading.Tasks; + public class MyObject { - return JsonConvert.DeserializeObject("{ 'message': 'Hello from .NET' }"); + public string Message { get; set; } } - } - */ + public class Startup + { + public async Task Invoke(object input) + { + return JsonConvert.DeserializeObject("{ 'message': 'Hello from .NET' }"); + } + } + */ }); func("JavaScript", function (error, result) {