Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Oct 24 14:27
    guybedford commented #72
  • Oct 24 04:03
    JayaKrishnaNamburu closed #72
  • Oct 24 04:02
    JayaKrishnaNamburu commented #72
  • Oct 19 04:56
    JayaKrishnaNamburu closed #76
  • Oct 19 04:56
    JayaKrishnaNamburu commented #76
  • Oct 19 01:28
    guybedford closed #73
  • Oct 19 01:28
    guybedford commented #73
  • Oct 19 01:28
    guybedford commented #76
  • Oct 19 01:27
    guybedford closed #74
  • Oct 16 16:40
    guybedford commented #82
  • Oct 16 16:30
    arlac77 opened #82
  • Oct 11 22:07
    marleyjustin08 closed #1087
  • Oct 11 22:07
    marleyjustin08 opened #1087
  • Oct 11 14:31
    marleyjustin08 commented #1082
  • Oct 11 14:29
    marleyjustin08 commented #1082
  • Oct 11 14:29
    marleyjustin08 closed #1086
  • Oct 11 14:29
    marleyjustin08 commented #1086
  • Oct 11 06:36
    marleyjustin08 opened #1086
  • Oct 02 06:19
    guybedford closed #82
  • Oct 02 06:19
    guybedford closed #81
Guy Bedford
@guybedford
that is, extensions are required in an ES module world
Rob Halff
@rhalff
@guybedford thanks, good to know, that will probably safe me some trouble later on.
Rob Halff
@rhalff
What happens if I import something like material ui, it will have a react peer dependency, is that included? and what if I pull in multiple react components, will they all just pull in whichever react version they are using? Or is there a way to handle this.
If I look at https://dev.jspm.io/npm:material-ui@0.15.4/Card/CardActions.dew.js it seems to strictly specify a version to load.
Rob Halff
@rhalff
hm ok at least @15 is not super strict
Rob Halff
@rhalff
should have read the docs first :)
Guy Bedford
@guybedford
This is why the CLI exists - to allow a dependency locking workflow with import maps over resolutions
On dev semver is used always at latest with X, X.Y and X.Y.Z based ranges only
Packages that use semver properly reduce fine with that rule though - eg enduting there’s only one react version
*ensuring
Rob Halff
@rhalff
Hi is this a possible bug in jspm? The following endpoint tries to import import "/npm:github@0.2.4/api/v*";: https://dev.jspm.io/npm:github@0.2?dew
It's an older module, but still I wonder what's going on.
Specifically it trying to import an url ending with a wildcard *, is that intentional?
Guy Bedford
@guybedford
@rhalff that looks like a bug in the preloader yes
it's due to this code - var cls = require("./api/v" + this.version); in the index.js file
where the analysis has some limited support for wildcards (hence the *)
but that support is specifically disabled for the usual conversion process
the preloader isn't disabling the wildcard support though causing the issue
(preloader injects deep dependency tree to avoid latency waterfall)
(so far as possible down to version uncertainty with far-future expires)
It should be an easy fix actually...
Rob Halff
@rhalff
I'm totally not into the code of jspm itself, so I assume you can judge best whether this should be fixed or not. It's older code I'm trying to import, would just be nice if it worked out of the box, I could try and update dependencies also.
Guy Bedford
@guybedford
it's a general issue, applying to any libraries that do require('asdf/' + identifier)
so I'm all for fixing it
Rob Halff
@rhalff
ah ok, then I'm sure I would probably face the same problem again also :)
Guy Bedford
@guybedford
ok it's fixed, but there seems to be another issue with it using old-style octal literals
@rhalff if you're interested, the bug is jspm/babel-plugin-transform-cjs-dew#12
happy to advise if you'd like to try working on it
but otherwise that isn't a priority for me personally
the require thing should be fully fixed now though
Rob Halff
@rhalff
I didn't realize it's actually a dynamic require call within that github package itself, which makes it very specific.
Rob Halff
@rhalff
I'll have a look, I now indeed get the error you've mentioned:
main.js? [sm]:26422 Error: Uncaught (in promise): SyntaxError: Octal escape sequences are not allowed in strict mode.
SyntaxError: Octal escape sequences are not allowed in strict mode.
valsar6
@valsar6
Hello guys, I'm sorry but I'm trying to follow the guide of 2.0 beta and I can't made http-server work for me
can someone help me please?
Guy Bedford
@guybedford
Hi @valsar6 what issue are you getting here? I haven't tested this in a while myself so there may well be something that got out of sync.
Would be glad to get it fixed.
Joel Denning
@joeldenning
@valsar6 I tried out http-server with jspm and am getting an error "jspm loader not found"
Is that what you are seeing?
What I am seeing is that when you install jspm globally with yarn it doesn't work. But that if you install it globally with npm, it does work
Joel Denning
@joeldenning
I created jspm/jspm-cli#2509 to discuss the issue with yarn installation
Dan Pettersson
@deap82
Does anyone here have any kind of input/theory/idea for this issue; https://discourse.aurelia.io/t/aurelia-plugin-loaded-from-jspm-folder-even-though-bundled/3195
Max
@MaximBalaganskiy
@deap82 I would step debug through the loader code to find out why it cannot be loaded from the bundle
Dan Pettersson
@deap82
What is the file system-csp-production.js? When is it used?
Kelly Navarro
@gabrnavarro
Hey guys is there a way to not download dependencies concurrently, or at least not too fast? Using jspm install
I think I might be getting ratelimited for downloading too many libraries at once
Ameer Jhan
@ameerthehacker
it does not work
Boris Aranovič
@nomaed
npm audit complains about security vulnerability. This is caused by the rollup-plugin-terser version used by the current project, which relies on a problematic version of serialize-javascript. rollup-plugin-terser have since released a new version which patches this vulnerability, and it would be helpful if jspm would use the new version. I even created a PR a couple of months ago: jspm/jspm-cli#2507
However, it doesn't look like there's much activity on the project's GitHib, so I am posting it here, with hopes that some maintainers can take a look at it.
Joe Pea
@trusktr
@gabrnavarro Are they github dependencies?
sravanmca21
@sravanmca21
Hi guys ... Is there any clear documentation on difference between.. jspm bundle and jspm bundle-sfx.. I am working on a Angular js project.. i want to minify the source code and bundle it as dist..