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

@marko/compiler

Package Overview
Dependencies
Maintainers
0
Versions
301
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.14 to 5.37.15

15

dist/babel-types/types/definitions.js

@@ -9,3 +9,2 @@ "use strict";exports.__esModule = true;exports.default = exports.MARKO_TYPES = exports.MARKO_ALIAS_TYPES = void 0;var _utils = require("@babel/types/lib/definitions/utils");

const valueFieldCommon = {

@@ -85,3 +84,3 @@ value: {

body: {
validate: (0, _utils.arrayOfType)(["Statement"])
validate: arrayOfType(["Statement"])
},

@@ -171,3 +170,3 @@ static: {

body: {
validate: (0, _utils.arrayOfType)([
validate: arrayOfType([
"MarkoTag",

@@ -201,3 +200,3 @@ "MarkoCDATA",

attributes: {
validate: (0, _utils.arrayOfType)(["MarkoAttribute", "MarkoSpreadAttribute"]),
validate: arrayOfType(["MarkoAttribute", "MarkoSpreadAttribute"]),
default: []

@@ -237,2 +236,8 @@ },

)
);
);
// Note this is inline because a change in babel caused a regression with this api.
// TODO: we should not rely on babels validators or builders.
function arrayOfType(types) {
return (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)(...types)));
}
{
"name": "@marko/compiler",
"version": "5.37.14",
"version": "5.37.15",
"description": "Marko template to JS compiler.",

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

"@luxass/strip-json-comments": "^1.3.2",
"@marko/babel-utils": "^6.5.6",
"@marko/babel-utils": "^6.5.7",
"complain": "^1.6.0",

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

"devDependencies": {
"@marko/translator-default": "^6.0.15"
"@marko/translator-default": "^6.0.16"
},

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

Sorry, the diff of this file is too big to display

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