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

@uniorgjs/orgx

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uniorgjs/orgx - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

CHANGELOG.md

21

lib/core.js

@@ -7,2 +7,3 @@ /**

* @typedef {import('./plugin/recma-jsx-rewrite.js').RecmaJsxRewriteOptions} RecmaJsxRewriteOptions
* @typedef {import('uniorg-parse/lib/parse-options').ParseOptions} UniorgParseOptions
* @typedef {import('uniorg-rehype').Options} UniorgRehypeOptions

@@ -15,6 +16,2 @@ *

* Whether to compile to a whole program or a function body..
* @property {Array<string>} [mdExtensions]
* Extensions (with `.`) for markdown.
* @property {Array<string>} [mdxExtensions]
* Extensions (with `.`) for MDX.
* @property {PluggableList} [recmaPlugins]

@@ -26,2 +23,4 @@ * List of recma (esast, JavaScript) plugins.

* List of rehype (hast, HTML) plugins.
* @property {UniorgParseOptions} [uniorgParseOptions]
* Options to pass to `uniorg-parse`.
* @property {UniorgRehypeOptions} [uniorgRehypeOptions]

@@ -48,4 +47,4 @@ * Options to pass through to `uniorg-rehype`.

*
* 1. Parse MDX (serialized markdown with embedded JSX, ESM, and expressions)
* 2. Transform through uniorg (mdast), rehype (hast), and recma (esast)
* 1. Parse Org
* 2. Transform through uniorg (orgast), rehype (hast), and recma (esast)
* 3. Serialize as JavaScript

@@ -62,6 +61,7 @@ *

providerImportSource,
recmaPlugins,
rehypePlugins,
uniorgParseOptions = {},
uniorgPlugins,
uniorgRehypeOptions = {},
rehypePlugins,
recmaPlugins,
SourceMapGenerator,

@@ -71,5 +71,4 @@ ...rest

const pipeline = unified().use(uniorgParse);
pipeline
const pipeline = unified()
.use(uniorgParse, uniorgParseOptions)
.use(uniorgPlugins || [])

@@ -76,0 +75,0 @@ .use(uniorgRehype, {

{
"name": "@uniorgjs/orgx",
"version": "1.0.0",
"version": "1.0.1",
"description": "Org-mode to JS compiler",

@@ -14,6 +14,2 @@ "type": "module",

},
"scripts": {
"build": "rm -rf ./types && tsc -p tsconfig.build.json",
"prepublishOnly": "npm run build"
},
"repository": {

@@ -46,3 +42,5 @@ "type": "git",

},
"gitHead": "c92b8d9026bdffa7894e167c251ec86f6276b7f9"
}
"scripts": {
"build": "rm -rf ./types && tsc -p tsconfig.build.json"
}
}

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