📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP

@busy-web/ember-date-time

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@busy-web/ember-date-time - npm Package Compare versions

Comparing version

to
2.1.7

@@ -65,4 +65,3 @@ /**

end = 0, // index for the end of a section
index = 0, // tracks the current section for indexing each char
parsed = 0; // prevents section changes due to multiple splitter types in a row like `, `
index = 0; // tracks the current section for indexing each char

@@ -79,9 +78,6 @@ // loop over each char and assign it to the a section

map.set(i, index);
if (REGX.test(str[i]) && parsed > 0) {
if (REGX.test(str[i]) && !REGX.test(str[i+1])) {
sections.push({ start, end });
parsed = 0;
index += 1;
start = i+1;
} else {
parsed += 1;
}

@@ -88,0 +84,0 @@ }

{
"name": "@busy-web/ember-date-time",
"version": "2.1.6",
"version": "2.1.7",
"description": "Date time & and range picker for ember addon",

@@ -5,0 +5,0 @@ "keywords": [