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

orchestrator-core

Package Overview
Dependencies
Maintainers
1
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

orchestrator-core - npm Package Compare versions

Comparing version 4.11.0-dev.20201001.9c201ed to 4.11.0-dev.20201006.e2b375f

tests/unicode.test.js

2

package.json

@@ -5,3 +5,3 @@ {

"description": "Orchestrator for Node.js",
"version": "4.11.0-dev.20201001.9c201ed",
"version": "4.11.0-dev.20201006.e2b375f",
"license": "MIT",

@@ -8,0 +8,0 @@ "keywords": [

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

// it('Create BLU file example.', function () {
// this.timeout(600000);
// // Arrange
// var orc = new oc.Orchestrator();
// var onnx_dir = findOnnxDir(1);
// orc.load(onnx_dir);
// var labeler = orc.createLabelResolver();
// try {
// const snapshotPath = path.join(__dirname, 'snapshot', 'EmailTest.tsv');
// var data = fs.readFileSync(snapshotPath, 'utf8');
// console.log('OPENING FILE ' + snapshotPath);
// var lines = data.split(/\r?\n/);
// var skipfirst = true;
// for (let line of lines) {
// if (!line.trim()) {
// continue;
// }
// // console.log(line);
// tokens = line.split('\t');
// if (skipfirst)
// skipfirst = false;
// else
// {
// var example = {
// label: tokens[0],
// text: tokens[2],
// };
// var result = labeler.addExample(example);
// }
// }
// var snapshot = labeler.createSnapshot();
// console.log('Created snapshot!');
// const outputSnapshotPath = path.join(__dirname, 'snapshot', 'EmailTest.snapshot');
// fs.writeFile(outputSnapshotPath, snapshot, (err) => {
// if (err) throw err;
// console.log('Snapshot saved!' + outputSnapshotPath);
// });
// } catch(e) {
// console.log('Error:', e.stack);
// }
// });
it('should succeed creating orchestrator.', function () {

@@ -109,2 +153,3 @@ // Initialize Orchestrator

it('should load NLR.', function () {

@@ -111,0 +156,0 @@ // Initialize Orchestrator

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