Fixed import

This commit is contained in:
Benjamin Bädorf 2020-11-25 16:49:13 +01:00
parent 90835a3e83
commit dcae06fdb0
No known key found for this signature in database
GPG key ID: 4406E80E13CD656C
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{ {
"name": "unitfile-parser", "name": "unitfile-parser",
"version": "1.0.3", "version": "1.0.4",
"description": "Parse systemd unit files", "description": "Parse systemd unit files",
"main": "./src/mod.mjs", "main": "./src/mod.mjs",
"exports": "./src/mod.mjs", "exports": "./src/mod.mjs",

View file

@ -1,5 +1,5 @@
import stringToAst from "./string-to-ast.mjs"; import stringToAst from "./string-to-ast.mjs";
import astToData from "./astToData.mjs"; import astToData from "./ast-to-data.mjs";
export default function stringToData(data) { export default function stringToData(data) {
return astToData(stringToAst(data)); return astToData(stringToAst(data));