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.79.4 to 7.80.0

lib/types-esm/components/AtplEngine.d.ts

3

lib/cjs/components/ReactEngine.js

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

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

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

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

@@ -75,0 +74,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 });

@@ -46,3 +22,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 (_a = name, Promise.resolve().then(() => __importStar(require(_a))));
const mdl = await import(name);
exports.requires.set(toName, mdl);

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

{
"name": "@tsed/engines",
"version": "7.79.4",
"description": "Template engines library. Provide an API to adding custom engines from decorators.",
"type": "commonjs",
"description": "Template engines library. Provide an API to adding custom engines from decorators.",
"version": "7.80.0",
"source": "./src/index.ts",

@@ -11,6 +11,7 @@ "main": "./lib/cjs/index.js",

"exports": {
"types": "./lib/types/index.d.ts",
"import": "./lib/esm/index.js",
"require": "./lib/cjs/index.js",
"default": "./lib/esm/index.js"
".": {
"types": "./lib/types/index.d.ts",
"import": "./lib/esm/index.js",
"default": "./lib/cjs/index.js"
}
},

@@ -20,4 +21,5 @@ "scripts": {

"barrels": "barrels",
"test": "jest --max-workers=2 && jest-coverage-thresholds-bumper",
"build:ts": "tsc --build tsconfig.json && tsc --build tsconfig.esm.json"
"test": "vitest run",
"build:ts": "tsc --build tsconfig.json",
"test:ci": "vitest run --coverage.thresholds.autoUpdate=true"
},

@@ -32,4 +34,4 @@ "dependencies": {

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

@@ -56,4 +58,2 @@ "atpl": "0.9.3",

"jazz": "^0.0.18",
"jest": "^29.7.0",
"jest-coverage-thresholds-bumper": "1.1.0",
"jqtpl": "^1.1.0",

@@ -84,5 +84,7 @@ "just": "^0.1.8",

"twing": "^5.0.2",
"typescript": "4.9.5",
"underscore": "^1.11.0",
"vash": "^0.13.0",
"velocityjs": "^2.0.1",
"vitest": "2.0.4",
"walrus": "^0.10.1",

@@ -89,0 +91,0 @@ "whiskers": "^0.4.0"

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