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

@unified-latex/unified-latex-util-render-info

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@unified-latex/unified-latex-util-render-info - npm Package Compare versions

Comparing version 1.0.12 to 1.1.0

2

index.d.ts

@@ -14,3 +14,3 @@ import * as Ast from "@unified-latex/unified-latex-types";

*/
export declare function trimRenderInfo(ast: Ast.Ast): Ast.Ast;
export declare function trimRenderInfo<T extends Ast.Ast>(ast: T): T;
/**

@@ -17,0 +17,0 @@ * ## What is this?

@@ -1,18 +0,1 @@

var __defProp = Object.defineProperty;
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __propIsEnum = Object.prototype.propertyIsEnumerable;
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
var __spreadValues = (a, b) => {
for (var prop in b || (b = {}))
if (__hasOwnProp.call(b, prop))
__defNormalProp(a, prop, b[prop]);
if (__getOwnPropSymbols)
for (var prop of __getOwnPropSymbols(b)) {
if (__propIsEnum.call(b, prop))
__defNormalProp(a, prop, b[prop]);
}
return a;
};
// index.ts

@@ -22,3 +5,3 @@ import { visit } from "@unified-latex/unified-latex-util-visit";

if (renderInfo != null) {
node._renderInfo = __spreadValues(__spreadValues({}, node._renderInfo || {}), renderInfo);
node._renderInfo = { ...node._renderInfo || {}, ...renderInfo };
}

@@ -25,0 +8,0 @@ return node;

{
"name": "@unified-latex/unified-latex-util-render-info",
"version": "1.0.12",
"version": "1.1.0",
"description": "Functions for modifying a unified-latex AST",

@@ -8,4 +8,4 @@ "main": "index.js",

"dependencies": {
"@unified-latex/unified-latex-types": "^1.0.12",
"@unified-latex/unified-latex-util-visit": "^1.0.12"
"@unified-latex/unified-latex-types": "^1.1.0",
"@unified-latex/unified-latex-util-visit": "^1.1.0"
},

@@ -12,0 +12,0 @@ "repository": {

@@ -34,3 +34,3 @@ <!-- DO NOT MODIFY -->

```typescript
function trimRenderInfo(ast: Ast.Ast): Ast.Ast;
function trimRenderInfo<T extends Ast.Ast>(ast: Ast.Ast): T;
```

@@ -37,0 +37,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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