Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@swc/helpers

Package Overview
Dependencies
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@swc/helpers - npm Package Compare versions

Comparing version 0.4.3 to 0.4.4

.yarn/cache/@nodelib-fs.scandir-npm-2.1.5-89c67370dd-a970d595bd.zip

3

lib/_class_static_private_field_spec_get.js

@@ -7,6 +7,7 @@ "use strict";

var _classCheckPrivateStaticAccessMjs = _interopRequireDefault(require("./_class_check_private_static_access.js"));
var _classCheckPrivateStaticFieldDescriptorMjs = _interopRequireDefault(require("./_class_check_private_static_field_descriptor.js"));
var _classApplyDescriptorGetMjs = _interopRequireDefault(require("./_class_apply_descriptor_get.js"));
function _classStaticPrivateFieldSpecGet(receiver, classConstructor, descriptor) {
(0, _classCheckPrivateStaticAccessMjs).default(receiver, classConstructor);
(0, _classCheckPrivateStaticAccessMjs).default(descriptor, "get");
(0, _classCheckPrivateStaticFieldDescriptorMjs).default(descriptor, "get");
return (0, _classApplyDescriptorGetMjs).default(receiver, descriptor);

@@ -13,0 +14,0 @@ }

@@ -6,4 +6,4 @@ "use strict";

exports.default = _interopRequireWildcard;
function _interopRequireWildcard(obj) {
if (obj && obj.__esModule) {
function _interopRequireWildcard(obj, nodeInterop) {
if (!nodeInterop && obj && obj.__esModule) {
return obj;

@@ -16,3 +16,3 @@ }

}
var cache = _getRequireWildcardCache();
var cache = _getRequireWildcardCache(nodeInterop);
if (cache && cache.has(obj)) {

@@ -24,3 +24,3 @@ return cache.get(obj);

for(var key in obj){
if (Object.prototype.hasOwnProperty.call(obj, key)) {
if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;

@@ -40,9 +40,9 @@ if (desc && (desc.get || desc.set)) {

}
function _getRequireWildcardCache() {
function _getRequireWildcardCache(nodeInterop1) {
if (typeof WeakMap !== "function") return null;
var cache = new WeakMap();
_getRequireWildcardCache = function() {
return cache;
};
return cache;
var cacheBabelInterop = new WeakMap();
var cacheNodeInterop = new WeakMap();
return (_getRequireWildcardCache = function(nodeInterop) {
return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
})(nodeInterop1);
}
{
"name": "@swc/helpers",
"version": "0.4.3",
"version": "0.4.4",
"description": "External helpers for the swc project.",

@@ -17,2 +17,6 @@ "esnext": "src/index.mjs",

},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"keywords": [

@@ -19,0 +23,0 @@ "swc",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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