Skip to content

Commit

Permalink
Merge pull request #197 from ably/use-nanoid-async
Browse files Browse the repository at this point in the history
Use nanoid non-secure
  • Loading branch information
Dominik authored Jul 1, 2022
2 parents 0e163bc + b13cfed commit 67b7690
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
ably-ui (7.9.3)
ably-ui (7.9.3.dev.a74555e)
view_component (>= 2.33, < 2.50)

GEM
Expand Down
2 changes: 1 addition & 1 deletion lib/ably_ui/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module AblyUi
VERSION = '7.9.3'
VERSION = '7.9.3.dev.a74555e'
end
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ably/ui",
"version": "7.9.3",
"version": "7.9.3-dev.a74555e",
"description": "Home of the Ably design system library ([design.ably.com](https://design.ably.com)). It provides a showcase, development/test environment and a publishing pipeline for different distributables.",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion preview/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ gem 'view_component', '~> 2.33.0', require: 'view_component/engine'

gem 'responders'

gem 'ably-ui', '7.8.4', require: 'ably_ui'
gem 'ably-ui', '7.9.3.dev.a74555e', require: 'ably_ui'
4 changes: 2 additions & 2 deletions preview/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
GEM
remote: https://rubygems.org/
specs:
ably-ui (7.8.4)
ably-ui (7.9.3.dev.a74555e)
view_component (>= 2.33, < 2.50)
actioncable (6.0.3.4)
actionpack (= 6.0.3.4)
Expand Down Expand Up @@ -169,7 +169,7 @@ PLATFORMS
ruby

DEPENDENCIES
ably-ui (= 7.8.4)
ably-ui (= 7.9.3.dev.a74555e)
bootsnap (>= 1.4.2)
byebug
listen (~> 3.2)
Expand Down
2 changes: 1 addition & 1 deletion preview/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "preview",
"private": true,
"dependencies": {
"@ably/ui": "7.8.4",
"@ably/ui": "7.9.3-dev.a74555e",
"@babel/preset-react": "^7.12.5",
"@rails/ujs": "^6.0.0",
"@rails/webpacker": "4.3.0",
Expand Down
8 changes: 4 additions & 4 deletions preview/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
# yarn lockfile v1


"@ably/ui@7.8.4":
version "7.8.4"
resolved "https://registry.yarnpkg.com/@ably/ui/-/ui-7.8.4.tgz#8795bcfa43f68f157e14434efbe5fdc0eed6dfcd"
integrity sha512-sVmx7Lk+m1drOpWC+7eXDtqV9ttJmUoL2k4iN2iu1vemT+s1mOM3xylfvgQV3fUA8I+biqHP4hgx0HDpEMbuvg==
"@ably/ui@7.9.3-dev.a74555e":
version "7.9.3-dev.a74555e"
resolved "https://registry.yarnpkg.com/@ably/ui/-/ui-7.9.3-dev.a74555e.tgz#e176f99653efc4cca5279f84057aa5242de673b6"
integrity sha512-6SEf/99HZ3uooA9m44WiUCvur9P0mKYjDcGtpmPZYQmDZoImxeWbzrHyiWZiLLOQKuaSQzlhXKfUWledJ+UopA==
dependencies:
array-flat-polyfill "^1.0.1"
deepmerge "^4.2.2"
Expand Down
2 changes: 1 addition & 1 deletion src/core/Logo/component.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useMemo } from "react";
import T from "prop-types";
import { nanoid } from "nanoid";
import { nanoid } from "nanoid/non-secure";

const Logo = ({ dataId, href = "/" }) => {
// This fixes a bug where if the logo is rendered more than once on the page, and one of the instances
Expand Down

0 comments on commit 67b7690

Please sign in to comment.