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

@pnp/core-commonjs

Package Overview
Dependencies
Maintainers
13
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnp/core-commonjs - npm Package Compare versions

Comparing version 3.0.0-v3nightly.20210926 to 3.0.0-v3nightly.20210927

10

behaviors/copy-from.js

@@ -35,9 +35,9 @@ "use strict";

for (let i = 0; i < keys.length; i++) {
const key = keys[i];
const on = this.on[key];
if (behavior === "replace") {
this.on[keys[i]].clear();
on.clear();
}
const momentObservers = clonedSource[keys[i]];
momentObservers.forEach(v => {
this.on[keys[i]](v);
});
const momentObservers = clonedSource[key];
momentObservers.forEach(v => on(v));
}

@@ -44,0 +44,0 @@ return this;

@@ -7,3 +7,2 @@ "use strict";

// - you don't need error handling here because that is handled in emit within the timeline
// - implement first as an example Promise.all(...obs)
// - explain why we have just these - it is what we needed.

@@ -10,0 +9,0 @@ /**

{
"name": "@pnp/core-commonjs",
"version": "3.0.0-v3nightly.20210926",
"version": "3.0.0-v3nightly.20210927",
"description": "pnp - provides shared functionality across all pnp libraries",

@@ -5,0 +5,0 @@ "main": "./index.js",

@@ -35,3 +35,3 @@ export declare type DateAddInterval = "year" | "quarter" | "month" | "week" | "day" | "hour" | "minute" | "second";

*
* @param cf The thing to test for functionness
* @param f The thing to test for functionness
*/

@@ -38,0 +38,0 @@ export declare function isFunc(f: any): boolean;

@@ -94,3 +94,3 @@ "use strict";

*
* @param cf The thing to test for functionness
* @param f The thing to test for functionness
*/

@@ -97,0 +97,0 @@ function isFunc(f) {

Sorry, the diff of this file is not supported yet

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