@swc/helpers
Advanced tools
Comparing version 0.5.6 to 0.5.7
@@ -54,5 +54,3 @@ /* @minVersion 7.20.0 */ | ||
if (kind !== 0 /* FIELD */) { | ||
ctx.addInitializer = createAddInitializerMethod(initializers, decoratorFinishedRef); | ||
} | ||
ctx.addInitializer = createAddInitializerMethod(initializers, decoratorFinishedRef); | ||
@@ -310,13 +308,9 @@ var get, set; | ||
// initialize staticInitializers when we see a non-field static member | ||
if (kind !== 0 /* FIELD */) { | ||
staticInitializers = staticInitializers || []; | ||
initializers = staticInitializers; | ||
} | ||
staticInitializers = staticInitializers || []; | ||
initializers = staticInitializers; | ||
} else { | ||
base = Class.prototype; | ||
// initialize protoInitializers when we see a non-field member | ||
if (kind !== 0 /* FIELD */) { | ||
protoInitializers = protoInitializers || []; | ||
initializers = protoInitializers; | ||
} | ||
protoInitializers = protoInitializers || []; | ||
initializers = protoInitializers; | ||
} | ||
@@ -323,0 +317,0 @@ |
{ | ||
"name": "@swc/helpers", | ||
"packageManager": "yarn@4.0.2", | ||
"version": "0.5.6", | ||
"version": "0.5.7", | ||
"description": "External helpers for the swc project.", | ||
@@ -6,0 +6,0 @@ "module": "esm/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
229235
4573