Skip to content

Commit

Permalink
style: --fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tpluscode committed Oct 17, 2023
1 parent 1406b72 commit 199cbd4
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/angry-wombats-float.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@zazuko/rdf-utils-fs": major
---

Removed direct dependency on formats package which must be provided by RDF/JS Environment
5 changes: 5 additions & 0 deletions .changeset/kind-pumpkins-attack.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@zazuko/rdf-utils-fs": major
---

Convert package to ESM
2 changes: 1 addition & 1 deletion Factory.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import fromFile from './fromFile.js'
import toFile from './toFile.js'

export default class {
init () {
init() {
this.fromFile = fromFile.bind(null, this)
this.toFile = toFile.bind(null, this)
}
Expand Down
2 changes: 1 addition & 1 deletion fromFile.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ export default function fromFile(env, filename, { extensions, ...options } = {})
return parser.import(createReadStream(filename), {
...options,
factory: env,
dataFactory: env
dataFactory: env,
})
}

0 comments on commit 199cbd4

Please sign in to comment.