
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
[3.0.26] Prepare for npm usage. Special integration for matrix engine 1.9.0 Thunder.
All new version begin with 3.0.0 for client, server/dev parts.
Visual-js game enginevisualjsUse npm i for next folders:
/project/client,/project/server,/test-npmnpm i
You can use this project from this git repo or you can use it from npm services like in test-npm/ folder.
Add your paths in /server/config.js:
module.exports = {
VERSION : "3.0.0",
PATH_OF_NODE_APP : "G:\\web_server\\xampp\\htdocs\\visualjs\\project\\server\\",
PATH_OF_WWW : "G:\\web_server\\xampp\\htdocs\\visualjs\\project\\client\\",
EDITOR_PORT : "1013",
DESTROY_SESSION_AFTER_X_mSECUNDS : 20000,
SELF_HOST: {
protocol: 'http',
port: 80
}
};
npm run host
This is just a webserver for simple hosting in nodejs. No need for this if you use xamp for example.
Just put new image in new folder -> (logo/someimage.png). After cmd npm run res engine will get meta data. This is not list for direct loading images.
Build meta data for image/images. Now test in console RESOURCE.logo!
npm run res
or
node server/res.js
npm run editor
or
node server/editor.js
This is editor to make possible concept of EDITOR-ON-PAGE.
This will pack all scripts created from editor to the starter/visual.js folder.
npm run pack
or
node server/build.js
Editor use [cache/] this folder for cache data -maybe you will need extra permission.
In browser navigate to /client/ folder (index.html)
Take a look at the test-npm/ folder. (test npm github link)[https://github.com/zlatnaspirala/visualjs/tree/master/test-npm]
You need to create config.js file with content:
module.exports = {
VERSION : "3.0.0",
PATH_OF_NODE_APP : "G:\\web_server\\xampp\\htdocs\\visualjs\\test-npm\\",
PATH_OF_WWW : "G:\\web_server\\xampp\\htdocs\\visualjs\\test-npm\\",
EDITOR_PORT : "1013",
DESTROY_SESSION_AFTER_X_mSECUNDS : 20000,
SELF_HOST: {
protocol: 'http',
port: 80
}
};
Replace PATH_OF_NODE_APP and PATH_OF_WWW with your own project folder path.
For windows best try with \\ agenst \ like this G:\\web_server\\xampp\\htdocs\\
Main JS script (Client part web):
import { sys, ActivateModifiers, loadEditor, runEditor, loadEditorObjects } from 'visual-js';
ActivateModifiers();
// Run editor
runEditor();
loadEditor();
sys.DOM.CREATE_SURFACE("SURF", "examples", 100, 99.4, "DIAMETRIC");
examples.ENGINE.CREATE_MODUL("STARTER");
var smodul = examples.ENGINE.MODULES.ACCESS_MODULE("STARTER");
// This is preload gameobject , you can't manipulate with
// this game object in editor.
smodul.NEW_OBJECT("IamNewObject", 25, 50, 12, 25, 10);
// Run editor
loadEditorObjects();
I use browserify for building bundle:
browserify test.js -p esmify > builds/examples.js
Example for editor:
let tools = require('visual-js-server');
let config = {
VERSION : "3.0.0",
PATH_OF_NODE_APP : "G:\\web_server\\xampp\\htdocs\\visualjs\\test-npm\\",
PATH_OF_WWW : "G:\\web_server\\xampp\\htdocs\\visualjs\\test-npm\\",
EDITOR_PORT : "1013",
DESTROY_SESSION_AFTER_X_mSECUNDS : 20000,
SELF_HOST: {
protocol: 'http',
port: 80
}
};
tools.editor(config);
Then open new terminal and run:
node editor.js
'Visual js' is provided "as-is" and without warranty of any kind, express, implied or otherwise, including without limitation, any warranty of merchantability or fitness for a particular purpose. In no event shall the author of this software be held liable for data loss, damages, loss of profits or any other kind of loss while using or misusing this
FAQs
[3.0.26] Prepare for npm usage. Special integration for matrix engine 1.9.0 Thunder.
The npm package visual-js receives a total of 6 weekly downloads. As such, visual-js popularity was classified as not popular.
We found that visual-js demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.