Giter VIP home page Giter VIP logo

js-shims's Issues

iOS 9.3, Mobile Safari 9.0 function.prototype.name errors

Hi,

Thanks for this library. Most of the environments I tested seem to get shimmed correctly, however trackjs was still reporting Script Errors. After some debugging it appears that Mobile Safari on iOS 9.3 stops parsing with "Attempting to change configurable attribute of unconfigurable property".

screen shot 2017-07-20 at 22 44 48
screen shot 2017-07-20 at 22 54 52

I'm not really sure if I should actually file an issue at the function.prototype.name repo, but I was hoping someone here might know how to proceed from here. Any help is appreciated!

airbnb-js-shims: "^1.2.0"

breaks webpack: 'return' outside of function

This package depends on "promise.allsettled": "^1.0.0",

works when forced to 1.0.1, but when resolved to 1.0.2 breaks webpack builds with:

Creating an optimized production build...
Failed to compile.

./node_modules/is-map/index.js
SyntaxError: /usr/app/node_modules/is-map/index.js: 'return' outside of function (12:1)

  10 | \t\treturn false;
  11 | \t};
> 12 | \treturn;
     | \t^
  13 | }
  14 | 
  15 | var $mapHas = $Map ? Map.prototype.has : null;

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.