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

tsconfig

Package Overview
Dependencies
Maintainers
2
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tsconfig - npm Package Compare versions

Comparing version 2.1.1 to 2.2.0

5

dist/tsconfig.js

@@ -9,2 +9,3 @@ var fs = require('fs');

var uniq = require('array-uniq');
var stripComments = require('strip-json-comments');
var CONFIG_FILENAME = 'tsconfig.json';

@@ -165,4 +166,4 @@ function resolve(dir) {

function parseContent(contents, filename) {
var data = stripBom(contents);
if (data === '') {
var data = stripComments(stripBom(contents));
if (/^\s*$/.test(data)) {
return {};

@@ -169,0 +170,0 @@ }

10

package.json
{
"name": "tsconfig",
"version": "2.1.1",
"version": "2.2.0",
"description": "TypeScript project file specification + implementation",
"main": "dist/tsconfig.js",
"typings": "dist/tsconfig.d.ts",
"files": [

@@ -48,6 +47,7 @@ "dist/",

"array-uniq": "^1.0.2",
"globby": "^3.0.1",
"globby": "^4.0.0",
"parse-json": "^2.2.0",
"pinkie-promise": "^1.0.0",
"pinkie-promise": "^2.0.0",
"strip-bom": "^2.0.0",
"strip-json-comments": "^2.0.0",
"xtend": "^4.0.0"

@@ -57,3 +57,3 @@ },

"chai": "^3.0.0",
"istanbul": "^0.3.17",
"istanbul": "^0.4.0",
"mocha": "^2.0.1",

@@ -60,0 +60,0 @@ "typescript": "^1.5.0-beta"

{
"ambientDependencies": {
"chai": "https://raw.githubusercontent.com/borisyankov/DefinitelyTyped/66f88ec51858bb21bc375fa91a963c04bc09401e/chai/chai.d.ts",
"mocha": "https://raw.githubusercontent.com/borisyankov/DefinitelyTyped/66f88ec51858bb21bc375fa91a963c04bc09401e/mocha/mocha.d.ts",
"node": "https://raw.githubusercontent.com/borisyankov/DefinitelyTyped/66f88ec51858bb21bc375fa91a963c04bc09401e/node/node.d.ts"
"chai": "github:borisyankov/DefinitelyTyped/chai/chai.d.ts#66f88ec51858bb21bc375fa91a963c04bc09401e",
"mocha": "github:borisyankov/DefinitelyTyped/mocha/mocha.d.ts#66f88ec51858bb21bc375fa91a963c04bc09401e",
"node": "github:borisyankov/DefinitelyTyped/node/node.d.ts#66f88ec51858bb21bc375fa91a963c04bc09401e"
},
"dependencies": {
"array-uniq": "https://raw.githubusercontent.com/typings/typed-array-uniq/fe1767e9b1baa0fd9f7a55fbcbf2fd8f08296d42/typings.json",
"globby": "https://raw.githubusercontent.com/typings/typed-globby/9624dd0875f851656c93132c63e6cafa78641334/typings.json",
"parse-json": "https://raw.githubusercontent.com/typings/typed-parse-json/74152f9c8b831227fc4eb3533fcd01b8906e2694/typings.json",
"pinkie-promise": "https://raw.githubusercontent.com/typings/typed-pinkie-promise/680fa32baa4e45e4a13b0c823f4db62ff47990e8/typings.json",
"strip-bom": "https://raw.githubusercontent.com/typings/typed-strip-bom/d1d42e7f43dcd9fce1cfd988c40421a1d37fa47b/typings.json",
"xtend": "https://raw.githubusercontent.com/typings/typed-xtend/63cccadf3295b3c15561ee45617ac006edcca9e0/typings.json"
"array-uniq": "github:typings/typed-array-uniq#fe1767e9b1baa0fd9f7a55fbcbf2fd8f08296d42",
"globby": "github:typings/typed-globby#9624dd0875f851656c93132c63e6cafa78641334",
"parse-json": "github:typings/typed-parse-json#74152f9c8b831227fc4eb3533fcd01b8906e2694",
"pinkie-promise": "github:typings/typed-pinkie-promise#680fa32baa4e45e4a13b0c823f4db62ff47990e8",
"strip-bom": "github:typings/typed-strip-bom#d1d42e7f43dcd9fce1cfd988c40421a1d37fa47b",
"strip-json-comments": "github:typings/typed-strip-json-comments#6fd0bb0b697465c16e022557c3796bc1358124ac",
"xtend": "github:typings/typed-xtend#63cccadf3295b3c15561ee45617ac006edcca9e0"
}
}
}

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