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
6
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.34.7 to 5.35.0

2

babel-types.d.ts

@@ -1,2 +0,2 @@

/* eslint-disable import/export */
/* eslint-disable import/export, import/no-unresolved */
import { Scope } from "./dist/traverse";

@@ -3,0 +3,0 @@ export * from "./dist/types";

@@ -7,5 +7,4 @@ "use strict";

const isDev = !shouldOptimize();
const sourceMaps = new Map();
let installSourceMaps = () => {
installSourceMaps = () => {};
let setSourceMap = (filename, map) => {
const sourceMaps = new Map([[filename, map]]);
require("source-map-support").install({

@@ -22,2 +21,6 @@ handleUncaughtExceptions: false,

});
setSourceMap = (filename, map) => {
sourceMaps.set(filename, map);
};
};

@@ -45,4 +48,3 @@

if (compiled.map) {
sourceMaps.set(filename, compiled.map);
installSourceMaps();
setSourceMap(filename, compiled.map);
}

@@ -49,0 +51,0 @@

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

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

"type": "git",
"url": "https://github.com/marko-js/marko/tree/master/packages/compiler"
"url": "https://github.com/marko-js/marko/tree/main/packages/compiler"
},

@@ -23,2 +23,38 @@ "license": "MIT",

"main": "dist/index.js",
"exports": {
".": {
"types": "./index.d.ts",
"default": "./src/index.js"
},
"./config": {
"types": "./config.d.ts",
"default": "./src/config.js"
},
"./register": {
"types": "./register.d.ts",
"default": "./src/register.js"
},
"./modules": "./modules.js",
"./babel-types": "./babel-types.d.ts",
"./dist/types": "./dist/types.d.ts",
"./package.json": "./package.json"
},
"exports:override": {
".": {
"types": "./index.d.ts",
"default": "./dist/index.js"
},
"./config": {
"types": "./config.d.ts",
"default": "./dist/config.js"
},
"./register": {
"types": "./register.d.ts",
"default": "./dist/register.js"
},
"./modules": "./modules.js",
"./babel-types": "./babel-types.d.ts",
"./dist/types": "./dist/types.d.ts",
"./package.json": "./package.json"
},
"types": "index.d.ts",

@@ -36,18 +72,18 @@ "files": [

"scripts": {
"build": "babel ./src --out-dir ./dist --delete-dir-on-start --copy-files --config-file ../../babel.config.js --env-name=production",
"build:types": "node scripts/types-babel-types.mjs > ./dist/types.d.ts && node scripts/types-babel-traverse.js > ./dist/traverse.d.ts"
"build": "babel ./src --out-dir ./dist --copy-files --config-file ../../babel.config.js --env-name=production",
"prepare": "node -r ~ts scripts/types"
},
"dependencies": {
"@babel/code-frame": "^7.23.5",
"@babel/core": "^7.23.7",
"@babel/core": "^7.23.9",
"@babel/generator": "^7.23.6",
"@babel/parser": "^7.23.6",
"@babel/parser": "^7.23.9",
"@babel/plugin-syntax-typescript": "^7.23.3",
"@babel/plugin-transform-modules-commonjs": "^7.23.3",
"@babel/plugin-transform-typescript": "^7.23.6",
"@babel/runtime": "^7.23.8",
"@babel/traverse": "^7.23.7",
"@babel/types": "^7.23.6",
"@luxass/strip-json-comments": "^1.1.1",
"@marko/babel-utils": "^6.3.5",
"@babel/runtime": "^7.23.9",
"@babel/traverse": "^7.23.9",
"@babel/types": "^7.23.9",
"@luxass/strip-json-comments": "^1.2.0",
"@marko/babel-utils": "^6.4.0",
"complain": "^1.6.0",

@@ -66,3 +102,3 @@ "he": "^1.2.0",

"devDependencies": {
"@marko/translator-default": "^5.31.15"
"@marko/translator-default": "^5.32.0"
},

@@ -72,4 +108,3 @@ "publishConfig": {

},
"main:dev": "src/index.js",
"main:npm": "dist/index.js"
"main:override": "src/index.js"
}

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