Skip to content

Releases: felixge/node-sandboxed-module

2.0.3

08 Sep 00:53
Compare
Choose a tag to compare

Fix .coffee source transformer matching to actually match .coffee instead of anything ending with one character plus coffee. (@svi3c, #52)

2.0.2

02 Jun 22:59
Compare
Choose a tag to compare

Pass through native modules without attempting to sandbox them. (@mihail-stanchev, #49)

Update the list of built-in modules for io.js.

0.2.1 (botched release)

02 Jun 22:58
Compare
Choose a tag to compare

This release was never successfully published to npm due to an error in the prepublish script that was discovered after pushing to GitHub.

2.0.0

22 Dec 19:22
Compare
Choose a tag to compare

Recursively apply source transformers (unless the sourceTransformersSingleOnly option is set).

1.0.3

18 Nov 17:51
Compare
Choose a tag to compare

Allow modules that start with a shebang (#!) to be sandboxed, instead of giving a syntax error. (@themaarten, #38)

1.0.2

07 Oct 19:57
Compare
Choose a tag to compare

Fixed how we wrapped source files ending with a // comment. (@themaarten, #37)

1.0.1

02 Jul 20:29
Compare
Choose a tag to compare

Fixed requiring of .json files that contained something besides an object, i.e. array or true or false or null or a number.

Included a more complete list of built-in modules, which will fix any ENOENT errors like those seen in #33. Thanks to @robrich for the initial work on this approach in #34.

1.0.0

11 Jun 02:30
Compare
Choose a tag to compare

Added recursive sandboxing support; dependencies of sandboxed modules will now be sandboxed as well. On by default, but can be turned off with singleOnly: true. (@Illniyar, #27)

Added support for mocking out .json modules. (@Illniyar, #27)

Fixed the Istanbul transformer when using Istanbul programatically. (@robrich, #31)

0.3.0

11 Jun 02:33
Compare
Choose a tag to compare

Added the "source transformer" framework, as a generalization of our existing CoffeeScript support. This allows custom source transformers (with the sourceTransformers option), and some built-in ones. (@searls, #26)

Added an istanbul source transformer, included by default. (@searls, #26)

0.2.2

11 Jun 02:34
Compare
Choose a tag to compare

Fixed module.parent to be correct inside sandboxed modules. (@oroce, #24)