barnard59-core
Advanced tools
Comparing version 5.3.3 to 6.0.0
# barnard59-core | ||
## 6.0.0 | ||
### Major Changes | ||
- 3caf9e4: Freeze pipeline context object to prevent accidental modifications | ||
### Patch Changes | ||
- d48f198: Remove usage of `rdf-js` package (deprecated) | ||
## 5.3.3 | ||
@@ -4,0 +14,0 @@ |
@@ -40,3 +40,3 @@ import defaultLoaderRegistry from '../defaultLoaderRegistry.js'; | ||
pipeline.variables = variables; | ||
pipeline.context = context; | ||
pipeline.context = Object.freeze(context); | ||
for (const stepPtr of ptr.out(context.env.ns.p.steps).out(context.env.ns.p.stepList).list()) { | ||
@@ -43,0 +43,0 @@ if (stepPtr.has(context.env.ns.rdf.type, context.env.ns.p.Pipeline).terms.length > 0) { |
{ | ||
"name": "barnard59-core", | ||
"version": "5.3.3", | ||
"version": "6.0.0", | ||
"description": "Core component of Barnard59 Linked Data pipelines", | ||
@@ -33,3 +33,3 @@ "type": "module", | ||
"rdf-loader-code": "^2.1.3", | ||
"rdf-loaders-registry": "^1.0.1", | ||
"rdf-loaders-registry": "^1.0.2", | ||
"readable-stream": "^3.6.0", | ||
@@ -36,0 +36,0 @@ "untildify": "^5.0.0", |
@@ -40,3 +40,3 @@ import { strictEqual, rejects } from 'node:assert' | ||
strictEqual(pipeline.context.content.toString(), 'test') | ||
strictEqual(pipeline.context.variables.get('input').toString(), 'test') | ||
}) | ||
@@ -43,0 +43,0 @@ |
Sorry, the diff of this file is not supported yet
101090
Updatedrdf-loaders-registry@^1.0.2