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

gulp-tsb

Package Overview
Dependencies
Maintainers
3
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-tsb - npm Package Compare versions

Comparing version 4.0.1 to 4.0.2

12

lib-build/builder.js

@@ -319,2 +319,4 @@ 'use strict';

this._snapshots = Object.create(null);
this._filesInProject = new Set(_cmdLine.fileNames);
this._filesAdded = new Set();
this._dependencies = new utils.graph.Graph(s => s);

@@ -341,4 +343,3 @@ this._dependenciesRecomputeList = [];

getScriptFileNames() {
const set = new Set(this._cmdLine.fileNames);
const res = Object.keys(this._snapshots).filter(path => set.has(path));
const res = Object.keys(this._snapshots).filter(path => this._filesInProject.has(path) || this._filesAdded.has(path));
return res;

@@ -372,3 +373,8 @@ }

filename = normalize(filename);
var old = this._snapshots[filename];
const old = this._snapshots[filename];
if (!old && !this._filesInProject.has(filename) && !filename.endsWith('.d.ts')) {
// ^^^^^^^^^^^^^^^^^^^^^^^^^^
// not very proper!
this._filesAdded.add(filename);
}
if (!old || old.getVersion() !== snapshot.getVersion()) {

@@ -375,0 +381,0 @@ this._dependenciesRecomputeList.push(filename);

@@ -319,2 +319,4 @@ 'use strict';

this._snapshots = Object.create(null);
this._filesInProject = new Set(_cmdLine.fileNames);
this._filesAdded = new Set();
this._dependencies = new utils.graph.Graph(s => s);

@@ -341,4 +343,3 @@ this._dependenciesRecomputeList = [];

getScriptFileNames() {
const set = new Set(this._cmdLine.fileNames);
const res = Object.keys(this._snapshots).filter(path => set.has(path));
const res = Object.keys(this._snapshots).filter(path => this._filesInProject.has(path) || this._filesAdded.has(path));
return res;

@@ -372,3 +373,8 @@ }

filename = normalize(filename);
var old = this._snapshots[filename];
const old = this._snapshots[filename];
if (!old && !this._filesInProject.has(filename) && !filename.endsWith('.d.ts')) {
// ^^^^^^^^^^^^^^^^^^^^^^^^^^
// not very proper!
this._filesAdded.add(filename);
}
if (!old || old.getVersion() !== snapshot.getVersion()) {

@@ -375,0 +381,0 @@ this._dependenciesRecomputeList.push(filename);

@@ -319,2 +319,4 @@ 'use strict';

this._snapshots = Object.create(null);
this._filesInProject = new Set(_cmdLine.fileNames);
this._filesAdded = new Set();
this._dependencies = new utils.graph.Graph(s => s);

@@ -341,4 +343,3 @@ this._dependenciesRecomputeList = [];

getScriptFileNames() {
const set = new Set(this._cmdLine.fileNames);
const res = Object.keys(this._snapshots).filter(path => set.has(path));
const res = Object.keys(this._snapshots).filter(path => this._filesInProject.has(path) || this._filesAdded.has(path));
return res;

@@ -372,3 +373,8 @@ }

filename = normalize(filename);
var old = this._snapshots[filename];
const old = this._snapshots[filename];
if (!old && !this._filesInProject.has(filename) && !filename.endsWith('.d.ts')) {
// ^^^^^^^^^^^^^^^^^^^^^^^^^^
// not very proper!
this._filesAdded.add(filename);
}
if (!old || old.getVersion() !== snapshot.getVersion()) {

@@ -375,0 +381,0 @@ this._dependenciesRecomputeList.push(filename);

{
"name": "gulp-tsb",
"version": "4.0.1",
"version": "4.0.2",
"author": "Johannes Rieken <johannes.rieken@gmail.com>",

@@ -5,0 +5,0 @@ "description": "A gulp plugin for very fast TypeScript compilation.",

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