Skip to content

Commit

Permalink
v5.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
quantizor committed Mar 24, 2022
1 parent a2bb310 commit ba9d732
Show file tree
Hide file tree
Showing 2 changed files with 84 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/styled-components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "styled-components",
"version": "5.3.3",
"version": "5.3.4",
"description": "Visual primitives for the component age. Use the best bits of ES6 and CSS to style your apps without stress",
"main": "dist/styled-components.cjs.js",
"jsnext:main": "dist/styled-components.esm.js",
Expand Down Expand Up @@ -30,6 +30,7 @@
"lint": "eslint src",
"lint:size": "bundlewatch",
"prettier": "prettier */**/*.js --write",
"postinstall": "node ./postinstall.js",

This comment has been minimized.

Copy link
@buniekwawa

buniekwawa Mar 24, 2022

you forget to add this postinstall.js file to files array in package.json
because of that 5.3.4 version is unable to being installed

image

@probablyup

This comment has been minimized.

Copy link
@quantizor

quantizor Mar 24, 2022

Author Contributor

Fixing it now

"prepublishOnly": "npm run build",
"dev": "cross-env BABEL_ENV=cjs babel-node example/startServer.js"
},
Expand Down
82 changes: 82 additions & 0 deletions packages/styled-components/postinstall.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
const statement = `
A message from the styled-components core team:
If you are seeing this, your environment is set to Russian locale. By now, it is our hope that you have seen the devastation, horrors, and complete disregard the Russian military has for Ukranian civilians. Our position is that this war is unprovoked, unjust, and a senseless act of genocide and aggression against the Ukranian people.
As of March 24, 2022 the following has been reported (based on the Kyiv Independent @kyivindependent news publication):
87 residential buildings damaged in Kyiv since Feb. 24.
According to the Kyiv City State Administration, Russian attacks have also damaged 10 private houses, 12 schools, and 6 kindergartens in the Ukrainian capital since the beginning of the full-scale invasion.
Russia launched 1,200 missiles on Ukraine.
Half of all Ukrainian children have been displaced since Feb. 24, according to UNICEF.
“Since the start of the war a month ago, out of every boy and girl in the country, one out of two now has had to flee their homes,” UNICEF spokesperson James Elder told CNN.
The Institute of Mass Information reported that one journalist also went missing. Overall, Russia has committed 148 crimes against journalists and media in Ukraine, according to the report.
Mariupol city council: Russian occupiers forcibly move 6,000 Mariupol residents to Russia.
The local authorities in the besieged seaport said on March 24 that Russian occupiers are now forcibly moving more of its residents to Russia, confiscating their Ukrainian passports.
“We’ve seen numerous credible reports of indiscriminate attacks and attacks deliberately targeting civilians, as well as other atrocities,” reads the March 23 statement by U.S. Secretary of State Antony Blinken.
1,143 buildings have been destroyed in Kharkiv since the beginning of the full-scale invasion of Ukraine.
According to Kharkiv Mayor Ihor Terekhov, Russian forces destroyed 1,143 buildings in Ukraine’s second-biggest city, 998 of which are residential buildings.
---
This is a small sampling of the things being reported on the ground in Ukraine. If you are in a position to do something, have connections, or can spread the word, this is the time to do so. Don't let Vladimir Putin permanently stain the souls of all Russian people with these atrocities. He must be removed from power immediately.
---
russian via google translate (sorry, I'm sure it's not perfect):
Сообщение от основной команды styled-components:

This comment has been minimized.

Copy link
@kof

kof Mar 24, 2022

drop the "основной", sounds weird in ru

Если вы видите это, ваша среда настроена на русскую локаль. Мы надеемся, что к настоящему моменту вы видели разруху, ужасы и полное пренебрежение российских военных к гражданскому населению Украины. Наша позиция заключается в том, что эта война является неспровоцированной, несправедливой и бессмысленным актом геноцида и агрессии против украинского народа.

This comment has been minimized.

Copy link
@kof

kof Mar 24, 2022

"Если вы виде это, ваша среда настроена на русский язык." (Locale sounds weird in russian, doesn't have the same meaning, but language is close)

This comment has been minimized.

Copy link
@kachkaev

kachkaev Mar 24, 2022

Member

«Если вы видите это» was correct. But it’s too minor to release a new version

По состоянию на 24 марта 2022 года сообщалось следующее (по материалам новостного издания Kyiv Independent @kyivindependent):

This comment has been minimized.

Copy link
@kof

kof Mar 24, 2022

Most russian speaking people will dismiss it because it's a Ukrainian news platform. Find a source, ideally multiple which are independent of both russia and ukrain

This comment has been minimized.

Copy link
@kof

kof Mar 24, 2022

Russian information will provide them with opposite facts and if you want to convince anybody you need multiple independent sources

С 24 февраля в Киеве повреждено 87 жилых домов.
По данным Киевской городской государственной администрации, с начала полномасштабного вторжения российские обстрелы также повредили 10 частных домов, 12 школ и 6 детских садов в украинской столице.
Россия запустила 1200 ракет по Украине.
По данным ЮНИСЕФ, половина всех украинских детей были перемещены с 24 февраля.
«С начала войны месяц назад из каждого мальчика и девочки в стране каждый второй был вынужден покинуть свои дома», — сказал CNN представитель ЮНИСЕФ Джеймс Элдер.
Институт массовой информации сообщил, что также пропал один журналист. Всего Россия совершила 148 преступлений против журналистов и СМИ в Украине, говорится в отчете.
Мариупольский горсовет: российские оккупанты насильно переселяют в Россию 6 тысяч мариупольцев.
24 марта местные власти осажденного морского порта заявили, что российские оккупанты сейчас насильственно переселяют в Россию все больше его жителей, отбирая у них украинские паспорта.
«Мы получили многочисленные заслуживающие доверия сообщения о неизбирательных нападениях и нападениях, преднамеренно направленных против гражданских лиц, а также о других зверствах», — говорится в заявлении госсекретаря США Энтони Блинкена от 23 марта.
В Харькове с начала полномасштабного вторжения в Украину разрушено 1143 дома.
По словам мэра Харькова Игоря Терехова, российские войска разрушили 1143 здания во втором по величине городе Украины, 998 из которых являются жилыми домами.
---
Это небольшая выборка того, что сообщается на местах в Украине. Если у вас есть возможность что-то сделать, у вас есть связи или вы можете распространить информацию, сейчас самое время это сделать. Не позволяйте Владимиру Путину навсегда запятнать души всех русских людей этими зверствами. Он должен быть немедленно отстранен от власти.
---
Slava Ukraini 🇺🇦
`;

if (
Intl.DateTimeFormat()
.resolvedOptions()
.locale.startsWith('ru')
) {
// eslint-disable-next-line
console.warn(statement);
}

0 comments on commit ba9d732

Please sign in to comment.