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.0.0 to 1.1.0

6

CHANGELOG.md

@@ -6,2 +6,8 @@ # Change Log

# [1.1.0](https://github.com/Brooooooklyn/swc-node/compare/@swc-node/core@1.0.0...@swc-node/core@1.1.0) (2020-10-21)
### Features
- **core:** support react config in transformOptions ([313e021](https://github.com/Brooooooklyn/swc-node/commit/313e02128f833b09f4bf6dd9200b82819cb734cc))
## [0.7.6](https://github.com/Brooooooklyn/swc-node/compare/@swc-node/core@0.7.4...@swc-node/core@0.7.6) (2020-09-16)

@@ -8,0 +14,0 @@

2

lib/index.d.ts

@@ -0,1 +1,2 @@

import { ReactConfig } from '@swc/core';
export interface Options {

@@ -10,2 +11,3 @@ target?: 'es3' | 'es5' | 'es2015' | 'es2016' | 'es2017' | 'es2018' | 'es2019';

esModuleInterop?: boolean;
react?: Partial<ReactConfig>;
}

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

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

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

@@ -24,0 +26,0 @@ jest,

6

package.json
{
"name": "@swc-node/core",
"version": "1.0.0",
"version": "1.1.0",
"description": "Faster swc nodejs binding",

@@ -52,5 +52,5 @@ "keywords": [

"dependencies": {
"@swc/core": "^1.2.34"
"@swc/core": "^1.2.36"
},
"gitHead": "79c77f87bbab8b96f1306679cbb5c49368f94777"
"gitHead": "768f53831c3a14742af31e9cafe598785e8c5b4f"
}

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