@prismicio/api-renderer
Advanced tools
Comparing version 3.0.3 to 3.1.0-alpha.1
@@ -159,2 +159,3 @@ import * as t from "io-ts"; | ||
})[] | undefined; | ||
allowCaption?: boolean | undefined; | ||
} | undefined; | ||
@@ -329,2 +330,3 @@ }) | ({ | ||
})[] | undefined; | ||
allowCaption?: boolean | undefined; | ||
} | undefined; | ||
@@ -331,0 +333,0 @@ }) | ({ |
@@ -20,2 +20,3 @@ import * as t from "io-ts"; | ||
})[] | undefined; | ||
allowCaption?: boolean | undefined; | ||
} | undefined; | ||
@@ -39,3 +40,4 @@ }>, WithKey<{ | ||
})[] | undefined; | ||
allowCaption?: boolean | undefined; | ||
} | undefined; | ||
}>, unknown>; |
@@ -103,2 +103,3 @@ import * as t from "io-ts"; | ||
})[] | undefined; | ||
allowCaption?: boolean | undefined; | ||
} | undefined; | ||
@@ -122,2 +123,3 @@ }>, import("../..").WithKey<{ | ||
})[] | undefined; | ||
allowCaption?: boolean | undefined; | ||
} | undefined; | ||
@@ -124,0 +126,0 @@ }>, unknown>, t.Type<import("../..").WithKey<{ |
@@ -157,2 +157,3 @@ import * as t from "io-ts"; | ||
})[] | undefined; | ||
allowCaption?: boolean | undefined; | ||
} | undefined; | ||
@@ -317,2 +318,3 @@ }) | ({ | ||
})[] | undefined; | ||
allowCaption?: boolean | undefined; | ||
} | undefined; | ||
@@ -487,2 +489,3 @@ }) | ({ | ||
})[] | undefined; | ||
allowCaption?: boolean | undefined; | ||
} | undefined; | ||
@@ -647,2 +650,3 @@ }) | ({ | ||
})[] | undefined; | ||
allowCaption?: boolean | undefined; | ||
} | undefined; | ||
@@ -649,0 +653,0 @@ }) | ({ |
@@ -149,2 +149,3 @@ import * as t from "io-ts"; | ||
})[] | undefined; | ||
allowCaption?: boolean | undefined; | ||
} | undefined; | ||
@@ -316,2 +317,3 @@ }) | ({ | ||
})[] | undefined; | ||
allowCaption?: boolean | undefined; | ||
} | undefined; | ||
@@ -476,2 +478,3 @@ }) | ({ | ||
})[] | undefined; | ||
allowCaption?: boolean | undefined; | ||
} | undefined; | ||
@@ -643,2 +646,3 @@ }) | ({ | ||
})[] | undefined; | ||
allowCaption?: boolean | undefined; | ||
} | undefined; | ||
@@ -645,0 +649,0 @@ }) | ({ |
@@ -159,2 +159,3 @@ import * as t from "io-ts"; | ||
})[] | undefined; | ||
allowCaption?: boolean | undefined; | ||
} | undefined; | ||
@@ -319,2 +320,3 @@ }) | ({ | ||
})[] | undefined; | ||
allowCaption?: boolean | undefined; | ||
} | undefined; | ||
@@ -488,2 +490,3 @@ }) | ({ | ||
})[] | undefined; | ||
allowCaption?: boolean | undefined; | ||
} | undefined; | ||
@@ -648,2 +651,3 @@ }) | ({ | ||
})[] | undefined; | ||
allowCaption?: boolean | undefined; | ||
} | undefined; | ||
@@ -822,2 +826,3 @@ }) | ({ | ||
})[] | undefined; | ||
allowCaption?: boolean | undefined; | ||
} | undefined; | ||
@@ -982,2 +987,3 @@ }) | ({ | ||
})[] | undefined; | ||
allowCaption?: boolean | undefined; | ||
} | undefined; | ||
@@ -1161,2 +1167,3 @@ }) | ({ | ||
})[] | undefined; | ||
allowCaption?: boolean | undefined; | ||
} | undefined; | ||
@@ -1321,2 +1328,3 @@ }) | ({ | ||
})[] | undefined; | ||
allowCaption?: boolean | undefined; | ||
} | undefined; | ||
@@ -1323,0 +1331,0 @@ }) | ({ |
@@ -9,2 +9,3 @@ "use strict"; | ||
id: imageContentView.origin.id, | ||
caption: (0, utils_1.writeEmptyStringOrNull)(imageContentView.caption, ctx.emptyStringInsteadOfNull), | ||
edit: { | ||
@@ -11,0 +12,0 @@ x: imageContentView.edit.crop.x, |
@@ -20,3 +20,2 @@ "use strict"; | ||
link_type: "Media", | ||
id: link.id, | ||
name: link.name, | ||
@@ -23,0 +22,0 @@ kind: link.kind, |
{ | ||
"name": "@prismicio/api-renderer", | ||
"version": "3.0.3", | ||
"version": "3.1.0-alpha.1", | ||
"description": "Prismic renderers for the content API", | ||
@@ -28,4 +28,4 @@ "keywords": [ | ||
"release:dry": "standard-version --dry-run", | ||
"release:alpha": "npm run test && standard-version --release-as major --prerelease alpha && git push --follow-tags && npm run build && npm publish --tag alpha", | ||
"release:alpha:dry": "standard-version --release-as major --prerelease alpha --dry-run", | ||
"release:alpha": "npm run test && standard-version --prerelease alpha && git push --follow-tags && npm run build && npm publish --tag alpha", | ||
"release:alpha:dry": "standard-version --prerelease alpha --dry-run", | ||
"test": "jest --no-cache --silent=false --verbose=false --coverage", | ||
@@ -39,3 +39,3 @@ "eslint": "eslint . --cache --cache-location .caches/eslint --cache-strategy content --ext js,ts,tsx --max-warnings 0", | ||
"dependencies": { | ||
"@prismicio/types-internal": "2.3.1", | ||
"@prismicio/types-internal": "2.4.0-alpha.1", | ||
"tslib": "^2.5.0", | ||
@@ -42,0 +42,0 @@ "uuid": "^9.0.0" |
@@ -48,6 +48,2 @@ # @prismicio/api-renderer | ||
**Testing your changes Locally**: Reference this project in your local Wroom-Lambda-API to test your changes using [npm link](https://docs.npmjs.com/cli/v10/commands/npm-link) | ||
**Testing your changes Remotely**: Deploy an alpha version of this package, reference it in your Wroom-Lambda-API PR and deploy Wroom-Lambda-API in your environment. | ||
## License | ||
@@ -54,0 +50,0 @@ |
@@ -13,2 +13,3 @@ import type { ImageContent, ImageContentView } from "@prismicio/types-internal/lib/content" | ||
id: imageContentView.origin.id, | ||
caption: writeEmptyStringOrNull(imageContentView.caption, ctx.emptyStringInsteadOfNull), | ||
edit: { | ||
@@ -15,0 +16,0 @@ x: imageContentView.edit.crop.x, |
@@ -24,3 +24,2 @@ import type { FileLinkContent } from "@prismicio/types-internal/lib/content" | ||
link_type: "Media", | ||
id: link.id, | ||
name: link.name, | ||
@@ -27,0 +26,0 @@ kind: link.kind, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
701902
231
17619
2
97
87
+ Added@prismicio/types-internal@2.4.0-alpha.1(transitive)
- Removed@prismicio/types-internal@2.3.1(transitive)