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

tsun

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tsun - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

5

bin/tsun.js

@@ -211,4 +211,5 @@ /// <reference path='./typings/node.d.ts' />

var declarations = {};
for (var _i = 0, _a = getDeclarationFiles(); _i < _a.length; _i++) {
var file = _a[_i];
var declFiles = getDeclarationFiles().concat(path.join(__dirname, '../node_modules/typescript/bin/lib.core.es6.d.ts'));
for (var _i = 0; _i < declFiles.length; _i++) {
var file = declFiles[_i];
declarations[file] = service.getSourceFile(file).getNamedDeclarations().map(function (t) { return t.name; });

@@ -215,0 +216,0 @@ }

2

package.json
{
"name": "tsun",
"version": "0.0.5",
"version": "0.0.6",
"description": "TSUN: a repl for TypeScript Upgraded Node",

@@ -5,0 +5,0 @@ "bin": "./bin/tsun",

@@ -231,3 +231,4 @@ /// <reference path='./typings/node.d.ts' />

var declarations: {[a: string]: ts.DeclarationName[]} = {}
for (let file of getDeclarationFiles()) {
let declFiles = getDeclarationFiles().concat(path.join(__dirname, '../node_modules/typescript/bin/lib.core.es6.d.ts'))
for (let file of declFiles) {
declarations[file] = service.getSourceFile(file).getNamedDeclarations().map(t => t.name)

@@ -234,0 +235,0 @@ }

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