Comments (4)
API: membrane.modifyRules.filterOwnKeys(fieldName, proxy, filterCallback, filterThisArg);
For the filterCallback and filterThisArg, refer to:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter
from es-membrane.
Prerequisite to #19
from es-membrane.
The above API needs a little rethinking. I wasn't thinking about enumerable versus actually hiding properties when I proposed it. Maybe the fourth argument (which is really unnecessary given .bind()) should instead be a boolean indicating whether we're filtering what .hasOwn returns or whether we're really trying to hide a property.
from es-membrane.
Fully implemented and fairly well tested. Woo hoo!
from es-membrane.
Related Issues (20)
- ObjectGraph refactor: Remove ObjectGraphHandler, ChainHandler HOT 1
- ObjectGraph refactor: ProxyHandler for converting from shadow to target for Reflect HOT 1
- Standard distortion type: Block returning instances of a given prototype HOT 1
- Add minifier to build steps
- Standard distortion type: Wrap one Promise in another for safety HOT 4
- Create a .npmignore file
- Add rollup to build process for ES6 module construction HOT 1
- Add jsconfig.json for type checking in Visual Studio
- Add eslint for development HOT 2
- Add jsdoc application for auto-generated documentation
- Possible memory leak of proxies by holding strong references to revoke functions? HOT 2
- Update to Node 16 after April 20, 2021 for AggregateError
- ObjectGraph.passThroughFilter should be defined at construction time
- Maybe add jshint for development HOT 1
- makeShadowTarget() needs to set name, length for functions up front?
- ProxyEntryNotifier support
- Add files entry to package.json
- Update Jasmine dev-dependency to 4.*
- show and tell: i made a membrane implementation HOT 1
- SharedAssertSet: use `asserts` type annotation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from es-membrane.