Socket
Socket
Sign inDemoInstall

@prismicio/mock

Package Overview
Dependencies
Maintainers
0
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@prismicio/mock - npm Package Versions

12

0.0.9

Diff

Changelog

Source

0.0.9 (2022-03-21)

Features

  • replace faker with custom fake data generator (#8) (bd60c5c)

Bug Fixes

  • type in SliceZone value generator (75b21ca)

Chore

angeloashmore
published 0.0.8 •

Changelog

Source

0.0.8 (2022-02-22)

Features

  • customize Integration Fields field model with a specific catalog (b349ee6)
  • support empty Group, Slice Zone, and Title fields (82d02ff)

Bug Fixes

  • type issue with SliceZone slice_type field (b8b490b)
angeloashmore
published 0.0.7 •

Changelog

Source

0.0.7 (2022-02-19)

Features

  • more customizable and deterministic generated models and values (#7) (274f5ca)

Bug Fixes

  • support boolean for isFilled link value option (ee4e473)

Documentation

Chore

  • add esbuild as dev dependency (ac6ff21)
  • config: update config to latest standards (6b85471)
  • deps: update dependencies with npm update (028c5f2)
  • downgrade to AVA 3 (fccbbec)
  • replace esbuild-register with ts-eager (791bd74)
  • update dependencies (eba4a05)
  • update dependencies (1fdfe6e)
  • update dependencies (except faker) (dd59fad)
angeloashmore
published 0.0.6 •

Changelog

Source

0.0.6 (2021-08-28)

Features

  • rename slices config to sliceZone (50c1c9f)
  • return alternative language documents for mock documents (4444df2)
  • use given variations in a Shared Slice model (c5b7afd)

Bug Fixes

  • generate image thumbnail names without spaces (25b26b6)
  • use Custom Type tab names with more variety (f2c905c)

Refactor

angeloashmore
published 0.0.5 •

Changelog

Source

0.0.5 (2021-08-23)

Features

  • mock a Slice Zone with given choice models (a565ebc)
  • support string seed (3616cb8)

Bug Fixes

  • filter UID field from document's data field (5e17ec9)
  • generate mock sliceZone choices if none are given (c421c46)
angeloashmore
published 0.0.4 •

Changelog

Source

0.0.4 (2021-08-20)

Features

angeloashmore
published 0.0.3 •

Changelog

Source

0.0.3 (2021-08-19)

Features

  • support integration fields and linked documents (921ce13)

Bug Fixes

  • types (3fe946e)
  • use deterministic timestamp for integration fields (e3112d9)

Documentation

  • add missing documentation disclaimer (9dca75f)
angeloashmore
published 0.0.2 •

Changelog

Source

0.0.2 (2021-08-11)

Features

  • allow explicit blank target for link values (93c87cf)
  • use mock URLs for url fields (414f35e)
angeloashmore
published 0.0.1 •

Changelog

Source

0.0.1 (2021-08-11)

Features

  • add document generator (edd7787)
  • add group and slice value generators (2804d36)
  • add model generators (ad95cd2)
  • add non-group-based value generators (5561ea1)
  • add remaining field model generators (66b5ee5)
  • add rich text value generators (f8bc705)
  • add subset of value generators (50bcf16)
  • enable deterministic generation (7332eac)
  • export model and value modules from index (1a56262)
  • init (4e24f1c)

Bug Fixes

  • don't set labels when using Shared Slices (4725b5e)
  • prioritize specific seeds over general ones (27b795f)
  • use enum for Rich Text block type (2689a52)

Documentation

  • add experimental notice (f20e12c)
  • add README content (7450b75)
  • use more general package description (e6edd0f)

Refactor

  • rename getRandomXData to getMockXData (b92ed9a)

Chore

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