algorithm-visualizer
Advanced tools
@@ -129,7 +129,6 @@ 'use strict'; | ||
| var opn_1 = require('opn'); | ||
| process.on('beforeExit', function () { | ||
| process.once('beforeExit', function () { | ||
| axios_1.post('https://algorithm-visualizer.org/api/visualizations', { content: JSON.stringify(Commander.commands) }) | ||
| .then(function (response) { return opn_1(response.data, { wait: false }); }) | ||
| .catch(console.error) | ||
| .finally(function () { return process.exit(); }); | ||
| .catch(console.error); | ||
| }); | ||
@@ -136,0 +135,0 @@ } |
@@ -125,7 +125,6 @@ var Randomize; | ||
| var opn_1 = require('opn'); | ||
| process.on('beforeExit', function () { | ||
| process.once('beforeExit', function () { | ||
| axios_1.post('https://algorithm-visualizer.org/api/visualizations', { content: JSON.stringify(Commander.commands) }) | ||
| .then(function (response) { return opn_1(response.data, { wait: false }); }) | ||
| .catch(console.error) | ||
| .finally(function () { return process.exit(); }); | ||
| .catch(console.error); | ||
| }); | ||
@@ -132,0 +131,0 @@ } |
@@ -131,7 +131,6 @@ (function (global, factory) { | ||
| var opn_1 = require('opn'); | ||
| process.on('beforeExit', function () { | ||
| process.once('beforeExit', function () { | ||
| axios_1.post('https://algorithm-visualizer.org/api/visualizations', { content: JSON.stringify(Commander.commands) }) | ||
| .then(function (response) { return opn_1(response.data, { wait: false }); }) | ||
| .catch(console.error) | ||
| .finally(function () { return process.exit(); }); | ||
| .catch(console.error); | ||
| }); | ||
@@ -138,0 +137,0 @@ } |
+1
-1
| { | ||
| "name": "algorithm-visualizer", | ||
| "version": "2.3.8", | ||
| "version": "2.3.9", | ||
| "description": "Visualization Library for JavaScript", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
4
-20%82918
-0.22%2330
-0.13%