This file contains 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
class Api::V1::FilesController < ActiveStorage::DirectUploadsController | |
skip_forgery_protection | |
end |
This file contains 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
// cypress/support/hooks.js | |
// Cypress does not support listening to the fetch method | |
// Therefore, as a workaround we polyfill `fetch` with traditional XHR which | |
// are supported. See: https://github.com/cypress-io/cypress/issues/687 | |
enableFetchWorkaround() | |
// private helpers | |
function enableFetchWorkaround() { | |
let polyfill |
This file contains 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
brew tap elastic/tap | |
# picks a specific version | |
cd /usr/local/Homebrew/Library/Taps/elastic/homebrew-tap | |
git fetch --tags | |
git checkout tags/v7.2.0 | |
cd - | |
HOMEBREW_NO_AUTO_UPDATE=1 brew install elastic/tap/elasticsearch-full |
This file contains 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
diff --git a/node_modules/@firebase/auth/dist/esm2017/index-1679a2b2.js b/node_modules/@firebase/auth/dist/esm2017/index-1679a2b2.js | |
index f7425cb..ca821f2 100644 | |
--- a/node_modules/@firebase/auth/dist/esm2017/index-1679a2b2.js | |
+++ b/node_modules/@firebase/auth/dist/esm2017/index-1679a2b2.js | |
@@ -9055,7 +9055,8 @@ class BrowserPopupRedirectResolver { | |
} | |
get _shouldInitProactively() { | |
// Mobile browsers and Safari need to optimistically initialize | |
- return _isMobileBrowser() || _isSafari() || _isIOS(); | |
+ // return _isMobileBrowser() || _isSafari() || _isIOS(); |
This file contains 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
import HtmlWebpackInlineSourcePlugin from "@effortlessmotion/html-webpack-inline-source-plugin" | |
import HtmlWebpackPlugin from "html-webpack-plugin" | |
import path from "path" | |
import { fileURLToPath } from "url" | |
const __filename = fileURLToPath(import.meta.url) | |
const __dirname = path.dirname(__filename) | |
export default (env, argv) => ({ | |
mode: argv.mode === "production" ? "production" : "development", |
This file contains 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
Show hidden characters
{ | |
"compilerOptions": { | |
"target": "es5", | |
"lib": [ | |
"dom", | |
"dom.iterable", | |
"esnext" | |
], | |
"allowJs": true, | |
"skipLibCheck": true, |
This file contains 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
import { | |
convertGradientHandlesToTransform, | |
convertTransformToGradientHandles | |
} from "./setPropertyFill" | |
describe("convertGradientHandlesToTransform", () => { | |
it("identity matrix", () => { | |
expect( | |
convertGradientHandlesToTransform([ | |
{ |
This file contains 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
figma.ui.onmessage = async (msg, props) => { | |
if (originalOnMessage && isArray(msg)) { | |
originalOnMessage.apply(null, [msg, props]) | |
return | |
} | |
switch (msg.type) { | |
case "req-read-local-storage": | |
await readLocalStorage(msg.data) | |
// figma.closePlugin() |
This file contains 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
import { emit, on, once } from "@create-figma-plugin/utilities" | |
export type AsyncActionType<F extends (...args: any) => any> = F | |
export type SyncActionType<F extends (...args: any) => any> = ( | |
...args: Parameters<F> | |
) => Promise<ReturnType<F>> | |
let lastCallerId = 0 | |
let lastSubscriptionId = 0 | |
const subscriptions = new Map<string, Function[]>() |
OlderNewer