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

parse-framework

Package Overview
Dependencies
Maintainers
3
Versions
126
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

parse-framework - npm Package Compare versions

Comparing version 2.4.8 to 2.4.9

test/samples_code/script/javascript_varword-each.txt

17

js/runtimes/browsertest.js

@@ -290,2 +290,10 @@ /*jslint browser:true */

}
else if (name === "noleadzero" || name === "no_lead_zero") {
if (values === "true") {
options.lexerOptions.style.no_lead_zero = true;
}
else if (values === "false") {
options.lexerOptions.style.no_lead_zero = false;
}
}
else if (name === "objectsort") {

@@ -333,9 +341,6 @@ if (values === "true") {

}
else if (name === "noleadzero" || name === "no_lead_zero") {
if (values === "true") {
options.lexerOptions.style.no_lead_zero = true;
else if (name === "var_word" || name === "varword") {
if (values === "list" || values === "each" || values === "none") {
options.lexerOptions.script.varword = values;
}
else if (values === "false") {
options.lexerOptions.style.no_lead_zero = false;
}
}

@@ -342,0 +347,0 @@ } while (aa > 0);

@@ -290,2 +290,21 @@ /*jslint node:true */

}
if ((/_varword(\.|_|-)/).test(sourcepath) === true) {
if ((/_varword-/).test(sourcepath) === true) {
if ((/_varword-list/).test(sourcepath) === true) {
options.lexerOptions.script.varword = "list";
}
else if ((/_varword-each/).test(sourcepath) === true) {
options.lexerOptions.script.varword = "each";
}
else {
options.lexerOptions.script.varword = "none";
}
}
else {
options.lexerOptions.script.varword = "none";
}
}
else {
options.lexerOptions.script.varword = "none";
}
if ((/_wrap-\d+(\.|_)/).test(sourcepath) === true) {

@@ -292,0 +311,0 @@ let wrap = sourcepath.slice(sourcepath.indexOf("_wrap-") + 6), numb = 0;

@@ -43,3 +43,3 @@ {

},
"version": "2.4.8"
"version": "2.4.9"
}

@@ -5,3 +5,3 @@ # Parse Framework

## Version 2.4.8
## Version 2.4.9
Play around with this application [in your browser](http://prettydiff.com/parse-framework/runtimes/browsertest.xhtml).

@@ -8,0 +8,0 @@

@@ -302,2 +302,8 @@ /*jslint browser:true */

}
} else if (name === "noleadzero" || name === "no_lead_zero") {
if (values === "true") {
options.lexerOptions.style.no_lead_zero = true;
} else if (values === "false") {
options.lexerOptions.style.no_lead_zero = false;
}
} else if (name === "objectsort") {

@@ -335,7 +341,5 @@ if (values === "true") {

}
} else if (name === "noleadzero" || name === "no_lead_zero") {
if (values === "true") {
options.lexerOptions.style.no_lead_zero = true;
} else if (values === "false") {
options.lexerOptions.style.no_lead_zero = false;
} else if (name === "var_word" || name === "varword") {
if (values === "list" || values === "each" || values === "none") {
options.lexerOptions.script.varword = values;
}

@@ -342,0 +346,0 @@ }

@@ -281,2 +281,17 @@ /*jslint node:true */

}
if ((/_varword(\.|_|-)/).test(sourcepath) === true) {
if ((/_varword-/).test(sourcepath) === true) {
if ((/_varword-list/).test(sourcepath) === true) {
options.lexerOptions.script.varword = "list";
} else if ((/_varword-each/).test(sourcepath) === true) {
options.lexerOptions.script.varword = "each";
} else {
options.lexerOptions.script.varword = "none";
}
} else {
options.lexerOptions.script.varword = "none";
}
} else {
options.lexerOptions.script.varword = "none";
}
if ((/_wrap-\d+(\.|_)/).test(sourcepath) === true) {

@@ -283,0 +298,0 @@ let wrap:string = sourcepath.slice(sourcepath.indexOf("_wrap-") + 6),

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

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

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

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

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

Sorry, the diff of this file is not supported yet

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

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