@simplism/core
Advanced tools
Comparing version 0.2.12 to 0.2.13
{ | ||
"name": "@simplism/core", | ||
"version": "0.2.12", | ||
"version": "0.2.13", | ||
"description": "Simplism - 코어 라이브러리", | ||
@@ -5,0 +5,0 @@ "repository": "bitbucket:kslhunter/simplism", |
interface String { | ||
splitBy(predicate: (char: string, index: number) => boolean): string[]; | ||
padStart(length: number, char: string): string; | ||
padEnd(length: number, char: string): string; | ||
@@ -39,2 +41,3 @@ } | ||
wrapped(str: string, index: number, seps: string[], excludes?: string[]): boolean; | ||
getWrapped(str: string, index: number, seps: string[], excludes?: string[]): string; | ||
@@ -111,2 +114,5 @@ } | ||
if ((cntPostfix.get(postfix) || 0) === 0) { | ||
/*if (index == 11) { | ||
console.log('-----------start', cursor); | ||
}*/ | ||
startIndex = cursor + 1; | ||
@@ -142,2 +148,5 @@ sepPrefix = prefix; | ||
if (prevChar != "\\" && sepPrefix != sepPostfix && char === sepPrefix) { | ||
/*if (index == 11) { | ||
console.log('++', cursor); | ||
}*/ | ||
cnt++; | ||
@@ -149,4 +158,10 @@ continue; | ||
if (cnt > 0) { | ||
/*if (index == 11) { | ||
console.log('--', cursor); | ||
}*/ | ||
cnt--; | ||
} else { | ||
/*if (index == 11) { | ||
console.log('-----------end', cursor); | ||
}*/ | ||
endIndex = cursor; | ||
@@ -153,0 +168,0 @@ break; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
165232
2123