Socket
Socket
Sign inDemoInstall

jiti

Package Overview
Dependencies
Maintainers
1
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jiti - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

12

CHANGELOG.md

@@ -5,2 +5,14 @@ # Changelog

### [0.1.4](https://github.com/nuxt-contrib/jiti/compare/v0.1.3...v0.1.4) (2020-06-11)
### Features
* improve babel options ([ae4dc58](https://github.com/nuxt-contrib/jiti/commit/ae4dc58ab994419489c4599c04c3444a34ba6215))
### Bug Fixes
* multiline syntax detection ([46f830b](https://github.com/nuxt-contrib/jiti/commit/46f830b7333b4ed9d5377cae9afe967c96dac071))
### [0.1.3](https://github.com/nuxt-contrib/jiti/compare/v0.1.2...v0.1.3) (2020-06-07)

@@ -7,0 +19,0 @@

2

dist/babel.d.ts

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

export declare function transform(source: string): string;
export declare function transform(source: string, filename?: string): string;
{
"name": "jiti",
"version": "0.1.3",
"version": "0.1.4",
"description": "Runtime typescript and ESM support for Node.js (CommonJS)",

@@ -22,2 +22,3 @@ "license": "MIT",

"@babel/core": "^7.10.2",
"@babel/plugin-transform-modules-commonjs": "^7.10.1",
"@babel/plugin-transform-typescript": "^7.10.1",

@@ -24,0 +25,0 @@ "@babel/preset-typescript": "^7.10.1",

@@ -54,4 +54,10 @@ # jiti

- `/` No typechecking support / Faster
- `+` Smart syntax detect to avoid unnecessary trnaspilation
- `+` Smart syntax detect to avoid unnecessary transpilation
### Native ESM Support (MJS)
- It is not (yet) landed as a stable feature
- No typescript support
- Limitted to `.mjs` files with different executation context (no `__filename`, `require`, etc)
### Bundlers (`rollup`, `webpack`, `snowpack`, etc)

@@ -58,0 +64,0 @@

Sorry, the diff of this file is too big to display

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