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

@tsed/engines

Package Overview
Dependencies
Maintainers
0
Versions
390
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tsed/engines - npm Package Compare versions

Comparing version 7.81.1 to 7.81.2

3

lib/cjs/components/ReactEngine.js

@@ -65,2 +65,3 @@ "use strict";

async $compileFile(file, options) {
var _a;
// Assign HTML Base

@@ -71,3 +72,3 @@ const { base, enableCache, isNonStatic } = this.configure(options);

const ReactDOM = await (0, cache_js_1.importEngine)("react-dom/server", "ReactDOM");
const { default: Code } = await import(path);
const { default: Code } = await (_a = path, Promise.resolve().then(() => tslib_1.__importStar(require(_a))));
const Factory = this.engine.createFactory(Code);

@@ -74,0 +75,0 @@ return () => {

"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
var _a;
Object.defineProperty(exports, "__esModule", { value: true });

@@ -22,3 +46,3 @@ exports.readPartials = exports.read = exports.cache = exports.clearCache = exports.getFromCache = exports.setToCache = exports.setEngine = exports.importEngine = exports.getCachedEngine = exports.requires = void 0;

async function setEngine(name, toName = name) {
const mdl = await import(name);
const mdl = await (_a = name, Promise.resolve().then(() => __importStar(require(_a))));
exports.requires.set(toName, mdl);

@@ -25,0 +49,0 @@ }

@@ -5,3 +5,3 @@ {

"type": "commonjs",
"version": "7.81.1",
"version": "7.81.2",
"source": "./src/index.ts",

@@ -34,4 +34,4 @@ "main": "./lib/cjs/index.js",

"@babel/preset-react": "7.24.1",
"@tsed/barrels": "7.81.1",
"@tsed/typescript": "7.81.1",
"@tsed/barrels": "7.81.2",
"@tsed/typescript": "7.81.2",
"@types/semver": "^7.5.8",

@@ -38,0 +38,0 @@ "atpl": "0.9.3",

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