Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nolyfill/shared

Package Overview
Dependencies
Maintainers
0
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nolyfill/shared - npm Package Compare versions

Comparing version 1.0.38 to 1.0.39

6

dist/index.d.ts
type UncurryThis<T, F extends (this: T, ...args: unknown[]) => unknown> = (self: T, ...args: Parameters<F>) => ReturnType<F>;
declare const uncurryThis: <T, F extends (this: T, ...args: any[]) => any>(fn: F) => UncurryThis<T, F>;
declare const TypedArrayPrototype: Uint8Array;
declare const TypedArrayPrototype: Int8Array;
declare const defineProperties: <M extends object>(object: object, map: M & ThisType<any>, predicates?: Partial<Record<keyof M, () => boolean>>) => void;
interface EsShimProp<I> {

@@ -26,2 +24,2 @@ implementation: I;

export { TypedArrayPrototype, defineEsShim, defineProperties, makeEsShim, uncurryThis };
export { TypedArrayPrototype, defineEsShim, makeEsShim, uncurryThis };

@@ -1,1 +0,1 @@

"use strict";const e=e=>(t,...r)=>e.call(t,...r),t=Object.getPrototypeOf(Uint8Array.prototype),r=(e,t,r,o)=>{if(t in e){if(!0===o){if(e[t]===r)return}else if("function"!=typeof o||!o())return}Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r,writable:!0})},o=(e,t,o)=>{let i=Array.prototype.concat.call(Object.keys(t),Object.getOwnPropertySymbols(t));for(let n=0,l=i.length;n<l;n++){let l=i[n];r(e,l,t[l],o?.[l])}};function i(e,t){o(e,{implementation:t,getPolyfill:()=>t,shim:()=>t})}exports.TypedArrayPrototype=t,exports.defineEsShim=function(t,r=!1,o=null){return{implementation:t,polyfill:()=>t,shim:()=>t,auto(){},index(){let n=o||(r?t:e(t));return i(n,t),n}}},exports.defineProperties=o,exports.makeEsShim=i,exports.uncurryThis=e;
"use strict";const e=e=>(t,...r)=>e.call(t,...r),t=Object.getPrototypeOf(Int8Array.prototype),r="getPolyfill",i="shim",n="implementation",l={configurable:!0,enumerable:!1,writable:!0},o=Object.defineProperty;function u(e,t){let u=()=>t;n in e||o(e,n,{value:t,...l}),r in e||o(e,r,{value:u,...l}),i in e||o(e,i,{value:u,...l})}exports.TypedArrayPrototype=t,exports.defineEsShim=function(t,r=!1,i=null){return{implementation:t,polyfill:()=>t,shim:()=>t,auto(){},index(){let n=i||(r?t:e(t));return u(n,t),n}}},exports.makeEsShim=u,exports.uncurryThis=e;
{
"name": "@nolyfill/shared",
"version": "1.0.38",
"version": "1.0.39",
"repository": {

@@ -5,0 +5,0 @@ "type": "git",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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