Update rand requirement from 0.7 to 0.8 and getrandom from 0.1 to 0.2 (#70)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
pull/71/head
dependabot[bot] 4 years ago committed by GitHub
parent 7aca89016d
commit d9fadca612
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      js/test/store.js
  2. 4
      lib/Cargo.toml

@ -77,6 +77,12 @@ describe('MemoryStore', function () {
const results = store.query('SELECT (YEAR(NOW()) AS ?y) WHERE {}')
assert.strictEqual(1, results.length)
})
it('SELECT with RAND()', function () {
const store = new MemoryStore([dataFactory.triple(ex, ex, ex)])
const results = store.query('SELECT (RAND() AS ?y) WHERE {}')
assert.strictEqual(1, results.length)
})
})
describe('#update()', function () {

@ -24,7 +24,7 @@ http_client = ["httparse", "native-tls"]
rocksdb = { version = "0.15", optional = true }
sled = { version = "0.34", optional = true }
quick-xml = "0.20"
rand = "0.7"
rand = "0.8"
md-5 = "0.9"
sha-1 = "0.9"
sha2 = "0.9"
@ -47,7 +47,7 @@ native-tls = { version = "0.2", optional = true }
[target.'cfg(target_arch = "wasm32")'.dependencies]
js-sys = "0.3"
getrandom = {version="0.1", features=["wasm-bindgen"]}
getrandom = {version="0.2", features=["js"]}
[dev-dependencies]
rayon = "1"

Loading…
Cancel
Save