![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
babel-plugin-inline-webgl-constants
Advanced tools
Babel plugin for replacing long gl constants with the shorter corresponding numbers
Replaces gl.<constant>
or GL.<constant>
references with the corresponding OpenGL constant value.
When used on luma.gl applications, also removes any import of the GL
namespace.
const max = gl.MAX_VERTEX_ATTRIBS;
const max = 34921;
import GL from '@luma.gl/constants';
...
const max = GL.MAX_VERTEX_ATTRIBS;
...
const max = 34921;
$ npm install --save-dev babel-plugin-inline-webgl-constants
.babelrc
(Recommended).babelrc
{
"plugins": ["inline-webgl-constants"]
}
$ babel --plugins inline-webgl-constants script.js
require("babel-core").transform("code", {
plugins: ["inline-webgl-constants"]
});
1.0.1 - Initial release.
Note: Unfortunately 3.0.0-beta6 was published without beta tag and takes precedence when using wildcard installs.
FAQs
Babel plugin for replacing long gl constants with the shorter corresponding numbers
We found that babel-plugin-inline-webgl-constants demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.