
Security News
How Enterprise Security Is Adapting to AI-Accelerated Threats
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.
@code-dot-org/blockly-core
Advanced tools
Code.org fork of google/blockly for use within the Code Studio learning environment.
This is a fork of Blockly, an open source visual programming environment.
Major additions and changes in this fork:
Blockly.editBlocks is setblockly.js into a prototype class BlockSpaceEditor which can be instantiated multiple times on the same pageWorkspace to BlockSpace to disambiguate from higher-level BlockSpaceEditorcd blockly-core
npm install
./deploy.sh
There is a playground manual testing page at tests/playground.html, which requires no build step or server running.
open tests/playground.html
This is the most typical use case for code-dot-org fork development.
Apps (aka Blockly apps) is a set of blockly apps built on top of blockly-core. Follow the building with core instructions in that repository to build blockly-core into apps.
There are a set of utility and integration tests included in tests/blockly_test.html, and a playground manual testing page at tests/playground.html.
After adding any new files, you will need to run ./update_test_dependencies.sh to update the test dependency map, which caches file dependencies so edits can be tested and played with without any re-build time.
There are three ways the test suites can be run:
./test.sh will run the tests in phantomjsopen tests/blockly_test.html./deploy.sh will also run ./test.sh at the end of its full rebuild.Blockly apps contains many tests that target features of blockly-core in the context of the code.org curriculum apps.
Additionally, Dashboard's UI tests cover certain features of blockly-core through Cucumber / Selenium scenarios.
FAQs
Code.org fork of google/blockly for use within the Code Studio learning environment.
The npm package @code-dot-org/blockly-core receives a total of 1 weekly downloads. As such, @code-dot-org/blockly-core popularity was classified as not popular.
We found that @code-dot-org/blockly-core 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
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.