Skip to content

Commit

Permalink
build: fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
tpluscode committed Sep 12, 2023
1 parent d8e047f commit c9efc46
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
3 changes: 2 additions & 1 deletion packages/vocabularies/test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { expect } from 'chai'
import { describe, it, before, after } from 'mocha'
import rdf from '@zazuko/env'
import prefixes, { shrink } from '@zazuko/prefixes'
import addAll from 'rdf-dataset-ext/addAll.js'
import { expand } from '../index.js'
import { vocabularies } from '../vocabularies.js'

Expand Down Expand Up @@ -41,7 +42,7 @@ describe('@zazuko/vocabularies', function () {
const result = await vocabularies({ only: ['skos', 'dcterms'] })
let mergedDataset = rdf.dataset()
Object.values(result).forEach((dataset) => {
mergedDataset = mergedDataset.merge(dataset)
mergedDataset = addAll(mergedDataset, dataset)
})
const stream = await vocabularies({ only: ['skos', 'dcterms'], stream: true })
let i = 0
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"strict": true,
"strictNullChecks": true,
"lib": [
"es2017",
"ES2022",
"webworker"
],
"declaration": true,
Expand Down
15 changes: 10 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -732,16 +732,21 @@
"@types/node" "*"
form-data "^3.0.0"

"@types/node@*", "@types/node@^18.0.0":
version "18.14.6"
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.14.6.tgz#ae1973dd2b1eeb1825695bb11ebfb746d27e3e93"
integrity sha512-93+VvleD3mXwlLI/xASjw0FzKcwzl3OdTCzm1LaRfqgS21gfFtK3zDXM5Op9TeeMsJVOaJ2VRDpT9q4Y3d0AvA==
"@types/node@*":
version "20.6.0"
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.6.0.tgz#9d7daa855d33d4efec8aea88cd66db1c2f0ebe16"
integrity sha512-najjVq5KN2vsH2U/xyh2opaSEz6cZMR2SetLIlxlj08nOcmPOemJmUK2o4kUzfLqfrWE0PIrNeE16XhYDd3nqg==

"@types/node@^12.7.1":
version "12.20.55"
resolved "https://registry.yarnpkg.com/@types/node/-/node-12.20.55.tgz#c329cbd434c42164f846b909bd6f85b5537f6240"
integrity sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==

"@types/node@^18.0.0":
version "18.17.15"
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.17.15.tgz#31301a273b9ca7d568fe6d1c35ae52e0fb3f8d6a"
integrity sha512-2yrWpBk32tvV/JAd3HNHWuZn/VDN1P+72hWirHnvsvTGSqbANi+kSeuQR9yAHnbvaBvHDsoTdXV0Fe+iRtHLKA==

"@types/normalize-package-data@^2.4.0":
version "2.4.1"
resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz#d3357479a0fdfdd5907fe67e17e0a85c906e1301"
Expand Down Expand Up @@ -3930,7 +3935,7 @@ rdf-data-factory@^1.1.0:
dependencies:
"@rdfjs/types" "*"

rdf-dataset-ext@^1:
rdf-dataset-ext@^1, rdf-dataset-ext@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/rdf-dataset-ext/-/rdf-dataset-ext-1.0.1.tgz#9df48566e57748f321e19c9ec713811badbd7ca5"
integrity sha512-I08/j+w0zqNRmFXbFhqxexmKsdS9nGDno/cG/OaF5sLxkDNrhyP82OxWx35ZPrjd4FG8T+TsGaxZFZkVIS85eA==
Expand Down

0 comments on commit c9efc46

Please sign in to comment.