New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@nativescript/webpack

Package Overview
Dependencies
Maintainers
18
Versions
130
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nativescript/webpack

@nativescript/webpack rewrite

  • 5.0.22
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
5.1K
decreased by-17.53%
Maintainers
18
Weekly downloads
 
Created
Source

@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

Package last updated on 11 Jul 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc