Minimal reproduction for an SWC minifier bug where a module-scoped
const object literal used as a default parameter value is incorrectly
reduced to {} when compress.passes >= 2. This breaks the runtime
behavior of any code that reads properties from that default value
(e.g. spec.granularities.sort(...) throws
TypeError: Cannot read properties of undefined (reading 'sort')).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Use the following to skip / remove a file from being updated by git | |
| > git update-index --skip-worktree <filename> | |
| Use the following to see which files are currently being skipped / ignored | |
| > git ls-files -v . | grep ^S | |
| Use the following to revert the skip | |
| > git update-index --no-skip-worktrree <filename> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "type": "FeatureCollection", | |
| "features": [ | |
| { | |
| "type": "Feature", | |
| "properties": { | |
| "name": "Portland Office Traversal", | |
| "tags": [ | |
| "portland-office-traversal" | |
| ], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "type": "FeatureCollection", | |
| "features": [ | |
| { | |
| "type": "Feature", | |
| "properties": { | |
| "name": "Portland Office", | |
| "tags": [ | |
| "portland-office-alt" | |
| ], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "type": "FeatureCollection", | |
| "features": [ | |
| { | |
| "type": "Feature", | |
| "properties": { | |
| "name": "Portland Office", | |
| "tags": [ | |
| "portland-office-alt" | |
| ], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const initialState = { | |
| pricingPlans: [], | |
| pricingPlansWithRepayment: [], | |
| selectedOptionIdentifier: null, | |
| selectedPreviewOptionIdentifier: null, | |
| error: {}, | |
| }; | |
| function reducer(state = initialState, action = {}) { | |
| switch (action.type) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export function showAllPlans(state = false, action = {}) { | |
| switch (action.type) { | |
| case TOGGLE_ALL_PLANS: | |
| return action.showAllPlans; | |
| default: | |
| return state; | |
| } | |
| } | |
| export function maxProjectAmounts(state = [], action = {}) { |
{
"id": "80994",
"api_version": "2.0.0",
"created_at": "2017-05-23T18:21:43.612+00:00",
"updated_at": "2017-05-23T18:23:04.517+00:00",
"origination_source": "champ_superuser",
"sponsor": {
"identifier": "cscda",
"name": "CSCDA"
NewerOlder