New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@twreporter/core

Package Overview
Dependencies
Maintainers
4
Versions
131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@twreporter/core - npm Package Compare versions

Comparing version 1.8.3-rc.0 to 1.8.3-rc.1

12

CHANGELOG.md

@@ -6,2 +6,14 @@ # Change Log

## [1.8.3-rc.1](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/core@1.8.3-rc.0...@twreporter/core@1.8.3-rc.1) (2023-03-07)
### Bug Fixes
* adjust subcategory naming & url ([50c2556](https://github.com/twreporter/twreporter-npm-packages/commit/50c2556a2bc0da036592aa3e5ab6ea75a3edf7a7))
* subcategory naming & url ([94aa92a](https://github.com/twreporter/twreporter-npm-packages/commit/94aa92ab0ebae534db55d97be33fe3848edc88a8))
## [1.8.3-rc.0](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/core@1.8.2...@twreporter/core@1.8.3-rc.0) (2023-02-23)

@@ -8,0 +20,0 @@

16

lib/constants/category-set.js

@@ -67,3 +67,3 @@ "use strict";

jpAndKr: 'jp-and-kr',
southeastAsia: 'southeast-asia',
indoPacific: 'indo-pacific',
europe: 'europe',

@@ -76,3 +76,3 @@ others: 'others',

transformationalJustice: 'transformational-justice',
mentalIllness: 'mental-illness',
socialAdministration: 'social-administration',
justice: 'justice',

@@ -94,3 +94,3 @@ digital: 'digital',

publicHealth: 'public-health',
energyEnv: 'energy-env',
cicularEconomy: 'circular-economy',
ocean: 'ocean',

@@ -108,7 +108,7 @@ mountainAndForest: 'mountain-and-forest',

movie: 'movie',
literature: 'literature',
publishing: 'publishing',
music: 'music',
dramaAndTheatre: 'drama-and-theatre',
art: 'art',
eduPolicy: 'edu-policy',
scientificResearch: 'scientific-research',
higherEducation: 'higher-education',

@@ -125,5 +125,5 @@ teens: 'teens',

exports.SUBCATEGORY_PATH = SUBCATEGORY_PATH;
var SUBCATEGORY_LABEL = (_SUBCATEGORY_LABEL = {}, _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.all, '全部'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.hk, '香港'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.china, '中國'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.us, '美國'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.jpAndKr, '日韓'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.southeastAsia, '東南亞'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.europe, '歐洲'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.others, '其他'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.gender, '性別'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.labor, '勞動'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.immigrant, '移工與移民'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.housingJustice, '居住正義'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.transformationalJustice, '轉型正義'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.mentalIllness, '精神疾病'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.justice, '獄政司法'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.digital, '數位人權'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.election, '選舉'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.politicalPartyAndLocalFaction, '政黨與地方政治'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.policy, '政策'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.transportation, '交通'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.foodSafety, '食安'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.informationWarfare, '資訊戰'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.socialwatch, '社會觀察'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.pandemic, '疫情'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.healthPolicy, '醫療政策'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.biotech, '生物科技'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.patientAutonomy, '病人自主權利'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.psychology, '心理'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.longTermCare, '長照'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.publicHealth, '公共衛生'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.energyEnv, '能源'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.ocean, '海洋'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.mountainAndForest, '山林'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.animal, '動物'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.climateChange, '氣候變遷'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.pollution, '環境污染'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.naturalDisaster, '自然災害'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.economy, '經濟'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.energyEcon, '能源'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.agriculture, '農業'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.technology, '科技'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.peAndSports, '體育'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.movie, '電影'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.literature, '文學'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.music, '音樂'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.dramaAndTheatre, '戲劇'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.art, '藝術'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.eduPolicy, '教育政策'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.higherEducation, '高等教育'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.teens, '青少年'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.parenting, '育兒'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.lowBirthRate, '少子化'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.theRealStory, 'The Real Story'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.onTheGround, 'On the Ground 路邊攤計畫'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.bookReview, '書摘與書評'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.letter, '讀者投書'), _SUBCATEGORY_LABEL);
var SUBCATEGORY_LABEL = (_SUBCATEGORY_LABEL = {}, _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.all, '全部'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.hk, '香港'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.china, '中國'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.us, '美國'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.jpAndKr, '日韓'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.indoPacific, '東南亞與印太'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.europe, '歐洲'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.others, '其他'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.gender, '性別'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.labor, '勞動'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.immigrant, '移工與移民'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.housingJustice, '居住正義'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.transformationalJustice, '轉型正義'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.socialAdministration, '社政安置'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.justice, '獄政司法'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.digital, '數位人權'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.election, '選舉'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.politicalPartyAndLocalFaction, '政黨與地方政治'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.policy, '政策'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.transportation, '交通'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.foodSafety, '食安'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.informationWarfare, '資訊戰'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.socialwatch, '社會觀察'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.pandemic, '疫情'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.healthPolicy, '醫療政策'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.biotech, '生物科技'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.patientAutonomy, '病人自主權利'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.psychology, '心理'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.longTermCare, '長照'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.publicHealth, '公共衛生'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.cicularEconomy, '循環經濟'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.ocean, '海洋'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.mountainAndForest, '山林'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.animal, '動物'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.climateChange, '能源與氣候變遷'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.pollution, '環境污染'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.naturalDisaster, '自然災害'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.economy, '經濟'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.energyEcon, '能源'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.agriculture, '農林漁牧'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.technology, '科技'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.peAndSports, '體育'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.movie, '電影'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.publishing, '出版'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.music, '音樂'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.dramaAndTheatre, '戲劇'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.art, '藝術'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.scientificResearch, '科學研究'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.higherEducation, '高等教育'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.teens, '青少年'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.parenting, '育兒'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.lowBirthRate, '少子化'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.theRealStory, 'The Real Story'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.onTheGround, 'On the Ground 路邊攤計畫'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.bookReview, '書摘與書評'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.letter, '讀者投書'), _SUBCATEGORY_LABEL);
exports.SUBCATEGORY_LABEL = SUBCATEGORY_LABEL;
var SUBCATEGORY_ID = (_SUBCATEGORY_ID = {}, _defineProperty(_SUBCATEGORY_ID, subcategoryPath.all, ''), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.hk, '63206383207bf7c5f871622d'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.china, '63206383207bf7c5f871622e'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.us, '63206383207bf7c5f871622f'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.jpAndKr, '63206383207bf7c5f8716230'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.southeastAsia, '63206383207bf7c5f8716231'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.europe, '63206383207bf7c5f8716232'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.others, '63206383207bf7c5f8716233'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.gender, '63206383207bf7c5f8716235'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.labor, '63206383207bf7c5f8716236'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.immigrant, '63206383207bf7c5f8716237'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.housingJustice, '63206383207bf7c5f8716238'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.transformationalJustice, '63206383207bf7c5f8716239'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.mentalIllness, '63206383207bf7c5f871623a'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.justice, '63206383207bf7c5f871623b'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.digital, '63206383207bf7c5f871623c'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.election, '63206383207bf7c5f871623e'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.politicalPartyAndLocalFaction, '63206383207bf7c5f871623f'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.policy, '63206383207bf7c5f8716240'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.transportation, '63206383207bf7c5f8716241'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.foodSafety, '63206383207bf7c5f8716242'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.informationWarfare, '63206383207bf7c5f8716243'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.socialwatch, '63206383207bf7c5f8716244'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.pandemic, '63206383207bf7c5f8716246'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.healthPolicy, '63206383207bf7c5f8716247'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.biotech, '63206383207bf7c5f8716248'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.patientAutonomy, '63206383207bf7c5f8716249'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.psychology, '63206383207bf7c5f871624a'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.longTermCare, '63206383207bf7c5f871624b'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.publicHealth, '63206383207bf7c5f871624c'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.energyEnv, '63206383207bf7c5f871624e'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.ocean, '63206383207bf7c5f871624f'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.mountainAndForest, '63206383207bf7c5f8716250'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.animal, '63206383207bf7c5f8716251'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.climateChange, '633407174a9cab5ac7a90738'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.pollution, '63206383207bf7c5f8716252'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.naturalDisaster, '63206383207bf7c5f8716253'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.economy, '63206383207bf7c5f8716255'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.energyEcon, '63206383207bf7c5f8716256'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.agriculture, '63206383207bf7c5f8716257'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.technology, '63206383207bf7c5f8716258'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.peAndSports, '63206383207bf7c5f871625a'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.movie, '63206383207bf7c5f871625b'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.literature, '63206383207bf7c5f871625c'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.music, '63206383207bf7c5f871625d'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.dramaAndTheatre, '63206383207bf7c5f871625e'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.art, '63206383207bf7c5f871625f'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.eduPolicy, '63206383207bf7c5f8716261'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.higherEducation, '63206383207bf7c5f8716262'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.teens, '63206383207bf7c5f8716263'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.parenting, '63206383207bf7c5f8716264'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.lowBirthRate, '63206383207bf7c5f8716265'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.theRealStory, '63206383207bf7c5f8716267'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.onTheGround, '63206383207bf7c5f8716268'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.bookReview, '63206383207bf7c5f871626a'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.letter, '63206383207bf7c5f871626b'), _SUBCATEGORY_ID); // flip SUBCATEGORY_ID to a {id: path} object
var SUBCATEGORY_ID = (_SUBCATEGORY_ID = {}, _defineProperty(_SUBCATEGORY_ID, subcategoryPath.all, ''), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.hk, '63206383207bf7c5f871622d'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.china, '63206383207bf7c5f871622e'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.us, '63206383207bf7c5f871622f'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.jpAndKr, '63206383207bf7c5f8716230'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.indoPacific, '63206383207bf7c5f8716231'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.europe, '63206383207bf7c5f8716232'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.others, '63206383207bf7c5f8716233'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.gender, '63206383207bf7c5f8716235'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.labor, '63206383207bf7c5f8716236'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.immigrant, '63206383207bf7c5f8716237'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.housingJustice, '63206383207bf7c5f8716238'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.transformationalJustice, '63206383207bf7c5f8716239'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.socialAdministration, '63206383207bf7c5f871623a'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.justice, '63206383207bf7c5f871623b'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.digital, '63206383207bf7c5f871623c'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.election, '63206383207bf7c5f871623e'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.politicalPartyAndLocalFaction, '63206383207bf7c5f871623f'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.policy, '63206383207bf7c5f8716240'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.transportation, '63206383207bf7c5f8716241'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.foodSafety, '63206383207bf7c5f8716242'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.informationWarfare, '63206383207bf7c5f8716243'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.socialwatch, '63206383207bf7c5f8716244'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.pandemic, '63206383207bf7c5f8716246'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.healthPolicy, '63206383207bf7c5f8716247'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.biotech, '63206383207bf7c5f8716248'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.patientAutonomy, '63206383207bf7c5f8716249'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.psychology, '63206383207bf7c5f871624a'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.longTermCare, '63206383207bf7c5f871624b'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.publicHealth, '63206383207bf7c5f871624c'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.cicularEconomy, '63206383207bf7c5f871624e'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.ocean, '63206383207bf7c5f871624f'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.mountainAndForest, '63206383207bf7c5f8716250'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.animal, '63206383207bf7c5f8716251'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.climateChange, '633407174a9cab5ac7a90738'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.pollution, '63206383207bf7c5f8716252'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.naturalDisaster, '63206383207bf7c5f8716253'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.economy, '63206383207bf7c5f8716255'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.energyEcon, '63206383207bf7c5f8716256'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.agriculture, '63206383207bf7c5f8716257'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.technology, '63206383207bf7c5f8716258'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.peAndSports, '63206383207bf7c5f871625a'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.movie, '63206383207bf7c5f871625b'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.publishing, '63206383207bf7c5f871625c'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.music, '63206383207bf7c5f871625d'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.dramaAndTheatre, '63206383207bf7c5f871625e'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.art, '63206383207bf7c5f871625f'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.scientificResearch, '63206383207bf7c5f8716261'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.higherEducation, '63206383207bf7c5f8716262'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.teens, '63206383207bf7c5f8716263'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.parenting, '63206383207bf7c5f8716264'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.lowBirthRate, '63206383207bf7c5f8716265'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.theRealStory, '63206383207bf7c5f8716267'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.onTheGround, '63206383207bf7c5f8716268'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.bookReview, '63206383207bf7c5f871626a'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.letter, '63206383207bf7c5f871626b'), _SUBCATEGORY_ID); // flip SUBCATEGORY_ID to a {id: path} object

@@ -151,3 +151,3 @@ exports.SUBCATEGORY_ID = SUBCATEGORY_ID;

exports.GET_SUBCATEGORY_PATH_FROM_ID = GET_SUBCATEGORY_PATH_FROM_ID;
var CATEGORY_SET = (_CATEGORY_SET = {}, _defineProperty(_CATEGORY_SET, categoryPath.world, [subcategoryPath.all, subcategoryPath.hk, subcategoryPath.china, subcategoryPath.us, subcategoryPath.jpAndKr, subcategoryPath.southeastAsia, subcategoryPath.europe, subcategoryPath.others]), _defineProperty(_CATEGORY_SET, categoryPath.humanrights, [subcategoryPath.all, subcategoryPath.gender, subcategoryPath.labor, subcategoryPath.immigrant, subcategoryPath.housingJustice, subcategoryPath.transformationalJustice, subcategoryPath.mentalIllness, subcategoryPath.justice, subcategoryPath.digital]), _defineProperty(_CATEGORY_SET, categoryPath.politicsAndSociety, [subcategoryPath.all, subcategoryPath.election, subcategoryPath.politicalPartyAndLocalFaction, subcategoryPath.policy, subcategoryPath.transportation, subcategoryPath.foodSafety, subcategoryPath.informationWarfare, subcategoryPath.socialwatch]), _defineProperty(_CATEGORY_SET, categoryPath.health, [subcategoryPath.all, subcategoryPath.pandemic, subcategoryPath.healthPolicy, subcategoryPath.biotech, subcategoryPath.patientAutonomy, subcategoryPath.psychology, subcategoryPath.longTermCare, subcategoryPath.publicHealth]), _defineProperty(_CATEGORY_SET, categoryPath.environment, [subcategoryPath.all, subcategoryPath.energyEnv, subcategoryPath.ocean, subcategoryPath.mountainAndForest, subcategoryPath.animal, subcategoryPath.climateChange, subcategoryPath.pollution, subcategoryPath.naturalDisaster]), _defineProperty(_CATEGORY_SET, categoryPath.econ, [subcategoryPath.all, subcategoryPath.economy, subcategoryPath.energyEcon, subcategoryPath.agriculture, subcategoryPath.technology]), _defineProperty(_CATEGORY_SET, categoryPath.culture, [subcategoryPath.all, subcategoryPath.peAndSports, subcategoryPath.movie, subcategoryPath.literature, subcategoryPath.music, subcategoryPath.dramaAndTheatre, subcategoryPath.art]), _defineProperty(_CATEGORY_SET, categoryPath.education, [subcategoryPath.all, subcategoryPath.eduPolicy, subcategoryPath.higherEducation, subcategoryPath.teens, subcategoryPath.parenting, subcategoryPath.lowBirthRate]), _defineProperty(_CATEGORY_SET, categoryPath.podcast, [subcategoryPath.all, subcategoryPath.theRealStory, subcategoryPath.onTheGround]), _defineProperty(_CATEGORY_SET, categoryPath.opinion, [subcategoryPath.all, subcategoryPath.bookReview, subcategoryPath.letter]), _CATEGORY_SET);
var CATEGORY_SET = (_CATEGORY_SET = {}, _defineProperty(_CATEGORY_SET, categoryPath.world, [subcategoryPath.all, subcategoryPath.hk, subcategoryPath.china, subcategoryPath.us, subcategoryPath.jpAndKr, subcategoryPath.indoPacific, subcategoryPath.europe, subcategoryPath.others]), _defineProperty(_CATEGORY_SET, categoryPath.humanrights, [subcategoryPath.all, subcategoryPath.gender, subcategoryPath.labor, subcategoryPath.immigrant, subcategoryPath.housingJustice, subcategoryPath.transformationalJustice, subcategoryPath.socialAdministration, subcategoryPath.justice, subcategoryPath.digital]), _defineProperty(_CATEGORY_SET, categoryPath.politicsAndSociety, [subcategoryPath.all, subcategoryPath.election, subcategoryPath.politicalPartyAndLocalFaction, subcategoryPath.policy, subcategoryPath.transportation, subcategoryPath.foodSafety, subcategoryPath.informationWarfare, subcategoryPath.socialwatch]), _defineProperty(_CATEGORY_SET, categoryPath.health, [subcategoryPath.all, subcategoryPath.pandemic, subcategoryPath.healthPolicy, subcategoryPath.biotech, subcategoryPath.patientAutonomy, subcategoryPath.psychology, subcategoryPath.longTermCare, subcategoryPath.publicHealth]), _defineProperty(_CATEGORY_SET, categoryPath.environment, [subcategoryPath.all, subcategoryPath.ocean, subcategoryPath.mountainAndForest, subcategoryPath.animal, subcategoryPath.climateChange, subcategoryPath.cicularEconomy, subcategoryPath.pollution, subcategoryPath.naturalDisaster]), _defineProperty(_CATEGORY_SET, categoryPath.econ, [subcategoryPath.all, subcategoryPath.economy, subcategoryPath.energyEcon, subcategoryPath.agriculture, subcategoryPath.technology]), _defineProperty(_CATEGORY_SET, categoryPath.culture, [subcategoryPath.all, subcategoryPath.peAndSports, subcategoryPath.movie, subcategoryPath.publishing, subcategoryPath.music, subcategoryPath.dramaAndTheatre, subcategoryPath.art]), _defineProperty(_CATEGORY_SET, categoryPath.education, [subcategoryPath.all, subcategoryPath.scientificResearch, subcategoryPath.higherEducation, subcategoryPath.teens, subcategoryPath.parenting, subcategoryPath.lowBirthRate]), _defineProperty(_CATEGORY_SET, categoryPath.podcast, [subcategoryPath.all, subcategoryPath.theRealStory, subcategoryPath.onTheGround]), _defineProperty(_CATEGORY_SET, categoryPath.opinion, [subcategoryPath.all, subcategoryPath.bookReview, subcategoryPath.letter]), _CATEGORY_SET);
exports.CATEGORY_SET = CATEGORY_SET;

@@ -154,0 +154,0 @@ var _default = {

{
"name": "@twreporter/core",
"version": "1.8.3-rc.0",
"version": "1.8.3-rc.1",
"main": "lib/index.js",

@@ -22,3 +22,3 @@ "repository": "https://github.com/twreporter/twreporter-npm-packages.git",

],
"gitHead": "eed87490bc83bfada4d624237e1a94c60eade5fb"
"gitHead": "4fcd7aaf10f8018a584f2caeddf1472a01c4eb37"
}
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