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

@marko/compiler

Package Overview
Dependencies
Maintainers
7
Versions
317
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@marko/compiler - npm Package Compare versions

Comparing version 5.37.26 to 5.38.0

2

config.d.ts

@@ -27,3 +27,3 @@ declare const Config: {

optimize?: boolean;
optimizeKnownTemplates?: string[];
optimizeRegistryId?: (request: string) => string | number;
cache?: Map<unknown, unknown>;

@@ -30,0 +30,0 @@ hot?: boolean;

@@ -172,3 +172,2 @@ "use strict";var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");exports.__esModule = true;exports.default = void 0;var _fs = _interopRequireDefault(require("fs"));

var _config = _interopRequireDefault(require("./taglib/config"));const config = { // The default output mode for compiled templates

@@ -210,6 +209,5 @@ output: "html", // Override the runtimeid used when calling `marko/components.init` in the `hydrate` output.

*/optimize: undefined, /**
* If `optimize` is enabled you can provide an array of template paths which the compiler will
* use to generate shorter registry/template ids using incrementing ids. This can only be used
* if the same `optimizeKnownTemplates` are used for both server and client compilations.
*/optimizeKnownTemplates: undefined, /**
* If `optimize` is enabled this function will be called to resolve the "template id" used for Marko's
* hydration registry.
*/optimizeRegistryId: undefined, /**
* This option should be set if `hydrate` output is specified.

@@ -216,0 +214,0 @@ * Maps a virtual dependency to a resolved file which can be implemented

{
"name": "@marko/compiler",
"version": "5.37.26",
"version": "5.38.0",
"description": "Marko template to JS compiler.",

@@ -69,3 +69,3 @@ "keywords": [

"@luxass/strip-json-comments": "^1.3.2",
"@marko/babel-utils": "^6.5.13",
"@marko/babel-utils": "^6.6.0",
"complain": "^1.6.1",

@@ -84,3 +84,3 @@ "he": "^1.2.0",

"devDependencies": {
"@marko/translator-default": "^6.0.26"
"@marko/translator-default": "^6.1.0"
},

@@ -87,0 +87,0 @@ "publishConfig": {

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