Gathering detailed insights and metrics for @mobsya-association/node-blockly
Gathering detailed insights and metrics for @mobsya-association/node-blockly
Gathering detailed insights and metrics for @mobsya-association/node-blockly
Gathering detailed insights and metrics for @mobsya-association/node-blockly
Blockly for Node.js and Browser via CommonJS module
npm install @mobsya-association/node-blockly
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
106 Commits
1 Forks
2 Watchers
1 Branches
1 Contributors
Updated on Jun 04, 2021
Latest Version
1.4.9
Package Id
@mobsya-association/node-blockly@1.4.9
Unpacked Size
4.63 MB
Size
899.62 kB
File Count
86
NPM Version
6.14.11
Node Version
14.15.4
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
6
Supports the AESL
generator.
This fork adds AESL support for Thymio (and uses an older blockly version).
npm i @mobsya-association/node-blockly
Browser
All generators
1var Blockly = require('@mobsya-association/node-blockly/browser');
1import Blockly from '@mobsya/node-blockly/browser'; 2import De from '@mobsya/node-blockly/lib/i18n/de'; 3Blockly.setLocale(De)
Dynamic imports also works but Blockly doesn't re-render workspace. You must re-render it manually after locale loaded
In order to generate and publish the @mobsya-association/node-blockly , you will first need to build the compressed resources in the blockly submodule.
1cd blockly 2python build.py
After that this script has been succesfully executed, from the root directory you can launch
1cd .. # if still under the blockly directory 2npm publish
Problem: In order to generate the ****_compressed.js files, build.py uses the online version of the closure compiler. Sometime in December 2019 some functions that are used by the blockly source have been removed from the closure libraries. The online compiler is always aligned with the latest version of this libraries, so trying to compile the thymio-blockly-standalone project generates an error ( caused by the removal of this libraries ).
Proper fix: The best fix would be to manually replace all the references to this functions from the blockly source code.
Workaround: The fix involves a lot of lines of code, temporarly we will just inject the old definition of this libraries inside blockly_compressed.js ( the one in the blockly submodule ). The code to inject is :
1goog.isDef=function(a){return void 0!==a};goog.isString=function(a){return"string"==typeof a};goog.isBoolean=function(a){return"boolean"==typeof a};goog.isNumber=function(a){return"number"==typeof a};
This must be placed in:
1var $jscomp=$jscomp||{};$jscomp.scope={};var COMPILED=!0,goog=goog||{};goog.global=this||self; 2/* inject here */ 3goog.exportPath_=function(a,b,c) ....
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
project is not fuzzed
Details
Reason
55 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-14
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More