@sanity/data-aspects
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -131,3 +131,3 @@ 'use strict'; | ||
var constraints = this.getListConstraints(typeName); | ||
var selection = '"' + keyForId + '": .$id, "' + keyForDisplayFieldName + '": .' + fieldName; | ||
var selection = '"' + keyForId + '": _id, "' + keyForDisplayFieldName + '": ' + fieldName; | ||
return this.schema.name + '.' + typeName + ' [' + constraints + '] {' + selection + '}'; | ||
@@ -134,0 +134,0 @@ } |
{ | ||
"name": "@sanity/data-aspects", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Sanity plugin which controls how your data is presented", | ||
@@ -29,5 +29,5 @@ "main": "lib/DataAspectsResolver.js", | ||
"babel-preset-react": "^6.5.0", | ||
"eslint": "^2.12.0", | ||
"eslint-config-sanity": "^1.1.1", | ||
"eslint-plugin-react": "^5.1.1", | ||
"eslint": "^3.7.1", | ||
"eslint-config-sanity": "^1.1.3", | ||
"eslint-plugin-react": "^6.4.1", | ||
"rimraf": "^2.5.2" | ||
@@ -34,0 +34,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7481
1