Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
jspm-tsc-update
Advanced tools
This package was created out of the need to have installed jspm packages
also mapped in tsconfig.json compilerOptions.paths
. All packages installed via jspm install
will be mapped, as well as peer dependencies. Custom aliases have to be added manually to tsconfig.json
, but won't be overwritten.
$ yarn global add jspm-tsc-update
Or you can use:
npm install -g jspm-tsc-update
Make sure to be in the root of your project, where your package.json
exists.
Also the files system.config.js
and tsconfig.json
must be available this location.
$ jspm-tsc-update
After executing the command from above, compilerOptions.paths
in your tsconfig.json
will be updated.
A file named pathmap.json
will be created to keep track of deleted jspm packages, to safely remove them from
your TypeScript path mappings on the next run.
You may also install this package locally via yarn add jspm-tsc-update
or npm install --save-dev jspm-tsc-update
.
To create an alias for running the executable, add something like this to your package.json
scripts
:
{
"scripts": {
"update-paths": "node_modules/.bin/jspm-tsc-update"
}
}
Now you just have to make sure to run this command alongside installing or uninstalling with jspm:
$ jspm install npm:css-animator && yarn update-paths
Or when using npm instead of yarn:
npm run update-paths
FAQs
Creates TypeScript path mappings from installed jspm packages.
We found that jspm-tsc-update 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
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.