
Product
Introducing Scala and Kotlin Support in Socket
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.
@devgateway/upgrade-wp-customizer
Advanced tools
Upgrade and modernize your WordPress Customizer projects to use the latest block-based structure and best practices, with automated code transformations and dependency management.
@devgateway/dvz-wp-commons
and updates environment variable usage.blocks
directory.npm install -g @devgateway/upgrade-wp-customizer
# or
yarn global add @devgateway/upgrade-wp-customizer
# or
pnpm add -g @devgateway/upgrade-wp-customizer
Navigate to the root of your WordPress Customizer project and run:
npx @devgateway/upgrade-wp-customizer
--force
--force
is used).template/
updated directory) into your project, including:
blocks/
directory with a modern block setup (JS, PHP, CSS, Webpack config, etc.)index.php
and other supporting files.@devgateway/dvz-wp-commons
.process.env.BLOCKS_NS
and process.env.BLOCKS_CATEGORY
with direct imports.require
statements in blocks/index.js
or index.jsx
to ES imports.blocks
directory (supports npm, yarn, pnpm, or skip).Your project will have a new blocks/
directory with a modern block setup.
All relevant imports will use @devgateway/dvz-wp-commons
.
You may need to review and test your project to ensure everything works as expected.
If you skipped dependency installation, run the following in the blocks/
directory:
npm install
npm install @devgateway/dvz-wp-commons
# or use yarn/pnpm as appropriate
The template includes:
blocks/
index.php
– Registers the block and enqueues scripts/styles.webpack.config.js
– Webpack config for block JS.package.json
– With recommended dependencies and scripts for block development.editor.css
, style.css
– Editor and frontend styles.index.php
– Main entry for the plugin.MIT
FAQs
Upgrade a WordPress Customizer project
The npm package @devgateway/upgrade-wp-customizer receives a total of 1 weekly downloads. As such, @devgateway/upgrade-wp-customizer popularity was classified as not popular.
We found that @devgateway/upgrade-wp-customizer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers 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.
Product
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.
Application Security
/Security News
Socket CEO Feross Aboukhadijeh and a16z partner Joel de la Garza discuss vibe coding, AI-driven software development, and how the rise of LLMs, despite their risks, still points toward a more secure and innovative future.
Research
/Security News
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.