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

@swc-node/core

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@swc-node/core - npm Package Compare versions

Comparing version 1.5.1 to 1.6.0

7

lib/index.d.ts

@@ -1,4 +0,4 @@

import { ReactConfig, Config } from '@swc/core';
import { ReactConfig, Config, JscTarget } from '@swc/core';
export interface Options {
target?: 'es3' | 'es5' | 'es2015' | 'es2016' | 'es2017' | 'es2018' | 'es2019';
target?: JscTarget;
module?: 'commonjs' | 'umd' | 'amd' | 'es6';

@@ -13,2 +13,5 @@ sourcemap?: Config['sourceMaps'];

react?: Partial<ReactConfig>;
paths?: {
[from: string]: [string];
};
}

@@ -15,0 +18,0 @@ export declare function transformSync(source: string, path: string, options?: Options): import("@swc/core").Output;

@@ -22,3 +22,2 @@ "use strict";

decoratorMetadata: Boolean(opts.emitDecoratorMetadata),
// @ts-expect-error
react: options === null || options === void 0 ? void 0 : options.react,

@@ -30,2 +29,3 @@ hidden: {

keepClassNames: opts.keepClassNames,
paths: opts.paths,
},

@@ -32,0 +32,0 @@ minify: false,

{
"name": "@swc-node/core",
"version": "1.5.1",
"version": "1.6.0",
"description": "Faster swc nodejs binding",

@@ -44,3 +44,3 @@ "keywords": [

"dependencies": {
"@swc/core": "^1.2.59"
"@swc/core": "^1.2.80"
},

@@ -51,3 +51,3 @@ "funding": {

},
"gitHead": "de50beb78b6be1154537e41794d99280808d6b1b"
"gitHead": "fbfe8d6cf4cd62528eea920a724ccba00b46ddec"
}

@@ -32,2 +32,5 @@ # `@swc-node/core`

react?: Partial<ReactConfig>
paths?: {
[from: string]: [string]
}
}

@@ -34,0 +37,0 @@

Sorry, the diff of this file is not supported yet

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