Skip to content

Releases: cujojs/cram

0.8.3: Announcement: RaveJS will succeed cram.js

05 Nov 18:32
Compare
Choose a tag to compare

Rave is definitely the future, so we're putting all of our effort into ensuring that RaveJS is as awesome as it can possibly be.

This means that all development for curl.js and cram.js has stopped. For the foreseeable future, we will continue to respond to issues on github, as well as in the #cujojs room on freenode. However, keep in mind that there will be no further development, so some issues might not be resolved fully.

We've added some info in the README, as well as some links to various RaveJS resources and a migration guide.

Watch rave to stay up to date!

Bug fixes for better compatibility with modules and task runners

15 Mar 00:02
Compare
Choose a tag to compare
  • Fix module parsing code to stop prematurely detecting the end of an
    AMD define when there are regexp literals inside parentheses.
  • Only declare global define() during bundling to help isolate problems
    with UMD modules running under node (as with gulp and grunt).
  • Separate argument-parsing code from cramming code so logic to run
    as a module or as a command-line tool can be done more sanely.

Fixes to cram's JavaScript API

11 Mar 13:19
Compare
Choose a tag to compare
  • Fix logic to detect whether cram is running as an npm task and ensure
    that the promise returned from the API only resolves once the bundle
    is created.
  • Stop appending to the cached AST data. It should be overwritten.

New JavaScript API allows integration with grunt and gulp!

13 Feb 02:15
Compare
Choose a tag to compare
  • Add a minimal JavaScript API and documentation.
  • Correct regression: --exclude CLI option now works again.
  • Handle when factory args > dependent module ids when simplifying AMD defines.
    For instance, the curl/loader/cjsm11 cram plugin adds an extra arg now.

Bug fix

23 Jan 13:18
Compare
Choose a tag to compare
  • Stop failing when plugins output more than one define().

More bug fixes

17 Jan 21:03
Compare
Choose a tag to compare

0.7.11

  • Fix compile bug that prevented use of css! plugin.
  • Start using when.js 2.x.
  • Fix configuration merging errors when inspecting both html and run.js.

0.7.10

  • Ensure that baseUrl and output are converted to absolute paths so
    node doesn't try to resolve them using node_modules logic.

Force cram to use absolute paths to find all modules

20 Dec 17:35
Compare
Choose a tag to compare
  • Ensure that baseUrl and output are converted to absolute paths so
    node doesn't try to resolve them using node_modules logic.

Bug fixes

19 Dec 21:05
Compare
Choose a tag to compare
  • Bug fix: plugins are now responsible for resolving url/filepath.
  • Bug fix: Normalize r-value require()s when using loaders, too.
  • Bug fix: Infer appRoot from run.js file, not just index.html.
    Improve logged messages a bit, too.
  • Bug fix: Excluded modules don't get compiled anymore.
    Force 'curl' and 'curl/_privileged' to be excluded in all cases.

Fix #32 and #33

19 Dec 20:59
Compare
Choose a tag to compare

Refactoring and bug fixes.

15 Oct 02:32
Compare
Choose a tag to compare
  • Lots of fixes to the code that groks html files.
  • Internal refactoring and reorganization