@noeldemartin/solid-utils 0.4.0-next.852c9f9e65275fc2a2e67a9750784fb43a0fd64b → 0.4.0

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": "@noeldemartin/solid-utils",
3
- "version": "0.4.0-next.852c9f9e65275fc2a2e67a9750784fb43a0fd64b",
3
+ "version": "0.4.0",
4
4
  "description": "My JavaScript utilities for Solid",
5
5
  "main": "dist/noeldemartin-solid-utils.cjs.js",
6
6
  "module": "dist/noeldemartin-solid-utils.esm.js",
@@ -8,7 +8,6 @@ export interface ExpandIRIOptions {
8
8
  const knownPrefixes: RDFContext = {
9
9
  acl: 'http://www.w3.org/ns/auth/acl#',
10
10
  foaf: 'http://xmlns.com/foaf/0.1/',
11
- ldp: 'http://www.w3.org/ns/ldp#',
12
11
  pim: 'http://www.w3.org/ns/pim/space#',
13
12
  purl: 'http://purl.org/dc/terms/',
14
13
  rdf: 'http://www.w3.org/1999/02/22-rdf-syntax-ns#',
@@ -16,11 +16,9 @@ export interface ResourceOptions extends DocumentOptions {
16
16
  }
17
17
 
18
18
  export function fakeContainerUrl(options: Partial<ContainerOptions> = {}): string {
19
- const containerSlug = stringToSlug(faker.random.word());
20
19
  const baseUrl = options.baseUrl ?? faker.internet.url();
21
- const parentContainerUrl = baseUrl.endsWith('/') ? baseUrl : baseUrl + '/';
22
20
 
23
- return parentContainerUrl + containerSlug + '/';
21
+ return baseUrl.endsWith('/') ? baseUrl : baseUrl + '/';
24
22
  }
25
23
 
26
24
  export function fakeDocumentUrl(options: Partial<DocumentOptions> = {}): string {
@@ -1,16 +0,0 @@
1
- name: CI
2
-
3
- on: [push, pull_request]
4
-
5
- jobs:
6
- ci:
7
- runs-on: ubuntu-latest
8
- steps:
9
- - uses: actions/checkout@v3
10
- - uses: actions/setup-node@v3
11
- with:
12
- node-version-file: '.nvmrc'
13
- - run: npm ci
14
- - run: npm run build
15
- - run: npm run lint
16
- - run: npm run test