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

prismic.io

Package Overview
Dependencies
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prismic.io - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

dist/prismic.io-1.0.4.min.js

4

dist/prismic.io.js

@@ -315,4 +315,4 @@ (function (Global, undefined) {

if (cb && docs.length) {
cb(docs);
if (cb) {
cb(docs || []);
}

@@ -319,0 +319,0 @@ });

@@ -5,3 +5,3 @@ module.exports = function(grunt) {

VERSION: '1.0.3',
VERSION: '1.0.4',

@@ -8,0 +8,0 @@ pkg: grunt.file.readJSON('package.json'),

@@ -6,3 +6,3 @@ {

"keywords": ["prismic", "prismic.io", "cms", "content", "api"],
"version": "1.0.3",
"version": "1.0.4",
"devDependencies": {

@@ -9,0 +9,0 @@ "grunt": "~0.4.1",

@@ -8,3 +8,3 @@ ## JavaScript development kit for prismic.io

```
https://github.com/prismicio/repository/raw/master/javascript/prismic.io-1.0.2.min.js
https://github.com/prismicio/repository/raw/master/javascript/prismic.io-1.0.4.min.js
```

@@ -11,0 +11,0 @@

@@ -315,4 +315,4 @@ (function (Global, undefined) {

if (cb && docs.length) {
cb(docs);
if (cb) {
cb(docs || []);
}

@@ -319,0 +319,0 @@ });

@@ -40,2 +40,11 @@ (function(Prismic) {

asyncTest('Submit the `everything` form with a predicate that give no results', 1, function() {
Prismic.Api(testRepository, function(Api) {
Api.forms('everything').ref(Api.master()).query('[[:d = at(document.type, "youhou")]]').submit(function(results) {
equal(results.length, 0);
start();
});
});
});
asyncTest('Submit the `products` form', 1, function() {

@@ -42,0 +51,0 @@ Prismic.Api(testRepository, function(Api) {

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