
Security News
Meet Socket at Black Hat Europe and BSides London 2025
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.
@nativescript/webpack
Advanced tools
@nativescript/webpack rewrite
The rewrite allows us to simplify things, and introduce some breaking changes. Listing them here, so we can keep track of them - will be in the merge commit, and the release notes once we are ready.
BREAKING CHANGES:
package.json main should now use a relative path to the package.json instead of the app directory
For example (given we have a src directory where our app is):
"main": "app.js" becomes "main": "src/app.js" OR "main": "src/app.ts" (whether using JS or TS)
This simplifies things, and will allow ctrl/cmd + clicking on the filename in some editors.
postinstall scripts have been removed.
The configuration will not need to change in the user projects between updates.
For existing projects we will provide an easy upgrade path, through ns migrate and a binary in the package.
For new projects ns create should create the config file by invoking a binary in the package.
removed resolutions for short imports - use full imports instead.
For example:
import http from 'http'
// becomes
import { http } from '@nativescript/core'
FAQs
@nativescript/webpack rewrite
The npm package @nativescript/webpack receives a total of 3,544 weekly downloads. As such, @nativescript/webpack popularity was classified as popular.
We found that @nativescript/webpack demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 19 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.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.