Socket
Socket
Sign inDemoInstall

introjs

Package Overview
Dependencies
13
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.0 to 0.2.1

test/loops/case1/input.txt

15

lib/converter.js

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

return convertBlockStatement(stmt);
case 'ContinueStatement':
return convertContinueStatement(stmt);
case 'VariableDeclaration':

@@ -119,2 +117,4 @@ return convertVariableDeclaration(stmt);

return convertIfStatement(stmt);
case 'LabeledStatement':
return convertLabeledStatement(stmt);
case 'ForInStatement':

@@ -126,2 +126,4 @@ return convertForInStatement(stmt);

return convertBreakStatement(stmt);
case 'ContinueStatement':
return convertContinueStatement(stmt);
case 'ReturnStatement':

@@ -200,2 +202,11 @@ return convertReturnStatement(stmt);

function convertLabeledStatement(stmt) {
return {
type: stmt.type,
loc: stmt.loc,
label: stmt.label,
body: convertStatement(stmt.body),
};
}
function convertForInStatement(stmt) {

@@ -202,0 +213,0 @@ var counter = {

2

package.json
{
"name": "introjs",
"version": "0.2.0",
"version": "0.2.1",
"description": "IntroJS is a JavaScript implementation of the simplified programming language Intro.",

@@ -5,0 +5,0 @@ "author": "introshu",

@@ -150,3 +150,2 @@ # IntroJS

* Do-while statement
* Labeled break
* Exception handling

@@ -157,2 +156,4 @@ * Module

* Coroutine
* Generics
* Annotation
* Multithread

@@ -159,0 +160,0 @@ * Asynchronous

@@ -14,2 +14,3 @@ 'use strict';

'./test/literals/literals.intro',
'./test/loops/loops.intro',
];

@@ -16,0 +17,0 @@ sourceFilePaths.forEach(function (sourceFilePath) {

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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc