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

parcel-transformer-ttypescript

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

parcel-transformer-ttypescript - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

6

build/cjs/TtscTransformer.js

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

async loadConfig({ config, options }) {
await ts_utils_1.loadTSConfig(config, options);
return await ts_utils_1.loadTSConfig(config, options);
},

@@ -27,3 +27,3 @@ async transform({ asset, config }) {

module: ttypescript_1.default.ModuleKind.ESNext }),
fileName: asset.filePath, // Should be relativePath?
fileName: asset.filePath,
});

@@ -39,2 +39,2 @@ return [

exports.default = TtscTransformer;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiVHRzY1RyYW5zZm9ybWVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL1R0c2NUcmFuc2Zvcm1lci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLDJDQUE2QztBQUM3QywrQ0FBZ0Q7QUFDaEQsOERBQXFDO0FBRXJDLE1BQU0sZUFBZSxHQUFHLElBQUksb0JBQVcsQ0FBQztJQUN0QyxLQUFLLENBQUMsVUFBVSxDQUFDLEVBQUMsTUFBTSxFQUFFLE9BQU8sRUFBQztRQUNoQyxNQUFNLHVCQUFZLENBQUMsTUFBTSxFQUFFLE9BQU8sQ0FBQyxDQUFDO0lBQ3RDLENBQUM7SUFFRCxLQUFLLENBQUMsU0FBUyxDQUFDLEVBQUMsS0FBSyxFQUFFLE1BQU0sRUFBQztRQUM3QixLQUFLLENBQUMsSUFBSSxHQUFHLElBQUksQ0FBQztRQUVsQixJQUFJLElBQUksR0FBRyxNQUFNLEtBQUssQ0FBQyxPQUFPLEVBQUUsQ0FBQztRQUNqQyxJQUFJ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yxTQUFTLENBQUMsRUFBQyxLQUFLLEVBQUUsTUFBTSxFQUFDO1FBQzdCLEtBQUssQ0FBQyxJQUFJLEdBQUcsSUFBSSxDQUFDO1FBRWxCLElBQUksSUFBSSxHQUFHLE1BQU0sS0FBSyxDQUFDLE9BQU8sRUFBRSxDQUFDO1FBQ2pDLElBQUksVUFBVSxHQUFHLHFCQUFVLENBQUMsZUFBZSxDQUN6QyxJQUFJLEVBQ0o7WUFDRyxlQUFlO2dCQUNiLGlGQUFpRjtnQkFDakYsdUVBQXVFO2dCQUN2RSxHQUFHLEVBQUUscUJBQVUsQ0FBQyxPQUFPLENBQUMsS0FBSyxJQUN6QixNQUFpQjtnQkFDckIscUJBQXFCO2dCQUNyQixNQUFNLEVBQUUsS0FBSztnQkFDYiwwRUFBMEU7Z0JBQzFFLDREQUE0RDtnQkFDNUQsTUFBTSxFQUFFLHFCQUFVLENBQUMsVUFBVSxDQUFDLE1BQU0sR0FDckM7WUFDRCxRQUFRLEVBQUUsS0FBSyxDQUFDLFFBQVE7U0FDekIsQ0FDSCxDQUFDO1FBRUYsT0FBTztZQUNMO2dCQUNFLElBQUksRUFBRSxJQUFJO2dCQUNWLE9BQU8sRUFBRSxVQUFVLENBQUMsVUFBVTthQUMvQjtTQUNGLENBQUM7SUFDSixDQUFDO0NBQ0YsQ0FBQyxDQUFDO0FBRUgsa0JBQWUsZUFBZSxDQUFDIn0=

@@ -6,3 +6,3 @@ import { Transformer } from '@parcel/plugin';

async loadConfig({ config, options }) {
await loadTSConfig(config, options);
return await loadTSConfig(config, options);
},

@@ -22,3 +22,3 @@ async transform({ asset, config }) {

module: typescript.ModuleKind.ESNext }),
fileName: asset.filePath, // Should be relativePath?
fileName: asset.filePath,
});

@@ -34,2 +34,2 @@ return [

export default TtscTransformer;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiVHRzY1RyYW5zZm9ybWVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZX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LENBQUMsS0FBSyxJQUN6QixNQUFpQjtnQkFDckIscUJBQXFCO2dCQUNyQixNQUFNLEVBQUUsS0FBSztnQkFDYiwwRUFBMEU7Z0JBQzFFLDREQUE0RDtnQkFDNUQsTUFBTSxFQUFFLFVBQVUsQ0FBQyxVQUFVLENBQUMsTUFBTSxHQUNyQztZQUNELFFBQVEsRUFBRSxLQUFLLENBQUMsUUFBUTtTQUN6QixDQUNILENBQUM7UUFFRixPQUFPO1lBQ0w7Z0JBQ0UsSUFBSSxFQUFFLElBQUk7Z0JBQ1YsT0FBTyxFQUFFLFVBQVUsQ0FBQyxVQUFVO2FBQy9CO1NBQ0YsQ0FBQztJQUNKLENBQUM7Q0FDRixDQUFDLENBQUM7QUFFSCxlQUFlLGVBQWUsQ0FBQyJ9
{
"name": "parcel-transformer-ttypescript",
"version": "1.0.1",
"version": "1.0.2",
"description": "A parcel v2 TypeScript transformer to use ttypescript",

@@ -39,4 +39,4 @@ "author": "Aurélien Manteaux <amanteaux@coreoz.com> (https://coreoz.com)",

"devDependencies": {
"@parcel/plugin": "^2.0.0-beta.1",
"@parcel/ts-utils": "^2.0.0-beta.1",
"@parcel/plugin": "2.0.0-beta.1",
"@parcel/ts-utils": "2.0.0-beta.1",
"@typescript-eslint/eslint-plugin": "^4.0.1",

@@ -52,3 +52,3 @@ "@typescript-eslint/parser": "^4.0.1",

"ttypescript": "^1.5.12",
"typescript": "^4.1.3"
"typescript": "4.1.3"
},

@@ -55,0 +55,0 @@ "files": [

@@ -9,3 +9,7 @@ Parcel Transformer Ttypescript

-----
Inside the `.parcelrc` file, reference the transformer:
Install the dependency:
- Yarn:`yarn add -D parcel-transformer-ttypescript`
- or NPM: `npm install parcel-transformer-ttypescript --save-dev`
Then inside the `.parcelrc` file, reference the transformer:
```json

@@ -12,0 +16,0 @@ {

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