
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
@jobber/components-native
Advanced tools
Atlantis is a component library designed and maintained by Jobber.
This package contains the base set of React components for Atlantis.
To install this package into your project with npm run:
npm install @jobber/components-native
# iOS Linking
cd ios
pod install
Import and render an Atlantis component:
import React from "react";
import { Icon } from "@jobber/components-native";
export function MyComponent() {
return <Icon />;
}
In order to make @jobber/components-native work with Jest, you may need to
make Jest transpile the package by adding
"/node_modules/@jobber/components-native" to transformIgnorePatterns in you
Jest config.
transformIgnorePatterns: [
"node_modules/@jobber/components-native",
],
Also update the Jest config as to include the jestSetup.js
setupFiles: [
...
"./node_modules/@jobber/components-native/jestSetup.js",
...
],
You will also need to create a mock for the Form component
jest.mock("./dist/src/Form", () => {
const { Form, AtlantisFormContext, ...Actual } =
jest.requireActual("./dist/src/Form");
const useConfirmBeforeBack = jest.fn(() => jest.fn());
const useInternalFormLocalCache = jest.fn(() => ({
setLocalCache: jest.fn(),
removeLocalCache: jest.fn(),
}));
// Or
const useConfirmBeforeBack = require("<path-to-your>/useConfirmBeforeBackHook");
const useInternalFormLocalCache = require("<path-to-your>/useInternalFormLocalCacheHook");
return {
...Actual,
AtlantisFormContext: AtlantisFormContext,
Form: ({ children, ...props }) => {
return (
<AtlantisFormContext.Provider
value={{ useConfirmBeforeBack, useInternalFormLocalCache }}
>
<Form {...props}>{children}</Form>
</AtlantisFormContext.Provider>
);
},
};
});
More information on Atlantis can be found at https://atlantis.getjobber.com.
FAQs
React Native implementation of Atlantis
The npm package @jobber/components-native receives a total of 1,051 weekly downloads. As such, @jobber/components-native popularity was classified as popular.
We found that @jobber/components-native demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 13 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.