GithubHelp home page GithubHelp logo

Comments (5)

ephor avatar ephor commented on September 15, 2024

I have same issue

from polyfill-library.

ephor avatar ephor commented on September 15, 2024

I found that if the window.location put as first argument, then everything works

Object.assign(window.location, {})

Also, if i change function that provided by polyfill-service to function that provided by babel, everything works too.

function assign(target) {
  for (var i = 1; i < arguments.length; i++) {
    var source = arguments[i];
    for (var key in source) {
      if (Object.prototype.hasOwnProperty.call(source, key)) {
        target[key] = source[key];
      }
    }
  }
  return target;
}

from polyfill-library.

JakeChampion avatar JakeChampion commented on September 15, 2024

Thanks for the excellent bug report, it is great to see a reproducible test case.

Looking into this it is also broken with the latest version of the service, I was hoping the new polyfill would have fixed it.

I'll have to set aside some time to find the root cause.

from polyfill-library.

taddei avatar taddei commented on September 15, 2024

Thanks for looking into it. We had to disable Object.assign from polyfill.io and hardcode it for all users.

Not ideal but it works

from polyfill-library.

JakeChampion avatar JakeChampion commented on September 15, 2024

This was fixed in #155 and published in https://github.com/Financial-Times/polyfill-library/releases/tag/v3.32.0

from polyfill-library.

Related Issues (20)

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.