
Security News
Feross on TBPN: How North Korea Hijacked Axios
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.
Dot path matching tool with DPML(Dot Path Match Language)
import createMatcher from "dot-match"
const match = createMatcher("a.b.*")
match(["a","b","c"]) // true
npm install --save dot-match
createMatcher(string : String) : Function
parseDPML(path : String) : NodeType
Wildcard
"*"
Expand String
"aaa~" or "~" or "aaa~.bbb.cc"
Part Wildcard
"a.b.*.c.*"
Wildcard With Group Filter
"a.b.*(aa.bb.dd,cc,mm)"
or
"a.b.*(!aa.bb.dd,cc,mm)"
Wildcard With Nest Group Filter
"a.b.*(aa.bb.*(aa.b,c),cc,mm)"
or
"a.b.*(!aa.bb.*(aa.b,c),cc,mm)"
Wildcard With Range Filter
"a.b.*[10:100]"
or
"a.b.*[10:]"
or
"a.b.*[:100]"
Ignore Key Word
"a.b.[[cc.uu()sss*\\[1222\\]]]"
NodeType {
Identifier {
type:"Identifier",
value:String,
after:NodeType
}
DotOperator {
type:"DotOperator",
after:NodeType,
filter:NodeType
}
WildcardOperator {
type:"WildcardOperator",
after:NodeType,
filter:NodeType
}
GroupExpression {
type:"GroupExpression",
value:Array<NodeType>,
isExclude:Boolean,
after:NodeType
}
RangeExpression {
type:"RangeExpression",
start:NodeType,
end:NodeType,
after:NodeType
}
}
The MIT License (MIT)
Copyright (c) 2018 JanryWang
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
FAQs
> Dot path matching tool with DPML(Dot Path Match Language)
The npm package dot-match receives a total of 66 weekly downloads. As such, dot-match popularity was classified as not popular.
We found that dot-match demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.

Security News
OpenSSF has issued a high-severity advisory warning open source developers of an active Slack-based campaign using impersonation to deliver malware.

Research
/Security News
Malicious packages published to npm, PyPI, Go Modules, crates.io, and Packagist impersonate developer tooling to fetch staged malware, steal credentials and wallets, and enable remote access.