Code Monkey home page Code Monkey logo

xtend's People

Contributors

ddrboxman avatar defunctzombie avatar edwardbetts avatar flrngel avatar hirejohnsalcedo avatar linusu avatar ljharb avatar mafintosh avatar matt-esch avatar medikoo avatar mhart avatar nickkolok avatar patrickjs avatar pdehaan avatar raynos avatar sarathms avatar sundippatel avatar teunw avatar thlorenz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

xtend's Issues

make compliant with es6

I had an issue with mercury and tracked it down to mutable.js. I then later tried virtual-dom on it's own, and had the same problem. I realised that the error is getting thrown when I transpile my code from es6 via 6to5-loader - which prepends all wrapped modules with "use strict". My current options are:

  1. don't use virtual-dom
  2. don't transpile from es6
  3. filter out my node-modules folder from the loader (most likely solution)

this isn't urgent, so I'd flag it as an enhancement/proposal - I'll take a look at it myself later if I get a chance.

xtend + Tidelift

Hey @Raynos!

I know this project is frozen, but I figured I'd reach out anyway because receiving an extra $100/month is nothing to dismiss.

Anyway, I just started at Tidelift and have been looking through our list of projects that have funding available and noticed xtend has almost $100 per month that can be claimed by you. I’d love to get you signed up so we can start paying you this money.

The high-level overview of Tidelift is that we sell a “managed open source” subscription to companies and pay that money out to maintainers. We use their dependency trees to determine which packages are depended upon and, therefore, should get the funds. You can read more about Tidelift’s subscription service on our site.

The tasks we ask you to perform are things that most maintainers already do (such as provide release notes, validate the license of a package, and monitor and alert for security vulnerabilities), but you can find the specific details in this blog post by @kszu.

Please let me know what you think! I’m happy to answer any other questions you might have. 😄

Thanks for all your open source work,
-Blaine

overrides with undefined?

I'd expect xtend({foo: 1}, {foo: undefined}) returns {foo:1} but it returns {foo:undefined} is this ok?

Have zero dependencies

This module should be really simple and have no dependencies. object-keys has a wonkey dependency tree.

Either drop ES3 support or inline a naive subset of the shims

Recursive deep-xtend

Hey, I'm about to implement some recursion to do "deep-xtend". Interested in a PR for that?

Publish to npm

After merging #15, could you republish this to npm? The dependency tree will become much cleaner, and I'd like to update one of xtend's dependents to benefit from the lighter tree.

`Object.keys` fallback is not correct.

I noticed while taking a peek at levelup, that it depends on xtend. And then noticed that xtend's objectKeys method isn't an equiv for Object.keys.

A proper polyfill is non-trivial and is actually more complex then the one referenced. However, it's up to you how much support you want to extend (no pun intended). The bare minimum would be simply adding hasOwnProperty checks.

new version broken for me -- maybe a problem with setter methods?

Just a heads-up for whoever maintains this library, the new versions pushed in the last few days broke the library for me (I was foolishly pulling the tarball for the latest version every time).

Not sure why, but I think it has to do with setter methods. I use Mongoose, which uses objects that look normal, but actually have setter methods attached to each property so it can mark them modified when they change.

The simple case that broke is:

// oldObj is a Mongoose object: { inTime: 0, outTime: 3614.8 }
// its inTime/outTime have setter methods
extend(oldObj, { inTime: 0, outTime: 1934.30255 });
// oldObj.outTime is still 3614.8, it should be 1934.30255

I'm using 1.0.3 for now, which works fine. Not sure what the problem is, but thought I'd let you know!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.