deep-state-observer
Advanced tools
Comparing version 5.5.0 to 5.5.1
{ | ||
"name": "deep-state-observer", | ||
"version": "5.5.0", | ||
"version": "5.5.1", | ||
"description": "Deep state observer is an state management library that will fire listeners only when specified object node (which also can be a wildcard) was changed.", | ||
@@ -5,0 +5,0 @@ "main": "index.cjs.js", |
@@ -84,2 +84,3 @@ "use strict"; | ||
exports["default"] = Matcher; | ||
var segments = []; | ||
function Match(pattern, match, wchar) { | ||
@@ -90,3 +91,3 @@ if (wchar === void 0) { wchar = "*"; } | ||
} | ||
var segments = []; | ||
segments.length = 0; | ||
var starCount = 0; | ||
@@ -93,0 +94,0 @@ var minLength = 0; |
@@ -87,2 +87,3 @@ // forked from https://github.com/joonhocho/superwild | ||
export default Matcher; | ||
const segments = []; | ||
export function Match(pattern: string, match: string, wchar: string = "*") { | ||
@@ -92,3 +93,3 @@ if (pattern === wchar) { | ||
} | ||
let segments = []; | ||
segments.length = 0; | ||
let starCount = 0; | ||
@@ -95,0 +96,0 @@ let minLength = 0; |
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
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
545796
14063