Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Mar 15 16:40
    guybedford closed #54
  • Mar 15 16:40
    guybedford commented #54
  • Mar 13 09:56
    KSXGitHub opened #55
  • Mar 08 12:03
    guybedford commented #54
  • Mar 08 01:16
    KSXGitHub edited #54
  • Mar 07 08:50
    KSXGitHub opened #54
  • Feb 23 23:17
    menelaosbgr commented #85
  • Feb 18 13:52
    dmail added as member
  • Feb 18 13:52
    dmail added as member
  • Feb 18 13:52
    dmail added as member
  • Feb 18 13:52
    dmail added as member
  • Feb 18 13:52
    dmail added as member
  • Feb 05 18:16
    ameerthehacker opened #53
  • Jan 29 09:43
    azazdeaz opened #52
  • Jan 13 10:00
    hiddenboox closed #604
  • Dec 04 2019 05:50

    guybedford on master

    updates (compare)

  • Dec 02 2019 00:28
    mclizz closed #178
  • Dec 02 2019 00:27
    mclizz opened #178
  • Nov 22 2019 21:20
    nosideeffects commented #46
  • Nov 22 2019 20:31
    guybedford commented #46
Guy Bedford
@guybedford
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..
Joe Pea
@trusktr
@nomaed For the purposes in which serialize-javascript is being used, I don't think there's any vulnerability. I think that issue is for websites that use it and deal with 3rd party code inside their application. In the case of jspm and terser plugin, it's just taking your code and compiling it, and you will already give jspm and terser both full access to all code to manipulate it any way those tools see fit (including access to run any and all of that code) so it doesn't matter much. In this case, there is trust in jspm and terser.

@guybedford Does jspm CDN support semver? I tried https://dev.jspm.io/@here/harp-omv-datasource@^0.13.0/index-worker but that doesn't work.

It'd be great if semver syntax was supported, just like with unpkg.

@ameerthehacker not all libraries work, because they don't all do things in a fully ES Module compatible way unfortunately.
@gabrnavarro I'm sorry you run into that ancient JSPM problem with rate limiting from GitHub. JSPM requires you to get and configure GitHub API keys to avoid that problem (at least last time I checked back in 2015).
Kelly Navarro
@gabrnavarro
@trusktr Hey, sorry i took too long to reply. The dependencies throwing the ratelimit is actually from the npm registry. We resolved the issue by just adding a retry. Hopefully there will be a longterm fix
Guy Bedford
@guybedford
@trusktr https://dev.jspm.io/@here/harp-omv-datasource@0.13/index-worker is the way to do semver - semver symbols aren't supported just leaving out the patch or minor
Joe Pea
@trusktr
@guybedford But then that means it is too easy to cause dependency forks, f.e. importing 4.5.1 and 4.5.2 of a dependency from two places, instead of ^4.5.1 and ^4.5.2 resolving to the latest 4.5.x
Oh wait, I see, so 4.5 in the URL is the same as ^4.5
And I assume the default is ^ behavior. So basically it supports the common use case of ^ but not others like ~ or ranges.
sravanmca21
@sravanmca21
Jspm budle failed with error below . 12:23:34 Command node --max-old-space-size=2048 node_modules/jspm/jspm bundle-sfx main public/myapp.js --inject --minify --source-map-contents && mv public/myapp* dist/public && cp public/config.js dist/public && jspm unbundle failed with exit code 137
12:23:34 [16:23:32] Error in plugin 'run-sequence(dist:bundle)'
What might be the issue?
Joshua Wilson
@jwilson8767
Can you try running just the first part (node --max-old-space-size=2048 node_modules/jspm/jspm bundle-sfx main public/myapp.js --inject --minify --source-map-contents)
Also, what version of JSPM are you on?
sravanmca21
@sravanmca21
Joshua Wilson
@jwilson8767
@sravanmca21 Can you post more of you log when running just the first part of that build command?
sravanmca21
@sravanmca21
Hi, sorry for the delay, please see the error below
18:21:45 Command node --max-old-space-size=8192 node_modules/jspm/jspm bundle-sfx main public/myapp.js --inject --minify --source-map-contents failed with exit code 137
18:21:45 [22:21:42] Error in plugin 'run-sequence(dist:bundle)'
18:21:45 Error
18:21:45 at finish (/jenkins/workspace/pipeline-change/node_modules/run-sequence/index.js:56:13)
18:21:45 at Gulp.onError (/jenkins/workspace/pipeline-change/node_modules/run-sequence/index.js:67:4)
18:21:45 at emitOne (events.js:101:20)
18:21:45 at Gulp.emit (events.js:188:7)
18:21:45 at Gulp.Orchestrator._emitTaskDone (/jenkins/workspace/pipeline-change/node_modules/orchestrator/index.js:264:8)
18:21:45 at /jenkins/workspace/pipeline-change/node_modules/orchestrator/index.js:275:23
18:21:45 at finish (/jenkins/workspace/pipeline-change/node_modules/orchestrator/lib/runTask.js:21:8)
18:21:45 at DestroyableTransform.<anonymous> (/jenkins/workspace/pipeline-change/node_modules/orchestrator/lib/runTask.js:52:4)
18:21:45 at DestroyableTransform.f (/jenkins/workspace/pipeline-change/node_modules/end-of-stream/node_modules/once/once.js:17:25)
18:21:45 at emitOne (events.js:101:20)
18:21:45 at DestroyableTransform.emit (events.js:188:7)
18:21:45 at /jenkins/workspace/pipeline-change/node_modules/gulp-shell/index.js:100:14
18:21:45 at /jenkins/workspace/pipeline-change/node_modules/gulp-shell/node_modules/async/lib/async.js:52:16
18:21:45 at /jenkins/workspace/pipeline-change/node_modules/gulp-shell/node_modules/async/lib/async.js:264:21
18:21:45 at /jenkins/workspace/pipeline-change/node_modules/gulp-shell/node_modules/async/lib/async.js:44:16
18:21:45 at /jenkins/workspace/pipeline-change/node_modules/gulp-shell/index.js:75:7
18:21:45 at ChildProcess.exithandler (child_process.js:213:5)
18:21:45 at emitTwo (events.js:106:13)
18:21:45 at ChildProcess.emit (events.js:191:7)
18:21:45 at maybeClose (internal/child_process.js:877:16)
18:21:45 at Socket.<anonymous> (internal/child_process.js:334:11)
18:21:45 at emitOne (events.js:96:13)
18:21:45 at Socket.emit (events.js:188:7)
Joshua Wilson
@jwilson8767
Just glancing through that stack trace I don't immediately see anything wrong, but I do wonder if you really need --inject? Looking back at these docs I'm thinking you may be able to simplify the command a bit to narrow in on the issue: https://jspm.org/docs/0.16/production-workflows.html
Guy Bedford
@guybedford
@trusktr if all your dependencies are ranged you can't fork yes
exactly always defaults to ^
Joshua Wilson
@jwilson8767
Hope y'all are staying safe through the quarantines! I've been surprised how many projects I can get myself committed to with just a little more free time in the day from staying home!
Guy Bedford
@guybedford
@jwilson8767 is that an offer to contribute to jspm!? :P
2.0 development has pretty much stopped now and will likely be abandoned
there is some work on 3.0 now which should see a public release in the next month or two
Joshua Wilson
@jwilson8767
More a lament that I'm bad at saying "no", lol. What's 3.0??
Guy Bedford
@guybedford
haha, nice
3.0 is a new reframing of the concept, will aim to provide more info soon