New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

emscripten-library-decorator

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

emscripten-library-decorator - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

17

index.ts

@@ -49,15 +49,2 @@ // @dep decorator.

function prepareNamespace(name: string) {
return((target: any) => {
var body = __decorate.caller.caller.toString();
var prefix = new RegExp('^[ (]*function *\\( *' + name + ' *\\) *\\{');
var suffix = new RegExp('var +' + target.name + ' *= *[^]*$');
body = (namespaceBodyTbl[name] || '') + body.replace(prefix, '').replace(suffix, '');
namespaceBodyTbl[name] = body;
});
}
function exportNamespace(name: string) {

@@ -81,2 +68,4 @@ var exportName = name.substr(1);

mergeInto(LibraryManager.library, lib);
return((target: any) => {});
}

@@ -88,3 +77,3 @@

function _defineHidden(value?: any) {
return((target: any, key: string) => {
return((target: Object, key: string) => {
Object.defineProperty(target, key, {

@@ -91,0 +80,0 @@ configurable: false,

2

package.json
{
"name": "emscripten-library-decorator",
"version": "0.1.4",
"version": "0.1.5",
"description": "Decorators for writing Emscripten libraries",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/charto/emscripten-library-decorator",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc