Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@after-work.js/transform

Package Overview
Dependencies
Maintainers
2
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@after-work.js/transform - npm Package Compare versions

Comparing version 5.0.0-beta.0 to 5.0.0-beta.1

4

package.json
{
"name": "@after-work.js/transform",
"version": "5.0.0-beta.0",
"version": "5.0.0-beta.1",
"publishConfig": {

@@ -23,3 +23,3 @@ "access": "public"

"dependencies": {
"@after-work.js/utils": "^5.0.0-beta.0",
"@after-work.js/utils": "^5.0.0-beta.1",
"find-cache-dir": "1.0.0",

@@ -26,0 +26,0 @@ "import-cwd": "2.1.0"

@@ -23,3 +23,3 @@ /* eslint global-require: 0, import/no-dynamic-require: 0, object-curly-newline: 0, class-methods-use-this: 0, max-len: 0 */

function transformTypescript(filePath, sourceRoot, tsContent, argv) {
const { tsc } = argv;
const { babel: { typescript } } = argv;
const { transform: { typescript: { compilerOptions, babelOptions } } } = argv;

@@ -36,3 +36,3 @@ const fileName = argv.coverage ? path.basename(filePath) : filePath;

const transpileOpts = { fileName, compilerOptions };
const res = tsc.transpileModule(tsContent, transpileOpts);
const res = typescript.transpileModule(tsContent, transpileOpts);
tsContent = res.outputText; // eslint-disable-line no-param-reassign

@@ -39,0 +39,0 @@ let tsBabelOpts = {

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