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

cosmiconfig-typescript-loader

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cosmiconfig-typescript-loader - npm Package Compare versions

Comparing version 3.1.2 to 4.0.0

9

dist/cjs/index.js

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

__export(lib_exports, {
default: () => lib_default
TypeScriptLoader: () => TypeScriptLoader
});

@@ -70,6 +70,5 @@ module.exports = __toCommonJS(lib_exports);

}
// lib/index.ts
var lib_default = TypeScriptLoader;
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {});
0 && (module.exports = {
TypeScriptLoader
});

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

import { TypeScriptLoader } from "./loader";
export default TypeScriptLoader;
export { TypeScriptLoader } from "./loader";
export type { TypeScriptCompileError } from "./typescript-compile-error";
{
"name": "cosmiconfig-typescript-loader",
"version": "3.1.2",
"version": "4.0.0",
"description": "TypeScript loader for cosmiconfig",

@@ -5,0 +5,0 @@ "author": "Alex Miller <codex.nz@gmail.com>",

@@ -9,12 +9,2 @@ # cosmiconfig-typescript-loader

## `@endemolshinegroup/cosmiconfig-typescript-loader`
This package serves as a drop in replacement for `@endemolshinegroup/cosmiconfig-typescript-loader`. At the time of publishing this, `endemolshinegroup` is not maintaining the original package. I can only assume this is to do with the fact that Endemol Shine Group [was purchased and absorbed by another business](https://en.wikipedia.org/wiki/Endemol_Shine_Group#Sale_to_Banijay). This discontinuation of development efforts towards the original package left any open issues and pull requests unresolved.
This new package resolves the following original issues:
- [`#134`](https://github.com/EndemolShineGroup/cosmiconfig-typescript-loader/issues/134): "Doesn't work with Cosmiconfig sync API"
- [`#147`](https://github.com/EndemolShineGroup/cosmiconfig-typescript-loader/issues/147): "doesn't provide typescript, requested by ts-node"
- [`#155`](https://github.com/EndemolShineGroup/cosmiconfig-typescript-loader/issues/155): "Misleading TypeScriptCompileError when user's tsconfig.json "module" is set to "es2015""
## Usage

@@ -26,3 +16,3 @@

import { cosmiconfig } from "cosmiconfig";
import TypeScriptLoader from "cosmiconfig-typescript-loader";
import { TypeScriptLoader } from "cosmiconfig-typescript-loader";

@@ -56,3 +46,3 @@ const moduleName = "module";

import { cosmiconfig } from "cosmiconfig";
import TypeScriptLoader from "cosmiconfig-typescript-loader";
import { TypeScriptLoader } from "cosmiconfig-typescript-loader";

@@ -68,1 +58,11 @@ const moduleName = "module";

```
## `@endemolshinegroup/cosmiconfig-typescript-loader`
This package serves as a drop in replacement for `@endemolshinegroup/cosmiconfig-typescript-loader`. At the time of publishing this, `endemolshinegroup` is not maintaining the original package. I can only assume this is to do with the fact that Endemol Shine Group [was purchased and absorbed by another business](https://en.wikipedia.org/wiki/Endemol_Shine_Group#Sale_to_Banijay). This discontinuation of development efforts towards the original package left any open issues and pull requests unresolved.
This new package resolves the following original issues:
- [`#134`](https://github.com/EndemolShineGroup/cosmiconfig-typescript-loader/issues/134): "Doesn't work with Cosmiconfig sync API"
- [`#147`](https://github.com/EndemolShineGroup/cosmiconfig-typescript-loader/issues/147): "doesn't provide typescript, requested by ts-node"
- [`#155`](https://github.com/EndemolShineGroup/cosmiconfig-typescript-loader/issues/155): "Misleading TypeScriptCompileError when user's tsconfig.json "module" is set to "es2015""
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