jonschlinkert / glob-object Goto Github PK
View Code? Open in Web Editor NEWFilter an object using glob patterns and dot notation.
License: MIT License
Filter an object using glob patterns and dot notation.
License: MIT License
I know slash is handled special in regular pathing glob due to special meaning in file systems. However, they do not have the same meaning with object paths. It seems dot ('.') is used for that purpose, which doesn't have the same meaning in regular file path globs. So how does one match property keys which contain slashes?
This package should totally be called globject
!!!
Getting the following webpack warning when trying to build my app with require 'glob-object'
in a file:
WARNING in ./node_modules/glob-object/node_modules/shallow-clone/utils.js 3:34-41
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
I think this is due to using an old version of clone-deep which in turn depends on an older version of shallow-clone.
I'm using webpack with babel (all latest).
I think it would be good to update your dependencies to the latest anyway?
The example from this filter-object issue shows that some of the patterns are being skipped when there are multiple negation patterns.
This line just needs to be updated to patterns.splice(1, i--);
so the i
is "fixed" after the splicing happens.
@kilianc I'll try to get to this, but if you can do a PR first, we'd appreciate it. Thanks!
Hi Jon
I'm using your [email protected] with a dependency [email protected], the dependency are outdated and have been flagged with a vulnerability and was rectified in version 2.0.1 & 3.02
Would it be possible for you to update [email protected] to use the latest dependencies. Or supply alternative suggestions.
Many Thanks in Advance & for the lib that you made available. It is valuable to us.
Regards
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.