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

@unified-latex/unified-latex-builder

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@unified-latex/unified-latex-builder - npm Package Compare versions

Comparing version 1.0.0 to 1.0.5

dist/index.cjs.map

11

dist/index.js

@@ -54,3 +54,2 @@ // libs/builders.ts

function args(args2, special) {
var _a, _b;
if (!Array.isArray(args2)) {

@@ -66,8 +65,7 @@ args2 = [args2];

}
const openMark = (_a = special == null ? void 0 : special.defaultOpenMark) != null ? _a : "{";
const closeMark = (_b = special == null ? void 0 : special.defaultCloseMark) != null ? _b : "}";
const openMark = (special == null ? void 0 : special.defaultOpenMark) ?? "{";
const closeMark = (special == null ? void 0 : special.defaultCloseMark) ?? "}";
return normalizeArgumentsList(args2, openMark, closeMark);
}
function arg(args2, special) {
var _a, _b;
if (typeof args2 === "string") {

@@ -79,4 +77,4 @@ args2 = s(args2);

}
let openMark = (_a = special == null ? void 0 : special.openMark) != null ? _a : "{";
let closeMark = (_b = special == null ? void 0 : special.closeMark) != null ? _b : "}";
let openMark = (special == null ? void 0 : special.openMark) ?? "{";
let closeMark = (special == null ? void 0 : special.closeMark) ?? "}";
if (special == null ? void 0 : special.braces) {

@@ -136,1 +134,2 @@ const braces = bracesToOpenAndCloseMarks(special.braces);

};
//# sourceMappingURL=index.js.map
{
"name": "@unified-latex/unified-latex-builder",
"version": "1.0.0",
"version": "1.0.5",
"description": "Tools for constructing unified-latex ASTs",

@@ -8,3 +8,3 @@ "main": "dist/index.js",

"dependencies": {
"@unified-latex/unified-latex-types": "^1.0.0"
"@unified-latex/unified-latex-types": "^1.0.5"
},

@@ -18,18 +18,16 @@ "files": [

"exports": {
".": "./dist/index.js",
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./*js": "./dist/*js",
"./*": "./dist/*.js"
},
"typesVersions": {
"*": {
"*": [
"dist/*"
]
"./*": {
"import": "./dist/*.js",
"require": "./dist/*.cjs"
}
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "npm run clean && npm run compile",
"build": "npm run clean && mkdirp ./dist && npm run compile",
"clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo",
"compile": "tsc -b tsconfig.json"
"compile": "tsc -b tsconfig.json & node build.js & wait"
},

@@ -40,9 +38,27 @@ "repository": {

},
"keywords": [],
"author": "",
"license": "BSD",
"keywords": [
"pegjs",
"latex",
"parser",
"prettier",
"unified-latex",
"unified"
],
"author": "Jason Siefken",
"license": "MIT",
"bugs": {
"url": "https://github.com/siefkenj/unified-latex/issues"
},
"homepage": "https://github.com/siefkenj/unified-latex#readme"
"homepage": "https://github.com/siefkenj/unified-latex#readme",
"jest": {
"transformIgnorePatterns": [
"node_modules/(?!unified|bail|is-plain-obj|trough|vfile.*|unist.*|hast.*|property-information|html-void-elements|.*-separated-tokens|.*entities.*|ccount|rehype*|string-width|strip-ansi|ansi-regex|supports-color)"
],
"transform": {
"\\.m?jsx?$": "ts-jest",
"latex.pegjs$": "<rootDir>/../../tests/pegjs-preprocessor-latex.js",
"\\.pegjs$": "<rootDir>/../../tests/pegjs-preprocessor.js",
"^.+\\.tsx?$": "ts-jest"
}
}
}

@@ -16,2 +16,11 @@ <!-- DO NOT MODIFY -->

## Install
```bash
npm install @unified-latex/unified-latex-builder
```
This package contains both esm and commonjs exports. To explicitly access the esm export,
import the `.js` file. To explicitly access the commonjs export, import the `.cjs` file.
# Functions

@@ -18,0 +27,0 @@

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