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

algo-lang

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

algo-lang - npm Package Compare versions

Comparing version 1.0.12 to 1.0.13

2

build/visitors/executor.js

@@ -130,3 +130,3 @@ 'use strict';

get value() {
return identifier.resType.create(identifier.ref);
return identifier.resType.create(identifier.value || identifier.ref);
}

@@ -133,0 +133,0 @@ };

@@ -233,3 +233,5 @@ 'use strict';

try {
identifier.resType = this.scopes.getConst(identifier.ref).type;
const c = this.scopes.getConst(identifier.ref);
identifier.resType = c.type;
identifier.value = c.value.value;
} catch (err) {

@@ -236,0 +238,0 @@ try {

@@ -130,3 +130,3 @@ import {EmptyVisitor} from './empty.js'

get value() {
return identifier.resType.create(identifier.ref)
return identifier.resType.create(identifier.value || identifier.ref)
},

@@ -133,0 +133,0 @@ }

@@ -235,3 +235,5 @@ import {EmptyVisitor} from './empty.js'

try {
identifier.resType = this.scopes.getConst(identifier.ref).type
const c = this.scopes.getConst(identifier.ref)
identifier.resType = c.type
identifier.value = c.value.value
}

@@ -238,0 +240,0 @@ catch(err) {

{
"name": "algo-lang",
"version": "1.0.12",
"version": "1.0.13",
"description": "Algorithmic language interpreter (in French only for now)",

@@ -5,0 +5,0 @@ "homepage": "https://bitbucket.org/lsystems/algo-lang/overview",

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