eyeling 1.10.17 → 1.10.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eyeling",
3
- "version": "1.10.17",
3
+ "version": "1.10.19",
4
4
  "description": "A minimal Notation3 (N3) reasoner in JavaScript.",
5
5
  "main": "./index.js",
6
6
  "keywords": [
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  'use strict';
3
3
 
4
- // Convert examples/input/*.{ttl,trig,srl} -> examples/*.n3 using n3gen.js
4
+ // Convert examples/input/*.{ttl,trig} -> examples/*.n3 using n3gen.js
5
5
  // Designed to work both in a git checkout (maintainer mode) and in an npm-installed package.
6
6
  //
7
7
  // In git mode:
@@ -109,14 +109,14 @@ function main() {
109
109
  const IN_GIT = inGitWorktree(root);
110
110
 
111
111
  const inputs = fs.readdirSync(inputDir)
112
- .filter(f => /\.(ttl|trig|srl)$/i.test(f))
112
+ .filter(f => /\.(ttl|trig)$/i.test(f))
113
113
  .sort((a, b) => a.localeCompare(b));
114
114
 
115
115
  info(`Running n3 conversions for ${inputs.length} inputs (${IN_GIT ? 'git worktree mode' : 'npm-installed mode'})`);
116
116
  console.log(`${C.dim}node ${process.version}${C.n}`);
117
117
 
118
118
  if (inputs.length === 0) {
119
- ok('No .ttl/.trig/.srl files found in examples/input/');
119
+ ok('No .ttl/.trig files found in examples/input/');
120
120
  process.exit(0);
121
121
  }
122
122
 
@@ -129,7 +129,7 @@ function main() {
129
129
  const start = Date.now();
130
130
 
131
131
  const inPath = path.join(inputDir, inFile);
132
- const base = inFile.replace(/\.(ttl|trig|srl)$/i, '');
132
+ const base = inFile.replace(/\.(ttl|trig)$/i, '');
133
133
  const outFile = `${base}.n3`;
134
134
 
135
135
  const expectedPath = path.join(examplesDir, outFile);
@@ -178,7 +178,7 @@ const SMOKE_EXAMPLES = [
178
178
  'age.n3',
179
179
  'basic-monadic.n3',
180
180
  'collection.n3',
181
- 'family.n3',
181
+ 'family-cousins.n3',
182
182
  'backward.n3',
183
183
  ];
184
184