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

rollup-plugin-typescript2

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

rollup-plugin-typescript2 - npm Package Compare versions

Comparing version 0.5.2 to 0.6.0

2

dist/host.d.ts

@@ -18,3 +18,3 @@ import * as tsTypes from "typescript";

readDirectory(path: string, extensions?: string[], exclude?: string[], include?: string[]): string[];
readFile(path: string, encoding?: string): string;
readFile(path: string, encoding?: string): string | undefined;
fileExists(path: string): boolean;

@@ -21,0 +21,0 @@ getTypeRootsVersion(): number;

{
"name": "rollup-plugin-typescript2",
"version": "0.5.2",
"version": "0.6.0",
"description": "Seamless integration between Rollup and TypeScript. Now with errors.",

@@ -29,28 +29,25 @@ "main": "dist/rollup-plugin-typescript2.cjs.js",

"dependencies": {
"fs-extra": "^4.0.2",
"tslib": "^1.7.1",
"resolve": "^1.4.0"
},
"devDependencies": {
"typescript": "^2.5.3",
"object-hash": "^1.1.8",
"rollup-pluginutils": "^2.0.1",
"colors": "^1.1.2",
"fs-extra": "^3.0.1",
"graphlib": "^2.1.1",
"lodash": "^4.17.4",
"object-hash": "^1.1.8",
"rollup-pluginutils": "^2.0.1",
"typescript": "^2.3.4",
"tslib": "^1.7.1",
"resolve": "^1.3.3"
},
"peerDependencies": {
"typescript": "^2.0",
"tslib": "^1.7.1",
"resolve": "^1.3.3"
},
"devDependencies": {
"@types/colors": "^1.1.3",
"@types/fs-extra": "^3.0.3",
"@types/graphlib": "^2.1.4",
"@types/lodash": "^4.14.67",
"@types/node": "^8.0.1",
"@types/object-hash": "^0.5.28",
"@types/lodash": "^4.14.76",
"@types/node": "^8.0.31",
"@types/object-hash": "^0.5.29",
"@types/resolve": "^0.0.4",
"rimraf": "^2.6.1",
"rollup": "^0.48.2",
"rimraf": "^2.6.2",
"rollup": "^0.50.0",
"rollup-plugin-typescript2": "github:ezolenko/rollup-plugin-typescript2#master",
"rollup-plugin-node-resolve": "^3.0.0",
"rollup-plugin-commonjs": "^8.2.1",
"rollup-watch": "^4.3.1",

@@ -57,0 +54,0 @@ "tslint": "^5.7.0"

@@ -119,3 +119,3 @@ # rollup-plugin-typescript2

Tested on rollup `0.41.4`.
Tested on rollup `0.50.0`.

@@ -122,0 +122,0 @@ ### Reporting bugs

@@ -42,3 +42,3 @@ import { tsModule } from "./tsproxy";

{
this.snapshots[fileName] = tsModule.ScriptSnapshot.fromString(tsModule.sys.readFile(fileName));
this.snapshots[fileName] = tsModule.ScriptSnapshot.fromString(tsModule.sys.readFile(fileName)!);
this.versions[fileName] = (this.versions[fileName] || 0) + 1;

@@ -88,3 +88,3 @@ return this.snapshots[fileName];

public readFile(path: string, encoding?: string): string
public readFile(path: string, encoding?: string): string | undefined
{

@@ -91,0 +91,0 @@ return tsModule.sys.readFile(path, encoding);

@@ -228,2 +228,5 @@ import { RollupContext } from "./rollupcontext";

{
if (!filter(id))
return;
const diagnostics = _.concat(

@@ -230,0 +233,0 @@ convertDiagnostic("syntax", service.getSyntacticDiagnostics(id)),

@@ -18,3 +18,3 @@ import { tsModule } from "./tsproxy";

const text = tsModule.sys.readFile(fileName);
const result = tsModule.parseConfigFileTextToJson(fileName, text);
const result = tsModule.parseConfigFileTextToJson(fileName, text!);

@@ -21,0 +21,0 @@ if (result.error)

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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