Socket
Socket
Sign inDemoInstall

vite-tsconfig-paths

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-tsconfig-paths - npm Package Compare versions

Comparing version 2.3.0 to 2.4.0

2

dist/index.js

@@ -65,3 +65,3 @@ "use strict";

var checkJs = loadCompilerOptions(config.configFileAbsolutePath).checkJs;
var importerExtRE_1 = checkJs ? /\.(vue|mdx|mjs|[jt]sx?)$/ : /\.tsx?$/;
var importerExtRE_1 = checkJs ? /\.(vue|svelte|mdx|mjs|[jt]sx?)$/ : /\.tsx?$/;
var resolved_1 = new Map();

@@ -68,0 +68,0 @@ this.resolveId = function (id, importer) {

{
"name": "vite-tsconfig-paths",
"version": "2.3.0",
"version": "2.4.0",
"description": "Vite resolver for TypeScript compilerOptions.paths",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -48,3 +48,3 @@ import { normalizePath, Plugin } from 'vite'

const { checkJs } = loadCompilerOptions(config.configFileAbsolutePath)
const importerExtRE = checkJs ? /\.(vue|mdx|mjs|[jt]sx?)$/ : /\.tsx?$/
const importerExtRE = checkJs ? /\.(vue|svelte|mdx|mjs|[jt]sx?)$/ : /\.tsx?$/

@@ -51,0 +51,0 @@ const resolved = new Map<string, string>()

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