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

tsc-esm-fix

Package Overview
Dependencies
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tsc-esm-fix - npm Package Compare versions

Comparing version 2.4.0 to 2.4.1

4

buildstamp.json
{
"git": {
"commitId": "625a9cb8bff4f2bd9ad5dc6f1ef05f80743b078b",
"commitId": "ef097621b694e9794fa6da0c5c0bcefc60dd8fda",
"repoUrl": "https://github.com/antongolub/tsc-esm-fix",
"repoName": "antongolub/tsc-esm-fix"
},
"date": "2021-08-15T20:36:06.140Z"
"date": "2021-08-15T20:46:00.662Z"
}

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

## [2.4.1](https://github.com/antongolub/tsc-esm-fix/compare/v2.4.0...v2.4.1) (2021-08-15)
# [2.4.0](https://github.com/antongolub/tsc-esm-fix/compare/v2.3.3...v2.4.0) (2021-08-15)

@@ -2,0 +4,0 @@

{
"name": "tsc-esm-fix",
"version": "2.4.0",
"version": "2.4.1",
"private": false,

@@ -5,0 +5,0 @@ "publishConfig": {

@@ -11,4 +11,4 @@ # tsc-esm-fix

This workaround is aimed to bypass a pair of **tsc** and **ts-jest** issues _right here and right now_.
* [TS/issues/13422](https://github.com/microsoft/TypeScript/issues/13422): tsc should add `.js` extensions for relative module paths.
* [ts-jest/issues/1174](https://github.com/kulshekhar/ts-jest/issues/1174): `import.meta` is not allowed.
* [TS/13422](https://github.com/microsoft/TypeScript/issues/13422) / [TS/16577](https://github.com/microsoft/TypeScript/issues/16577): tsc should add `.js` extensions for relative module paths.
* [ts-jest/1174](https://github.com/kulshekhar/ts-jest/issues/1174): `import.meta` is not allowed.

@@ -15,0 +15,0 @@ Hope one day this library will not be needed.

@@ -118,3 +118,3 @@ import { basename,dirname, resolve } from 'path'

const getExtModulesWithExports = (cwd: string): Promise<string[]> =>
const getExtModulesWithPkgJsonExports = (cwd: string): Promise<string[]> =>
globby(['node_modules/*/package.json'], {

@@ -135,3 +135,3 @@ cwd: cwd,

'!node_modules/**/node_modules',
...(await getExtModulesWithExports(cwd)).map(
...(await getExtModulesWithPkgJsonExports(cwd)).map(
(m: string) => `!node_modules/${m}`,

@@ -138,0 +138,0 @@ ),

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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