Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@glimmer/app-compiler
Advanced tools
A broccoli plugin that wraps Glimmer's optimizing compiler for producing the required pre-computed objects for Glimmer VM based applications.
For most apps the plugin can be used as the following:
import { BundleCompiler } from '@glimmer/app-compiler';
...
let optimizedApp = BundleCompiler(app, {
projectPath: 'my-app',
mode: 'module-unification'
});
return optimizedApp;
If you need to do more advanced things like registering AST plugins or using custom project layout you can do something like the following:
import { BundleCompiler } from '@glimmer/app-compiler';
import { BundleCompilerDelegate } from '@glimmer/compiler-delegates'
...
class MyCustomCompilerDelegate implements BundleCompilerDelegate {
...
}
let optimizedApp = BundleCompiler(app, {
projectPath: 'my-app',
delegate: MyCustomCompilerDelegate,
outputFiles: {
heapFile: 'snowflake/location/template.gbx',
dataSegment: 'snowflake/data.js'
},
bundleCompiler: {
plugins: [MyASTPlugin]
}
});
return optimizedApp;
interface GlimmerBundleCompilerOptions {
projectPath: string; // where the project is at
bundleCompiler: BundleCompilerOptions; // Options specifically for the compiler
outputFiles?: OutputFiles; // Where to write the output
delegate?: BundleCompilerDelegateConstructor; // Delegate to discover information about templates
mode?: 'module-unification'; // Builtin delegate
}
interface BundleCompilerDelegateConstructor {
new(): BundleCompilerDelegate;
}
export interface OutputFiles {
dataSegment: Option<string>;
heapFile: Option<string>;
}
interface BundleCompilerOptions {
plugins?: ASTPluginBuilder[];
}
FAQs
Broccoli tooling for Glimmer-VM based applications
We found that @glimmer/app-compiler demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 12 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.