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

vite-plugin-ts

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-plugin-ts - npm Package Compare versions

Comparing version 1.1.0 to 1.1.2

13

CHANGELOG.md

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

## [1.1.2](https://github.com/vitejs/vite/compare/plugin-vue-jsx@1.1.1...plugin-vue-jsx@1.1.2) (2021-02-24)
## [1.1.1](https://github.com/vitejs/vite/compare/plugin-vue-jsx@1.1.0...plugin-vue-jsx@1.1.1) (2021-02-24)
### Bug Fixes
* **plugin-vue-jsx:** do not read babel configuration ([#2181](https://github.com/vitejs/vite/issues/2181)) ([8f0dc25](https://github.com/vitejs/vite/commit/8f0dc25e943ff490eefa0ed3663205a14e8eed9e))
# [1.1.0](https://github.com/vitejs/vite/compare/plugin-vue-jsx@1.0.3...plugin-vue-jsx@1.1.0) (2021-02-09)

@@ -2,0 +15,0 @@

19

index.js

@@ -40,3 +40,3 @@ const fs = require('fs')

return {
name: 'vue-jsx',
name: 'ts',

@@ -102,3 +102,15 @@ config(config) {

})
if (diagnostics?.[0]) throw new Error(diagnostics[0].messageText)
const diagnostic = diagnostics?.[0]
if (diagnostic) {
const { formatDiagnostic, sys } = require('typescript')
const e = new Error(
formatDiagnostic(diagnostic, {
getCanonicalFileName: f => f,
getCurrentDirectory: () => sys.getCurrentDirectory(),
getNewLine: () => sys.newLine
})
)
e.loc = diagnostic.start
throw e
}
code = outputText

@@ -115,3 +127,4 @@ }

sourceMaps: needSourceMap,
sourceFileName: id
sourceFileName: id,
configFile: false
})

@@ -118,0 +131,0 @@

4

package.json
{
"name": "vite-plugin-ts",
"version": "1.1.0",
"version": "1.1.2",
"license": "MIT",

@@ -38,3 +38,3 @@ "author": "Evan You",

"@babel/plugin-syntax-import-meta": "^7.10.4",
"@vue/babel-plugin-jsx": "^1.0.1",
"@vue/babel-plugin-jsx": "^1.0.3",
"hash-sum": "^2.0.0",

@@ -41,0 +41,0 @@ "typescript": "^4.1.3"

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