Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tpluscode/rdf-ns-builders

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tpluscode/rdf-ns-builders - npm Package Compare versions

Comparing version 3.0.4 to 4.0.0

vocabularies/cert.d.ts

13

index.d.ts

@@ -5,2 +5,3 @@ export { strict as acl } from './vocabularies/acl.js';

export { strict as cc } from './vocabularies/cc.js';
export { strict as cert } from './vocabularies/cert.js';
export { strict as cnt } from './vocabularies/cnt.js';

@@ -19,2 +20,3 @@ export { strict as constant } from './vocabularies/constant.js';

export { strict as dcterms } from './vocabularies/dcterms.js';
export { strict as dig } from './vocabularies/dig.js';
export { strict as discipline } from './vocabularies/discipline.js';

@@ -43,11 +45,18 @@ export { strict as doap } from './vocabularies/doap.js';

export { strict as ical } from './vocabularies/ical.js';
export { strict as la } from './vocabularies/la.js';
export { strict as ldp } from './vocabularies/ldp.js';
export { strict as list } from './vocabularies/list.js';
export { strict as locn } from './vocabularies/locn.js';
export { strict as log } from './vocabularies/log.js';
export { strict as lvont } from './vocabularies/lvont.js';
export { strict as m4i } from './vocabularies/m4i.js';
export { strict as ma } from './vocabularies/ma.js';
export { strict as mads } from './vocabularies/mads.js';
export { strict as math } from './vocabularies/math.js';
export { strict as oa } from './vocabularies/oa.js';
export { strict as og } from './vocabularies/og.js';
export { strict as oidc } from './vocabularies/oidc.js';
export { strict as org } from './vocabularies/org.js';
export { strict as owl } from './vocabularies/owl.js';
export { strict as pim } from './vocabularies/pim.js';
export { strict as prefix } from './vocabularies/prefix.js';

@@ -71,2 +80,3 @@ export { strict as prov } from './vocabularies/prov.js';

export { strict as sem } from './vocabularies/sem.js';
export { strict as set } from './vocabularies/set.js';
export { strict as sf } from './vocabularies/sf.js';

@@ -78,5 +88,8 @@ export { strict as sh } from './vocabularies/sh.js';

export { strict as skosxl } from './vocabularies/skosxl.js';
export { strict as solid } from './vocabularies/solid.js';
export { strict as sosa } from './vocabularies/sosa.js';
export { strict as sou } from './vocabularies/sou.js';
export { strict as ssn } from './vocabularies/ssn.js';
export { strict as stat } from './vocabularies/stat.js';
export { strict as string } from './vocabularies/string.js';
export { strict as test } from './vocabularies/test.js';

@@ -83,0 +96,0 @@ export { strict as time } from './vocabularies/time.js';

@@ -5,2 +5,3 @@ export { strict as acl } from './vocabularies/acl.js';

export { strict as cc } from './vocabularies/cc.js';
export { strict as cert } from './vocabularies/cert.js';
export { strict as cnt } from './vocabularies/cnt.js';

@@ -19,2 +20,3 @@ export { strict as constant } from './vocabularies/constant.js';

export { strict as dcterms } from './vocabularies/dcterms.js';
export { strict as dig } from './vocabularies/dig.js';
export { strict as discipline } from './vocabularies/discipline.js';

@@ -43,11 +45,18 @@ export { strict as doap } from './vocabularies/doap.js';

export { strict as ical } from './vocabularies/ical.js';
export { strict as la } from './vocabularies/la.js';
export { strict as ldp } from './vocabularies/ldp.js';
export { strict as list } from './vocabularies/list.js';
export { strict as locn } from './vocabularies/locn.js';
export { strict as log } from './vocabularies/log.js';
export { strict as lvont } from './vocabularies/lvont.js';
export { strict as m4i } from './vocabularies/m4i.js';
export { strict as ma } from './vocabularies/ma.js';
export { strict as mads } from './vocabularies/mads.js';
export { strict as math } from './vocabularies/math.js';
export { strict as oa } from './vocabularies/oa.js';
export { strict as og } from './vocabularies/og.js';
export { strict as oidc } from './vocabularies/oidc.js';
export { strict as org } from './vocabularies/org.js';
export { strict as owl } from './vocabularies/owl.js';
export { strict as pim } from './vocabularies/pim.js';
export { strict as prefix } from './vocabularies/prefix.js';

@@ -71,2 +80,3 @@ export { strict as prov } from './vocabularies/prov.js';

export { strict as sem } from './vocabularies/sem.js';
export { strict as set } from './vocabularies/set.js';
export { strict as sf } from './vocabularies/sf.js';

@@ -78,5 +88,8 @@ export { strict as sh } from './vocabularies/sh.js';

export { strict as skosxl } from './vocabularies/skosxl.js';
export { strict as solid } from './vocabularies/solid.js';
export { strict as sosa } from './vocabularies/sosa.js';
export { strict as sou } from './vocabularies/sou.js';
export { strict as ssn } from './vocabularies/ssn.js';
export { strict as stat } from './vocabularies/stat.js';
export { strict as string } from './vocabularies/string.js';
export { strict as test } from './vocabularies/test.js';

@@ -83,0 +96,0 @@ export { strict as time } from './vocabularies/time.js';

@@ -5,2 +5,3 @@ export { loose as acl } from './vocabularies/acl.js';

export { loose as cc } from './vocabularies/cc.js';
export { loose as cert } from './vocabularies/cert.js';
export { loose as cnt } from './vocabularies/cnt.js';

@@ -19,2 +20,3 @@ export { loose as constant } from './vocabularies/constant.js';

export { loose as dcterms } from './vocabularies/dcterms.js';
export { loose as dig } from './vocabularies/dig.js';
export { loose as discipline } from './vocabularies/discipline.js';

@@ -43,11 +45,18 @@ export { loose as doap } from './vocabularies/doap.js';

export { loose as ical } from './vocabularies/ical.js';
export { loose as la } from './vocabularies/la.js';
export { loose as ldp } from './vocabularies/ldp.js';
export { loose as list } from './vocabularies/list.js';
export { loose as locn } from './vocabularies/locn.js';
export { loose as log } from './vocabularies/log.js';
export { loose as lvont } from './vocabularies/lvont.js';
export { loose as m4i } from './vocabularies/m4i.js';
export { loose as ma } from './vocabularies/ma.js';
export { loose as mads } from './vocabularies/mads.js';
export { loose as math } from './vocabularies/math.js';
export { loose as oa } from './vocabularies/oa.js';
export { loose as og } from './vocabularies/og.js';
export { loose as oidc } from './vocabularies/oidc.js';
export { loose as org } from './vocabularies/org.js';
export { loose as owl } from './vocabularies/owl.js';
export { loose as pim } from './vocabularies/pim.js';
export { loose as prefix } from './vocabularies/prefix.js';

@@ -71,2 +80,3 @@ export { loose as prov } from './vocabularies/prov.js';

export { loose as sem } from './vocabularies/sem.js';
export { loose as set } from './vocabularies/set.js';
export { loose as sf } from './vocabularies/sf.js';

@@ -78,5 +88,8 @@ export { loose as sh } from './vocabularies/sh.js';

export { loose as skosxl } from './vocabularies/skosxl.js';
export { loose as solid } from './vocabularies/solid.js';
export { loose as sosa } from './vocabularies/sosa.js';
export { loose as sou } from './vocabularies/sou.js';
export { loose as ssn } from './vocabularies/ssn.js';
export { loose as stat } from './vocabularies/stat.js';
export { loose as string } from './vocabularies/string.js';
export { loose as test } from './vocabularies/test.js';

@@ -83,0 +96,0 @@ export { loose as time } from './vocabularies/time.js';

@@ -5,2 +5,3 @@ export { loose as acl } from './vocabularies/acl.js';

export { loose as cc } from './vocabularies/cc.js';
export { loose as cert } from './vocabularies/cert.js';
export { loose as cnt } from './vocabularies/cnt.js';

@@ -19,2 +20,3 @@ export { loose as constant } from './vocabularies/constant.js';

export { loose as dcterms } from './vocabularies/dcterms.js';
export { loose as dig } from './vocabularies/dig.js';
export { loose as discipline } from './vocabularies/discipline.js';

@@ -43,11 +45,18 @@ export { loose as doap } from './vocabularies/doap.js';

export { loose as ical } from './vocabularies/ical.js';
export { loose as la } from './vocabularies/la.js';
export { loose as ldp } from './vocabularies/ldp.js';
export { loose as list } from './vocabularies/list.js';
export { loose as locn } from './vocabularies/locn.js';
export { loose as log } from './vocabularies/log.js';
export { loose as lvont } from './vocabularies/lvont.js';
export { loose as m4i } from './vocabularies/m4i.js';
export { loose as ma } from './vocabularies/ma.js';
export { loose as mads } from './vocabularies/mads.js';
export { loose as math } from './vocabularies/math.js';
export { loose as oa } from './vocabularies/oa.js';
export { loose as og } from './vocabularies/og.js';
export { loose as oidc } from './vocabularies/oidc.js';
export { loose as org } from './vocabularies/org.js';
export { loose as owl } from './vocabularies/owl.js';
export { loose as pim } from './vocabularies/pim.js';
export { loose as prefix } from './vocabularies/prefix.js';

@@ -71,2 +80,3 @@ export { loose as prov } from './vocabularies/prov.js';

export { loose as sem } from './vocabularies/sem.js';
export { loose as set } from './vocabularies/set.js';
export { loose as sf } from './vocabularies/sf.js';

@@ -78,5 +88,8 @@ export { loose as sh } from './vocabularies/sh.js';

export { loose as skosxl } from './vocabularies/skosxl.js';
export { loose as solid } from './vocabularies/solid.js';
export { loose as sosa } from './vocabularies/sosa.js';
export { loose as sou } from './vocabularies/sou.js';
export { loose as ssn } from './vocabularies/ssn.js';
export { loose as stat } from './vocabularies/stat.js';
export { loose as string } from './vocabularies/string.js';
export { loose as test } from './vocabularies/test.js';

@@ -83,0 +96,0 @@ export { loose as time } from './vocabularies/time.js';

75

package.json
{
"name": "@tpluscode/rdf-ns-builders",
"version": "3.0.4",
"version": "4.0.0",
"description": "Generated RDF/JS namespace builders for common vocabularies",

@@ -10,12 +10,4 @@ "type": "module",

"types": "index.d.ts",
"bin": {
"rdf-ns-builders": "bin/index.js"
},
"scripts": {
"generate": "node --loader ts-node/esm src/bin/index.ts generate -p @zazuko/vocabularies -o src",
"test": "c8 --reporter=lcov mocha test/index.test.ts",
"prepack": "npm run build",
"lint": "eslint . --ext .ts --quiet --ignore-path .gitignore --ignore-path .eslintignore",
"build": "tsc",
"release": "changeset publish"
"generate": "node --loader ts-node/esm ../cli/index.ts generate -p @zazuko/vocabularies -o ."
},

@@ -28,5 +20,4 @@ "exports": {

"*.js",
"bin",
"build",
"vocabularies",
"vocabularies/*.js",
"vocabularies/*.d.ts",
"*.d.ts",

@@ -40,44 +31,8 @@ "*.d.ts.map"

"@types/rdfjs__namespace": "^2.0.2",
"@zazuko/prefixes": "^1.0.0",
"commander": "^7.2.0",
"fs-extra": "^10.0.0"
"@zazuko/prefixes": "^2.0.0"
},
"peerDependencies": {
"clownface": "^1",
"safe-identifier": "^0.4.2",
"ts-morph": ">=11",
"ts-node": ">= 8"
},
"devDependencies": {
"@changesets/cli": "^2.23.0",
"@tpluscode/eslint-config": "^0.4.2",
"@types/chai": "^4.2.11",
"@types/clownface": "^1.5.0",
"@types/mocha": "^9.1.1",
"@types/rdf-ext": "^2.0.1",
"@types/rdfjs__data-model": "^2",
"@typescript-eslint/eslint-plugin": "^5.55.0",
"@typescript-eslint/parser": "^5.55.0",
"@zazuko/vocabularies": "^1.0.0",
"c8": "^7.11.3",
"chai": "^4.2.0",
"clownface": "^1.5.1",
"eslint": "^8.5.0",
"eslint-config-standard": "^17.0.0",
"eslint-import-resolver-typescript": "^3.5.3",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-lit-a11y": "^2.2.0",
"eslint-plugin-n": "^15.6.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-require-extensions": "^0.1.2",
"husky": "^3.1.0",
"lint-staged": "^13.0.3",
"mocha": "^10.0.0",
"npm-run-all": "^4.1.5",
"safe-identifier": "^0.4.2",
"standard": "^17.0.0",
"ts-morph": "^15.1.0",
"ts-node": "^10.9.1",
"typescript": "^4.9.5"
"rdf-ext": "^2.2.0"
},

@@ -89,3 +44,4 @@ "publishConfig": {

"type": "git",
"url": "git+https://github.com/tpluscode/rdf-ns-builders.git"
"url": "git+https://github.com/tpluscode/rdf-ns-builders.git",
"directory": "packages/lib"
},

@@ -97,16 +53,3 @@ "author": "Tomasz Pluskiewicz",

},
"homepage": "https://github.com/tpluscode/rdf-ns-builders#readme",
"husky": {
"hooks": {
"pre-commit": "lint-staged && tsc --noEmit"
}
},
"lint-staged": {
"*.{js,ts}": [
"eslint --fix --quiet"
]
},
"mocha": {
"loader": "ts-node/esm"
}
"homepage": "https://github.com/tpluscode/rdf-ns-builders#readme"
}
import { NamedNode } from "@rdfjs/types";
interface Earl {
'': NamedNode<'https://www.w3.org/ns/earl#'>;
'': NamedNode<'http://www.w3.org/ns/earl#'>;
/** a statement that embodies the results of a test */
"Assertion": NamedNode<'https://www.w3.org/ns/earl#Assertion'>;
"Assertion": NamedNode<'http://www.w3.org/ns/earl#Assertion'>;
/** an entity such as a person, a software tool, an organization, or any other grouping that carries out a test collectively */
"Assertor": NamedNode<'https://www.w3.org/ns/earl#Assertor'>;
"Assertor": NamedNode<'http://www.w3.org/ns/earl#Assertor'>;
/** the class of outcomes to denote an undetermined outcome */
"CannotTell": NamedNode<'https://www.w3.org/ns/earl#CannotTell'>;
"CannotTell": NamedNode<'http://www.w3.org/ns/earl#CannotTell'>;
/** a discrete value that describes a resulting condition from carrying out the test */
"OutcomeValue": NamedNode<'https://www.w3.org/ns/earl#OutcomeValue'>;
"OutcomeValue": NamedNode<'http://www.w3.org/ns/earl#OutcomeValue'>;
/** the class of outcomes to denote failing a test */
"Fail": NamedNode<'https://www.w3.org/ns/earl#Fail'>;
"Fail": NamedNode<'http://www.w3.org/ns/earl#Fail'>;
/** the class of outcomes to denote the test is not applicable */
"NotApplicable": NamedNode<'https://www.w3.org/ns/earl#NotApplicable'>;
"NotApplicable": NamedNode<'http://www.w3.org/ns/earl#NotApplicable'>;
/** the class of outcomes to denote the test has not been carried out */
"NotTested": NamedNode<'https://www.w3.org/ns/earl#NotTested'>;
"NotTested": NamedNode<'http://www.w3.org/ns/earl#NotTested'>;
/** the class of outcomes to denote passing a test */
"Pass": NamedNode<'https://www.w3.org/ns/earl#Pass'>;
"Pass": NamedNode<'http://www.w3.org/ns/earl#Pass'>;
/** any piece of software such as an authoring tool, browser, or evaluation tool */
"Software": NamedNode<'https://www.w3.org/ns/earl#Software'>;
"Software": NamedNode<'http://www.w3.org/ns/earl#Software'>;
/** an atomic test, usually one that is a partial test for a requirement */
"TestCase": NamedNode<'https://www.w3.org/ns/earl#TestCase'>;
"TestCase": NamedNode<'http://www.w3.org/ns/earl#TestCase'>;
/** a testable statement, usually one that can be passed or failed */
"TestCriterion": NamedNode<'https://www.w3.org/ns/earl#TestCriterion'>;
"TestCriterion": NamedNode<'http://www.w3.org/ns/earl#TestCriterion'>;
/** describes how a test was carried out */
"TestMode": NamedNode<'https://www.w3.org/ns/earl#TestMode'>;
"TestMode": NamedNode<'http://www.w3.org/ns/earl#TestMode'>;
/** a higher-level requirement that is tested by executing one or more sub-tests */
"TestRequirement": NamedNode<'https://www.w3.org/ns/earl#TestRequirement'>;
"TestRequirement": NamedNode<'http://www.w3.org/ns/earl#TestRequirement'>;
/** the actual result of performing the test */
"TestResult": NamedNode<'https://www.w3.org/ns/earl#TestResult'>;
"TestResult": NamedNode<'http://www.w3.org/ns/earl#TestResult'>;
/** the class of things that have been tested against some test criterion */
"TestSubject": NamedNode<'https://www.w3.org/ns/earl#TestSubject'>;
"TestSubject": NamedNode<'http://www.w3.org/ns/earl#TestSubject'>;
/** assertor of an assertion */
"assertedBy": NamedNode<'https://www.w3.org/ns/earl#assertedBy'>;
"automatic": NamedNode<'https://www.w3.org/ns/earl#automatic'>;
"cantTell": NamedNode<'https://www.w3.org/ns/earl#cantTell'>;
"failed": NamedNode<'https://www.w3.org/ns/earl#failed'>;
"inapplicable": NamedNode<'https://www.w3.org/ns/earl#inapplicable'>;
"assertedBy": NamedNode<'http://www.w3.org/ns/earl#assertedBy'>;
"automatic": NamedNode<'http://www.w3.org/ns/earl#automatic'>;
"cantTell": NamedNode<'http://www.w3.org/ns/earl#cantTell'>;
"failed": NamedNode<'http://www.w3.org/ns/earl#failed'>;
"inapplicable": NamedNode<'http://www.w3.org/ns/earl#inapplicable'>;
/** additional warnings or error messages in a human-readable form */
"info": NamedNode<'https://www.w3.org/ns/earl#info'>;
"info": NamedNode<'http://www.w3.org/ns/earl#info'>;
/** assertor that is primarily responsible for performing the test */
"mainAssertor": NamedNode<'https://www.w3.org/ns/earl#mainAssertor'>;
"manual": NamedNode<'https://www.w3.org/ns/earl#manual'>;
"mainAssertor": NamedNode<'http://www.w3.org/ns/earl#mainAssertor'>;
"manual": NamedNode<'http://www.w3.org/ns/earl#manual'>;
/** mode in which the test was performed */
"mode": NamedNode<'https://www.w3.org/ns/earl#mode'>;
"mode": NamedNode<'http://www.w3.org/ns/earl#mode'>;
/** outcome of performing the test */
"outcome": NamedNode<'https://www.w3.org/ns/earl#outcome'>;
"passed": NamedNode<'https://www.w3.org/ns/earl#passed'>;
"outcome": NamedNode<'http://www.w3.org/ns/earl#outcome'>;
"passed": NamedNode<'http://www.w3.org/ns/earl#passed'>;
/** location within a test subject that are most relevant to a test result */
"pointer": NamedNode<'https://www.w3.org/ns/earl#pointer'>;
"pointer": NamedNode<'http://www.w3.org/ns/earl#pointer'>;
/** result of an assertion */
"result": NamedNode<'https://www.w3.org/ns/earl#result'>;
"semiAuto": NamedNode<'https://www.w3.org/ns/earl#semiAuto'>;
"result": NamedNode<'http://www.w3.org/ns/earl#result'>;
"semiAuto": NamedNode<'http://www.w3.org/ns/earl#semiAuto'>;
/** test subject of an assertion */
"subject": NamedNode<'https://www.w3.org/ns/earl#subject'>;
"subject": NamedNode<'http://www.w3.org/ns/earl#subject'>;
/** test criterion of an assertion */
"test": NamedNode<'https://www.w3.org/ns/earl#test'>;
"undisclosed": NamedNode<'https://www.w3.org/ns/earl#undisclosed'>;
"unknownMode": NamedNode<'https://www.w3.org/ns/earl#unknownMode'>;
"untested": NamedNode<'https://www.w3.org/ns/earl#untested'>;
"test": NamedNode<'http://www.w3.org/ns/earl#test'>;
"undisclosed": NamedNode<'http://www.w3.org/ns/earl#undisclosed'>;
"unknownMode": NamedNode<'http://www.w3.org/ns/earl#unknownMode'>;
"untested": NamedNode<'http://www.w3.org/ns/earl#untested'>;
}

@@ -63,0 +63,0 @@ export declare const strict: Record<keyof Earl, NamedNode<string>> & ((property?: TemplateStringsArray | keyof Earl | undefined) => NamedNode<string>) & Earl;

import namespace from "@rdfjs/namespace";
const builder = namespace("https://www.w3.org/ns/earl#");
const builder = namespace("http://www.w3.org/ns/earl#");
export const strict = builder;
export const loose = builder;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc