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

@code-hike/utils

Package Overview
Dependencies
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@code-hike/utils - npm Package Compare versions

Comparing version 0.3.0--canary.77.87864a9.0 to 0.3.0--canary.77.8e9455c.0

dist/code.d.ts

18

dist/index.d.ts

@@ -1,16 +0,2 @@

export declare type Tween<T> = {
prev?: T;
next: T;
} | {
prev: T;
next?: T;
};
export declare type FullTween<T> = {
prev: T;
next: T;
};
declare function map<T, R>(tween: FullTween<T>, fn: (t: T, key: "prev" | "next") => R): FullTween<R>;
declare function map<T, R>(tween: Tween<T>, fn: (t: T | undefined, key: "prev" | "next") => R): Tween<R>;
export { map };
export declare function withDefault<T>(t: Tween<T> | undefined, deft: T): FullTween<T>;
export declare function mapWithDefault<T, R>(tween: Tween<T> | undefined, deft: T, fn: (t: T, key: "prev" | "next") => R): FullTween<R>;
export * from "./tween";
export * from "./code";
{
"name": "@code-hike/utils",
"version": "0.3.0--canary.77.87864a9.0",
"version": "0.3.0--canary.77.8e9455c.0",
"main": "dist/index.cjs.js",

@@ -14,3 +14,3 @@ "typings": "dist/index.d.ts",

"devDependencies": {
"@code-hike/script": "0.3.0--canary.77.87864a9.0",
"@code-hike/script": "0.3.0--canary.77.8e9455c.0",
"@types/react": "^16.9.38",

@@ -36,3 +36,3 @@ "react": "^16.13.1"

},
"gitHead": "87864a94ce18cb710aa1a30699add71915339dc1"
"gitHead": "8e9455c6c52537c6f0fe4beebc78853bed601fc9"
}
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