ld-query icon indicating copy to clipboard operation
ld-query copied to clipboard

Querying JSON-LD

Results 10 ld-query issues
Sort by recently updated
recently updated
newest added

Bumps [thenify](https://github.com/thenables/thenify) from 3.3.0 to 3.3.1. Changelog Sourced from thenify's changelog. 3.3.1 / 2020-06-18 fixes [0d94a24] - fix: remove eval (#30) (Yiyu He ) Commits 1d054b4 Release 3.3.1 0d94a24 fix:...

dependencies

Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=path-parse&package-manager=npm_and_yarn&previous-version=1.0.6&new-version=1.0.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21. Commits f299b52 Bump to v4.17.21 c4847eb Improve performance of toNumber, trim and trimEnd on large input strings 3469357 Prevent command injection through _.template's variable...

dependencies

When searching in a document for a node with arbitrary identity (e.g. `[@id=http://xyz.com]`) this will only match if the identified node is at the top of the queryied JSON.

The document I'm querying is Example 2 from [http://schema.org/Book](http://schema.org/Book). Here's a relevant snippet: ```json { "@context": "http://schema.org", "@graph": [ { "@id": "#author", "@type": "Person", "birthDate": "1892", "deathDate": "1973", "name": "Tolkien,...

enhancement
question

If you pass in `{}` as the context, you get an error: ``` TypeError: expand is not a function at extractStep (/home/ubuntu/workspace/node_modules/ld-query/src/ld-query.js:284:29) at getSteps (/home/ubuntu/workspace/node_modules/ld-query/src/ld-query.js:296:25) at select (/home/ubuntu/workspace/node_modules/ld-query/src/ld-query.js:326:21) at QueryNode.query...

We aim to have as many analogies between our selectors and the CSS level 3 selectors as possible. Define which selectors we provide along with a mapping to the CSS...

enhancement

Some examples of using the library: 1. Client-side javascript 2. node.js

enhancement