PageSourceSearch

https://newjerseycraftbeer.com/wp-includes/js/dist/deprecated.js?ver=990e85f234fee8f7d446

js newjerseycraftbeer.com collected 2026-10-02 11:49:30 UTC 3,113 bytes, 68 lines download raw bytes

1"use strict";
2var wp;
3(wp ||= {}).deprecated = (() => {
4  var __create = Object.create;
5  var __defProp = Object.defineProperty;
6  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
7  var __getOwnPropNames = Object.getOwnPropertyNames;
8  var __getProtoOf = Object.getPrototypeOf;
9  var __hasOwnProp = Object.prototype.hasOwnProperty;
10  var __commonJS = (cb, mod) => function __require() {
11    return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
12  };
13  var __export = (target, all) => {
14    for (var name in all)
15      __defProp(target, name, { get: all[name], enumerable: true });
16  };
17  var __copyProps = (to, from, except, desc) => {
18    if (from && typeof from === "object" || typeof from === "function") {
19      for (let key of __getOwnPropNames(from))
20        if (!__hasOwnProp.call(to, key) && key !== except)
21          __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
22    }
23    return to;
24  };
25  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
26    // If the importer is in node compatibility mode or this is not an ESM
27    // file that has been converted to a CommonJS file using a Babel-
28    // compatible transform (i.e. "__esModule" has not been set), then set
29    // "default" to the CommonJS "module.exports" for node compatibility.
30    isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
31    mod
32  ));
33  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
34
35  // package-external:@wordpress/hooks
36  var require_hooks = __commonJS({
37    "package-external:@wordpress/hooks"(exports, module) {
38      module.exports = window.wp.hooks;
39    }
40  });
41
42  // packages/deprecated/build-module/index.mjs
43  var index_exports = {};
44  __export(index_exports, {
45    default: () => deprecated,
46    logged: () => logged
47  });
48  var import_hooks = __toESM(require_hooks(), 1);
49  var logged = /* @__PURE__ */ Object.create(null);
50  function deprecated(feature, options = {}) {
51    const { since, version, alternative, plugin, link, hint } = options;
52    const pluginMessage = plugin ? ` from ${plugin}` : "";
53    const sinceMessage = since ? ` since version ${since}` : "";
54    const versionMessage = version ? ` and will be removed${pluginMessage} in version ${version}` : "";
55    const useInsteadMessage = alternative ? ` Please use ${alternative} instead.` : "";
56    const linkMessage = link ? ` See: ${link}` : "";
57    const hintMessage = hint ? ` Note: ${hint}` : "";
58    const message = `${feature} is deprecated${sinceMessage}${versionMessage}.${useInsteadMessage}${linkMessage}${hintMessage}`;
59    if (message in logged) {
60      return;
61    }
62    (0, import_hooks.doAction)("deprecated", feature, options, message);
63    console.warn(message);
64    logged[message] = true;
65  }
66  return __toCommonJS(index_exports);
67})();
68if (typeof wp.deprecated === 'object' && wp.deprecated.default) { wp.deprecated = wp.deprecated.default; }

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.