Versions in this module Expand all Collapse all v0 v0.27.1 Jul 30, 2020 Changes in this version + var DefaultOpts = map[string]interface + type Compiler struct + func New() *Compiler + func (c *Compiler) Compile(src, filename, pre, post string, strict bool, compatMode lib.CompatibilityMode) (*goja.Program, string, error) + func (c *Compiler) Transform(src, filename string) (code string, srcmap *SourceMap, err error) + type SourceMap struct + File string + Mappings string + Names []string + SourceRoot string + Sources []string + Version int