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

@anvilco/anvil

Package Overview
Dependencies
Maintainers
6
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@anvilco/anvil - npm Package Compare versions

Comparing version 3.2.0-beta.0 to 3.2.0-beta.1

scratch/query.js

5

CHANGELOG.md

@@ -8,2 +8,7 @@ # Changelog

## [v3.2.0]
- Swap out `node-fetch` for `@anvilco/node-fetch` in order to fix `Premature close`. https://github.com/anvilco/node-fetch/pull/1
- Fixed bug around some error handling. https://github.com/anvilco/node-anvil/issues/376
- Updated various dependencies
## [v3.1.0]

@@ -10,0 +15,0 @@ - Update `node-fetch` to latest and drop `form-data`. https://github.com/anvilco/node-anvil/issues/239

2

dist/graphql/index.js

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

"use strict";Object.defineProperty(exports, "__esModule", { value: true });exports.queries = exports.mutations = void 0;var _queries = _interopRequireWildcard(require("./queries"));exports.queries = _queries;var _mutations = _interopRequireWildcard(require("./mutations"));exports.mutations = _mutations;function _getRequireWildcardCache(nodeInterop) {if (typeof WeakMap !== "function") return null;var cacheBabelInterop = new WeakMap();var cacheNodeInterop = new WeakMap();return (_getRequireWildcardCache = function (nodeInterop) {return nodeInterop ? cacheNodeInterop : cacheBabelInterop;})(nodeInterop);}function _interopRequireWildcard(obj, nodeInterop) {if (!nodeInterop && obj && obj.__esModule) {return obj;}if (obj === null || typeof obj !== "object" && typeof obj !== "function") {return { default: obj };}var cache = _getRequireWildcardCache(nodeInterop);if (cache && cache.has(obj)) {return cache.get(obj);}var newObj = {};var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;for (var key in obj) {if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;if (desc && (desc.get || desc.set)) {Object.defineProperty(newObj, key, desc);} else {newObj[key] = obj[key];}}}newObj.default = obj;if (cache) {cache.set(obj, newObj);}return newObj;}
"use strict";Object.defineProperty(exports, "__esModule", { value: true });exports.queries = exports.mutations = void 0;var _queries = _interopRequireWildcard(require("./queries"));exports.queries = _queries;var _mutations = _interopRequireWildcard(require("./mutations"));exports.mutations = _mutations;function _getRequireWildcardCache(e) {if ("function" != typeof WeakMap) return null;var r = new WeakMap(),t = new WeakMap();return (_getRequireWildcardCache = function (e) {return e ? t : r;})(e);}function _interopRequireWildcard(e, r) {if (!r && e && e.__esModule) return e;if (null === e || "object" != typeof e && "function" != typeof e) return { default: e };var t = _getRequireWildcardCache(r);if (t && t.has(e)) return t.get(e);var n = { __proto__: null },a = Object.defineProperty && Object.getOwnPropertyDescriptor;for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) {var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];}return n.default = e, t && t.set(e, n), n;}

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

"use strict";Object.defineProperty(exports, "__esModule", { value: true });exports.removeWeldData = exports.generateEtchSignUrl = exports.forgeSubmit = exports.createEtchPacket = void 0;var _createEtchPacket = _interopRequireWildcard(require("./createEtchPacket"));exports.createEtchPacket = _createEtchPacket;var _forgeSubmit = _interopRequireWildcard(require("./forgeSubmit"));exports.forgeSubmit = _forgeSubmit;var _generateEtchSignUrl = _interopRequireWildcard(require("./generateEtchSignUrl"));exports.generateEtchSignUrl = _generateEtchSignUrl;var _removeWeldData = _interopRequireWildcard(require("./removeWeldData"));exports.removeWeldData = _removeWeldData;function _getRequireWildcardCache(nodeInterop) {if (typeof WeakMap !== "function") return null;var cacheBabelInterop = new WeakMap();var cacheNodeInterop = new WeakMap();return (_getRequireWildcardCache = function (nodeInterop) {return nodeInterop ? cacheNodeInterop : cacheBabelInterop;})(nodeInterop);}function _interopRequireWildcard(obj, nodeInterop) {if (!nodeInterop && obj && obj.__esModule) {return obj;}if (obj === null || typeof obj !== "object" && typeof obj !== "function") {return { default: obj };}var cache = _getRequireWildcardCache(nodeInterop);if (cache && cache.has(obj)) {return cache.get(obj);}var newObj = {};var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;for (var key in obj) {if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;if (desc && (desc.get || desc.set)) {Object.defineProperty(newObj, key, desc);} else {newObj[key] = obj[key];}}}newObj.default = obj;if (cache) {cache.set(obj, newObj);}return newObj;}
"use strict";Object.defineProperty(exports, "__esModule", { value: true });exports.removeWeldData = exports.generateEtchSignUrl = exports.forgeSubmit = exports.createEtchPacket = void 0;var _createEtchPacket = _interopRequireWildcard(require("./createEtchPacket"));exports.createEtchPacket = _createEtchPacket;var _forgeSubmit = _interopRequireWildcard(require("./forgeSubmit"));exports.forgeSubmit = _forgeSubmit;var _generateEtchSignUrl = _interopRequireWildcard(require("./generateEtchSignUrl"));exports.generateEtchSignUrl = _generateEtchSignUrl;var _removeWeldData = _interopRequireWildcard(require("./removeWeldData"));exports.removeWeldData = _removeWeldData;function _getRequireWildcardCache(e) {if ("function" != typeof WeakMap) return null;var r = new WeakMap(),t = new WeakMap();return (_getRequireWildcardCache = function (e) {return e ? t : r;})(e);}function _interopRequireWildcard(e, r) {if (!r && e && e.__esModule) return e;if (null === e || "object" != typeof e && "function" != typeof e) return { default: e };var t = _getRequireWildcardCache(r);if (t && t.has(e)) return t.get(e);var n = { __proto__: null },a = Object.defineProperty && Object.getOwnPropertyDescriptor;for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) {var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];}return n.default = e, t && t.set(e, n), n;}

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

"use strict";Object.defineProperty(exports, "__esModule", { value: true });exports.etchPacket = void 0;var _etchPacket = _interopRequireWildcard(require("./etchPacket"));exports.etchPacket = _etchPacket;function _getRequireWildcardCache(nodeInterop) {if (typeof WeakMap !== "function") return null;var cacheBabelInterop = new WeakMap();var cacheNodeInterop = new WeakMap();return (_getRequireWildcardCache = function (nodeInterop) {return nodeInterop ? cacheNodeInterop : cacheBabelInterop;})(nodeInterop);}function _interopRequireWildcard(obj, nodeInterop) {if (!nodeInterop && obj && obj.__esModule) {return obj;}if (obj === null || typeof obj !== "object" && typeof obj !== "function") {return { default: obj };}var cache = _getRequireWildcardCache(nodeInterop);if (cache && cache.has(obj)) {return cache.get(obj);}var newObj = {};var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;for (var key in obj) {if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;if (desc && (desc.get || desc.set)) {Object.defineProperty(newObj, key, desc);} else {newObj[key] = obj[key];}}}newObj.default = obj;if (cache) {cache.set(obj, newObj);}return newObj;}
"use strict";Object.defineProperty(exports, "__esModule", { value: true });exports.etchPacket = void 0;var _etchPacket = _interopRequireWildcard(require("./etchPacket"));exports.etchPacket = _etchPacket;function _getRequireWildcardCache(e) {if ("function" != typeof WeakMap) return null;var r = new WeakMap(),t = new WeakMap();return (_getRequireWildcardCache = function (e) {return e ? t : r;})(e);}function _interopRequireWildcard(e, r) {if (!r && e && e.__esModule) return e;if (null === e || "object" != typeof e && "function" != typeof e) return { default: e };var t = _getRequireWildcardCache(r);if (t && t.has(e)) return t.get(e);var n = { __proto__: null },a = Object.defineProperty && Object.getOwnPropertyDescriptor;for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) {var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];}return n.default = e, t && t.set(e, n), n;}

@@ -467,3 +467,3 @@ "use strict";Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _fs = _interopRequireDefault(require("fs"));

const abortController = new _abortController.default();
Fetch ?? (Fetch = await import('node-fetch'));
Fetch ?? (Fetch = await import('@anvilco/node-fetch'));

@@ -609,3 +609,3 @@ FormDataModule ?? (FormDataModule = await import('formdata-polyfill/esm.min.js'));

Fetch = Fetch || (await import('node-fetch'));
Fetch = Fetch || (await import('@anvilco/node-fetch'));
fetch = Fetch.default;

@@ -835,4 +835,4 @@

Anvil.VERSION_LATEST = VERSION_LATEST;
Anvil.VERSION_LATEST_PUBLISHED = VERSION_LATEST_PUBLISHED;var _default =
Anvil.VERSION_LATEST_PUBLISHED = VERSION_LATEST_PUBLISHED;var _default = exports.default =
Anvil;exports.default = _default;
Anvil;
{
"name": "@anvilco/anvil",
"version": "3.2.0-beta.0",
"version": "3.2.0-beta.1",
"description": "Anvil API Client",

@@ -54,6 +54,6 @@ "author": "Anvil Foundry Inc.",

"dependencies": {
"@anvilco/node-fetch": "^3.3.3-beta.0",
"abort-controller": "^3.0.0",
"extract-files": "^13",
"limiter": "^2.1.0",
"node-fetch": "^3.3.2"
"limiter": "^2.1.0"
},

@@ -60,0 +60,0 @@ "devDependencies": {

@@ -8,9 +8,13 @@ const path = require('path')

// Local Dev
const apiKey = '7R3ElJ1sGusHS3eQAiRUKG6QjhSQ1IHE'
// const apiKey = '7R3ElJ1sGusHS3eQAiRUKG6QjhSQ1IHE'
// Prod Mango Dev
// const apiKey = 'oBU3hec1pdBRGB5NmSJaj7QQzhiME1u8'
//
// Prod SESO Dev
const apiKey = 'euRBhuP9rWasUQ76crF1GLcONs1kcYKo'
// const [eid, apiKey, jsonPath] = argv._
let baseURL
baseURL = 'http://localhost:3000'
// baseURL = 'https://staging.useanvil.com'
// baseURL = 'http://localhost:3000'
// baseURL = 'https://outlook.office.com/webhook/'

@@ -17,0 +21,0 @@

@@ -467,3 +467,3 @@ import fs from 'fs'

const abortController = new AbortController()
Fetch ??= await import('node-fetch')
Fetch ??= await import('@anvilco/node-fetch')
// This is a dependency of 'node-fetch'`

@@ -609,3 +609,3 @@ FormDataModule ??= await import('formdata-polyfill/esm.min.js')

// Only load Fetch once per module process lifetime
Fetch = Fetch || await import('node-fetch')
Fetch = Fetch || await import('@anvilco/node-fetch')
fetch = Fetch.default

@@ -612,0 +612,0 @@ // Monkey-patch so we only try any of this once per Anvil Client instance

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