@gram-data/gram-value
Advanced tools
Comparing version 0.4.0-alpha.5 to 0.4.0-alpha.6
import { Plugin } from 'unified'; | ||
import { LiteralValueEvaluator } from './gram-value'; | ||
interface ValuePluginSettings { | ||
export interface ValuePluginSettings { | ||
literalValueEvaluator?: LiteralValueEvaluator; | ||
} | ||
declare const gramValuePlugin: Plugin<ValuePluginSettings[]>; | ||
export declare const gramValuePlugin: Plugin<ValuePluginSettings[]>; | ||
export default gramValuePlugin; |
@@ -377,3 +377,2 @@ 'use strict'; | ||
}; | ||
var gramValuePlugin = function gramValuePlugin(settings) { | ||
@@ -380,0 +379,0 @@ var s = _extends({}, defaultSettings, settings); |
@@ -371,3 +371,2 @@ import { isGramRecord, isGramLiteralArray, isGramLiteral, isGramPath } from '@gram-data/gram-ast'; | ||
}; | ||
var gramValuePlugin = function gramValuePlugin(settings) { | ||
@@ -374,0 +373,0 @@ var s = _extends({}, defaultSettings, settings); |
@@ -612,3 +612,2 @@ (function (global, factory) { | ||
}; | ||
var gramValuePlugin = function gramValuePlugin(settings) { | ||
@@ -615,0 +614,0 @@ var s = _extends({}, defaultSettings, settings); |
@@ -1,3 +0,2 @@ | ||
import gramValuePlugin from './gram-value-plugin'; | ||
export { gramValuePlugin, ValuePluginSettings } from './gram-value-plugin'; | ||
export * from './gram-value'; | ||
export { gramValuePlugin }; |
@@ -9,3 +9,3 @@ { | ||
], | ||
"version": "0.4.0-alpha.5", | ||
"version": "0.4.0-alpha.6", | ||
"license": "MIT", | ||
@@ -55,4 +55,4 @@ "repository": { | ||
"devDependencies": { | ||
"@gram-data/gram-builder": "^0.4.0-alpha.5", | ||
"@gram-data/gram-parse": "^0.4.0-alpha.5", | ||
"@gram-data/gram-builder": "^0.4.0-alpha.6", | ||
"@gram-data/gram-parse": "^0.4.0-alpha.6", | ||
"@types/jest": "^26.0.19", | ||
@@ -73,3 +73,3 @@ "@types/unist": "^2.0.3", | ||
"dependencies": { | ||
"@gram-data/gram-ast": "^0.4.0-alpha.5", | ||
"@gram-data/gram-ast": "^0.4.0-alpha.6", | ||
"unified": "^9.2.0", | ||
@@ -81,3 +81,3 @@ "unist-util-visit": "^2.0.3" | ||
}, | ||
"gitHead": "8dd43df83dd2da82e4df5d3360923e3c6a7c9d22" | ||
"gitHead": "340da9a4c75c98bfe2c5a043f0b465e7fad0953a" | ||
} |
@@ -9,3 +9,3 @@ import { Plugin, Transformer } from 'unified'; | ||
interface ValuePluginSettings { | ||
export interface ValuePluginSettings { | ||
literalValueEvaluator?: LiteralValueEvaluator; | ||
@@ -18,3 +18,3 @@ } | ||
const gramValuePlugin: Plugin<ValuePluginSettings[]> = ( | ||
export const gramValuePlugin: Plugin<ValuePluginSettings[]> = ( | ||
settings: ValuePluginSettings | ||
@@ -21,0 +21,0 @@ ) => { |
@@ -1,5 +0,3 @@ | ||
import gramValuePlugin from './gram-value-plugin'; | ||
export { gramValuePlugin, ValuePluginSettings } from './gram-value-plugin'; | ||
export * from './gram-value'; | ||
export { gramValuePlugin }; |
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
Sorry, the diff of this file is not supported yet
172301
1577